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..3808984577 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,12 +13845,12 @@ "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", @@ -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", @@ -18425,6 +18468,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 +18736,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 +27194,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -27473,6 +27522,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -29311,6 +29363,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -29370,6 +29425,9 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -44279,6 +44337,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 +44373,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 +44891,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 +45066,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 +61068,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -61297,6 +61404,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -63339,186 +63449,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 +78519,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78682,7 +78612,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78775,7 +78705,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78868,7 +78798,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78961,7 +78891,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79054,7 +78984,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79147,7 +79077,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79240,7 +79170,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -104917,6 +104847,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", @@ -120178,6 +120117,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 +137693,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 +293768,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 +293975,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -310406,7 +310402,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 +310542,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] }, @@ -310651,7 +310670,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 +310826,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 +317673,6 @@ } ] }, - "tag-protection-items": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - }, - "tag-protection": { - "value": { - "enabled": true - } - }, "topic": { "value": { "names": [ @@ -323531,6 +323560,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 +325144,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.", @@ -325614,6 +325642,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..02e641d138 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,11 +10000,11 @@ 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. @@ -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 @@ -13432,6 +13465,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 +13659,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 +19674,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 +19889,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 +21214,8 @@ paths: responses: '204': description: Response + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21217,6 +21255,8 @@ paths: headers: Link: "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32261,6 +32301,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 +32326,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 +32681,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 +32800,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 +44326,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 +44544,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 +45938,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 +56700,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 +56767,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 +56835,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 +56903,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 +56969,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 +57035,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 +57102,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 +57168,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 +75699,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 @@ -87122,6 +87069,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 +99591,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 +216182,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 +216348,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -230402,6 +230395,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 +230496,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] dependabot-alert-open: value: number: 1 @@ -230571,6 +230584,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 +230702,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 +236589,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 +241799,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 +243157,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. @@ -243469,6 +243497,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..3808984577 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,12 +13845,12 @@ "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", @@ -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", @@ -18425,6 +18468,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 +18736,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 +27194,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -27473,6 +27522,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -29311,6 +29363,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -29370,6 +29425,9 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -44279,6 +44337,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 +44373,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 +44891,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 +45066,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 +61068,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -61297,6 +61404,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -63339,186 +63449,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 +78519,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78682,7 +78612,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78775,7 +78705,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78868,7 +78798,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78961,7 +78891,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79054,7 +78984,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79147,7 +79077,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -79240,7 +79170,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -104917,6 +104847,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", @@ -120178,6 +120117,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 +137693,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 +293768,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 +293975,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -310406,7 +310402,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 +310542,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] }, @@ -310651,7 +310670,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 +310826,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 +317673,6 @@ } ] }, - "tag-protection-items": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - }, - "tag-protection": { - "value": { - "enabled": true - } - }, "topic": { "value": { "names": [ @@ -323531,6 +323560,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 +325144,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.", @@ -325614,6 +325642,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..02e641d138 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,11 +10000,11 @@ 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. @@ -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 @@ -13432,6 +13465,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 +13659,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 +19674,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 +19889,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 +21214,8 @@ paths: responses: '204': description: Response + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21217,6 +21255,8 @@ paths: headers: Link: "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32261,6 +32301,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 +32326,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 +32681,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 +32800,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 +44326,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 +44544,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 +45938,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 +56700,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 +56767,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 +56835,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 +56903,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 +56969,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 +57035,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 +57102,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 +57168,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 +75699,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 @@ -87122,6 +87069,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 +99591,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 +216182,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 +216348,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -230402,6 +230395,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 +230496,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] dependabot-alert-open: value: number: 1 @@ -230571,6 +230584,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 +230702,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 +236589,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 +241799,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 +243157,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. @@ -243469,6 +243497,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..ed1bbbfc2f 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,12 +105310,12 @@ "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", @@ -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", @@ -124795,6 +124974,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 +126747,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 +126954,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -127368,7 +127578,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 +224665,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 +229445,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 +242636,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 +242997,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -339117,6 +339483,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 +369118,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 +369332,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 +369353,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 +371602,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 +372814,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 +372954,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -373854,7 +374287,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 +374452,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 +375613,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 +608039,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 +612685,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 +639380,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 +639424,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 +639535,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 +909435,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -912238,7 +912419,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -915222,7 +915403,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -918206,7 +918387,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -921190,7 +921371,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -924174,7 +924355,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -927158,7 +927339,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -930142,7 +930323,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..56d835ad79 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,11 +25497,11 @@ 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. @@ -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. @@ -30898,7 +30967,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 +31282,7 @@ paths: - date additionalProperties: true examples: - default: &305 + default: &306 value: - date: '2024-06-24' total_active_users: 24 @@ -31315,7 +31384,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 +31446,7 @@ paths: enum: - patch - deployment + - *186 - name: runtime_risk in: query description: |- @@ -31385,8 +31455,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *186 - *187 + - *188 - *51 - *43 - *44 @@ -31398,9 +31468,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '304': *35 '400': *14 '403': *27 @@ -31444,7 +31514,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 +31593,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 +31612,7 @@ paths: - key_id - key examples: - default: &463 + default: &465 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31572,7 +31642,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -31637,9 +31707,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 +31941,7 @@ paths: application/json: schema: type: array - items: &233 + items: &234 title: Package description: A software package type: object @@ -31944,7 +32012,7 @@ paths: - created_at - updated_at examples: - default: &234 + default: &235 value: - id: 197 name: hello_docker @@ -32114,7 +32182,7 @@ paths: application/json: schema: type: array - items: &213 + items: &214 title: Organization Invitation description: Organization Invitation type: object @@ -32168,7 +32236,7 @@ paths: - invitation_teams_url - node_id examples: - default: &214 + default: &215 value: - id: 1 login: monalisa @@ -32235,7 +32303,7 @@ paths: application/json: schema: type: array - items: &191 + items: &192 title: Org Hook description: Org Hook type: object @@ -32420,9 +32488,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 +32538,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 +32551,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: *192 + default: *193 '404': *6 x-github: githubCloudOnly: false @@ -32513,7 +32581,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *65 - - *193 + - *194 requestBody: required: false content: @@ -32559,7 +32627,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: default: value: @@ -32601,7 +32669,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *65 - - *193 + - *194 responses: '204': description: Response @@ -32629,7 +32697,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 +32728,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 +32779,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 +32789,9 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: - default: *196 + default: *197 '400': *14 '422': *15 x-github: @@ -32749,16 +32817,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 +32852,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 +32882,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *65 - - *193 + - *194 responses: '204': description: Response @@ -32837,7 +32905,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 +32918,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 +32933,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 +33028,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 +33112,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 +33135,7 @@ paths: type: integer format: int64 examples: - default: &202 + default: &203 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33088,23 +33156,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 +33191,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 +33220,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 +33235,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 +33251,7 @@ paths: type: integer format: int64 examples: - default: &208 + default: &209 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33220,18 +33288,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 +33317,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 +33347,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 +33437,7 @@ paths: application/json: schema: *20 examples: - default: &501 + default: &503 value: id: 1 account: @@ -33535,12 +33603,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 +33636,7 @@ paths: properties: {} additionalProperties: false examples: - default: &212 + default: &213 value: limit: collaborators_only origin: organization @@ -33597,13 +33665,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 +33696,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -33706,9 +33774,9 @@ paths: application/json: schema: type: array - items: *213 + items: *214 examples: - default: *214 + default: *215 headers: Link: *57 '404': *6 @@ -33785,7 +33853,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *214 examples: default: value: @@ -33840,7 +33908,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 +33939,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *65 - - *215 + - *216 - *17 - *19 responses: @@ -33883,7 +33951,7 @@ paths: type: array items: *180 examples: - default: &232 + default: &233 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -33926,7 +33994,7 @@ paths: application/json: schema: type: array - items: *216 + items: *217 examples: default: value: @@ -34014,9 +34082,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 +34117,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 +34173,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: *217 + default: *218 '404': *6 '422': *7 x-github: @@ -34132,7 +34200,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 +34263,7 @@ paths: - closed - all default: open - - *219 + - *220 - name: type description: Can be the name of an issue type. in: query @@ -34226,7 +34294,7 @@ paths: type: array items: *73 examples: - default: *220 + default: *221 headers: Link: *57 '404': *6 @@ -34385,9 +34453,9 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '304': *35 '500': *105 '401': *23 @@ -34414,7 +34482,7 @@ paths: parameters: - *65 - *61 - - &223 + - &224 name: codespace_name in: path required: true @@ -34449,15 +34517,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 +34705,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *224 + schema: *225 examples: default: value: @@ -34713,7 +34781,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &226 title: Org Membership description: Org Membership type: object @@ -34782,7 +34850,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 +34951,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 +35025,7 @@ paths: application/json: schema: type: array - items: &227 + items: &228 title: Migration description: A migration. type: object @@ -35295,7 +35363,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -35474,7 +35542,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 +35570,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -35672,7 +35740,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 +35762,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 +35786,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 +35815,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 +35827,7 @@ paths: type: array items: *145 examples: - default: &239 + default: &240 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -35914,7 +35982,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 +36159,7 @@ paths: parameters: - *65 - *67 - - &229 + - &230 name: role_id description: The unique identifier of the role. in: path @@ -36128,7 +36196,7 @@ paths: parameters: - *65 - *67 - - *229 + - *230 responses: '204': description: Response @@ -36181,7 +36249,7 @@ paths: parameters: - *65 - *61 - - *229 + - *230 responses: '204': description: Response @@ -36213,7 +36281,7 @@ paths: parameters: - *65 - *61 - - *229 + - *230 responses: '204': description: Response @@ -36242,13 +36310,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 +36367,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 +36446,7 @@ paths: parent: anyOf: - type: 'null' - - *231 + - *232 type: description: The ownership type of the team type: string @@ -36411,7 +36479,7 @@ paths: - type - parent examples: - default: *232 + default: *233 headers: Link: *57 '404': @@ -36441,7 +36509,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 +36538,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *231 + items: *232 name: type: - string @@ -36780,7 +36848,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 +36884,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 +36911,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 +36929,7 @@ paths: - docker - nuget - container - - &236 + - &237 name: package_name description: The name of the package. in: path @@ -36874,7 +36942,7 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: default: value: @@ -36926,8 +36994,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 +37028,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 +37062,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 +37084,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 +37219,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 +37234,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -37202,10 +37270,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 +37305,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 +37338,7 @@ paths: - *65 - *17 - *19 - - &240 + - &241 name: sort description: The property by which to sort the results. in: query @@ -37281,7 +37349,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 +37361,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 +37370,7 @@ paths: type: string examples: - Hello-World - - &243 + - &244 name: permission description: The permission to use to filter the results. in: query @@ -37311,7 +37379,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 +37389,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 +37399,7 @@ paths: schema: type: string format: date-time - - &246 + - &247 name: token_id description: The ID of the token in: query @@ -37650,7 +37718,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -37676,14 +37744,14 @@ paths: - *65 - *17 - *19 - - *240 - - *51 - *241 + - *51 - *242 - *243 - *244 - *245 - *246 + - *247 responses: '500': *105 '422': *15 @@ -37967,7 +38035,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -38009,7 +38077,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 +38373,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 +38471,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 +38641,7 @@ paths: application/json: schema: type: array - items: &249 + items: &250 title: Projects v2 Project description: A projects v2 project type: object @@ -38647,7 +38715,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 +38800,7 @@ paths: - deleted_at - deleted_by examples: - default: &250 + default: &251 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -38835,7 +38903,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 +38916,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 headers: Link: *57 '304': *35 @@ -38873,7 +38941,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 +38975,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 +38989,7 @@ paths: content: oneOf: - *73 - - &445 + - &447 title: Pull Request Simple description: Pull Request Simple type: object @@ -39041,7 +39109,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 active_lock_reason: type: - string @@ -39140,7 +39208,7 @@ paths: _links: type: object properties: - comments: &253 + comments: &254 title: Link description: Hypermedia Link type: object @@ -39149,13 +39217,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 +39234,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 +39336,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 +39380,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &257 + draft_issue: &258 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39386,7 +39454,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 +39466,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 +39616,7 @@ paths: - updated_at - project_url examples: - default: &672 + default: &673 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39678,7 +39746,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 +39793,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 +39830,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 +39880,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 +39907,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 +39931,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 +39942,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 +39951,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 +39960,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 +39994,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 +40039,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 +40053,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 +40111,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 +40144,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 +40161,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 +40211,7 @@ paths: - updated_at - archived_at examples: - default: &259 + default: &260 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -40841,7 +40909,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 +40979,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 +41014,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 +41042,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -40997,9 +41065,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 +41140,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 +41166,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 +41192,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 +41266,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 +41370,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &261 + value: &262 value: id: 1 number: 1 @@ -41348,10 +41416,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 +41447,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 +41481,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -41448,7 +41516,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 +41594,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 +41654,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 +41684,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 '403': *27 '404': *6 x-github: @@ -41640,7 +41708,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 +41720,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 +41757,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 +41837,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *265 + default: *266 '403': *27 '404': *6 x-github: @@ -41795,7 +41863,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 +41927,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 +42017,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 +42209,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -42344,7 +42412,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &315 title: Full Repository description: Full Repository type: object @@ -42822,7 +42890,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 +42920,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 +43004,7 @@ paths: - network_count - subscribers_count examples: - default: &315 + default: &317 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43457,7 +43525,7 @@ paths: - *65 - *17 - *19 - - &568 + - &570 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43476,7 +43544,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 +43579,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 +43592,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 +43663,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 +43687,7 @@ paths: match. items: type: string - - &272 + - &273 title: Organization ruleset conditions type: object description: |- @@ -43633,7 +43701,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 +43735,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 +43757,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 +43770,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 +43803,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 +43811,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 +43828,7 @@ paths: type: string enum: - creation - - &274 + - &275 title: update description: Only allow users with bypass permission to update matching refs. @@ -43781,7 +43849,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 +43861,7 @@ paths: type: string enum: - deletion - - &276 + - &277 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43805,7 +43873,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 +43951,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 +43975,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 +43987,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 +44093,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 +44141,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 +44153,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 +44190,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 +44227,7 @@ paths: required: - operator - pattern - - &284 + - &285 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -44196,7 +44264,7 @@ paths: required: - operator - pattern - - &285 + - &286 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -44233,7 +44301,7 @@ paths: required: - operator - pattern - - &286 + - &287 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -44270,7 +44338,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 +44363,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 +44387,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 +44410,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 +44435,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 +44485,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 +44546,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 +44645,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 +44679,7 @@ paths: - *291 - *292 - *293 + - *294 required: - name - enforcement @@ -44649,9 +44717,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 +44759,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 +44775,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 +44790,7 @@ paths: in: query schema: type: string - - &571 + - &573 name: time_period description: |- The time period to filter by. @@ -44737,14 +44806,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 +44833,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &576 title: Rule Suites description: Response type: array @@ -44820,7 +44889,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 +44933,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 +44949,7 @@ paths: description: Response content: application/json: - schema: &577 + schema: &579 title: Rule Suite description: Response type: object @@ -44987,7 +45056,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 +45129,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 '404': *6 '500': *105 put: @@ -45106,16 +45175,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 +45219,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 +45279,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 +45303,7 @@ paths: type: string format: date-time examples: - default: &580 + default: &582 value: - version_id: 3 actor: @@ -45286,9 +45356,9 @@ paths: description: Response content: application/json: - schema: &581 + schema: &583 allOf: - - *297 + - *298 - type: object required: - state @@ -45358,7 +45428,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 +45439,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 +45449,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 +45458,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 +45477,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 +45492,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 +45502,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 +45512,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 +45521,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 +45530,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 +45539,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 +45571,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 +45685,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 +45749,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 +45810,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 +45825,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 +45840,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 +45855,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 +45870,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 +45885,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 +45900,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 +45915,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 +45930,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 +45945,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 +45960,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 +46200,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &299 + pattern_config_version: &300 type: - string - 'null' @@ -46140,7 +46210,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &298 + items: &299 type: object properties: token_type: @@ -46209,7 +46279,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 +46336,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 +46362,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 +46460,7 @@ paths: application/json: schema: type: array - items: &613 + items: &615 description: A repository security advisory. type: object properties: @@ -46634,7 +46704,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 credits_detailed: type: - array @@ -46645,7 +46715,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 +46779,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 +47166,7 @@ paths: application/json: schema: type: array - items: *231 + items: *232 examples: default: value: @@ -47451,7 +47521,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 +47661,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 +47692,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 +47704,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 headers: Link: *57 x-github: @@ -47658,7 +47728,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 +47768,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47720,7 +47790,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 +47935,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 +47971,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 headers: Link: *57 '403': *27 @@ -47995,7 +48065,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 +48139,7 @@ paths: parent: anyOf: - type: 'null' - - *231 + - *232 members_count: type: integer examples: @@ -48394,7 +48464,7 @@ paths: - repos_count - organization examples: - default: &308 + default: &309 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48471,9 +48541,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -48558,16 +48628,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 +48667,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 +48701,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 +48788,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &311 title: Team Membership description: Team Membership type: object @@ -48742,7 +48816,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 +48879,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 +48957,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -48914,14 +48988,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 +49638,8 @@ paths: parameters: - *65 - *67 - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -49612,8 +49686,8 @@ paths: parameters: - *65 - *67 - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -49650,7 +49724,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 +49878,7 @@ paths: resources: type: object properties: - core: &312 + core: &314 title: Rate Limit type: object properties: @@ -49821,21 +49895,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 +50014,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 +50526,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *314 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50470,8 +50544,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 +50837,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 +50869,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 +50892,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 +50916,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 +50943,7 @@ paths: type: integer artifacts: type: array - items: &317 + items: &319 title: Artifact description: An artifact type: object @@ -50964,7 +51038,7 @@ paths: - expires_at - updated_at examples: - default: &350 + default: &352 value: total_count: 2 artifacts: @@ -51025,9 +51099,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 +51113,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: default: value: @@ -51077,9 +51151,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 +51177,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 +51193,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 +51218,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 +51259,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 +51294,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 +51335,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 +51372,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 +51405,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 +51443,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &325 title: Repository actions caches description: Repository actions caches type: object @@ -51419,7 +51493,7 @@ paths: - total_count - actions_caches examples: - default: &324 + default: &326 value: total_count: 1 actions_caches: @@ -51451,23 +51525,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 +51561,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 +51593,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 +51607,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 +51954,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 +51984,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 +52032,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 +52083,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 +52147,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 +52166,7 @@ paths: type: integer secrets: type: array - items: &355 + items: &357 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52113,7 +52187,7 @@ paths: - created_at - updated_at examples: - default: &356 + default: &358 value: total_count: 2 secrets: @@ -52146,9 +52220,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 +52239,7 @@ paths: type: integer variables: type: array - items: &359 + items: &361 title: Actions Variable type: object properties: @@ -52199,7 +52273,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &362 value: total_count: 2 variables: @@ -52232,8 +52306,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 +52316,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 +52349,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 +52361,7 @@ paths: schema: type: object properties: - enabled: *328 + enabled: *330 allowed_actions: *130 sha_pinning_required: *131 required: @@ -52319,14 +52393,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 +52417,7 @@ paths: required: - access_level examples: - default: &330 + default: &332 value: access_level: organization x-github: @@ -52367,15 +52441,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 +52473,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 +52504,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 +52515,7 @@ paths: required: true content: application/json: - schema: *332 + schema: *334 examples: default: summary: Set retention days @@ -52465,8 +52539,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 +52548,7 @@ paths: application/json: schema: *132 examples: - default: *333 + default: *335 '404': *6 x-github: enabledForGitHubApps: true @@ -52493,8 +52567,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 +52602,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 +52631,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 +52663,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 +52691,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 +52724,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 +52754,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 +52766,7 @@ paths: required: true content: application/json: - schema: *337 + schema: *339 examples: default: *140 x-github: @@ -52721,8 +52795,8 @@ paths: in: query schema: type: string - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -52766,8 +52840,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 +52849,9 @@ paths: application/json: schema: type: array - items: *338 + items: *340 examples: - default: *339 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52799,8 +52873,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 +52917,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *340 + '201': *342 '404': *6 '422': *7 '409': *50 @@ -52874,8 +52948,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 +52957,7 @@ paths: application/json: schema: *149 examples: - default: *341 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52911,8 +52985,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 +52994,7 @@ paths: application/json: schema: *149 examples: - default: *342 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52942,8 +53016,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 +53026,7 @@ paths: application/json: schema: *147 examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52973,8 +53047,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 +53075,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 +53101,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 +53151,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 +53202,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 +53233,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 +53264,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 +53274,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 +53282,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 +53291,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 +53318,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 +53327,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 +53336,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 +53365,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 +53543,7 @@ paths: head_commit: anyOf: - type: 'null' - - &391 + - &393 title: Simple Commit description: A commit. type: object @@ -53584,7 +53658,7 @@ paths: - workflow_url - pull_requests examples: - default: &370 + default: &372 value: total_count: 1 workflow_runs: @@ -53820,24 +53894,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 +54152,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 +54177,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 +54307,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 +54342,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 +54363,9 @@ paths: type: integer artifacts: type: array - items: *317 + items: *319 examples: - default: *350 + default: *352 headers: Link: *57 x-github: @@ -54315,25 +54389,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 +54430,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 +54451,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: &354 + default: &356 value: total_count: 1 jobs: @@ -54492,10 +54566,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 +54597,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 +54632,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 +54701,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 +54736,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 +54768,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: *354 + default: *356 headers: Link: *57 x-github: @@ -54721,9 +54795,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 +54824,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 +54853,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 +54924,7 @@ paths: items: type: object properties: - type: &471 + type: &473 type: string description: The type of reviewer. enum: @@ -54936,9 +55010,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 +55062,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 +55174,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 +55230,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 +55277,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 +55333,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 +55472,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 +55491,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *57 x-github: @@ -55444,16 +55518,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 +55549,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 +55585,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 +55644,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 +55671,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 +55690,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -55641,8 +55715,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 +55768,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 +55804,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 +55848,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 +55875,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 +55894,7 @@ paths: type: integer workflows: type: array - items: &361 + items: &363 title: Workflow description: A GitHub Actions workflow type: object @@ -55938,9 +56012,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 +56029,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: default: value: @@ -55988,9 +56062,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 +56089,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 +56178,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 +56207,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 +56235,9 @@ paths: type: integer workflow_runs: type: array - items: *347 + items: *349 examples: - default: *370 + default: *372 headers: Link: *57 x-github: @@ -56195,9 +56269,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 +56332,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 +56501,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 +56539,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 +56576,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 +56689,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 +56747,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56693,8 +56767,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 +56776,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Autolink reference description: An autolink reference. type: object @@ -56761,8 +56835,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 +56875,9 @@ paths: description: response content: application/json: - schema: *372 + schema: *374 examples: - default: &373 + default: &375 value: id: 1 key_prefix: TICKET- @@ -56834,9 +56908,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 +56922,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -56870,9 +56944,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 +56970,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 +57021,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 +57043,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 +57064,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 +57103,7 @@ paths: - url protected: type: boolean - protection: &376 + protection: &378 title: Branch Protection description: Branch Protection type: object @@ -57072,7 +57146,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 +57163,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 +57247,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 +57540,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 +57556,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 +57602,7 @@ paths: author: anyOf: - type: 'null' - - &375 + - &377 title: Git User description: Metaproperties for Git author/committer information. @@ -57550,7 +57624,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 message: type: string examples: @@ -57574,7 +57648,7 @@ paths: required: - sha - url - verification: &491 + verification: &493 title: Verification type: object properties: @@ -57654,7 +57728,7 @@ paths: type: integer files: type: array - items: &452 + items: &454 title: Diff Entry description: Diff Entry type: object @@ -57750,7 +57824,7 @@ paths: - self protected: type: boolean - protection: *376 + protection: *378 protection_url: type: string format: uri @@ -57859,7 +57933,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 +57955,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 +58157,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 +58419,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 +58578,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *378 + restrictions: *380 required_conversation_resolution: type: object properties: @@ -58616,9 +58690,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 +58717,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 +58749,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 +58778,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 +58805,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 +58911,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 +59011,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *382 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58960,9 +59034,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 +59063,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 +59096,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 +59126,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 +59153,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 +59189,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 +59243,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '404': *6 '422': *15 x-github: @@ -59193,9 +59267,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 +59293,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 +59329,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 +59398,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 +59464,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 +59532,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 +59631,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 +59656,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 +59668,7 @@ paths: type: array items: *5 examples: - default: &386 + default: &388 value: - id: 1 slug: octoapp @@ -59651,9 +59725,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 +59761,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59708,9 +59782,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 +59818,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59765,9 +59839,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 +59875,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59823,9 +59897,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 +59909,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '404': *6 x-github: githubCloudOnly: false @@ -59855,9 +59929,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 +59969,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -59916,9 +59990,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 +60030,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -59977,9 +60051,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 +60090,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -60038,9 +60112,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 +60148,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 +60208,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 +60268,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 +60330,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 +60354,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: default: value: @@ -60396,8 +60470,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 +60750,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 +60886,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 +61173,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 +61187,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: &390 + default: &392 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61215,9 +61289,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 +61531,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *390 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61479,9 +61553,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 +61665,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 +61711,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 +61734,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 +61832,7 @@ paths: - string - 'null' format: date-time - head_commit: *391 + head_commit: *393 latest_check_runs_count: type: integer check_runs_url: @@ -61786,7 +61860,7 @@ paths: - check_runs_url - pull_requests examples: - default: &393 + default: &395 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62077,9 +62151,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 +62172,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 +62482,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 +62496,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62447,17 +62521,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 +62570,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 +62674,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 +62709,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 +62748,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 +62778,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 +62786,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 +62913,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 +62940,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 +62956,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &410 type: object properties: number: *163 @@ -62890,7 +62964,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 +62972,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 +63035,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 +63132,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 +63152,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 +63169,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 +63198,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *410 examples: default: value: @@ -63200,7 +63274,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 +63301,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 +63336,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 +63353,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 +63378,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 +63432,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 +63480,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 +63505,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 +63522,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 +63542,7 @@ paths: properties: text: type: string - location: *418 + location: *420 html_url: type: string classifications: @@ -63476,7 +63550,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 +63587,7 @@ paths: end_column: 50 classifications: - source - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63547,25 +63621,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 +63661,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 +63702,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 +63765,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63727,8 +63801,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 +63815,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: response: summary: application/json response @@ -63795,7 +63869,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 +63956,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 +64013,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 +64035,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 +64044,7 @@ paths: application/json: schema: type: array - items: &422 + items: &424 title: CodeQL Database description: A CodeQL database. type: object @@ -64082,7 +64156,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 +64185,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 +64198,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: default: value: @@ -64156,9 +64230,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 +64254,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 +64265,7 @@ paths: responses: '204': description: Response - '403': *412 + '403': *414 '404': *6 '503': *106 x-github: @@ -64219,8 +64293,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 +64303,7 @@ paths: type: object additionalProperties: false properties: - language: &423 + language: &425 type: string description: The language targeted by the CodeQL query enum: @@ -64309,7 +64383,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 +64393,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 +64441,7 @@ paths: items: type: object properties: - repository: &424 + repository: &426 title: Repository Identifier description: Repository Identifier type: object @@ -64409,7 +64483,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 +64515,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 +64530,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 +64553,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 +64570,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 +64716,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 +64747,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 +64760,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *426 + default: *428 '404': *6 '503': *106 x-github: @@ -64711,7 +64785,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 +64820,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 +64945,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 +65039,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 +65060,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 +65155,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 +65226,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 +65235,7 @@ paths: schema: type: object properties: - commit_sha: *429 + commit_sha: *431 ref: type: string description: |- @@ -65221,7 +65295,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 +65309,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 +65332,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 +65381,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 +65406,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 +65488,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 +65617,8 @@ paths: parameters: - *17 - *19 - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -65560,7 +65634,7 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: default: value: @@ -65858,8 +65932,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 +65997,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 +66036,8 @@ paths: parameters: - *17 - *19 - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -66027,8 +66101,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 +66139,9 @@ paths: type: integer machines: type: array - items: *431 + items: *433 examples: - default: &641 + default: &642 value: total_count: 2 machines: @@ -66107,8 +66181,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 +66269,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 +66339,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 +66358,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 +66379,7 @@ paths: - created_at - updated_at examples: - default: *432 + default: *434 headers: Link: *57 x-github: @@ -66328,16 +66402,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 +66431,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 +66461,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 +66515,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 +66545,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 +66584,7 @@ paths: application/json: schema: type: array - items: &437 + items: &439 title: Collaborator description: Collaborator type: object @@ -66703,8 +66777,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 +66825,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 +66853,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 +67081,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 +67114,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 +67136,7 @@ paths: user: anyOf: - type: 'null' - - *437 + - *439 required: - permission - role_name @@ -67116,8 +67190,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 +67201,7 @@ paths: application/json: schema: type: array - items: &438 + items: &440 title: Commit Comment description: Commit Comment type: object @@ -67185,7 +67259,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 +67318,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 +67385,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 +67409,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: default: value: @@ -67386,8 +67460,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 +67483,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 +67511,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 +67555,7 @@ paths: - content - created_at examples: - default: &507 + default: &509 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67526,8 +67600,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 +67634,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 +67665,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 +67689,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 +67747,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 +67804,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 +67900,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 +67974,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 +67986,9 @@ paths: application/json: schema: type: array - items: *438 + items: *440 examples: - default: *443 + default: *445 headers: Link: *57 x-github: @@ -67942,9 +68016,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 +68053,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 +68083,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 +68095,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 +68634,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 +68653,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 +68768,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 +68806,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *390 examples: - default: *449 + default: *451 headers: Link: *57 x-github: @@ -68759,9 +68833,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 +68843,7 @@ paths: schema: type: integer example: 1 - - *447 + - *449 - *17 - *19 responses: @@ -68787,7 +68861,7 @@ paths: type: integer check_suites: type: array - items: *392 + items: *394 examples: default: value: @@ -68987,9 +69061,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 +69265,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 +69277,7 @@ paths: application/json: schema: type: array - items: &618 + items: &620 title: Status description: The status of a commit. type: object @@ -69284,7 +69358,7 @@ paths: site_admin: false headers: Link: *57 - '301': *314 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69312,8 +69386,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 +69420,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 +69444,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 +69585,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 +69634,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 +69659,10 @@ paths: - 6 commits: type: array - items: *441 + items: *443 files: type: array - items: *452 + items: *454 required: - url - html_url @@ -69874,8 +69948,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 +69964,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 +70119,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 +70137,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 +70256,7 @@ paths: - size - type - url - - &558 + - &560 title: Content File description: Content File type: object @@ -70383,7 +70474,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 +70543,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 +70566,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 +70662,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &457 title: File Commit description: File Commit type: object @@ -70727,7 +70818,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: example-for-creating-a-file: value: @@ -70781,7 +70872,7 @@ paths: schema: oneOf: - *3 - - &486 + - &488 description: Repository rule violation was detected type: object properties: @@ -70802,7 +70893,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 +70925,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 +70987,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -70951,8 +71042,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 +71167,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 +71180,10 @@ paths: schema: type: string - *185 - - *456 + - *458 - *186 - *187 + - *188 - *51 - *43 - *44 @@ -71103,7 +71195,7 @@ paths: application/json: schema: type: array - items: &460 + items: &462 type: object description: A Dependabot alert. properties: @@ -71153,7 +71245,7 @@ paths: - direct - transitive - - security_advisory: *457 + security_advisory: *459 security_vulnerability: *55 url: *166 html_url: *167 @@ -71184,8 +71276,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 +71404,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 +71507,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *35 '400': *14 '403': *27 @@ -71420,9 +71532,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 +71549,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -71528,6 +71640,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 +71681,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 +71714,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 +71739,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -71700,6 +71842,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 +71869,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 +71888,7 @@ paths: type: integer secrets: type: array - items: &464 + items: &466 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71799,16 +71942,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 +71971,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 +72005,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 +72059,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 +72083,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 +72258,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 +72519,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 +72603,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 +72642,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 +72656,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 +72789,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 +72831,9 @@ paths: application/json: schema: type: array - items: *466 + items: *468 examples: - default: *467 + default: *469 headers: Link: *57 x-github: @@ -72756,8 +72899,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 +72982,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: simple-example: summary: Simple example @@ -72912,9 +73055,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 +73069,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -72991,9 +73134,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 +73158,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 +73170,7 @@ paths: application/json: schema: type: array - items: &469 + items: &471 title: Deployment Status description: The status of a deployment. type: object @@ -73191,9 +73334,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 +73411,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 +73469,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 +73482,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *470 + default: *472 '404': *6 x-github: githubCloudOnly: false @@ -73366,8 +73509,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 +73567,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 +73586,7 @@ paths: - 5 environments: type: array - items: &472 + items: &474 title: Environment description: Details of a deployment environment type: object @@ -73505,7 +73648,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 +73690,7 @@ paths: items: type: object properties: - type: *471 + type: *473 reviewer: anyOf: - *4 @@ -73574,7 +73717,7 @@ paths: - id - node_id - type - deployment_branch_policy: &475 + deployment_branch_policy: &477 type: - object - 'null' @@ -73691,9 +73834,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 +73849,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: &476 + default: &478 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73792,9 +73935,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 +73947,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 +73966,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 +73993,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 +74019,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 +74046,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 +74067,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 +74128,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 +74178,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 +74222,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 +74237,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74115,10 +74258,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 +74290,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74168,10 +74311,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 +74339,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 +74358,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 +74380,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 +74483,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 +74506,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 +74543,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 +74565,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *481 + items: *483 examples: default: value: @@ -74457,10 +74600,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 +74615,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *482 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74495,10 +74638,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 +74667,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 +74687,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *57 x-github: @@ -74571,17 +74714,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 +74746,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 +74779,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 +74839,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 +74867,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 +74887,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -74769,9 +74912,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 +74966,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 +74998,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 +75043,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 +75068,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 +75137,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 +75297,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 +75331,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 + default: *317 '400': *14 '422': *15 '403': *27 @@ -75211,8 +75354,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 +75415,7 @@ paths: schema: oneOf: - *114 - - *486 + - *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75297,8 +75440,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 +75541,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 +75651,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 +75878,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 +75942,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 +75961,7 @@ paths: application/json: schema: type: array - items: &489 + items: &491 title: Git Reference description: Git references within a repository type: object @@ -75894,17 +76037,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 +76076,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 +76106,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 +76134,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 +76165,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: *490 + default: *492 '422': *15 '409': *50 x-github: @@ -76042,9 +76185,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 +76242,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 +76310,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &494 title: Git Tag description: Metadata for a Git tag type: object @@ -76223,7 +76366,7 @@ paths: - sha - type - url - verification: *491 + verification: *493 required: - sha - url @@ -76233,7 +76376,7 @@ paths: - tag - message examples: - default: &493 + default: &495 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76306,8 +76449,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 +76461,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: - default: *493 + default: *495 '404': *6 '409': *50 x-github: @@ -76344,8 +76487,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 +76562,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 +76664,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 +76688,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default-response: summary: Default response @@ -76604,8 +76747,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 +76758,7 @@ paths: application/json: schema: type: array - items: &495 + items: &497 title: Webhook description: Webhooks for repositories. type: object @@ -76678,7 +76821,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 +76898,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 +76952,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: &496 + default: &498 value: type: Repository id: 12345678 @@ -76859,17 +77002,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 +77032,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 +77079,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 '422': *15 '404': *6 x-github: @@ -76959,9 +77102,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 +77128,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 +77157,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 +77203,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 +77215,9 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: - default: *196 + default: *197 '400': *14 '422': *15 x-github: @@ -77093,18 +77236,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 +77266,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 +77291,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 +77318,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 +77343,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 +77392,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 +77413,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 +77471,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 +77585,7 @@ paths: - html_url - authors_url examples: - default: &500 + default: &502 value: vcs: subversion use_lfs: true @@ -77458,7 +77601,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 +77630,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 +77679,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -77561,7 +77704,7 @@ paths: type: string '422': *15 '404': *6 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77589,8 +77732,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 +77785,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: example-1: summary: Example 1 @@ -77690,7 +77833,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 +77856,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 +77887,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 +77903,7 @@ paths: application/json: schema: type: array - items: &499 + items: &501 title: Porter Author description: Porter Author type: object @@ -77814,7 +77957,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 +77982,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 +78013,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -77883,7 +78026,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 +78050,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 +78092,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77977,8 +78120,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 +78148,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 +78175,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 +78184,8 @@ paths: application/json: schema: *20 examples: - default: *501 - '301': *314 + default: *503 + '301': *316 '404': *6 x-github: githubCloudOnly: false @@ -78062,8 +78205,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 +78214,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 +78244,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 +78262,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *503 + default: *505 '409': description: Response x-github: @@ -78143,8 +78286,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 +78310,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 +78321,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: &655 + default: &656 value: - id: 1 repository: @@ -78311,9 +78454,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 +78485,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *506 examples: default: value: @@ -78473,9 +78616,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 +78649,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 +78698,7 @@ paths: required: false schema: type: string - - *219 + - *220 - name: sort description: What to sort results by. in: query @@ -78580,7 +78723,7 @@ paths: type: array items: *73 examples: - default: &513 + default: &515 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78729,7 +78872,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *314 + '301': *316 '422': *15 '404': *6 x-github: @@ -78758,8 +78901,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 +78994,7 @@ paths: application/json: schema: *73 examples: - default: &510 + default: &512 value: id: 1 node_id: MDU6SXNzdWUx @@ -79008,7 +79151,7 @@ paths: '422': *15 '503': *106 '404': *6 - '410': *505 + '410': *507 x-github: triggersNotification: true githubCloudOnly: false @@ -79036,8 +79179,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 +79203,7 @@ paths: type: array items: *74 examples: - default: &512 + default: &514 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79118,8 +79261,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 +79271,7 @@ paths: application/json: schema: *74 examples: - default: &506 + default: &508 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79183,8 +79326,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 +79352,7 @@ paths: application/json: schema: *74 examples: - default: *506 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -79227,8 +79370,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 +79400,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 +79464,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *505 + '410': *507 '422': *15 x-github: githubCloudOnly: false @@ -79338,8 +79481,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 +79490,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *505 + '410': *507 '503': *106 x-github: githubCloudOnly: false @@ -79365,8 +79508,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 +79536,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -79416,8 +79559,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 +79593,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 +79624,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 +79647,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 +79658,7 @@ paths: application/json: schema: type: array - items: &509 + items: &511 title: Issue Event description: Issue Event type: object @@ -79855,8 +79998,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 +80010,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: default: value: @@ -80060,7 +80203,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *505 + '410': *507 '403': *27 x-github: githubCloudOnly: false @@ -80094,9 +80237,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 +80264,7 @@ paths: examples: default: summary: Issue - value: *510 + value: *512 pinned_comment: summary: Issue with pinned comment value: @@ -80320,9 +80463,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 +80490,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 +80613,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 +80637,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 +80667,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80540,9 +80683,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 +80712,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80591,9 +80734,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 +80776,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 +80791,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 +80824,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 +80850,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 +80885,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 +80899,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 +80932,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 +80958,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 +80997,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 +81013,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 +81045,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 +81059,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 +81081,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 +81097,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 +81146,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &518 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81131,7 +81274,7 @@ paths: - performed_via_github_app - assignee - assigner - - &517 + - &519 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81177,7 +81320,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &520 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81223,7 +81366,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &521 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81272,7 +81415,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 +81457,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 +81499,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 +81555,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &525 title: Locked Issue Event description: Locked Issue Event type: object @@ -81457,7 +81600,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 +81661,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 +81722,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 +81783,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 +81876,7 @@ paths: color: red headers: Link: *57 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81750,9 +81893,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 +81907,7 @@ paths: type: array items: *72 examples: - default: &514 + default: &516 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81782,9 +81925,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 +81943,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 +81990,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 +82010,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 +82074,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 +82094,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 +82121,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 +82147,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 +82169,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 +82200,7 @@ paths: '204': description: Response '403': *27 - '410': *505 + '410': *507 '404': *6 '422': *15 x-github: @@ -82075,9 +82218,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 +82250,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 +82260,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 +82280,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 +82308,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 +82332,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 +82366,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 +82397,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 +82429,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 +82455,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 +82488,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 +82502,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 +82534,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 +82565,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 +82592,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 +82627,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 '403': *27 '404': *6 '422': *7 @@ -82506,9 +82649,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 +82666,6 @@ paths: description: Timeline Event type: object anyOf: - - *515 - - *516 - *517 - *518 - *519 @@ -82536,6 +82677,8 @@ paths: - *525 - *526 - *527 + - *528 + - *529 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82592,7 +82735,7 @@ paths: pin: anyOf: - type: 'null' - - *528 + - *530 required: - event - actor @@ -82868,7 +83011,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 +83252,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 +83527,7 @@ paths: headers: Link: *57 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83401,8 +83544,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 +83555,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 +83623,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 +83660,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 +83696,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 +83710,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *530 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -83587,9 +83730,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 +83752,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 +83765,7 @@ paths: type: array items: *72 examples: - default: *514 + default: *516 headers: Link: *57 '404': *6 @@ -83643,8 +83786,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 +83825,7 @@ paths: application/json: schema: *72 examples: - default: &532 + default: &534 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83714,8 +83857,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 +83871,7 @@ paths: application/json: schema: *72 examples: - default: *532 + default: *534 '404': *6 x-github: githubCloudOnly: false @@ -83745,8 +83888,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 +83954,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 +83981,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 +84021,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 +84170,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 +84236,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 +84271,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 +84298,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 +84340,7 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: default: value: @@ -84253,8 +84396,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 +84437,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 +84498,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 +84512,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *534 + default: *536 '404': *6 x-github: githubCloudOnly: false @@ -84388,9 +84531,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 +84571,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *534 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84446,9 +84589,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 +84612,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 +84626,7 @@ paths: type: array items: *72 examples: - default: *514 + default: *516 headers: Link: *57 x-github: @@ -84502,12 +84645,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 +84662,7 @@ paths: type: array items: *98 examples: - default: *539 + default: *541 headers: Link: *57 x-github: @@ -84543,8 +84686,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 +84745,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 +84896,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 +84937,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 +84993,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 '422': *15 '409': *50 x-github: @@ -84875,8 +85018,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 +85119,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 +85146,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 +85157,7 @@ paths: application/json: schema: type: array - items: &542 + items: &544 title: Page Build description: Page Build type: object @@ -85106,8 +85249,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 +85297,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 +85354,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 +85366,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *543 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85245,8 +85388,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 +85497,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 +85557,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 +85586,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 +85882,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 +85920,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 +85942,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 +85965,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 +85974,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -85862,8 +86005,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 +86018,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 +86068,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 +86129,9 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: - default: *545 + default: *547 headers: Link: *57 '304': *35 @@ -86020,8 +86163,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 +86231,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 +86360,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 active_lock_reason: type: - string @@ -86272,7 +86415,7 @@ paths: type: - array - 'null' - items: *231 + items: *232 head: type: object properties: @@ -86310,14 +86453,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 +86471,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 +86573,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 +87100,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 +87130,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 +87209,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 +87294,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 +87318,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: *548 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87193,8 +87336,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 +87359,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 +87387,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -87267,8 +87410,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 +87444,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 +87475,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 +87521,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 +87536,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 +87573,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 +87617,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 '422': *15 '403': *27 x-github: @@ -87498,9 +87641,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 +87704,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 +87744,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 +87767,9 @@ paths: application/json: schema: type: array - items: *547 + items: *549 examples: - default: *552 + default: *554 headers: Link: *57 x-github: @@ -87659,9 +87802,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 +87910,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: example-for-a-multi-line-comment: value: @@ -87855,9 +87998,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 +88023,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: default: value: @@ -87966,9 +88109,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 +88121,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: *553 + default: *555 headers: Link: *57 x-github: @@ -88010,9 +88153,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 +88165,7 @@ paths: application/json: schema: type: array - items: *452 + items: *454 examples: default: value: @@ -88060,9 +88203,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 +88228,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 +88342,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 +88419,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 +88458,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -88851,9 +88994,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 +89030,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -89392,9 +89535,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 +89547,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 +89703,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 +89795,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &556 + default: &558 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89717,10 +89860,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 +89875,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &557 + default: &559 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89793,10 +89936,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 +89962,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -89881,18 +90024,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 +90062,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 +90163,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 +90323,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 +90355,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -90275,10 +90418,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 +90456,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *557 + default: *559 '404': *6 '422': *7 '403': *27 @@ -90337,9 +90480,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 +90546,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 +90560,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: &559 + default: &561 value: type: file encoding: base64 @@ -90461,8 +90604,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 +90625,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *559 + default: *561 '404': *6 '422': *15 x-github: @@ -90506,8 +90649,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 +90660,7 @@ paths: application/json: schema: type: array - items: *560 + items: *562 examples: default: value: @@ -90611,8 +90754,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 +90831,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 +90938,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 +90952,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 +90989,7 @@ paths: type: User site_admin: false '404': *6 - '302': *454 + '302': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90862,9 +91005,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 +91036,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *563 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90911,9 +91054,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 +91080,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 +91167,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 +91193,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 +91207,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *564 + default: *566 '404': *6 x-github: githubCloudOnly: false @@ -91088,9 +91231,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 +91247,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 +91267,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 +91333,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 +91356,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 +91378,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 +91390,7 @@ paths: application/json: schema: type: array - items: *561 + items: *563 examples: default: value: @@ -91328,9 +91471,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 +91499,7 @@ paths: description: Response for successful upload content: application/json: - schema: *561 + schema: *563 examples: response-for-successful-upload: value: @@ -91411,9 +91554,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 +91580,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -91460,9 +91603,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 +91635,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 +91666,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 +91693,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 +91711,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 +91731,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 +91832,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 - name: includes_parents @@ -91701,7 +91844,7 @@ paths: schema: type: boolean default: true - - *568 + - *570 responses: '200': description: Response @@ -91709,7 +91852,7 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: default: value: @@ -91756,8 +91899,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 requestBody: description: Request body required: true @@ -91777,16 +91920,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 +91960,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 +91995,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 +92010,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 +92023,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *575 + default: *577 '404': *6 '500': *105 x-github: @@ -91902,17 +92046,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 +92084,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91961,9 +92105,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *579 + default: *581 '404': *6 '500': *105 put: @@ -91981,8 +92125,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92007,16 +92151,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 +92188,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 +92209,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92088,8 +92233,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 +92250,9 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *580 + default: *582 '404': *6 '500': *105 x-github: @@ -92126,8 +92271,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 +92290,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -92200,22 +92345,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 +92368,7 @@ paths: application/json: schema: type: array - items: &596 + items: &598 type: object properties: number: *163 @@ -92239,8 +92384,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 +92479,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 +92624,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 +92687,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 +92697,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 +92734,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *598 examples: default: value: @@ -92684,9 +92829,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 +92842,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &748 + items: &749 type: object properties: type: @@ -92724,8 +92869,6 @@ paths: - commit details: oneOf: - - *597 - - *598 - *599 - *600 - *601 @@ -92737,6 +92880,8 @@ paths: - *607 - *608 - *609 + - *610 + - *611 examples: default: value: @@ -92822,8 +92967,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 +92976,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 +93000,7 @@ paths: schema: type: object properties: - reason: *611 + reason: *613 expire_at: type: - string @@ -92902,8 +93047,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 +93063,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 +93091,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 +93169,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 +93214,9 @@ paths: application/json: schema: type: array - items: *613 + items: *615 examples: - default: *614 + default: *616 '400': *14 '404': *6 x-github: @@ -93094,8 +93239,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 +93320,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -93265,9 +93410,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 +93645,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 +93759,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: default: value: @@ -93761,17 +93906,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 +93940,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 +94022,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -93968,10 +94113,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 +94154,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 +94183,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 +94219,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 +94316,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 +94326,7 @@ paths: application/json: schema: type: array - items: &617 + items: &619 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94214,8 +94359,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 +94438,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 +94533,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 +94688,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 +94699,7 @@ paths: application/json: schema: type: array - items: *617 + items: *619 examples: default: value: @@ -94587,8 +94732,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 +94789,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: default: value: @@ -94698,8 +94843,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 +94876,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 +94956,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 +94983,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -94865,8 +95010,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 +95031,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 +95097,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 +95114,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 +95151,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 +95164,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 headers: Link: *57 '404': *6 @@ -95198,8 +95184,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 +95193,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 +95205,7 @@ paths: required: - names examples: - default: &622 + default: &623 value: names: - octocat @@ -95242,8 +95228,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 +95260,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 '404': *6 '422': *7 x-github: @@ -95297,9 +95283,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 +95316,7 @@ paths: - 128 clones: type: array - items: &624 + items: &625 title: Traffic type: object properties: @@ -95417,8 +95403,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 +95498,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 +95562,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 +95585,7 @@ paths: - 3782 views: type: array - items: *624 + items: *625 required: - uniques - count @@ -95676,8 +95662,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 +95937,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 +95961,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 +95984,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 +96011,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 +96104,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 +96355,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &625 + text_matches: &626 title: Search Result Text Matches type: array items: @@ -96532,7 +96518,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 +96587,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 comment_count: type: integer message: @@ -96620,7 +96606,7 @@ paths: url: type: string format: uri - verification: *491 + verification: *493 required: - author - committer @@ -96635,7 +96621,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 parents: type: array items: @@ -96652,7 +96638,7 @@ paths: type: number node_id: type: string - text_matches: *625 + text_matches: *626 required: - sha - node_id @@ -96844,7 +96830,7 @@ paths: - interactions - created - updated - - *626 + - *627 - *17 - *19 - name: advanced_search @@ -96941,11 +96927,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 +96945,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 comments: type: integer created_at: @@ -96973,7 +96959,7 @@ paths: - string - 'null' format: date-time - text_matches: *625 + text_matches: *626 pull_request: type: object properties: @@ -97022,7 +97008,7 @@ paths: timeline_url: type: string format: uri - type: *216 + type: *217 performed_via_github_app: anyOf: - type: 'null' @@ -97200,7 +97186,7 @@ paths: enum: - created - updated - - *626 + - *627 - *17 - *19 responses: @@ -97245,7 +97231,7 @@ paths: - 'null' score: type: number - text_matches: *625 + text_matches: *626 required: - id - node_id @@ -97330,7 +97316,7 @@ paths: - forks - help-wanted-issues - updated - - *626 + - *627 - *17 - *19 responses: @@ -97576,7 +97562,7 @@ paths: - admin - pull - push - text_matches: *625 + text_matches: *626 temp_clone_token: type: string allow_merge_commit: @@ -97884,7 +97870,7 @@ paths: - string - 'null' format: uri - text_matches: *625 + text_matches: *626 related: type: - array @@ -98077,7 +98063,7 @@ paths: - followers - repositories - joined - - *626 + - *627 - *17 - *19 responses: @@ -98187,7 +98173,7 @@ paths: type: - boolean - 'null' - text_matches: *625 + text_matches: *626 blog: type: - string @@ -98269,7 +98255,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 +98267,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -98310,7 +98296,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 +98360,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 +98397,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 +98426,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 +98436,9 @@ paths: application/json: schema: type: array - items: *213 + items: *214 examples: - default: *214 + default: *215 headers: Link: *57 x-github: @@ -98478,7 +98464,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 +98515,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 +98552,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 +98592,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 +98629,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 +98671,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 +98697,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 +98733,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 +98761,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 +98773,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '404': *6 @@ -98817,15 +98803,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 +98962,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 +99014,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 +99041,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 +99053,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 +99086,7 @@ paths: application/json: schema: oneOf: - - &636 + - &637 title: Private User description: Private User type: object @@ -99350,7 +99336,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 +99496,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -99713,9 +99699,9 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '304': *35 '500': *105 '401': *23 @@ -99854,17 +99840,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 +99894,7 @@ paths: type: integer secrets: type: array - items: &637 + items: &638 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99950,7 +99936,7 @@ paths: - visibility - selected_repositories_url examples: - default: *432 + default: *434 headers: Link: *57 x-github: @@ -100028,7 +100014,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -100174,7 +100160,7 @@ paths: type: array items: *145 examples: - default: *638 + default: *639 '401': *23 '403': *27 '404': *6 @@ -100318,15 +100304,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 +100338,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 +100368,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '401': *23 '403': *27 '404': *6 @@ -100406,7 +100392,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 +100421,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 +100480,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 +100512,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 +100525,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -100562,7 +100548,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 +100564,9 @@ paths: type: integer machines: type: array - items: *431 + items: *433 examples: - default: *641 + default: *642 '304': *35 '500': *105 '401': *23 @@ -100609,7 +100595,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 +100651,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 +101452,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 +101492,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 +101530,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: &652 + default: &653 value: - id: 197 name: hello_docker @@ -101647,7 +101633,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: Email description: Email type: object @@ -101717,9 +101703,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 +101782,7 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: default: value: @@ -102054,7 +102040,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: GPG Key description: A unique encryption key type: object @@ -102199,7 +102185,7 @@ paths: - subkeys - revoked examples: - default: &670 + default: &671 value: - id: 3 name: Octocat's GPG Key @@ -102284,9 +102270,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 +102329,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 +102341,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 '304': *35 '403': *27 @@ -102380,7 +102366,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 +102644,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 +102673,7 @@ paths: required: true content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -102698,7 +102684,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -102779,7 +102765,7 @@ paths: - closed - all default: open - - *219 + - *220 - name: sort description: What to sort results by. in: query @@ -102804,7 +102790,7 @@ paths: type: array items: *73 examples: - default: *220 + default: *221 headers: Link: *57 '404': *6 @@ -102837,7 +102823,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 title: Key description: Key type: object @@ -102940,9 +102926,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: &647 + default: &648 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102975,15 +102961,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 +102992,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 +103025,7 @@ paths: application/json: schema: type: array - items: &648 + items: &649 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103118,7 +103104,7 @@ paths: - account - plan examples: - default: &649 + default: &650 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103180,9 +103166,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: *649 + default: *650 headers: Link: *57 '304': *35 @@ -103222,7 +103208,7 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: default: value: @@ -103336,7 +103322,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -103423,7 +103409,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -103495,7 +103481,7 @@ paths: application/json: schema: type: array - items: *227 + items: *228 examples: default: value: @@ -103757,7 +103743,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -103937,7 +103923,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 +103936,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -104144,7 +104130,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 +104156,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 +104185,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 +104210,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 +104222,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '404': *6 @@ -104315,7 +104301,7 @@ paths: - docker - nuget - container - - *651 + - *652 - *19 - *17 responses: @@ -104325,10 +104311,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 +104334,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 +104456,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 +104487,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 +104520,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 +104541,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -104604,15 +104590,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 +104634,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 +104666,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 +104705,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: *654 + default: *655 headers: Link: *57 '304': *35 @@ -104834,7 +104820,7 @@ paths: type: array items: *69 examples: - default: &661 + default: &662 summary: Default response value: - id: 1296269 @@ -105152,9 +105138,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 +105178,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: *655 + default: *656 headers: Link: *57 '304': *35 @@ -105217,7 +105203,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 +105226,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 +105259,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: Social account description: Social media account type: object @@ -105290,7 +105276,7 @@ paths: - provider - url examples: - default: &657 + default: &658 value: - provider: twitter url: https://twitter.com/github @@ -105353,9 +105339,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *657 + default: *658 '422': *15 '304': *35 '404': *6 @@ -105443,7 +105429,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 +105449,7 @@ paths: - title - created_at examples: - default: &689 + default: &690 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105528,9 +105514,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: &659 + default: &660 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105560,7 +105546,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 +105558,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: *659 + default: *660 '404': *6 '304': *35 '403': *27 @@ -105597,7 +105583,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 +105612,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 +105637,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 +105797,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 +105826,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 +105851,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 +105887,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '304': *35 @@ -105938,7 +105924,7 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: default: value: @@ -106024,10 +106010,10 @@ paths: application/json: schema: oneOf: + - *637 - *636 - - *635 examples: - default-response: &665 + default-response: &666 summary: Default response value: login: octocat @@ -106062,7 +106048,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 +106105,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 +106146,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 +106171,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *662 + - *663 - *17 responses: '200': @@ -106220,8 +106206,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 +106281,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 +106333,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 +106387,8 @@ paths: required: - subject_digests examples: - default: *667 - withPredicateType: *668 + default: *668 + withPredicateType: *669 responses: '200': description: Response @@ -106456,7 +106442,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 +106647,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 '201': description: Response content: @@ -106700,9 +106686,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *652 + default: *653 '403': *27 '401': *23 x-github: @@ -107086,9 +107072,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: *670 + default: *671 headers: Link: *57 x-github: @@ -107192,7 +107178,7 @@ paths: application/json: schema: *20 examples: - default: *501 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107317,7 +107303,7 @@ paths: - docker - nuget - container - - *651 + - *652 - *61 - *19 - *17 @@ -107328,12 +107314,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 +107339,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 +107370,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 +107404,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 +107438,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 +107448,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -107520,16 +107506,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 +107550,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 +107585,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 +107629,9 @@ paths: application/json: schema: type: array - items: *249 + items: *250 examples: - default: *250 + default: *251 headers: Link: *57 '304': *35 @@ -107667,16 +107653,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 +107684,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 +107696,9 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: - default: *672 + default: *673 headers: Link: *57 '304': *35 @@ -107734,7 +107720,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 +107758,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 +107774,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *674 + iteration_configuration: *675 required: - name - data_type @@ -107810,20 +107796,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 +107830,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 +107863,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 +107896,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -107934,7 +107920,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 +107990,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 +108025,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 +108047,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -108084,9 +108070,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 +108145,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 +108171,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 +108195,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 +108223,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -108460,7 +108446,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -108486,7 +108472,7 @@ paths: - *108 - *110 - *109 - - *685 + - *686 - *111 responses: '200': @@ -108617,7 +108603,7 @@ paths: parameters: - *61 - *108 - - *686 + - *687 - *109 responses: '200': @@ -108716,9 +108702,9 @@ paths: - *108 - *110 - *109 - - *687 - - *111 - *688 + - *111 + - *689 responses: '200': description: Response when getting a billing usage summary @@ -108852,9 +108838,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *657 + default: *658 headers: Link: *57 x-github: @@ -108884,9 +108870,9 @@ paths: application/json: schema: type: array - items: *658 + items: *659 examples: - default: *689 + default: *690 headers: Link: *57 x-github: @@ -108911,7 +108897,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 +108909,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 +108944,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -109087,7 +109073,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 +109142,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 +109163,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 +109236,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 +110162,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 +110241,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 +110468,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 +110660,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 +110748,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 +110858,7 @@ webhooks: - examples: - neutral - deployment: *697 + deployment: *698 details_url: type: string examples: @@ -110970,10 +110956,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 +111350,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 +111748,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 +112155,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 +113144,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 +113851,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 +114552,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 +114724,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 +114876,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 +115056,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 +115297,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 +115400,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 +115585,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 +115759,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 +115936,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 +116042,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 +116231,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 +116241,7 @@ webhooks: type: - string - 'null' - repository: *695 + repository: *696 sender: *4 required: - action @@ -116354,7 +116340,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 +116487,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 +116661,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 +116813,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 +117076,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 +117160,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 +117181,7 @@ webhooks: enum: - tag - branch - repository: *695 + repository: *696 sender: *4 required: - ref @@ -117277,10 +117263,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 +117351,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 +117430,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 +117510,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 +117590,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 +117678,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 +117734,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 +117769,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 +117818,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 +117853,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 +117903,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 +117938,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 +117988,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 +118023,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 +118071,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 +118106,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 +118154,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 +118189,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 +118238,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 +118273,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 +118321,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 +118356,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 +118437,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 +118477,8 @@ webhooks: - verified - created_at - read_only - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -118569,11 +118555,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 +119126,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 +119882,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 +119959,7 @@ webhooks: type: string enum: - approved - approver: &704 + approver: &705 type: object properties: avatar_url: @@ -120016,11 +120002,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 +120087,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &706 + workflow_job_run: &707 type: object properties: conclusion: @@ -120847,18 +120833,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 +121561,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 +123500,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 +124196,7 @@ webhooks: type: string enum: - answered - answer: &710 + answer: &711 type: object properties: author_association: @@ -124370,11 +124356,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 +124487,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 +124574,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 +124660,7 @@ webhooks: type: string enum: - created - comment: &709 + comment: &710 type: object properties: author_association: @@ -124834,11 +124820,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 +124907,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 +125007,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 +125096,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 +125182,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 +125286,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 +125372,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 +125408,8 @@ webhooks: - color - default - description - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125506,11 +125492,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 +125578,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 +125664,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 +125753,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 +125845,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 +125930,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 +126018,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 +126104,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 +126181,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 +126859,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 +127007,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 +127047,7 @@ webhooks: - action - sha - html_url - repository: *695 + repository: *696 sender: *4 required: - pages @@ -127137,10 +127123,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 +127152,8 @@ webhooks: - name - full_name - private - repository: *695 - requester: *712 + repository: *696 + requester: *713 sender: *4 required: - action @@ -127242,11 +127228,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 +127309,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 +127390,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 +127439,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 +127526,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 +127556,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 +127637,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 +127823,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 +127905,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 +128075,7 @@ webhooks: pin: anyOf: - type: 'null' - - *528 + - *530 user: title: User type: @@ -128175,8 +128161,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 +128974,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 +128992,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -129350,8 +129336,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -129431,7 +129417,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 +129574,7 @@ webhooks: pin: anyOf: - type: 'null' - - *528 + - *530 required: - url - html_url @@ -129602,8 +129588,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 +130397,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 +130415,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -130775,8 +130761,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -130856,7 +130842,7 @@ webhooks: type: string enum: - edited - changes: &740 + changes: &741 description: The changes to the comment. type: object properties: @@ -130868,9 +130854,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 +131667,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 +131685,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -132043,8 +132029,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -132125,9 +132111,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 +132926,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 +132944,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -133304,8 +133290,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -133385,9 +133371,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 +134186,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 +134204,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -134564,8 +134550,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -134654,9 +134640,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 +134731,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 +134821,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 +134912,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 +134994,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 +135808,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 +135829,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -135946,8 +135932,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -136027,8 +136013,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 +136830,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 +136851,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -137111,8 +137097,8 @@ webhooks: required: - state - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -137191,8 +137177,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 +137985,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 +138006,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -138122,8 +138108,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -138202,8 +138188,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 +139019,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 +139040,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -139135,7 +139121,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 +139264,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -139378,8 +139364,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 +140176,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 +140194,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -140314,9 +140300,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 +140382,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 +141193,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 +141211,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -141331,9 +141317,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 +141399,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 +142235,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 +142253,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -142350,8 +142336,8 @@ webhooks: format: uri user_view_type: type: string - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -142430,8 +142416,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 +143246,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 +143267,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -143361,9 +143347,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 +144236,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 +144340,7 @@ webhooks: required: - login - id - type: *216 + type: *217 required: - id - number @@ -144846,8 +144832,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 +145640,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 +145661,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -145781,8 +145767,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -145862,9 +145848,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 +146655,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 +146676,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -146792,8 +146778,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -146872,8 +146858,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 +147692,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 +147793,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 +148683,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 +148704,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -149311,11 +149297,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 +149381,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 +149467,7 @@ webhooks: type: string enum: - unassigned - assignee: &743 + assignee: &744 title: User type: - object @@ -149553,11 +149539,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 +149622,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 +149707,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 +150541,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 +150562,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -150656,8 +150642,8 @@ webhooks: format: uri user_view_type: type: string - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -150737,11 +150723,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 +150806,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 +150891,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 +150973,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 +151087,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 +151173,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 +151263,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 +151348,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151442,10 +151428,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 +151519,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151615,10 +151601,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 +151690,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151785,8 +151771,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 +151858,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 +151940,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 +152047,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 +152153,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 +152236,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 +152318,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 +152400,7 @@ webhooks: required: - login - id - team: &722 + team: &723 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152644,11 +152630,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 +152713,7 @@ webhooks: required: - login - id - team: *722 + team: *723 required: - action - scope @@ -152809,8 +152795,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 +152815,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 +152909,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 +152985,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 +153094,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 +153179,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 +153262,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 +153406,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153500,11 +153486,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 +153600,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 +153684,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 +153767,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 +153850,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 +153933,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 +154045,8 @@ webhooks: - role - organization_url - user - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -154138,11 +154124,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 +154207,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 +154330,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 +154411,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 +154502,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 +154583,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 +155108,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &726 + items: &727 title: Ruby Gems metadata type: object properties: @@ -155219,7 +155205,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -155295,9 +155281,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 +155645,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *726 + items: *727 source_url: type: string format: uri @@ -155730,7 +155716,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -155910,12 +155896,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 +155978,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 +156128,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 +156208,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 +156288,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 +156367,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 +156476,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 +156508,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 +156754,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 +156880,7 @@ webhooks: - creator - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -156975,11 +156961,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 +157045,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 +157177,7 @@ webhooks: repository: anyOf: - type: 'null' - - *695 + - *696 sender: *4 required: - action @@ -157285,11 +157271,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 +157369,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 +157568,7 @@ webhooks: type: string required: - after_id - repository: *695 + repository: *696 sender: *4 required: - action @@ -157662,10 +157648,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 +157778,7 @@ webhooks: - creator - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -157872,10 +157858,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 +157901,7 @@ webhooks: - name - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -157994,14 +157980,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 +158076,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 +158160,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 +158244,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 +158328,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 +158436,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 +158519,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 +158604,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 +158687,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 +158770,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 +158893,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 +158978,7 @@ webhooks: type: string enum: - archived - changes: &735 + changes: &736 type: object properties: archived_at: @@ -159008,9 +158994,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 +159014,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 +159136,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 +159220,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 +159303,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 +159410,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 +159434,7 @@ webhooks: required: - id - name - - &734 + - &735 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -159488,8 +159474,8 @@ webhooks: oneOf: - type: string - type: integer - - *733 - *734 + - *735 type: - 'null' - string @@ -159512,9 +159498,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 +159597,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 +159682,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 +159767,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 +159850,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 +159933,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 +160081,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 +160154,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 +160234,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 +162611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -162707,11 +162693,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 +165061,7 @@ webhooks: - draft reason: type: string - repository: *695 + repository: *696 sender: *4 required: - action @@ -165157,11 +165143,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 +167511,7 @@ webhooks: - draft reason: type: string - repository: *695 + repository: *696 sender: *4 required: - action @@ -167607,13 +167593,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 +167661,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *695 + repository: *696 sender: *4 required: - action @@ -167756,12 +167742,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 +167827,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 +170180,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -170273,11 +170259,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 +172631,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *695 + repository: *696 sender: *4 required: - action @@ -172769,12 +172755,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 +172840,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 +175197,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -175291,11 +175277,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 +177651,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -177746,10 +177732,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 +180103,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -180197,12 +180183,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 +180267,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 +180353,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 +180438,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 +180818,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 +183072,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -183166,7 +183152,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 +183445,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 +185687,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -185781,11 +185767,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 +188014,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -188109,9 +188095,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 +190352,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 review: description: The review that was affected. type: object @@ -190617,9 +190603,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 +192719,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 +192958,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 +195332,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_reviewer: title: User type: @@ -195432,12 +195418,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 +197799,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 +197994,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 +200370,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_reviewer: title: User type: @@ -200471,12 +200457,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 +202824,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 +203008,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 +205268,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 - review: *742 + repository: *696 + review: *743 sender: *4 required: - action @@ -205363,9 +205349,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 +207504,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 sender: *4 thread: type: object @@ -207915,9 +207901,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 +210039,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 sender: *4 thread: type: object @@ -210452,10 +210438,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 +212798,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -212894,11 +212880,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 +215256,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -215349,11 +215335,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 +217700,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -217795,10 +217781,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 +220135,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -220352,7 +220338,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 +220433,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 +221033,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 +221512,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *726 + items: *727 summary: type: string tag_name: @@ -221582,7 +221568,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -221660,9 +221646,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 +221960,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *726 + items: *727 summary: type: string tag_name: @@ -222024,7 +222010,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -222101,10 +222087,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 +222421,7 @@ webhooks: - updated_at - zipball_url - body - repository: *695 + repository: *696 sender: *4 required: - action @@ -222512,11 +222498,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 +222619,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 +222701,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 +223039,7 @@ webhooks: - string - 'null' format: uri - repository: *695 + repository: *696 sender: *4 required: - action @@ -223129,10 +223115,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 +223451,7 @@ webhooks: - string - 'null' format: uri - repository: *695 + repository: *696 sender: *4 required: - action @@ -223541,11 +223527,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 +223607,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 +223687,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 +223767,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 +223847,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 +223927,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 +224008,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 +224096,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 +224214,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 +224289,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 +224373,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 +224453,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 +224550,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 +224633,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 +224715,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 +224797,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 +224820,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 +224862,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 +225108,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 +225189,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 +225270,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 +225395,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 +225608,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 +225689,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 +225895,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 +225976,7 @@ webhooks: type: string enum: - assigned - alert: &747 + alert: &748 type: object properties: number: *163 @@ -226105,10 +226091,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 +226172,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 +226257,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 +226499,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 +226581,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 +226663,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 +226745,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 +226828,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 +226962,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 +227043,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 +227233,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 +227310,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 +227499,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 +227581,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 +227891,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 +227984,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 +228066,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 +228150,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &752 + changes: &753 type: object properties: tier: @@ -228208,13 +228194,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 +228277,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 +228357,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 +228444,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 +228881,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 +229005,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 +229097,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 +229189,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 +229281,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 +229360,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 +229595,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 +230067,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -230157,9 +230143,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 +230615,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -230706,9 +230692,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 +231164,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -231322,9 +231308,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 +231780,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - changes @@ -231872,9 +231858,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 +232330,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -232420,10 +232406,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 +232482,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 +232574,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 +232833,7 @@ webhooks: type: string required: - conclusion - deployment: *466 + deployment: *468 required: - action - repository @@ -232926,10 +232912,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 +233197,7 @@ webhooks: required: - status - steps - deployment: *466 + deployment: *468 required: - action - repository @@ -233290,10 +233276,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 +233425,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *466 + deployment: *468 required: - action - repository @@ -233518,10 +233504,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 +233654,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *466 + deployment: *468 required: - action - repository @@ -233748,12 +233734,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 +234758,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 +235767,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..ed1bbbfc2f 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,12 +105310,12 @@ "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", @@ -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", @@ -124795,6 +124974,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 +126747,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 +126954,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -127368,7 +127578,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 +224665,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 +229445,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 +242636,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 +242997,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -339117,6 +339483,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 +369118,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 +369332,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 +369353,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 +371602,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 +372814,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 +372954,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -373854,7 +374287,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 +374452,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 +375613,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 +608039,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 +612685,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 +639380,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 +639424,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 +639535,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 +909435,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -912238,7 +912419,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -915222,7 +915403,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -918206,7 +918387,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -921190,7 +921371,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -924174,7 +924355,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -927158,7 +927339,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -930142,7 +930323,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..56d835ad79 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,11 +25497,11 @@ 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. @@ -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. @@ -30898,7 +30967,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 +31282,7 @@ paths: - date additionalProperties: true examples: - default: &305 + default: &306 value: - date: '2024-06-24' total_active_users: 24 @@ -31315,7 +31384,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 +31446,7 @@ paths: enum: - patch - deployment + - *186 - name: runtime_risk in: query description: |- @@ -31385,8 +31455,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *186 - *187 + - *188 - *51 - *43 - *44 @@ -31398,9 +31468,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '304': *35 '400': *14 '403': *27 @@ -31444,7 +31514,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 +31593,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 +31612,7 @@ paths: - key_id - key examples: - default: &463 + default: &465 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31572,7 +31642,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -31637,9 +31707,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 +31941,7 @@ paths: application/json: schema: type: array - items: &233 + items: &234 title: Package description: A software package type: object @@ -31944,7 +32012,7 @@ paths: - created_at - updated_at examples: - default: &234 + default: &235 value: - id: 197 name: hello_docker @@ -32114,7 +32182,7 @@ paths: application/json: schema: type: array - items: &213 + items: &214 title: Organization Invitation description: Organization Invitation type: object @@ -32168,7 +32236,7 @@ paths: - invitation_teams_url - node_id examples: - default: &214 + default: &215 value: - id: 1 login: monalisa @@ -32235,7 +32303,7 @@ paths: application/json: schema: type: array - items: &191 + items: &192 title: Org Hook description: Org Hook type: object @@ -32420,9 +32488,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 +32538,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 +32551,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: *192 + default: *193 '404': *6 x-github: githubCloudOnly: false @@ -32513,7 +32581,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *65 - - *193 + - *194 requestBody: required: false content: @@ -32559,7 +32627,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *192 examples: default: value: @@ -32601,7 +32669,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *65 - - *193 + - *194 responses: '204': description: Response @@ -32629,7 +32697,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 +32728,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 +32779,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 +32789,9 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: - default: *196 + default: *197 '400': *14 '422': *15 x-github: @@ -32749,16 +32817,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 +32852,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 +32882,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *65 - - *193 + - *194 responses: '204': description: Response @@ -32837,7 +32905,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 +32918,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 +32933,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 +33028,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 +33112,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 +33135,7 @@ paths: type: integer format: int64 examples: - default: &202 + default: &203 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -33088,23 +33156,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 +33191,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 +33220,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 +33235,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 +33251,7 @@ paths: type: integer format: int64 examples: - default: &208 + default: &209 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -33220,18 +33288,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 +33317,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 +33347,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 +33437,7 @@ paths: application/json: schema: *20 examples: - default: &501 + default: &503 value: id: 1 account: @@ -33535,12 +33603,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 +33636,7 @@ paths: properties: {} additionalProperties: false examples: - default: &212 + default: &213 value: limit: collaborators_only origin: organization @@ -33597,13 +33665,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 +33696,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -33706,9 +33774,9 @@ paths: application/json: schema: type: array - items: *213 + items: *214 examples: - default: *214 + default: *215 headers: Link: *57 '404': *6 @@ -33785,7 +33853,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *214 examples: default: value: @@ -33840,7 +33908,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 +33939,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *65 - - *215 + - *216 - *17 - *19 responses: @@ -33883,7 +33951,7 @@ paths: type: array items: *180 examples: - default: &232 + default: &233 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -33926,7 +33994,7 @@ paths: application/json: schema: type: array - items: *216 + items: *217 examples: default: value: @@ -34014,9 +34082,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 +34117,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 +34173,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: *217 + default: *218 '404': *6 '422': *7 x-github: @@ -34132,7 +34200,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 +34263,7 @@ paths: - closed - all default: open - - *219 + - *220 - name: type description: Can be the name of an issue type. in: query @@ -34226,7 +34294,7 @@ paths: type: array items: *73 examples: - default: *220 + default: *221 headers: Link: *57 '404': *6 @@ -34385,9 +34453,9 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '304': *35 '500': *105 '401': *23 @@ -34414,7 +34482,7 @@ paths: parameters: - *65 - *61 - - &223 + - &224 name: codespace_name in: path required: true @@ -34449,15 +34517,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 +34705,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *224 + schema: *225 examples: default: value: @@ -34713,7 +34781,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &226 title: Org Membership description: Org Membership type: object @@ -34782,7 +34850,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 +34951,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 +35025,7 @@ paths: application/json: schema: type: array - items: &227 + items: &228 title: Migration description: A migration. type: object @@ -35295,7 +35363,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -35474,7 +35542,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 +35570,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -35672,7 +35740,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 +35762,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 +35786,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 +35815,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 +35827,7 @@ paths: type: array items: *145 examples: - default: &239 + default: &240 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -35914,7 +35982,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 +36159,7 @@ paths: parameters: - *65 - *67 - - &229 + - &230 name: role_id description: The unique identifier of the role. in: path @@ -36128,7 +36196,7 @@ paths: parameters: - *65 - *67 - - *229 + - *230 responses: '204': description: Response @@ -36181,7 +36249,7 @@ paths: parameters: - *65 - *61 - - *229 + - *230 responses: '204': description: Response @@ -36213,7 +36281,7 @@ paths: parameters: - *65 - *61 - - *229 + - *230 responses: '204': description: Response @@ -36242,13 +36310,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 +36367,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 +36446,7 @@ paths: parent: anyOf: - type: 'null' - - *231 + - *232 type: description: The ownership type of the team type: string @@ -36411,7 +36479,7 @@ paths: - type - parent examples: - default: *232 + default: *233 headers: Link: *57 '404': @@ -36441,7 +36509,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 +36538,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *231 + items: *232 name: type: - string @@ -36780,7 +36848,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 +36884,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 +36911,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 +36929,7 @@ paths: - docker - nuget - container - - &236 + - &237 name: package_name description: The name of the package. in: path @@ -36874,7 +36942,7 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: default: value: @@ -36926,8 +36994,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 +37028,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 +37062,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 +37084,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 +37219,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 +37234,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -37202,10 +37270,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 +37305,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 +37338,7 @@ paths: - *65 - *17 - *19 - - &240 + - &241 name: sort description: The property by which to sort the results. in: query @@ -37281,7 +37349,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 +37361,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 +37370,7 @@ paths: type: string examples: - Hello-World - - &243 + - &244 name: permission description: The permission to use to filter the results. in: query @@ -37311,7 +37379,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 +37389,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 +37399,7 @@ paths: schema: type: string format: date-time - - &246 + - &247 name: token_id description: The ID of the token in: query @@ -37650,7 +37718,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -37676,14 +37744,14 @@ paths: - *65 - *17 - *19 - - *240 - - *51 - *241 + - *51 - *242 - *243 - *244 - *245 - *246 + - *247 responses: '500': *105 '422': *15 @@ -37967,7 +38035,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -38009,7 +38077,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 +38373,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 +38471,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 +38641,7 @@ paths: application/json: schema: type: array - items: &249 + items: &250 title: Projects v2 Project description: A projects v2 project type: object @@ -38647,7 +38715,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 +38800,7 @@ paths: - deleted_at - deleted_by examples: - default: &250 + default: &251 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -38835,7 +38903,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 +38916,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *250 + default: *251 headers: Link: *57 '304': *35 @@ -38873,7 +38941,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 +38975,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 +38989,7 @@ paths: content: oneOf: - *73 - - &445 + - &447 title: Pull Request Simple description: Pull Request Simple type: object @@ -39041,7 +39109,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 active_lock_reason: type: - string @@ -39140,7 +39208,7 @@ paths: _links: type: object properties: - comments: &253 + comments: &254 title: Link description: Hypermedia Link type: object @@ -39149,13 +39217,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 +39234,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 +39336,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 +39380,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &257 + draft_issue: &258 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39386,7 +39454,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 +39466,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 +39616,7 @@ paths: - updated_at - project_url examples: - default: &672 + default: &673 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39678,7 +39746,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 +39793,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 +39830,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 +39880,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 +39907,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 +39931,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 +39942,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 +39951,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 +39960,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 +39994,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 +40039,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 +40053,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 +40111,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 +40144,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 +40161,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 +40211,7 @@ paths: - updated_at - archived_at examples: - default: &259 + default: &260 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -40841,7 +40909,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 +40979,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 +41014,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 +41042,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -40997,9 +41065,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 +41140,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 +41166,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 +41192,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 +41266,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 +41370,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &261 + value: &262 value: id: 1 number: 1 @@ -41348,10 +41416,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 +41447,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 +41481,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -41448,7 +41516,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 +41594,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 +41654,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 +41684,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 '403': *27 '404': *6 x-github: @@ -41640,7 +41708,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 +41720,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 +41757,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 +41837,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *265 + default: *266 '403': *27 '404': *6 x-github: @@ -41795,7 +41863,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 +41927,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 +42017,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 +42209,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -42344,7 +42412,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &315 title: Full Repository description: Full Repository type: object @@ -42822,7 +42890,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 +42920,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 +43004,7 @@ paths: - network_count - subscribers_count examples: - default: &315 + default: &317 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43457,7 +43525,7 @@ paths: - *65 - *17 - *19 - - &568 + - &570 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43476,7 +43544,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 +43579,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 +43592,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 +43663,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 +43687,7 @@ paths: match. items: type: string - - &272 + - &273 title: Organization ruleset conditions type: object description: |- @@ -43633,7 +43701,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 +43735,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 +43757,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 +43770,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 +43803,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 +43811,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 +43828,7 @@ paths: type: string enum: - creation - - &274 + - &275 title: update description: Only allow users with bypass permission to update matching refs. @@ -43781,7 +43849,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 +43861,7 @@ paths: type: string enum: - deletion - - &276 + - &277 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43805,7 +43873,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 +43951,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 +43975,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 +43987,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 +44093,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 +44141,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 +44153,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 +44190,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 +44227,7 @@ paths: required: - operator - pattern - - &284 + - &285 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -44196,7 +44264,7 @@ paths: required: - operator - pattern - - &285 + - &286 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -44233,7 +44301,7 @@ paths: required: - operator - pattern - - &286 + - &287 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -44270,7 +44338,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 +44363,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 +44387,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 +44410,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 +44435,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 +44485,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 +44546,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 +44645,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 +44679,7 @@ paths: - *291 - *292 - *293 + - *294 required: - name - enforcement @@ -44649,9 +44717,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 +44759,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 +44775,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 +44790,7 @@ paths: in: query schema: type: string - - &571 + - &573 name: time_period description: |- The time period to filter by. @@ -44737,14 +44806,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 +44833,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &576 title: Rule Suites description: Response type: array @@ -44820,7 +44889,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 +44933,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 +44949,7 @@ paths: description: Response content: application/json: - schema: &577 + schema: &579 title: Rule Suite description: Response type: object @@ -44987,7 +45056,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 +45129,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 '404': *6 '500': *105 put: @@ -45106,16 +45175,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 +45219,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 +45279,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 +45303,7 @@ paths: type: string format: date-time examples: - default: &580 + default: &582 value: - version_id: 3 actor: @@ -45286,9 +45356,9 @@ paths: description: Response content: application/json: - schema: &581 + schema: &583 allOf: - - *297 + - *298 - type: object required: - state @@ -45358,7 +45428,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 +45439,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 +45449,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 +45458,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 +45477,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 +45492,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 +45502,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 +45512,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 +45521,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 +45530,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 +45539,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 +45571,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 +45685,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 +45749,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 +45810,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 +45825,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 +45840,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 +45855,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 +45870,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 +45885,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 +45900,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 +45915,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 +45930,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 +45945,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 +45960,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 +46200,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &299 + pattern_config_version: &300 type: - string - 'null' @@ -46140,7 +46210,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &298 + items: &299 type: object properties: token_type: @@ -46209,7 +46279,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 +46336,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 +46362,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 +46460,7 @@ paths: application/json: schema: type: array - items: &613 + items: &615 description: A repository security advisory. type: object properties: @@ -46634,7 +46704,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 credits_detailed: type: - array @@ -46645,7 +46715,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 +46779,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 +47166,7 @@ paths: application/json: schema: type: array - items: *231 + items: *232 examples: default: value: @@ -47451,7 +47521,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 +47661,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 +47692,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 +47704,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 headers: Link: *57 x-github: @@ -47658,7 +47728,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 +47768,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47720,7 +47790,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 +47935,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 +47971,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 headers: Link: *57 '403': *27 @@ -47995,7 +48065,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 +48139,7 @@ paths: parent: anyOf: - type: 'null' - - *231 + - *232 members_count: type: integer examples: @@ -48394,7 +48464,7 @@ paths: - repos_count - organization examples: - default: &308 + default: &309 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48471,9 +48541,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -48558,16 +48628,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 +48667,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 +48701,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 +48788,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &311 title: Team Membership description: Team Membership type: object @@ -48742,7 +48816,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 +48879,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 +48957,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -48914,14 +48988,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 +49638,8 @@ paths: parameters: - *65 - *67 - - *310 - - *311 + - *312 + - *313 requestBody: required: false content: @@ -49612,8 +49686,8 @@ paths: parameters: - *65 - *67 - - *310 - - *311 + - *312 + - *313 responses: '204': description: Response @@ -49650,7 +49724,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 +49878,7 @@ paths: resources: type: object properties: - core: &312 + core: &314 title: Rate Limit type: object properties: @@ -49821,21 +49895,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 +50014,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 +50526,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *314 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50470,8 +50544,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 +50837,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 +50869,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 +50892,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 +50916,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 +50943,7 @@ paths: type: integer artifacts: type: array - items: &317 + items: &319 title: Artifact description: An artifact type: object @@ -50964,7 +51038,7 @@ paths: - expires_at - updated_at examples: - default: &350 + default: &352 value: total_count: 2 artifacts: @@ -51025,9 +51099,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 +51113,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: default: value: @@ -51077,9 +51151,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 +51177,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 +51193,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 +51218,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 +51259,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 +51294,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 +51335,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 +51372,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 +51405,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 +51443,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &325 title: Repository actions caches description: Repository actions caches type: object @@ -51419,7 +51493,7 @@ paths: - total_count - actions_caches examples: - default: &324 + default: &326 value: total_count: 1 actions_caches: @@ -51451,23 +51525,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 +51561,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 +51593,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 +51607,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 +51954,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 +51984,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 +52032,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 +52083,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 +52147,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 +52166,7 @@ paths: type: integer secrets: type: array - items: &355 + items: &357 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52113,7 +52187,7 @@ paths: - created_at - updated_at examples: - default: &356 + default: &358 value: total_count: 2 secrets: @@ -52146,9 +52220,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 +52239,7 @@ paths: type: integer variables: type: array - items: &359 + items: &361 title: Actions Variable type: object properties: @@ -52199,7 +52273,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &362 value: total_count: 2 variables: @@ -52232,8 +52306,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 +52316,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 +52349,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 +52361,7 @@ paths: schema: type: object properties: - enabled: *328 + enabled: *330 allowed_actions: *130 sha_pinning_required: *131 required: @@ -52319,14 +52393,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 +52417,7 @@ paths: required: - access_level examples: - default: &330 + default: &332 value: access_level: organization x-github: @@ -52367,15 +52441,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 +52473,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 +52504,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 +52515,7 @@ paths: required: true content: application/json: - schema: *332 + schema: *334 examples: default: summary: Set retention days @@ -52465,8 +52539,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 +52548,7 @@ paths: application/json: schema: *132 examples: - default: *333 + default: *335 '404': *6 x-github: enabledForGitHubApps: true @@ -52493,8 +52567,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 +52602,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 +52631,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 +52663,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 +52691,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 +52724,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 +52754,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 +52766,7 @@ paths: required: true content: application/json: - schema: *337 + schema: *339 examples: default: *140 x-github: @@ -52721,8 +52795,8 @@ paths: in: query schema: type: string - - *310 - - *311 + - *312 + - *313 - *17 - *19 responses: @@ -52766,8 +52840,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 +52849,9 @@ paths: application/json: schema: type: array - items: *338 + items: *340 examples: - default: *339 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52799,8 +52873,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 +52917,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *340 + '201': *342 '404': *6 '422': *7 '409': *50 @@ -52874,8 +52948,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 +52957,7 @@ paths: application/json: schema: *149 examples: - default: *341 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52911,8 +52985,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 +52994,7 @@ paths: application/json: schema: *149 examples: - default: *342 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52942,8 +53016,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 +53026,7 @@ paths: application/json: schema: *147 examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52973,8 +53047,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 +53075,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 +53101,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 +53151,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 +53202,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 +53233,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 +53264,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 +53274,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 +53282,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 +53291,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 +53318,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 +53327,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 +53336,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 +53365,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 +53543,7 @@ paths: head_commit: anyOf: - type: 'null' - - &391 + - &393 title: Simple Commit description: A commit. type: object @@ -53584,7 +53658,7 @@ paths: - workflow_url - pull_requests examples: - default: &370 + default: &372 value: total_count: 1 workflow_runs: @@ -53820,24 +53894,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 +54152,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 +54177,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 +54307,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 +54342,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 +54363,9 @@ paths: type: integer artifacts: type: array - items: *317 + items: *319 examples: - default: *350 + default: *352 headers: Link: *57 x-github: @@ -54315,25 +54389,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 +54430,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 +54451,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: &354 + default: &356 value: total_count: 1 jobs: @@ -54492,10 +54566,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 +54597,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 +54632,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 +54701,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 +54736,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 +54768,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: *354 + default: *356 headers: Link: *57 x-github: @@ -54721,9 +54795,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 +54824,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 +54853,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 +54924,7 @@ paths: items: type: object properties: - type: &471 + type: &473 type: string description: The type of reviewer. enum: @@ -54936,9 +55010,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 +55062,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 +55174,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 +55230,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 +55277,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 +55333,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 +55472,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 +55491,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *57 x-github: @@ -55444,16 +55518,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 +55549,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 +55585,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 +55644,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 +55671,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 +55690,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -55641,8 +55715,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 +55768,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 +55804,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 +55848,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 +55875,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 +55894,7 @@ paths: type: integer workflows: type: array - items: &361 + items: &363 title: Workflow description: A GitHub Actions workflow type: object @@ -55938,9 +56012,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 +56029,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: default: value: @@ -55988,9 +56062,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 +56089,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 +56178,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 +56207,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 +56235,9 @@ paths: type: integer workflow_runs: type: array - items: *347 + items: *349 examples: - default: *370 + default: *372 headers: Link: *57 x-github: @@ -56195,9 +56269,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 +56332,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 +56501,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 +56539,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 +56576,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 +56689,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 +56747,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56693,8 +56767,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 +56776,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Autolink reference description: An autolink reference. type: object @@ -56761,8 +56835,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 +56875,9 @@ paths: description: response content: application/json: - schema: *372 + schema: *374 examples: - default: &373 + default: &375 value: id: 1 key_prefix: TICKET- @@ -56834,9 +56908,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 +56922,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -56870,9 +56944,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 +56970,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 +57021,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 +57043,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 +57064,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 +57103,7 @@ paths: - url protected: type: boolean - protection: &376 + protection: &378 title: Branch Protection description: Branch Protection type: object @@ -57072,7 +57146,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 +57163,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 +57247,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 +57540,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 +57556,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 +57602,7 @@ paths: author: anyOf: - type: 'null' - - &375 + - &377 title: Git User description: Metaproperties for Git author/committer information. @@ -57550,7 +57624,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 message: type: string examples: @@ -57574,7 +57648,7 @@ paths: required: - sha - url - verification: &491 + verification: &493 title: Verification type: object properties: @@ -57654,7 +57728,7 @@ paths: type: integer files: type: array - items: &452 + items: &454 title: Diff Entry description: Diff Entry type: object @@ -57750,7 +57824,7 @@ paths: - self protected: type: boolean - protection: *376 + protection: *378 protection_url: type: string format: uri @@ -57859,7 +57933,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 +57955,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 +58157,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 +58419,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 +58578,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *378 + restrictions: *380 required_conversation_resolution: type: object properties: @@ -58616,9 +58690,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 +58717,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 +58749,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 +58778,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 +58805,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 +58911,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 +59011,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *382 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58960,9 +59034,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 +59063,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 +59096,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 +59126,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 +59153,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 +59189,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 +59243,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '404': *6 '422': *15 x-github: @@ -59193,9 +59267,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 +59293,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 +59329,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 +59398,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 +59464,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 +59532,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 +59631,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 +59656,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 +59668,7 @@ paths: type: array items: *5 examples: - default: &386 + default: &388 value: - id: 1 slug: octoapp @@ -59651,9 +59725,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 +59761,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59708,9 +59782,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 +59818,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59765,9 +59839,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 +59875,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59823,9 +59897,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 +59909,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '404': *6 x-github: githubCloudOnly: false @@ -59855,9 +59929,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 +59969,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -59916,9 +59990,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 +60030,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -59977,9 +60051,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 +60090,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -60038,9 +60112,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 +60148,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 +60208,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 +60268,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 +60330,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 +60354,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: default: value: @@ -60396,8 +60470,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 +60750,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 +60886,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 +61173,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 +61187,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: &390 + default: &392 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61215,9 +61289,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 +61531,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *390 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61479,9 +61553,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 +61665,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 +61711,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 +61734,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 +61832,7 @@ paths: - string - 'null' format: date-time - head_commit: *391 + head_commit: *393 latest_check_runs_count: type: integer check_runs_url: @@ -61786,7 +61860,7 @@ paths: - check_runs_url - pull_requests examples: - default: &393 + default: &395 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62077,9 +62151,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 +62172,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 +62482,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 +62496,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62447,17 +62521,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 +62570,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 +62674,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 +62709,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 +62748,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 +62778,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 +62786,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 +62913,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 +62940,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 +62956,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &410 type: object properties: number: *163 @@ -62890,7 +62964,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 +62972,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 +63035,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 +63132,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 +63152,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 +63169,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 +63198,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *410 examples: default: value: @@ -63200,7 +63274,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 +63301,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 +63336,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 +63353,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 +63378,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 +63432,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 +63480,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 +63505,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 +63522,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 +63542,7 @@ paths: properties: text: type: string - location: *418 + location: *420 html_url: type: string classifications: @@ -63476,7 +63550,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 +63587,7 @@ paths: end_column: 50 classifications: - source - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63547,25 +63621,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 +63661,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 +63702,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 +63765,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *406 + '403': *408 '404': *6 '503': *106 x-github: @@ -63727,8 +63801,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 +63815,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: response: summary: application/json response @@ -63795,7 +63869,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 +63956,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 +64013,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 +64035,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 +64044,7 @@ paths: application/json: schema: type: array - items: &422 + items: &424 title: CodeQL Database description: A CodeQL database. type: object @@ -64082,7 +64156,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 +64185,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 +64198,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: default: value: @@ -64156,9 +64230,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 +64254,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 +64265,7 @@ paths: responses: '204': description: Response - '403': *412 + '403': *414 '404': *6 '503': *106 x-github: @@ -64219,8 +64293,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 +64303,7 @@ paths: type: object additionalProperties: false properties: - language: &423 + language: &425 type: string description: The language targeted by the CodeQL query enum: @@ -64309,7 +64383,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 +64393,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 +64441,7 @@ paths: items: type: object properties: - repository: &424 + repository: &426 title: Repository Identifier description: Repository Identifier type: object @@ -64409,7 +64483,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 +64515,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 +64530,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 +64553,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 +64570,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 +64716,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 +64747,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 +64760,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *426 + default: *428 '404': *6 '503': *106 x-github: @@ -64711,7 +64785,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 +64820,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 +64945,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 +65039,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 +65060,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 +65155,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 +65226,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 +65235,7 @@ paths: schema: type: object properties: - commit_sha: *429 + commit_sha: *431 ref: type: string description: |- @@ -65221,7 +65295,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 +65309,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 +65332,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 +65381,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 +65406,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 +65488,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 +65617,8 @@ paths: parameters: - *17 - *19 - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -65560,7 +65634,7 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: default: value: @@ -65858,8 +65932,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 +65997,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 +66036,8 @@ paths: parameters: - *17 - *19 - - *310 - - *311 + - *312 + - *313 responses: '200': description: Response @@ -66027,8 +66101,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 +66139,9 @@ paths: type: integer machines: type: array - items: *431 + items: *433 examples: - default: &641 + default: &642 value: total_count: 2 machines: @@ -66107,8 +66181,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 +66269,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 +66339,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 +66358,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 +66379,7 @@ paths: - created_at - updated_at examples: - default: *432 + default: *434 headers: Link: *57 x-github: @@ -66328,16 +66402,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 +66431,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 +66461,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 +66515,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 +66545,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 +66584,7 @@ paths: application/json: schema: type: array - items: &437 + items: &439 title: Collaborator description: Collaborator type: object @@ -66703,8 +66777,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 +66825,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 +66853,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 +67081,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 +67114,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 +67136,7 @@ paths: user: anyOf: - type: 'null' - - *437 + - *439 required: - permission - role_name @@ -67116,8 +67190,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 +67201,7 @@ paths: application/json: schema: type: array - items: &438 + items: &440 title: Commit Comment description: Commit Comment type: object @@ -67185,7 +67259,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 +67318,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 +67385,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 +67409,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: default: value: @@ -67386,8 +67460,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 +67483,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 +67511,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 +67555,7 @@ paths: - content - created_at examples: - default: &507 + default: &509 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67526,8 +67600,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 +67634,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 +67665,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 +67689,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 +67747,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 +67804,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 +67900,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 +67974,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 +67986,9 @@ paths: application/json: schema: type: array - items: *438 + items: *440 examples: - default: *443 + default: *445 headers: Link: *57 x-github: @@ -67942,9 +68016,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 +68053,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 +68083,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 +68095,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 +68634,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 +68653,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 +68768,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 +68806,9 @@ paths: type: integer check_runs: type: array - items: *388 + items: *390 examples: - default: *449 + default: *451 headers: Link: *57 x-github: @@ -68759,9 +68833,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 +68843,7 @@ paths: schema: type: integer example: 1 - - *447 + - *449 - *17 - *19 responses: @@ -68787,7 +68861,7 @@ paths: type: integer check_suites: type: array - items: *392 + items: *394 examples: default: value: @@ -68987,9 +69061,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 +69265,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 +69277,7 @@ paths: application/json: schema: type: array - items: &618 + items: &620 title: Status description: The status of a commit. type: object @@ -69284,7 +69358,7 @@ paths: site_admin: false headers: Link: *57 - '301': *314 + '301': *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69312,8 +69386,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 +69420,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 +69444,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 +69585,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 +69634,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 +69659,10 @@ paths: - 6 commits: type: array - items: *441 + items: *443 files: type: array - items: *452 + items: *454 required: - url - html_url @@ -69874,8 +69948,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 +69964,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 +70119,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 +70137,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 +70256,7 @@ paths: - size - type - url - - &558 + - &560 title: Content File description: Content File type: object @@ -70383,7 +70474,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 +70543,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 +70566,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 +70662,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &457 title: File Commit description: File Commit type: object @@ -70727,7 +70818,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: example-for-creating-a-file: value: @@ -70781,7 +70872,7 @@ paths: schema: oneOf: - *3 - - &486 + - &488 description: Repository rule violation was detected type: object properties: @@ -70802,7 +70893,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 +70925,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 +70987,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -70951,8 +71042,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 +71167,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 +71180,10 @@ paths: schema: type: string - *185 - - *456 + - *458 - *186 - *187 + - *188 - *51 - *43 - *44 @@ -71103,7 +71195,7 @@ paths: application/json: schema: type: array - items: &460 + items: &462 type: object description: A Dependabot alert. properties: @@ -71153,7 +71245,7 @@ paths: - direct - transitive - - security_advisory: *457 + security_advisory: *459 security_vulnerability: *55 url: *166 html_url: *167 @@ -71184,8 +71276,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 +71404,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 +71507,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *35 '400': *14 '403': *27 @@ -71420,9 +71532,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 +71549,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -71528,6 +71640,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 +71681,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 +71714,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 +71739,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -71700,6 +71842,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 +71869,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 +71888,7 @@ paths: type: integer secrets: type: array - items: &464 + items: &466 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71799,16 +71942,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 +71971,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 +72005,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 +72059,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 +72083,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 +72258,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 +72519,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 +72603,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 +72642,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 +72656,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 +72789,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 +72831,9 @@ paths: application/json: schema: type: array - items: *466 + items: *468 examples: - default: *467 + default: *469 headers: Link: *57 x-github: @@ -72756,8 +72899,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 +72982,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: simple-example: summary: Simple example @@ -72912,9 +73055,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 +73069,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -72991,9 +73134,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 +73158,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 +73170,7 @@ paths: application/json: schema: type: array - items: &469 + items: &471 title: Deployment Status description: The status of a deployment. type: object @@ -73191,9 +73334,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 +73411,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 +73469,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 +73482,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *470 + default: *472 '404': *6 x-github: githubCloudOnly: false @@ -73366,8 +73509,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 +73567,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 +73586,7 @@ paths: - 5 environments: type: array - items: &472 + items: &474 title: Environment description: Details of a deployment environment type: object @@ -73505,7 +73648,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 +73690,7 @@ paths: items: type: object properties: - type: *471 + type: *473 reviewer: anyOf: - *4 @@ -73574,7 +73717,7 @@ paths: - id - node_id - type - deployment_branch_policy: &475 + deployment_branch_policy: &477 type: - object - 'null' @@ -73691,9 +73834,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 +73849,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: &476 + default: &478 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73792,9 +73935,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 +73947,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 +73966,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 +73993,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 +74019,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 +74046,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 +74067,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 +74128,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 +74178,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 +74222,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 +74237,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74115,10 +74258,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 +74290,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74168,10 +74311,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 +74339,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 +74358,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 +74380,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 +74483,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 +74506,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 +74543,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 +74565,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *481 + items: *483 examples: default: value: @@ -74457,10 +74600,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 +74615,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *482 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74495,10 +74638,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 +74667,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 +74687,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *57 x-github: @@ -74571,17 +74714,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 +74746,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 +74779,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 +74839,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 +74867,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 +74887,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -74769,9 +74912,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 +74966,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 +74998,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 +75043,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 +75068,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 +75137,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 +75297,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 +75331,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *315 + default: *317 '400': *14 '422': *15 '403': *27 @@ -75211,8 +75354,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 +75415,7 @@ paths: schema: oneOf: - *114 - - *486 + - *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75297,8 +75440,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 +75541,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 +75651,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 +75878,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 +75942,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 +75961,7 @@ paths: application/json: schema: type: array - items: &489 + items: &491 title: Git Reference description: Git references within a repository type: object @@ -75894,17 +76037,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 +76076,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 +76106,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 +76134,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 +76165,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: *490 + default: *492 '422': *15 '409': *50 x-github: @@ -76042,9 +76185,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 +76242,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 +76310,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &494 title: Git Tag description: Metadata for a Git tag type: object @@ -76223,7 +76366,7 @@ paths: - sha - type - url - verification: *491 + verification: *493 required: - sha - url @@ -76233,7 +76376,7 @@ paths: - tag - message examples: - default: &493 + default: &495 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76306,8 +76449,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 +76461,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: - default: *493 + default: *495 '404': *6 '409': *50 x-github: @@ -76344,8 +76487,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 +76562,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 +76664,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 +76688,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default-response: summary: Default response @@ -76604,8 +76747,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 +76758,7 @@ paths: application/json: schema: type: array - items: &495 + items: &497 title: Webhook description: Webhooks for repositories. type: object @@ -76678,7 +76821,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 +76898,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 +76952,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: &496 + default: &498 value: type: Repository id: 12345678 @@ -76859,17 +77002,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 +77032,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 +77079,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 '422': *15 '404': *6 x-github: @@ -76959,9 +77102,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 +77128,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 +77157,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 +77203,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 +77215,9 @@ paths: application/json: schema: type: array - items: *195 + items: *196 examples: - default: *196 + default: *197 '400': *14 '422': *15 x-github: @@ -77093,18 +77236,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 +77266,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 +77291,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 +77318,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 +77343,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 +77392,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 +77413,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 +77471,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 +77585,7 @@ paths: - html_url - authors_url examples: - default: &500 + default: &502 value: vcs: subversion use_lfs: true @@ -77458,7 +77601,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 +77630,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 +77679,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -77561,7 +77704,7 @@ paths: type: string '422': *15 '404': *6 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77589,8 +77732,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 +77785,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: example-1: summary: Example 1 @@ -77690,7 +77833,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 +77856,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 +77887,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 +77903,7 @@ paths: application/json: schema: type: array - items: &499 + items: &501 title: Porter Author description: Porter Author type: object @@ -77814,7 +77957,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 +77982,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 +78013,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -77883,7 +78026,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 +78050,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 +78092,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *498 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77977,8 +78120,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 +78148,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 +78175,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 +78184,8 @@ paths: application/json: schema: *20 examples: - default: *501 - '301': *314 + default: *503 + '301': *316 '404': *6 x-github: githubCloudOnly: false @@ -78062,8 +78205,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 +78214,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 +78244,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 +78262,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *503 + default: *505 '409': description: Response x-github: @@ -78143,8 +78286,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 +78310,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 +78321,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: &655 + default: &656 value: - id: 1 repository: @@ -78311,9 +78454,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 +78485,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *506 examples: default: value: @@ -78473,9 +78616,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 +78649,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 +78698,7 @@ paths: required: false schema: type: string - - *219 + - *220 - name: sort description: What to sort results by. in: query @@ -78580,7 +78723,7 @@ paths: type: array items: *73 examples: - default: &513 + default: &515 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78729,7 +78872,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *314 + '301': *316 '422': *15 '404': *6 x-github: @@ -78758,8 +78901,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 +78994,7 @@ paths: application/json: schema: *73 examples: - default: &510 + default: &512 value: id: 1 node_id: MDU6SXNzdWUx @@ -79008,7 +79151,7 @@ paths: '422': *15 '503': *106 '404': *6 - '410': *505 + '410': *507 x-github: triggersNotification: true githubCloudOnly: false @@ -79036,8 +79179,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 +79203,7 @@ paths: type: array items: *74 examples: - default: &512 + default: &514 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79118,8 +79261,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 +79271,7 @@ paths: application/json: schema: *74 examples: - default: &506 + default: &508 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79183,8 +79326,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 +79352,7 @@ paths: application/json: schema: *74 examples: - default: *506 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -79227,8 +79370,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 +79400,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 +79464,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *505 + '410': *507 '422': *15 x-github: githubCloudOnly: false @@ -79338,8 +79481,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 +79490,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *505 + '410': *507 '503': *106 x-github: githubCloudOnly: false @@ -79365,8 +79508,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 +79536,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -79416,8 +79559,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 +79593,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 +79624,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 +79647,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 +79658,7 @@ paths: application/json: schema: type: array - items: &509 + items: &511 title: Issue Event description: Issue Event type: object @@ -79855,8 +79998,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 +80010,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: default: value: @@ -80060,7 +80203,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *505 + '410': *507 '403': *27 x-github: githubCloudOnly: false @@ -80094,9 +80237,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 +80264,7 @@ paths: examples: default: summary: Issue - value: *510 + value: *512 pinned_comment: summary: Issue with pinned comment value: @@ -80320,9 +80463,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 +80490,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 +80613,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 +80637,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 +80667,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80540,9 +80683,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 +80712,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80591,9 +80734,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 +80776,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 +80791,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 +80824,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 +80850,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 +80885,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 +80899,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 +80932,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 +80958,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 +80997,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 +81013,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 +81045,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 +81059,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 +81081,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 +81097,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 +81146,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &518 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81131,7 +81274,7 @@ paths: - performed_via_github_app - assignee - assigner - - &517 + - &519 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81177,7 +81320,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &520 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81223,7 +81366,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &521 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81272,7 +81415,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 +81457,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 +81499,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 +81555,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &525 title: Locked Issue Event description: Locked Issue Event type: object @@ -81457,7 +81600,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 +81661,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 +81722,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 +81783,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 +81876,7 @@ paths: color: red headers: Link: *57 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81750,9 +81893,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 +81907,7 @@ paths: type: array items: *72 examples: - default: &514 + default: &516 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81782,9 +81925,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 +81943,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 +81990,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 +82010,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 +82074,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 +82094,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 +82121,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 +82147,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 +82169,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 +82200,7 @@ paths: '204': description: Response '403': *27 - '410': *505 + '410': *507 '404': *6 '422': *15 x-github: @@ -82075,9 +82218,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 +82250,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 +82260,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 +82280,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 +82308,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 +82332,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 +82366,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 +82397,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 +82429,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 +82455,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 +82488,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 +82502,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 +82534,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 +82565,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 +82592,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 +82627,7 @@ paths: application/json: schema: *73 examples: - default: *510 + default: *512 '403': *27 '404': *6 '422': *7 @@ -82506,9 +82649,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 +82666,6 @@ paths: description: Timeline Event type: object anyOf: - - *515 - - *516 - *517 - *518 - *519 @@ -82536,6 +82677,8 @@ paths: - *525 - *526 - *527 + - *528 + - *529 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82592,7 +82735,7 @@ paths: pin: anyOf: - type: 'null' - - *528 + - *530 required: - event - actor @@ -82868,7 +83011,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 +83252,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 +83527,7 @@ paths: headers: Link: *57 '404': *6 - '410': *505 + '410': *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83401,8 +83544,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 +83555,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 +83623,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 +83660,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 +83696,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 +83710,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *530 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -83587,9 +83730,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 +83752,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 +83765,7 @@ paths: type: array items: *72 examples: - default: *514 + default: *516 headers: Link: *57 '404': *6 @@ -83643,8 +83786,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 +83825,7 @@ paths: application/json: schema: *72 examples: - default: &532 + default: &534 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83714,8 +83857,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 +83871,7 @@ paths: application/json: schema: *72 examples: - default: *532 + default: *534 '404': *6 x-github: githubCloudOnly: false @@ -83745,8 +83888,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 +83954,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 +83981,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 +84021,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 +84170,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 +84236,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 +84271,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 +84298,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 +84340,7 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: default: value: @@ -84253,8 +84396,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 +84437,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 +84498,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 +84512,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *534 + default: *536 '404': *6 x-github: githubCloudOnly: false @@ -84388,9 +84531,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 +84571,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *534 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84446,9 +84589,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 +84612,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 +84626,7 @@ paths: type: array items: *72 examples: - default: *514 + default: *516 headers: Link: *57 x-github: @@ -84502,12 +84645,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 +84662,7 @@ paths: type: array items: *98 examples: - default: *539 + default: *541 headers: Link: *57 x-github: @@ -84543,8 +84686,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 +84745,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 +84896,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 +84937,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 +84993,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 '422': *15 '409': *50 x-github: @@ -84875,8 +85018,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 +85119,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 +85146,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 +85157,7 @@ paths: application/json: schema: type: array - items: &542 + items: &544 title: Page Build description: Page Build type: object @@ -85106,8 +85249,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 +85297,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 +85354,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 +85366,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *543 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85245,8 +85388,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 +85497,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 +85557,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 +85586,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 +85882,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 +85920,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 +85942,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 +85965,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 +85974,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -85862,8 +86005,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 +86018,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 +86068,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 +86129,9 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: - default: *545 + default: *547 headers: Link: *57 '304': *35 @@ -86020,8 +86163,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 +86231,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 +86360,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 active_lock_reason: type: - string @@ -86272,7 +86415,7 @@ paths: type: - array - 'null' - items: *231 + items: *232 head: type: object properties: @@ -86310,14 +86453,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 +86471,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 +86573,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 +87100,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 +87130,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 +87209,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 +87294,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 +87318,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: *548 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87193,8 +87336,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 +87359,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 +87387,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -87267,8 +87410,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 +87444,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 +87475,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 +87521,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 +87536,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 +87573,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 +87617,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 '422': *15 '403': *27 x-github: @@ -87498,9 +87641,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 +87704,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 +87744,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 +87767,9 @@ paths: application/json: schema: type: array - items: *547 + items: *549 examples: - default: *552 + default: *554 headers: Link: *57 x-github: @@ -87659,9 +87802,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 +87910,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: example-for-a-multi-line-comment: value: @@ -87855,9 +87998,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 +88023,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: default: value: @@ -87966,9 +88109,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 +88121,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: *553 + default: *555 headers: Link: *57 x-github: @@ -88010,9 +88153,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 +88165,7 @@ paths: application/json: schema: type: array - items: *452 + items: *454 examples: default: value: @@ -88060,9 +88203,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 +88228,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 +88342,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 +88419,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 +88458,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -88851,9 +88994,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 +89030,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -89392,9 +89535,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 +89547,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 +89703,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 +89795,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &556 + default: &558 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89717,10 +89860,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 +89875,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &557 + default: &559 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89793,10 +89936,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 +89962,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -89881,18 +90024,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 +90062,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 +90163,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 +90323,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 +90355,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -90275,10 +90418,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 +90456,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *557 + default: *559 '404': *6 '422': *7 '403': *27 @@ -90337,9 +90480,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 +90546,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 +90560,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: &559 + default: &561 value: type: file encoding: base64 @@ -90461,8 +90604,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 +90625,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *559 + default: *561 '404': *6 '422': *15 x-github: @@ -90506,8 +90649,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 +90660,7 @@ paths: application/json: schema: type: array - items: *560 + items: *562 examples: default: value: @@ -90611,8 +90754,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 +90831,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 +90938,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 +90952,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 +90989,7 @@ paths: type: User site_admin: false '404': *6 - '302': *454 + '302': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90862,9 +91005,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 +91036,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *563 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90911,9 +91054,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 +91080,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 +91167,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 +91193,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 +91207,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *564 + default: *566 '404': *6 x-github: githubCloudOnly: false @@ -91088,9 +91231,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 +91247,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 +91267,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 +91333,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 +91356,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 +91378,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 +91390,7 @@ paths: application/json: schema: type: array - items: *561 + items: *563 examples: default: value: @@ -91328,9 +91471,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 +91499,7 @@ paths: description: Response for successful upload content: application/json: - schema: *561 + schema: *563 examples: response-for-successful-upload: value: @@ -91411,9 +91554,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 +91580,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *507 + default: *509 headers: Link: *57 '404': *6 @@ -91460,9 +91603,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 +91635,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 +91666,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 +91693,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 +91711,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 +91731,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 +91832,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - *17 - *19 - name: includes_parents @@ -91701,7 +91844,7 @@ paths: schema: type: boolean default: true - - *568 + - *570 responses: '200': description: Response @@ -91709,7 +91852,7 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: default: value: @@ -91756,8 +91899,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 requestBody: description: Request body required: true @@ -91777,16 +91920,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 +91960,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 +91995,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 +92010,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 +92023,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *575 + default: *577 '404': *6 '500': *105 x-github: @@ -91902,17 +92046,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 +92084,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91961,9 +92105,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *579 + default: *581 '404': *6 '500': *105 put: @@ -91981,8 +92125,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92007,16 +92151,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 +92188,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 +92209,8 @@ paths: category: repos subcategory: rules parameters: - - *310 - - *311 + - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92088,8 +92233,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 +92250,9 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *580 + default: *582 '404': *6 '500': *105 x-github: @@ -92126,8 +92271,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 +92290,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -92200,22 +92345,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 +92368,7 @@ paths: application/json: schema: type: array - items: &596 + items: &598 type: object properties: number: *163 @@ -92239,8 +92384,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 +92479,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 +92624,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 +92687,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 +92697,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 +92734,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *598 examples: default: value: @@ -92684,9 +92829,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 +92842,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &748 + items: &749 type: object properties: type: @@ -92724,8 +92869,6 @@ paths: - commit details: oneOf: - - *597 - - *598 - *599 - *600 - *601 @@ -92737,6 +92880,8 @@ paths: - *607 - *608 - *609 + - *610 + - *611 examples: default: value: @@ -92822,8 +92967,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 +92976,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 +93000,7 @@ paths: schema: type: object properties: - reason: *611 + reason: *613 expire_at: type: - string @@ -92902,8 +93047,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 +93063,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 +93091,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 +93169,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 +93214,9 @@ paths: application/json: schema: type: array - items: *613 + items: *615 examples: - default: *614 + default: *616 '400': *14 '404': *6 x-github: @@ -93094,8 +93239,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 +93320,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -93265,9 +93410,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 +93645,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 +93759,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: default: value: @@ -93761,17 +93906,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 +93940,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 +94022,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -93968,10 +94113,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 +94154,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 +94183,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 +94219,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 +94316,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 +94326,7 @@ paths: application/json: schema: type: array - items: &617 + items: &619 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94214,8 +94359,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 +94438,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 +94533,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 +94688,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 +94699,7 @@ paths: application/json: schema: type: array - items: *617 + items: *619 examples: default: value: @@ -94587,8 +94732,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 +94789,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: default: value: @@ -94698,8 +94843,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 +94876,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 +94956,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 +94983,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -94865,8 +95010,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 +95031,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 +95097,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 +95114,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 +95151,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 +95164,7 @@ paths: type: array items: *180 examples: - default: *232 + default: *233 headers: Link: *57 '404': *6 @@ -95198,8 +95184,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 +95193,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 +95205,7 @@ paths: required: - names examples: - default: &622 + default: &623 value: names: - octocat @@ -95242,8 +95228,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 +95260,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 '404': *6 '422': *7 x-github: @@ -95297,9 +95283,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 +95316,7 @@ paths: - 128 clones: type: array - items: &624 + items: &625 title: Traffic type: object properties: @@ -95417,8 +95403,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 +95498,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 +95562,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 +95585,7 @@ paths: - 3782 views: type: array - items: *624 + items: *625 required: - uniques - count @@ -95676,8 +95662,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 +95937,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 +95961,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 +95984,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 +96011,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 +96104,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 +96355,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &625 + text_matches: &626 title: Search Result Text Matches type: array items: @@ -96532,7 +96518,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 +96587,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 comment_count: type: integer message: @@ -96620,7 +96606,7 @@ paths: url: type: string format: uri - verification: *491 + verification: *493 required: - author - committer @@ -96635,7 +96621,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 parents: type: array items: @@ -96652,7 +96638,7 @@ paths: type: number node_id: type: string - text_matches: *625 + text_matches: *626 required: - sha - node_id @@ -96844,7 +96830,7 @@ paths: - interactions - created - updated - - *626 + - *627 - *17 - *19 - name: advanced_search @@ -96941,11 +96927,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 +96945,7 @@ paths: milestone: anyOf: - type: 'null' - - *252 + - *253 comments: type: integer created_at: @@ -96973,7 +96959,7 @@ paths: - string - 'null' format: date-time - text_matches: *625 + text_matches: *626 pull_request: type: object properties: @@ -97022,7 +97008,7 @@ paths: timeline_url: type: string format: uri - type: *216 + type: *217 performed_via_github_app: anyOf: - type: 'null' @@ -97200,7 +97186,7 @@ paths: enum: - created - updated - - *626 + - *627 - *17 - *19 responses: @@ -97245,7 +97231,7 @@ paths: - 'null' score: type: number - text_matches: *625 + text_matches: *626 required: - id - node_id @@ -97330,7 +97316,7 @@ paths: - forks - help-wanted-issues - updated - - *626 + - *627 - *17 - *19 responses: @@ -97576,7 +97562,7 @@ paths: - admin - pull - push - text_matches: *625 + text_matches: *626 temp_clone_token: type: string allow_merge_commit: @@ -97884,7 +97870,7 @@ paths: - string - 'null' format: uri - text_matches: *625 + text_matches: *626 related: type: - array @@ -98077,7 +98063,7 @@ paths: - followers - repositories - joined - - *626 + - *627 - *17 - *19 responses: @@ -98187,7 +98173,7 @@ paths: type: - boolean - 'null' - text_matches: *625 + text_matches: *626 blog: type: - string @@ -98269,7 +98255,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 +98267,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -98310,7 +98296,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 +98360,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 +98397,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 +98426,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 +98436,9 @@ paths: application/json: schema: type: array - items: *213 + items: *214 examples: - default: *214 + default: *215 headers: Link: *57 x-github: @@ -98478,7 +98464,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 +98515,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 +98552,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 +98592,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 +98629,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 +98671,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 +98697,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 +98733,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 +98761,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 +98773,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '404': *6 @@ -98817,15 +98803,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 +98962,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 +99014,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 +99041,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 +99053,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 +99086,7 @@ paths: application/json: schema: oneOf: - - &636 + - &637 title: Private User description: Private User type: object @@ -99350,7 +99336,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 +99496,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -99713,9 +99699,9 @@ paths: type: integer codespaces: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '304': *35 '500': *105 '401': *23 @@ -99854,17 +99840,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 +99894,7 @@ paths: type: integer secrets: type: array - items: &637 + items: &638 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99950,7 +99936,7 @@ paths: - visibility - selected_repositories_url examples: - default: *432 + default: *434 headers: Link: *57 x-github: @@ -100028,7 +100014,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -100174,7 +100160,7 @@ paths: type: array items: *145 examples: - default: *638 + default: *639 '401': *23 '403': *27 '404': *6 @@ -100318,15 +100304,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 +100338,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 +100368,9 @@ paths: description: Response content: application/json: - schema: *221 + schema: *222 examples: - default: *430 + default: *432 '401': *23 '403': *27 '404': *6 @@ -100406,7 +100392,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 +100421,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 +100480,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 +100512,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 +100525,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -100562,7 +100548,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 +100564,9 @@ paths: type: integer machines: type: array - items: *431 + items: *433 examples: - default: *641 + default: *642 '304': *35 '500': *105 '401': *23 @@ -100609,7 +100595,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 +100651,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 +101452,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 +101492,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 +101530,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: &652 + default: &653 value: - id: 197 name: hello_docker @@ -101647,7 +101633,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: Email description: Email type: object @@ -101717,9 +101703,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 +101782,7 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: default: value: @@ -102054,7 +102040,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: GPG Key description: A unique encryption key type: object @@ -102199,7 +102185,7 @@ paths: - subkeys - revoked examples: - default: &670 + default: &671 value: - id: 3 name: Octocat's GPG Key @@ -102284,9 +102270,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 +102329,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 +102341,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 '304': *35 '403': *27 @@ -102380,7 +102366,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 +102644,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 +102673,7 @@ paths: required: true content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -102698,7 +102684,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -102779,7 +102765,7 @@ paths: - closed - all default: open - - *219 + - *220 - name: sort description: What to sort results by. in: query @@ -102804,7 +102790,7 @@ paths: type: array items: *73 examples: - default: *220 + default: *221 headers: Link: *57 '404': *6 @@ -102837,7 +102823,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 title: Key description: Key type: object @@ -102940,9 +102926,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: &647 + default: &648 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102975,15 +102961,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 +102992,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 +103025,7 @@ paths: application/json: schema: type: array - items: &648 + items: &649 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103118,7 +103104,7 @@ paths: - account - plan examples: - default: &649 + default: &650 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103180,9 +103166,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: *649 + default: *650 headers: Link: *57 '304': *35 @@ -103222,7 +103208,7 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: default: value: @@ -103336,7 +103322,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -103423,7 +103409,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -103495,7 +103481,7 @@ paths: application/json: schema: type: array - items: *227 + items: *228 examples: default: value: @@ -103757,7 +103743,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -103937,7 +103923,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 +103936,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *228 examples: default: value: @@ -104144,7 +104130,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 +104156,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 +104185,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 +104210,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 +104222,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '404': *6 @@ -104315,7 +104301,7 @@ paths: - docker - nuget - container - - *651 + - *652 - *19 - *17 responses: @@ -104325,10 +104311,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 +104334,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 +104456,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 +104487,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 +104520,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 +104541,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -104604,15 +104590,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 +104634,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 +104666,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 +104705,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: *654 + default: *655 headers: Link: *57 '304': *35 @@ -104834,7 +104820,7 @@ paths: type: array items: *69 examples: - default: &661 + default: &662 summary: Default response value: - id: 1296269 @@ -105152,9 +105138,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 +105178,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: *655 + default: *656 headers: Link: *57 '304': *35 @@ -105217,7 +105203,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 +105226,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 +105259,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: Social account description: Social media account type: object @@ -105290,7 +105276,7 @@ paths: - provider - url examples: - default: &657 + default: &658 value: - provider: twitter url: https://twitter.com/github @@ -105353,9 +105339,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *657 + default: *658 '422': *15 '304': *35 '404': *6 @@ -105443,7 +105429,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 +105449,7 @@ paths: - title - created_at examples: - default: &689 + default: &690 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105528,9 +105514,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: &659 + default: &660 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105560,7 +105546,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 +105558,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: - default: *659 + default: *660 '404': *6 '304': *35 '403': *27 @@ -105597,7 +105583,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 +105612,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 +105637,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 +105797,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 +105826,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 +105851,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 +105887,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 '304': *35 @@ -105938,7 +105924,7 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: default: value: @@ -106024,10 +106010,10 @@ paths: application/json: schema: oneOf: + - *637 - *636 - - *635 examples: - default-response: &665 + default-response: &666 summary: Default response value: login: octocat @@ -106062,7 +106048,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 +106105,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 +106146,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 +106171,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *662 + - *663 - *17 responses: '200': @@ -106220,8 +106206,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 +106281,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 +106333,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 +106387,8 @@ paths: required: - subject_digests examples: - default: *667 - withPredicateType: *668 + default: *668 + withPredicateType: *669 responses: '200': description: Response @@ -106456,7 +106442,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 +106647,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 '201': description: Response content: @@ -106700,9 +106686,9 @@ paths: application/json: schema: type: array - items: *233 + items: *234 examples: - default: *652 + default: *653 '403': *27 '401': *23 x-github: @@ -107086,9 +107072,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: *670 + default: *671 headers: Link: *57 x-github: @@ -107192,7 +107178,7 @@ paths: application/json: schema: *20 examples: - default: *501 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107317,7 +107303,7 @@ paths: - docker - nuget - container - - *651 + - *652 - *61 - *19 - *17 @@ -107328,12 +107314,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 +107339,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 +107370,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 +107404,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 +107438,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 +107448,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -107520,16 +107506,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 +107550,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 +107585,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 +107629,9 @@ paths: application/json: schema: type: array - items: *249 + items: *250 examples: - default: *250 + default: *251 headers: Link: *57 '304': *35 @@ -107667,16 +107653,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 +107684,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 +107696,9 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: - default: *672 + default: *673 headers: Link: *57 '304': *35 @@ -107734,7 +107720,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 +107758,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 +107774,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *674 + iteration_configuration: *675 required: - name - data_type @@ -107810,20 +107796,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 +107830,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 +107863,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 +107896,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -107934,7 +107920,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 +107990,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 +108025,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 +108047,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -108084,9 +108070,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 +108145,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 +108171,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 +108195,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 +108223,9 @@ paths: application/json: schema: type: array - items: *258 + items: *259 examples: - default: *259 + default: *260 headers: Link: *57 '304': *35 @@ -108460,7 +108446,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -108486,7 +108472,7 @@ paths: - *108 - *110 - *109 - - *685 + - *686 - *111 responses: '200': @@ -108617,7 +108603,7 @@ paths: parameters: - *61 - *108 - - *686 + - *687 - *109 responses: '200': @@ -108716,9 +108702,9 @@ paths: - *108 - *110 - *109 - - *687 - - *111 - *688 + - *111 + - *689 responses: '200': description: Response when getting a billing usage summary @@ -108852,9 +108838,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *657 + default: *658 headers: Link: *57 x-github: @@ -108884,9 +108870,9 @@ paths: application/json: schema: type: array - items: *658 + items: *659 examples: - default: *689 + default: *690 headers: Link: *57 x-github: @@ -108911,7 +108897,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 +108909,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 +108944,7 @@ paths: type: array items: *145 examples: - default: *239 + default: *240 headers: Link: *57 x-github: @@ -109087,7 +109073,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 +109142,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 +109163,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 +109236,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 +110162,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 +110241,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 +110468,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 +110660,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 +110748,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 +110858,7 @@ webhooks: - examples: - neutral - deployment: *697 + deployment: *698 details_url: type: string examples: @@ -110970,10 +110956,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 +111350,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 +111748,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 +112155,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 +113144,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 +113851,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 +114552,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 +114724,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 +114876,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 +115056,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 +115297,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 +115400,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 +115585,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 +115759,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 +115936,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 +116042,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 +116231,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 +116241,7 @@ webhooks: type: - string - 'null' - repository: *695 + repository: *696 sender: *4 required: - action @@ -116354,7 +116340,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 +116487,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 +116661,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 +116813,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 +117076,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 +117160,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 +117181,7 @@ webhooks: enum: - tag - branch - repository: *695 + repository: *696 sender: *4 required: - ref @@ -117277,10 +117263,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 +117351,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 +117430,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 +117510,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 +117590,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 +117678,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 +117734,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 +117769,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 +117818,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 +117853,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 +117903,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 +117938,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 +117988,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 +118023,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 +118071,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 +118106,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 +118154,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 +118189,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 +118238,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 +118273,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 +118321,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 +118356,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 +118437,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 +118477,8 @@ webhooks: - verified - created_at - read_only - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -118569,11 +118555,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 +119126,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 +119882,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 +119959,7 @@ webhooks: type: string enum: - approved - approver: &704 + approver: &705 type: object properties: avatar_url: @@ -120016,11 +120002,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 +120087,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &706 + workflow_job_run: &707 type: object properties: conclusion: @@ -120847,18 +120833,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 +121561,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 +123500,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 +124196,7 @@ webhooks: type: string enum: - answered - answer: &710 + answer: &711 type: object properties: author_association: @@ -124370,11 +124356,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 +124487,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 +124574,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 +124660,7 @@ webhooks: type: string enum: - created - comment: &709 + comment: &710 type: object properties: author_association: @@ -124834,11 +124820,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 +124907,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 +125007,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 +125096,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 +125182,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 +125286,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 +125372,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 +125408,8 @@ webhooks: - color - default - description - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -125506,11 +125492,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 +125578,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 +125664,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 +125753,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 +125845,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 +125930,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 +126018,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 +126104,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 +126181,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 +126859,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 +127007,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 +127047,7 @@ webhooks: - action - sha - html_url - repository: *695 + repository: *696 sender: *4 required: - pages @@ -127137,10 +127123,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 +127152,8 @@ webhooks: - name - full_name - private - repository: *695 - requester: *712 + repository: *696 + requester: *713 sender: *4 required: - action @@ -127242,11 +127228,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 +127309,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 +127390,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 +127439,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 +127526,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 +127556,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 +127637,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 +127823,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 +127905,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 +128075,7 @@ webhooks: pin: anyOf: - type: 'null' - - *528 + - *530 user: title: User type: @@ -128175,8 +128161,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 +128974,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 +128992,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -129350,8 +129336,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -129431,7 +129417,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 +129574,7 @@ webhooks: pin: anyOf: - type: 'null' - - *528 + - *530 required: - url - html_url @@ -129602,8 +129588,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 +130397,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 +130415,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -130775,8 +130761,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -130856,7 +130842,7 @@ webhooks: type: string enum: - edited - changes: &740 + changes: &741 description: The changes to the comment. type: object properties: @@ -130868,9 +130854,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 +131667,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 +131685,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -132043,8 +132029,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -132125,9 +132111,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 +132926,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 +132944,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -133304,8 +133290,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -133385,9 +133371,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 +134186,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 +134204,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -134564,8 +134550,8 @@ webhooks: - state - locked - assignee - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -134654,9 +134640,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 +134731,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 +134821,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 +134912,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 +134994,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 +135808,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 +135829,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -135946,8 +135932,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -136027,8 +136013,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 +136830,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 +136851,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -137111,8 +137097,8 @@ webhooks: required: - state - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -137191,8 +137177,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 +137985,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 +138006,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -138122,8 +138108,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -138202,8 +138188,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 +139019,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 +139040,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -139135,7 +139121,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 +139264,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -139378,8 +139364,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 +140176,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 +140194,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -140314,9 +140300,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 +140382,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 +141193,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 +141211,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -141331,9 +141317,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 +141399,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 +142235,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 +142253,7 @@ webhooks: timeline_url: type: string format: uri - type: *216 + type: *217 title: description: Title of the issue type: string @@ -142350,8 +142336,8 @@ webhooks: format: uri user_view_type: type: string - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -142430,8 +142416,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 +143246,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 +143267,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -143361,9 +143347,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 +144236,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 +144340,7 @@ webhooks: required: - login - id - type: *216 + type: *217 required: - id - number @@ -144846,8 +144832,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 +145640,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 +145661,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -145781,8 +145767,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -145862,9 +145848,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 +146655,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 +146676,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -146792,8 +146778,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -146872,8 +146858,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 +147692,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 +147793,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 +148683,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 +148704,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -149311,11 +149297,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 +149381,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 +149467,7 @@ webhooks: type: string enum: - unassigned - assignee: &743 + assignee: &744 title: User type: - object @@ -149553,11 +149539,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 +149622,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 +149707,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 +150541,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 +150562,7 @@ webhooks: title: description: Title of the issue type: string - type: *216 + type: *217 updated_at: type: string format: date-time @@ -150656,8 +150642,8 @@ webhooks: format: uri user_view_type: type: string - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -150737,11 +150723,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 +150806,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 +150891,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 +150973,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 +151087,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 +151173,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 +151263,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 +151348,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151442,10 +151428,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 +151519,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151615,10 +151601,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 +151690,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *695 + repository: *696 sender: *4 required: - action @@ -151785,8 +151771,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 +151858,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 +151940,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 +152047,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 +152153,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 +152236,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 +152318,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 +152400,7 @@ webhooks: required: - login - id - team: &722 + team: &723 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152644,11 +152630,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 +152713,7 @@ webhooks: required: - login - id - team: *722 + team: *723 required: - action - scope @@ -152809,8 +152795,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 +152815,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 +152909,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 +152985,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 +153094,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 +153179,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 +153262,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 +153406,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -153500,11 +153486,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 +153600,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 +153684,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 +153767,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 +153850,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 +153933,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 +154045,8 @@ webhooks: - role - organization_url - user - organization: *694 - repository: *695 + organization: *695 + repository: *696 sender: *4 required: - action @@ -154138,11 +154124,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 +154207,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 +154330,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 +154411,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 +154502,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 +154583,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 +155108,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &726 + items: &727 title: Ruby Gems metadata type: object properties: @@ -155219,7 +155205,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -155295,9 +155281,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 +155645,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *726 + items: *727 source_url: type: string format: uri @@ -155730,7 +155716,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -155910,12 +155896,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 +155978,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 +156128,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 +156208,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 +156288,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 +156367,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 +156476,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 +156508,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 +156754,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 +156880,7 @@ webhooks: - creator - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -156975,11 +156961,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 +157045,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 +157177,7 @@ webhooks: repository: anyOf: - type: 'null' - - *695 + - *696 sender: *4 required: - action @@ -157285,11 +157271,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 +157369,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 +157568,7 @@ webhooks: type: string required: - after_id - repository: *695 + repository: *696 sender: *4 required: - action @@ -157662,10 +157648,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 +157778,7 @@ webhooks: - creator - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -157872,10 +157858,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 +157901,7 @@ webhooks: - name - created_at - updated_at - repository: *695 + repository: *696 sender: *4 required: - action @@ -157994,14 +157980,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 +158076,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 +158160,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 +158244,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 +158328,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 +158436,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 +158519,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 +158604,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 +158687,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 +158770,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 +158893,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 +158978,7 @@ webhooks: type: string enum: - archived - changes: &735 + changes: &736 type: object properties: archived_at: @@ -159008,9 +158994,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 +159014,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 +159136,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 +159220,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 +159303,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 +159410,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 +159434,7 @@ webhooks: required: - id - name - - &734 + - &735 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -159488,8 +159474,8 @@ webhooks: oneOf: - type: string - type: integer - - *733 - *734 + - *735 type: - 'null' - string @@ -159512,9 +159498,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 +159597,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 +159682,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 +159767,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 +159850,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 +159933,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 +160081,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 +160154,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 +160234,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 +162611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -162707,11 +162693,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 +165061,7 @@ webhooks: - draft reason: type: string - repository: *695 + repository: *696 sender: *4 required: - action @@ -165157,11 +165143,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 +167511,7 @@ webhooks: - draft reason: type: string - repository: *695 + repository: *696 sender: *4 required: - action @@ -167607,13 +167593,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 +167661,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *695 + repository: *696 sender: *4 required: - action @@ -167756,12 +167742,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 +167827,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 +170180,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -170273,11 +170259,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 +172631,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *695 + repository: *696 sender: *4 required: - action @@ -172769,12 +172755,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 +172840,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 +175197,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -175291,11 +175277,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 +177651,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -177746,10 +177732,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 +180103,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -180197,12 +180183,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 +180267,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 +180353,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 +180438,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 +180818,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 +183072,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -183166,7 +183152,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 +183445,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 +185687,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -185781,11 +185767,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 +188014,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *695 + repository: *696 sender: *4 required: - action @@ -188109,9 +188095,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 +190352,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 review: description: The review that was affected. type: object @@ -190617,9 +190603,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 +192719,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 +192958,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 +195332,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_reviewer: title: User type: @@ -195432,12 +195418,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 +197799,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 +197994,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 +200370,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 requested_reviewer: title: User type: @@ -200471,12 +200457,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 +202824,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 +203008,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 +205268,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 - review: *742 + repository: *696 + review: *743 sender: *4 required: - action @@ -205363,9 +205349,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 +207504,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 sender: *4 thread: type: object @@ -207915,9 +207901,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 +210039,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *695 + repository: *696 sender: *4 thread: type: object @@ -210452,10 +210438,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 +212798,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -212894,11 +212880,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 +215256,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -215349,11 +215335,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 +217700,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -217795,10 +217781,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 +220135,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *695 + repository: *696 sender: *4 required: - action @@ -220352,7 +220338,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 +220433,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 +221033,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 +221512,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *726 + items: *727 summary: type: string tag_name: @@ -221582,7 +221568,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -221660,9 +221646,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 +221960,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *726 + items: *727 summary: type: string tag_name: @@ -222024,7 +222010,7 @@ webhooks: - owner - package_version - registry - repository: *695 + repository: *696 sender: *4 required: - action @@ -222101,10 +222087,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 +222421,7 @@ webhooks: - updated_at - zipball_url - body - repository: *695 + repository: *696 sender: *4 required: - action @@ -222512,11 +222498,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 +222619,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 +222701,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 +223039,7 @@ webhooks: - string - 'null' format: uri - repository: *695 + repository: *696 sender: *4 required: - action @@ -223129,10 +223115,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 +223451,7 @@ webhooks: - string - 'null' format: uri - repository: *695 + repository: *696 sender: *4 required: - action @@ -223541,11 +223527,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 +223607,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 +223687,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 +223767,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 +223847,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 +223927,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 +224008,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 +224096,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 +224214,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 +224289,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 +224373,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 +224453,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 +224550,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 +224633,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 +224715,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 +224797,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 +224820,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 +224862,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 +225108,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 +225189,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 +225270,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 +225395,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 +225608,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 +225689,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 +225895,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 +225976,7 @@ webhooks: type: string enum: - assigned - alert: &747 + alert: &748 type: object properties: number: *163 @@ -226105,10 +226091,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 +226172,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 +226257,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 +226499,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 +226581,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 +226663,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 +226745,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 +226828,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 +226962,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 +227043,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 +227233,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 +227310,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 +227499,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 +227581,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 +227891,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 +227984,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 +228066,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 +228150,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &752 + changes: &753 type: object properties: tier: @@ -228208,13 +228194,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 +228277,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 +228357,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 +228444,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 +228881,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 +229005,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 +229097,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 +229189,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 +229281,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 +229360,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 +229595,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 +230067,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -230157,9 +230143,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 +230615,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -230706,9 +230692,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 +231164,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -231322,9 +231308,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 +231780,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - changes @@ -231872,9 +231858,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 +232330,7 @@ webhooks: - topics - visibility sender: *4 - team: *753 + team: *754 required: - action - team @@ -232420,10 +232406,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 +232482,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 +232574,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 +232833,7 @@ webhooks: type: string required: - conclusion - deployment: *466 + deployment: *468 required: - action - repository @@ -232926,10 +232912,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 +233197,7 @@ webhooks: required: - status - steps - deployment: *466 + deployment: *468 required: - action - repository @@ -233290,10 +233276,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 +233425,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *466 + deployment: *468 required: - action - repository @@ -233518,10 +233504,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 +233654,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *466 + deployment: *468 required: - action - repository @@ -233748,12 +233734,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 +234758,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 +235767,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..818b0bcc9a 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", @@ -46026,30 +46100,800 @@ } } } - }, - "422": { - "description": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + }, + "422": { + "description": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/enterprises/{enterprise}/copilot/billing/selected_users": { + "post": { + "summary": "Add users to the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-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 to be granted access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for the specified user(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot 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/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-user-management" + "subcategory": "copilot-custom-agents" } - } - }, - "/enterprises/{enterprise}/copilot/billing/selected_users": { - "post": { - "summary": "Add users to the Copilot subscription for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + }, + "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/add-copilot-seats-for-enterprise-users", + "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-user-management#add-users-to-the-copilot-subscription-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise" }, "parameters": [ { @@ -46063,60 +46907,141 @@ } ], "requestBody": { + "description": "The source organization configuration", + "required": true, "content": { "application/json": { "schema": { "type": "object", + "required": [ + "organization_id" + ], "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the enterprise members to be granted access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 + "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." } - }, - "required": [ - "selected_usernames" - ] + } }, "examples": { "default": { + "summary": "Set source organization with default ruleset creation", "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] + "organization_id": 123 + } + }, + "without_ruleset": { + "summary": "Set source organization without creating a ruleset", + "value": { + "organization_id": 123, + "create_ruleset": false } } } } - }, - "required": true + } }, "responses": { - "201": { - "description": "OK", + "200": { + "description": "Success", "content": { "application/json": { "schema": { "type": "object", - "description": "The total number of seats created for the specified user(s).", "properties": { - "seats_created": { - "type": "integer" + "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." + } + } } - }, - "required": [ - "seats_created" - ] + } }, "examples": { - "default": { + "with_ruleset": { + "summary": "Response with ruleset", "value": { - "seats_created": 5 + "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" + } } } } @@ -46228,26 +47153,64 @@ } }, "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." + "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": 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 +47223,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,7 +47254,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Forbidden - The user does not have enterprise admin access.", "content": { "application/json": { "schema": { @@ -46398,42 +47278,7 @@ } } } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "copilot", - "subcategory": "copilot-user-management" } } }, @@ -47828,6 +48673,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 +50438,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 +50645,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -154116,20 +154992,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 +155211,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -154349,12 +155227,12 @@ "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", @@ -154398,7 +155276,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 +164012,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 +164483,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 +164793,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 +165188,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 +165898,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 +166335,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 +166636,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 +167365,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", @@ -179067,6 +180017,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 +181790,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 +181997,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -181640,7 +182621,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 +283163,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 +287946,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 +301508,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 +301632,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -300735,6 +301872,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -300778,6 +301918,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 +302279,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -304241,6 +305387,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -304429,6 +305578,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -400326,6 +401478,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 +431185,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 +431399,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 +431420,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 +433669,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 +434881,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 +435021,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -435135,7 +436354,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 +436519,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 +437680,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 +674274,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 +678923,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 +705630,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 +705674,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 +705785,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 +720358,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 +721199,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 +999048,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1001065,7 +1002032,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1004049,7 +1005016,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1007033,7 +1008000,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1010017,7 +1010984,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1013001,7 +1013968,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1015985,7 +1016952,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1018969,7 +1019936,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..d5c0e813f3 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: &429 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 + - &732 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 + - &340 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: &341 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: &342 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &740 + schema: &741 title: Scim Error description: Scim Error type: object @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &343 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &343 + default: &344 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -9277,7 +9277,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &741 + '401': &742 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: &518 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: &519 type: - string - 'null' @@ -13597,14 +13597,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &518 + dismissed_comment: &520 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &519 + rule: &521 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: &522 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: &523 type: object properties: - ref: &514 + ref: &516 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &531 + analysis_key: &533 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: &534 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: &535 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: &536 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: &537 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 + - &376 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -16756,6 +16780,367 @@ paths: enabledForGitHubApps: false category: copilot subcategory: copilot-user-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 @@ -17509,7 +17894,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 + - &574 name: has in: query description: |- @@ -17524,6 +17909,15 @@ paths: enum: - patch - &329 + 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 + - &330 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17533,7 +17927,7 @@ paths: enum: - development - runtime - - &330 + - &331 name: sort in: query description: |- @@ -17559,7 +17953,7 @@ paths: application/json: schema: type: array - items: &331 + items: &332 type: object description: A Dependabot alert. properties: @@ -17626,7 +18020,7 @@ paths: - direct - transitive - - security_advisory: &573 + security_advisory: &575 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17862,7 +18256,7 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: &574 + auto_dismissed_at: &576 type: - string - 'null' @@ -17870,7 +18264,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &575 + dismissal_request: &577 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -17933,7 +18327,7 @@ paths: - repository additionalProperties: false examples: - default: &332 + default: &333 value: - number: 2 state: dismissed @@ -18037,6 +18431,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 +18599,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -18890,7 +19304,7 @@ paths: application/json: schema: *20 examples: - default: &355 + default: &356 value: id: 1 account: @@ -19151,7 +19565,7 @@ paths: - name - created_on examples: - default: &432 + default: &433 value: total_count: 2 network_configurations: @@ -19376,7 +19790,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 + - &434 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19388,7 +19802,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &435 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19427,7 +19841,7 @@ paths: - subnet_id - region examples: - default: &435 + default: &436 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20280,7 +20694,7 @@ paths: required: true content: application/json: - schema: &406 + schema: &407 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21482,7 +21896,7 @@ paths: conditions: anyOf: - *156 - - &410 + - &411 title: Organization ruleset conditions type: object description: |- @@ -21532,7 +21946,7 @@ paths: - object rules: type: array - items: &696 + items: &698 title: Repository Rule type: object description: A repository rule. @@ -21541,7 +21955,7 @@ paths: - *165 - *166 - *167 - - &694 + - &696 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21869,7 +22283,7 @@ paths: type: string format: date-time examples: - default: &413 + default: &414 value: - version_id: 3 actor: @@ -21922,7 +22336,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &415 allOf: - *189 - type: object @@ -21977,7 +22391,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 + - &416 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21988,7 +22402,7 @@ paths: enum: - open - resolved - - &416 + - &417 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21998,7 +22412,7 @@ paths: required: false schema: type: string - - &417 + - &418 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -22007,7 +22421,7 @@ paths: required: false schema: type: string - - &418 + - &419 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -22026,7 +22440,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &419 + - &420 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 +22456,7 @@ paths: - *17 - *106 - *107 - - &420 + - &421 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -22051,7 +22465,7 @@ paths: required: false schema: type: string - - &421 + - &422 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -22060,7 +22474,7 @@ paths: schema: type: boolean default: false - - &422 + - &423 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -22069,7 +22483,7 @@ paths: schema: type: boolean default: false - - &423 + - &424 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -22085,7 +22499,7 @@ paths: application/json: schema: type: array - items: &424 + items: &425 type: object properties: number: *124 @@ -22101,14 +22515,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &708 + state: &710 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: &711 type: - string - 'null' @@ -22215,14 +22629,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &710 + - &712 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &712 + - &714 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 +22693,7 @@ paths: - blob_url - commit_sha - commit_url - - &713 + - &715 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 +22754,7 @@ paths: - page_url - commit_sha - commit_url - - &714 + - &716 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 +22769,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &715 + - &717 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 +22784,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &716 + - &718 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 +22799,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &717 + - &719 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 +22814,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &718 + - &720 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 +22829,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &719 + - &721 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 +22844,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &720 + - &722 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 +22859,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &721 + - &723 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 +22874,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &722 + - &724 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 +22889,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &723 + - &725 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 +22904,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &724 + - &726 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 +22929,7 @@ paths: - type: 'null' - *4 examples: - default: &425 + default: &426 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22724,7 +23138,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &427 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22811,7 +23225,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &427 + default: &428 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22947,7 +23361,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 + - &430 name: advanced_security_product in: query description: | @@ -22967,7 +23381,7 @@ paths: description: Success content: application/json: - schema: &430 + schema: &431 type: object properties: total_advanced_security_committers: @@ -23030,7 +23444,7 @@ paths: required: - repositories examples: - default: &431 + default: &432 value: total_advanced_security_committers: 2 total_count: 2 @@ -26147,7 +26561,7 @@ paths: properties: action: type: string - discussion: &847 + discussion: &848 title: Discussion description: A Discussion in a repository. type: object @@ -26650,7 +27064,7 @@ paths: milestone: anyOf: - type: 'null' - - &396 + - &397 title: Milestone description: A collection of related issues and pull requests. @@ -26822,7 +27236,7 @@ paths: timeline_url: type: string format: uri - type: &362 + type: &363 title: Issue Type description: The type of issue. type: @@ -26933,7 +27347,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &768 + sub_issues_summary: &769 title: Sub-issues Summary type: object properties: @@ -27017,7 +27431,7 @@ paths: pin: anyOf: - type: 'null' - - &653 + - &655 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -27044,7 +27458,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &769 + issue_dependencies_summary: &770 title: Issue Dependencies Summary type: object properties: @@ -27063,7 +27477,7 @@ paths: - total_blocking issue_field_values: type: array - items: &770 + items: &771 title: Issue Field Value description: A value assigned to an issue field type: object @@ -27844,7 +28258,7 @@ paths: type: string release: allOf: - - &687 + - &689 title: Release description: A release. type: object @@ -27926,7 +28340,7 @@ paths: author: *4 assets: type: array - items: &688 + items: &690 title: Release Asset description: Data related to a release. type: object @@ -28517,7 +28931,7 @@ paths: url: type: string format: uri - user: &776 + user: &777 title: Public User description: Public User type: object @@ -30414,7 +30828,7 @@ paths: - closed - all default: open - - &365 + - &366 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -30465,7 +30879,7 @@ paths: type: array items: *217 examples: - default: &366 + default: &367 value: - id: 1 node_id: MDU6SXNzdWUx @@ -31877,14 +32291,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 + - &445 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &444 + - &446 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31946,7 +32360,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &449 + '301': &451 description: Moved permanently content: application/json: @@ -31968,7 +32382,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 + - &663 name: all description: If `true`, show notifications marked as read. in: query @@ -31976,7 +32390,7 @@ paths: schema: type: boolean default: false - - &662 + - &664 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -31986,7 +32400,7 @@ paths: type: boolean default: false - *222 - - &663 + - &665 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 +32782,7 @@ paths: type: boolean examples: - false - security_and_analysis: &407 + security_and_analysis: &408 type: - object - 'null' @@ -32580,7 +32994,7 @@ paths: - url - subscription_url examples: - default: &664 + default: &666 value: - id: '1' repository: @@ -33709,7 +34123,7 @@ paths: type: array items: *150 examples: - default: &670 + default: &672 value: - property_name: environment value: production @@ -33759,7 +34173,7 @@ paths: required: - properties examples: - default: &671 + default: &673 value: properties: - property_name: environment @@ -34650,7 +35064,7 @@ paths: type: integer repository_cache_usages: type: array - items: &456 + items: &458 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -36782,7 +37196,7 @@ paths: type: array items: *276 examples: - default: &779 + default: &780 value: total_count: 1 repositories: @@ -37826,7 +38240,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &478 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -37861,7 +38275,7 @@ paths: - key_id - key examples: - default: &477 + default: &479 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38274,7 +38688,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *85 - - &461 + - &463 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 +39300,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 +39467,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -39064,11 +39480,11 @@ 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. @@ -39115,7 +39531,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 +39942,12 @@ paths: required: - subject_digests examples: - default: &808 + default: &809 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &809 + withPredicateType: &810 value: subject_digests: - sha256:abc123 @@ -39590,7 +40006,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &810 + default: &811 value: attestations_subject_digests: - sha256:abc: @@ -39941,7 +40357,7 @@ paths: initiator: type: string examples: - default: &490 + default: &492 value: attestations: - bundle: @@ -40863,7 +41279,7 @@ paths: be returned. in: query required: false - schema: &515 + schema: &517 type: string description: Severity of a code scanning alert. enum: @@ -41223,6 +41639,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 +42004,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 +42335,7 @@ paths: type: integer codespaces: type: array - items: &367 + items: &368 type: object title: Codespace description: A codespace. @@ -41940,7 +42370,7 @@ paths: machine: anyOf: - type: 'null' - - &547 + - &549 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -42227,7 +42657,7 @@ paths: - pulls_url - recent_folders examples: - default: &368 + default: &369 value: total_count: 3 codespaces: @@ -42892,7 +43322,7 @@ paths: - updated_at - visibility examples: - default: &548 + default: &550 value: total_count: 2 secrets: @@ -42930,7 +43360,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &551 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -42965,7 +43395,7 @@ paths: - key_id - key examples: - default: &550 + default: &552 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42997,7 +43427,7 @@ paths: application/json: schema: *319 examples: - default: &552 + default: &554 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44730,6 +45160,7 @@ paths: enum: - patch - deployment + - *329 - name: runtime_risk in: query description: |- @@ -44738,8 +45169,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *329 - *330 + - *331 - *108 - *106 - *107 @@ -44751,9 +45182,9 @@ paths: application/json: schema: type: array - items: *331 + items: *332 examples: - default: *332 + default: *333 '304': *35 '400': *14 '403': *27 @@ -44797,7 +45228,7 @@ paths: type: integer secrets: type: array - items: &333 + items: &334 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -44876,7 +45307,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &580 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -44895,7 +45326,7 @@ paths: - key_id - key examples: - default: &579 + default: &581 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44925,7 +45356,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *334 examples: default: value: @@ -44990,9 +45421,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 +45654,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - &587 + - &589 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -45233,7 +45662,7 @@ paths: required: false schema: type: string - - &588 + - &590 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -45241,7 +45670,7 @@ paths: required: false schema: type: string - - &589 + - &591 name: time_period description: |- The time period to filter by. @@ -45257,7 +45686,7 @@ paths: - week - month default: month - - &590 + - &592 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -45282,7 +45711,7 @@ paths: application/json: schema: type: array - items: &591 + items: &593 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -45392,7 +45821,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &334 + items: &335 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -45445,7 +45874,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &592 + default: &594 value: - id: 21 number: 42 @@ -45537,7 +45966,7 @@ paths: - *101 - *102 - *103 - - &335 + - &336 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 +45992,7 @@ paths: application/json: schema: type: array - items: &593 + items: &595 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45673,7 +46102,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *334 + items: *335 url: type: string format: uri @@ -45686,7 +46115,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &594 + default: &596 value: - id: 21 number: 42 @@ -45778,7 +46207,7 @@ paths: - *101 - *102 - *103 - - *335 + - *336 - *17 - *19 responses: @@ -45788,7 +46217,7 @@ paths: application/json: schema: type: array - items: &595 + items: &597 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 +46344,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &596 + default: &598 value: - id: 21 number: 42 @@ -46003,7 +46432,7 @@ paths: application/json: schema: type: array - items: &377 + items: &378 title: Package description: A software package type: object @@ -46074,7 +46503,7 @@ paths: - created_at - updated_at examples: - default: &378 + default: &379 value: - id: 197 name: hello_docker @@ -46261,7 +46690,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &442 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -46351,7 +46780,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &441 + default: &443 value: group_id: '123' group_name: Octocat admins @@ -46406,7 +46835,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &439 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -46446,7 +46875,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &439 + default: &440 value: groups: - group_id: '123' @@ -46491,7 +46920,7 @@ paths: application/json: schema: type: array - items: &359 + items: &360 title: Organization Invitation description: Organization Invitation type: object @@ -46545,7 +46974,7 @@ paths: - invitation_teams_url - node_id examples: - default: &360 + default: &361 value: - id: 1 login: monalisa @@ -46612,7 +47041,7 @@ paths: application/json: schema: type: array - items: &408 + items: &409 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -46626,7 +47055,7 @@ paths: - name - description examples: - default: &409 + default: &410 value: - name: add_assignee description: Assign or remove a user @@ -46667,7 +47096,7 @@ paths: application/json: schema: type: array - items: &336 + items: &337 title: Org Hook description: Org Hook type: object @@ -46850,9 +47279,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: &337 + default: &338 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -46897,7 +47326,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *85 - - &338 + - &339 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 +47339,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '404': *6 x-github: githubCloudOnly: false @@ -46934,7 +47363,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *85 - - *338 + - *339 requestBody: required: false content: @@ -46980,7 +47409,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: default: value: @@ -47020,7 +47449,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *85 - - *338 + - *339 responses: '204': description: Response @@ -47046,7 +47475,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *85 - - *338 + - *339 responses: '200': description: Response @@ -47075,7 +47504,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *85 - - *338 + - *339 requestBody: required: false content: @@ -47124,9 +47553,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *85 - - *338 - - *17 - *339 + - *17 + - *340 responses: '200': description: Response @@ -47134,9 +47563,9 @@ paths: application/json: schema: type: array - items: *340 + items: *341 examples: - default: *341 + default: *342 '400': *14 '422': *15 x-github: @@ -47160,16 +47589,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *85 - - *338 + - *339 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *343 + default: *344 '400': *14 '422': *15 x-github: @@ -47193,7 +47622,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *85 - - *338 + - *339 - *16 responses: '202': *37 @@ -47220,7 +47649,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *85 - - *338 + - *339 responses: '204': description: Response @@ -47243,7 +47672,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *85 - - &348 + - &349 name: actor_type in: path description: The type of the actor @@ -47256,14 +47685,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &349 + - &350 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &344 + - &345 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 +47700,7 @@ paths: required: true schema: type: string - - &345 + - &346 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 +47795,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *85 - - *344 - *345 + - *346 - *19 - *17 - *108 - - &354 + - &355 name: sort description: The property to sort the results by. in: query @@ -47450,14 +47879,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *85 - - *344 - *345 + - *346 responses: '200': description: Response content: application/json: - schema: &346 + schema: &347 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -47473,7 +47902,7 @@ paths: type: integer format: int64 examples: - default: &347 + default: &348 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -47494,23 +47923,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *85 - - &350 + - &351 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *344 - *345 + - *346 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: *347 + default: *348 x-github: enabledForGitHubApps: true category: orgs @@ -47529,18 +47958,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *85 - - *344 - *345 - - *348 + - *346 - *349 + - *350 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: *347 + default: *348 x-github: enabledForGitHubApps: true category: orgs @@ -47558,9 +47987,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *85 - - *344 - *345 - - &351 + - *346 + - &352 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -47573,7 +48002,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &353 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -47589,7 +48018,7 @@ paths: type: integer format: int64 examples: - default: &353 + default: &354 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -47626,18 +48055,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 + - *345 + - *346 + - *352 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 x-github: enabledForGitHubApps: true category: orgs @@ -47655,19 +48084,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *85 - - *348 - *349 - - *344 + - *350 - *345 - - *351 + - *346 + - *352 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 x-github: enabledForGitHubApps: true category: orgs @@ -47685,13 +48114,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *85 - - *350 - - *344 + - *351 - *345 + - *346 - *19 - *17 - *108 - - *354 + - *355 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -47775,7 +48204,7 @@ paths: application/json: schema: *20 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47895,12 +48324,12 @@ paths: application/json: schema: anyOf: - - &357 + - &358 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &356 + limit: &357 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -47928,7 +48357,7 @@ paths: properties: {} additionalProperties: false examples: - default: &358 + default: &359 value: limit: collaborators_only origin: organization @@ -47957,13 +48386,13 @@ paths: required: true content: application/json: - schema: &627 + schema: &629 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *356 + limit: *357 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -47988,9 +48417,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 '422': *15 x-github: githubCloudOnly: false @@ -48068,9 +48497,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *45 '404': *6 @@ -48148,7 +48577,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -48205,7 +48634,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *85 - - &361 + - &362 name: invitation_id description: The unique identifier of the invitation. in: path @@ -48239,7 +48668,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *85 - - *361 + - *362 - *17 - *19 responses: @@ -48251,7 +48680,7 @@ paths: type: array items: *305 examples: - default: &376 + default: &377 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -48294,7 +48723,7 @@ paths: application/json: schema: type: array - items: *362 + items: *363 examples: default: value: @@ -48382,9 +48811,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: &363 + default: &364 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -48417,7 +48846,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *85 - - &364 + - &365 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -48473,9 +48902,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *363 + default: *364 '404': *6 '422': *7 x-github: @@ -48500,7 +48929,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *85 - - *364 + - *365 responses: '204': description: Response @@ -48563,7 +48992,7 @@ paths: - closed - all default: open - - *365 + - *366 - name: type description: Can be the name of an issue type. in: query @@ -48594,7 +49023,7 @@ paths: type: array items: *217 examples: - default: *366 + default: *367 headers: Link: *45 '404': *6 @@ -48753,9 +49182,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 '304': *35 '500': *38 '401': *23 @@ -48782,7 +49211,7 @@ paths: parameters: - *85 - *137 - - &369 + - &370 name: codespace_name in: path required: true @@ -48817,15 +49246,15 @@ paths: parameters: - *85 - *137 - - *369 + - *370 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &546 + default: &548 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49081,7 +49510,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &371 title: Org Membership description: Org Membership type: object @@ -49150,7 +49579,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: &372 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -49251,9 +49680,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - response-if-user-already-had-membership-with-organization: *371 + response-if-user-already-had-membership-with-organization: *372 '422': *15 '403': *27 x-github: @@ -49325,7 +49754,7 @@ paths: application/json: schema: type: array - items: &372 + items: &373 title: Migration description: A migration. type: object @@ -49663,7 +50092,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: default: value: @@ -49842,7 +50271,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *85 - - &373 + - &374 name: migration_id description: The unique identifier of the migration. in: path @@ -49870,7 +50299,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *372 + schema: *373 examples: default: value: @@ -50040,7 +50469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *85 - - *373 + - *374 responses: '302': description: Response @@ -50062,7 +50491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *85 - - *373 + - *374 responses: '204': description: Response @@ -50086,8 +50515,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *85 - - *373 - - &791 + - *374 + - &792 name: repo_name description: repo_name parameter in: path @@ -50115,7 +50544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *85 - - *373 + - *374 - *17 - *19 responses: @@ -50127,7 +50556,7 @@ paths: type: array items: *276 examples: - default: &383 + default: &384 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50338,7 +50767,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &374 + items: &375 title: Organization Role description: Organization roles type: object @@ -50547,7 +50976,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: default: value: @@ -50777,7 +51206,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: default: value: @@ -50874,7 +51303,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: default: value: @@ -51033,7 +51462,7 @@ paths: parent: anyOf: - type: 'null' - - *375 + - *376 type: description: The ownership type of the team type: string @@ -51066,7 +51495,7 @@ paths: - type - parent examples: - default: *376 + default: *377 headers: Link: *45 '404': @@ -51125,7 +51554,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *375 + items: *376 name: type: - string @@ -51435,7 +51864,7 @@ paths: - nuget - container - *85 - - &792 + - &793 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -51471,12 +51900,12 @@ paths: application/json: schema: type: array - items: *377 + items: *378 examples: - default: *378 + default: *379 '403': *27 '401': *23 - '400': &794 + '400': &795 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -51498,7 +51927,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 + - &380 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 +51945,7 @@ paths: - docker - nuget - container - - &380 + - &381 name: package_name description: The name of the package. in: path @@ -51529,7 +51958,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: default: value: @@ -51581,8 +52010,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 - *85 responses: '204': @@ -51615,8 +52044,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 - *85 - name: token description: package token @@ -51649,8 +52078,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 - *85 - *19 - *17 @@ -51671,7 +52100,7 @@ paths: application/json: schema: type: array - items: &381 + items: &382 title: Package Version description: A version of a software package type: object @@ -51806,10 +52235,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 - *85 - - &382 + - &383 name: package_version_id description: Unique identifier of the package version. in: path @@ -51821,7 +52250,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -51857,10 +52286,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 + - *381 - *85 - - *382 + - *383 responses: '204': description: Response @@ -51892,10 +52321,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 + - *381 - *85 - - *382 + - *383 responses: '204': description: Response @@ -51925,7 +52354,7 @@ paths: - *85 - *17 - *19 - - &384 + - &385 name: sort description: The property by which to sort the results. in: query @@ -51936,7 +52365,7 @@ paths: - created_at default: created_at - *108 - - &385 + - &386 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -51948,7 +52377,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &386 + - &387 name: repository description: The name of the repository to use to filter the results. in: query @@ -51957,7 +52386,7 @@ paths: type: string examples: - Hello-World - - &387 + - &388 name: permission description: The permission to use to filter the results. in: query @@ -51966,7 +52395,7 @@ paths: type: string examples: - issues_read - - &388 + - &389 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 +52405,7 @@ paths: schema: type: string format: date-time - - &389 + - &390 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 +52415,7 @@ paths: schema: type: string format: date-time - - &390 + - &391 name: token_id description: The ID of the token in: query @@ -52305,7 +52734,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -52331,14 +52760,14 @@ paths: - *85 - *17 - *19 - - *384 - - *108 - *385 + - *108 - *386 - *387 - *388 - *389 - *390 + - *391 responses: '500': *38 '422': *15 @@ -52622,7 +53051,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -52664,7 +53093,7 @@ paths: type: integer configurations: type: array - items: &391 + items: &392 title: Organization private registry description: Private registry configuration for an organization type: object @@ -52960,7 +53389,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &392 + org-private-registry-with-selected-visibility: &393 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -53058,9 +53487,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *391 + schema: *392 examples: - default: *392 + default: *393 '404': *6 x-github: githubCloudOnly: false @@ -53228,7 +53657,7 @@ paths: application/json: schema: type: array - items: &393 + items: &394 title: Projects v2 Project description: A projects v2 project type: object @@ -53302,7 +53731,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &880 + - &881 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -53387,7 +53816,7 @@ paths: - deleted_at - deleted_by examples: - default: &394 + default: &395 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -53490,7 +53919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &395 + - &396 name: project_number description: The project's number. in: path @@ -53503,9 +53932,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 headers: Link: *45 '304': *35 @@ -53528,7 +53957,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *85 - - *395 + - *396 requestBody: required: true description: Details of the draft item to create in the project. @@ -53562,7 +53991,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &401 title: Projects v2 Item description: An item belonging to a project type: object @@ -53576,7 +54005,7 @@ paths: content: oneOf: - *217 - - &561 + - &563 title: Pull Request Simple description: Pull Request Simple type: object @@ -53696,7 +54125,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *397 active_lock_reason: type: - string @@ -53795,7 +54224,7 @@ paths: _links: type: object properties: - comments: &397 + comments: &398 title: Link description: Hypermedia Link type: object @@ -53804,13 +54233,13 @@ paths: type: string required: - href - commits: *397 - statuses: *397 - html: *397 - issue: *397 - review_comments: *397 - review_comment: *397 - self: *397 + commits: *398 + statuses: *398 + html: *398 + issue: *398 + review_comments: *398 + review_comment: *398 + self: *398 required: - comments - commits @@ -53821,7 +54250,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: &673 + auto_merge: &675 title: Auto merge description: The status of auto merging a pull request. type: @@ -53923,7 +54352,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &399 + content_type: &400 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -53967,7 +54396,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &401 + draft_issue: &402 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -54041,7 +54470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *395 + - *396 - *85 - *17 - *106 @@ -54053,7 +54482,7 @@ paths: application/json: schema: type: array - items: &398 + items: &399 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -54203,7 +54632,7 @@ paths: - updated_at - project_url examples: - default: &813 + default: &814 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54333,7 +54762,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 + - *396 - *85 requestBody: required: true @@ -54380,7 +54809,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: &815 type: object properties: name: @@ -54417,7 +54846,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &815 + iteration_configuration: &816 type: object description: The configuration for iteration fields. properties: @@ -54467,7 +54896,7 @@ paths: value: name: Due date data_type: date - single_select_field: &816 + single_select_field: &817 summary: Create a single select field value: name: Priority @@ -54494,7 +54923,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &817 + iteration_field: &818 summary: Create an iteration field value: name: Sprint @@ -54518,9 +54947,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *398 + schema: *399 examples: - text_field: &818 + text_field: &819 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -54529,7 +54958,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: &820 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -54538,7 +54967,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: &821 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -54547,7 +54976,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: &822 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54581,7 +55010,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: &823 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -54626,8 +55055,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 + - *396 + - &824 name: field_id description: The unique identifier of the field. in: path @@ -54640,9 +55069,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: &824 + default: &825 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54698,7 +55127,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 + - *396 - *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 +55160,7 @@ paths: application/json: schema: type: array - items: &402 + items: &403 title: Projects v2 Item description: An item belonging to a project type: object @@ -54748,7 +55177,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: *400 content: type: - object @@ -54798,7 +55227,7 @@ paths: - updated_at - archived_at examples: - default: &403 + default: &404 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -55496,7 +55925,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *85 - - *395 + - *396 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -55566,22 +55995,22 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *401 + value: *402 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *401 + value: *402 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *401 + value: *402 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *401 + value: *402 '304': *35 '403': *27 '401': *23 @@ -55601,9 +56030,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 + - *396 - *85 - - &404 + - &405 name: item_id description: The unique identifier of the project item. in: path @@ -55629,9 +56058,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *403 + default: *404 headers: Link: *45 '304': *35 @@ -55652,9 +56081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *395 + - *396 - *85 - - *404 + - *405 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -55727,13 +56156,13 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - text_field: *403 - number_field: *403 - date_field: *403 - single_select_field: *403 - iteration_field: *403 + text_field: *404 + number_field: *404 + date_field: *404 + single_select_field: *404 + iteration_field: *404 '401': *23 '403': *27 '404': *6 @@ -55753,9 +56182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *395 + - *396 - *85 - - *404 + - *405 responses: '204': description: Response @@ -55779,7 +56208,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *85 - - *395 + - *396 requestBody: required: true content: @@ -55853,7 +56282,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &805 + schema: &806 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -55957,7 +56386,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &405 + value: &406 value: id: 1 number: 1 @@ -56003,10 +56432,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *405 + value: *406 roadmap_view: summary: Response for creating a roadmap view - value: *405 + value: *406 '304': *35 '403': *27 '401': *23 @@ -56034,9 +56463,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 + - *396 - *85 - - &825 + - &826 name: view_number description: The number that identifies the project view. in: path @@ -56068,9 +56497,9 @@ paths: application/json: schema: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: Link: *45 '304': *35 @@ -56234,7 +56663,7 @@ paths: required: true content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -56602,7 +57031,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -56806,7 +57235,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &450 title: Full Repository description: Full Repository type: object @@ -57284,7 +57713,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &566 + code_of_conduct: &568 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -57314,7 +57743,7 @@ paths: - key - name - html_url - security_and_analysis: *407 + security_and_analysis: *408 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -57398,7 +57827,7 @@ paths: - network_count - subscribers_count examples: - default: &450 + default: &452 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57924,9 +58353,9 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 + default: *410 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57951,7 +58380,7 @@ paths: - *85 - *17 - *19 - - &695 + - &697 name: targets description: | A comma-separated list of rule targets to filter by. @@ -58043,11 +58472,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *410 + conditions: *411 rules: type: array description: An array of rules within the ruleset. - items: &412 + items: &413 title: Repository Rule type: object description: A repository rule. @@ -58112,7 +58541,7 @@ paths: application/json: schema: *185 examples: - default: &411 + default: &412 value: id: 21 name: super cool ruleset @@ -58152,6 +58581,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 +58597,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *85 - - &697 + - &699 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 +58609,14 @@ paths: x-multi-segment: true - *302 - *103 - - &698 + - &700 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 + - &701 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -58206,7 +58636,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &702 title: Rule Suites description: Response type: array @@ -58262,7 +58692,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &701 + default: &703 value: - id: 21 actor_id: 12 @@ -58306,7 +58736,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *85 - - &702 + - &704 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -58322,7 +58752,7 @@ paths: description: Response content: application/json: - schema: &703 + schema: &705 title: Rule Suite description: Response type: object @@ -58429,7 +58859,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &704 + default: &706 value: id: 21 actor_id: 12 @@ -58504,7 +58934,7 @@ paths: application/json: schema: *185 examples: - default: *411 + default: *412 '404': *6 '500': *38 put: @@ -58553,11 +58983,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *410 + conditions: *411 rules: description: An array of rules within the ruleset. type: array - items: *412 + items: *413 examples: default: value: @@ -58594,8 +59024,9 @@ paths: application/json: schema: *185 examples: - default: *411 + default: *412 '404': *6 + '422': *15 '500': *38 delete: summary: Delete an organization repository ruleset @@ -58653,7 +59084,7 @@ paths: type: array items: *189 examples: - default: *413 + default: *414 '404': *6 '500': *38 x-github: @@ -58690,7 +59121,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *415 examples: default: value: @@ -58753,15 +59184,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 - *108 - *19 - *17 - - &706 + - &708 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 +59202,7 @@ paths: required: false schema: type: string - - &707 + - &709 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 +59212,10 @@ paths: required: false schema: type: string - - *420 - *421 - *422 - *423 + - *424 responses: '200': description: Response @@ -58792,9 +59223,9 @@ paths: application/json: schema: type: array - items: *424 + items: *425 examples: - default: *425 + default: *426 headers: Link: *45 '404': *6 @@ -58829,9 +59260,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 '403': *27 '404': *6 patch: @@ -58984,7 +59415,7 @@ paths: application/json: schema: type: array - items: &728 + items: &730 description: A repository security advisory. type: object properties: @@ -59228,7 +59659,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *429 credits_detailed: type: - array @@ -59239,7 +59670,7 @@ paths: type: object properties: user: *4 - type: *428 + type: *429 state: type: string description: The state of the user's acceptance of the @@ -59303,7 +59734,7 @@ paths: - private_fork additionalProperties: false examples: - default: &729 + default: &731 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -59690,7 +60121,7 @@ paths: application/json: schema: type: array - items: *375 + items: *376 examples: default: value: @@ -59789,7 +60220,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 + - *430 - *17 - *19 responses: @@ -59797,9 +60228,9 @@ paths: description: Success content: application/json: - schema: *430 + schema: *431 examples: - default: *431 + default: *432 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60082,7 +60513,7 @@ paths: type: array items: *142 examples: - default: *432 + default: *433 headers: Link: *45 x-github: @@ -60285,15 +60716,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 + - *434 responses: '200': description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *435 + default: *436 headers: Link: *45 x-github: @@ -60331,7 +60762,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &447 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -60383,7 +60814,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &446 + default: &448 value: groups: - group_id: '123' @@ -60497,7 +60928,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 headers: Link: *45 '403': *27 @@ -60591,7 +61022,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &437 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -60665,7 +61096,7 @@ paths: parent: anyOf: - type: 'null' - - *375 + - *376 members_count: type: integer examples: @@ -60990,7 +61421,7 @@ paths: - repos_count - organization examples: - default: &437 + default: &438 value: id: 1 node_id: MDQ6VGVhbTE= @@ -61067,9 +61498,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -61154,16 +61585,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '201': description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '404': *6 '422': *15 '403': *27 @@ -61193,6 +61624,9 @@ paths: responses: '204': description: Response + '422': &441 + description: Unprocessable entity if you attempt to modify an enterprise + team at the organization level. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61219,9 +61653,10 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 + '422': *441 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -61265,9 +61700,10 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *441 + default: *443 + '422': *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61291,6 +61727,7 @@ paths: responses: '204': description: Response + '422': *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61322,11 +61759,12 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *45 + '422': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61408,7 +61846,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &444 title: Team Membership description: Team Membership type: object @@ -61436,7 +61874,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &772 + response-if-user-is-a-team-maintainer: &773 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -61499,9 +61937,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - response-if-users-membership-with-team-is-now-pending: &773 + response-if-users-membership-with-team-is-now-pending: &774 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -61577,7 +62015,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -61608,14 +62046,14 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *445 + - *446 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &774 + schema: &775 title: Team Repository description: A team's access to a repository. type: object @@ -62258,8 +62696,8 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -62306,8 +62744,8 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -62340,9 +62778,10 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 + '422': *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62408,7 +62847,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -62420,6 +62859,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. + '422': *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62453,7 +62893,7 @@ paths: type: array items: *305 examples: - response-if-child-teams-exist: &775 + response-if-child-teams-exist: &776 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62607,7 +63047,7 @@ paths: resources: type: object properties: - core: &447 + core: &449 title: Rate Limit type: object properties: @@ -62624,21 +63064,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: *449 + search: *449 + code_search: *449 + source_import: *449 + integration_manifest: *449 + code_scanning_upload: *449 + actions_runner_registration: *449 + scim: *449 + dependency_snapshots: *449 + dependency_sbom: *449 + code_scanning_autofix: *449 required: - core - search - rate: *447 + rate: *449 required: - rate - resources @@ -62743,14 +63183,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *448 + schema: *450 examples: default-response: summary: Default response @@ -63259,7 +63699,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *449 + '301': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63277,8 +63717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -63580,10 +64020,10 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *450 - '307': &451 + default: *452 + '307': &453 description: Temporary Redirect content: application/json: @@ -63612,8 +64052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -63635,7 +64075,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': *453 '404': *6 '409': *117 x-github: @@ -63659,11 +64099,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 + - *445 + - *446 - *17 - *19 - - &468 + - &470 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -63686,7 +64126,7 @@ paths: type: integer artifacts: type: array - items: &452 + items: &454 title: Artifact description: An artifact type: object @@ -63781,7 +64221,7 @@ paths: - expires_at - updated_at examples: - default: &469 + default: &471 value: total_count: 2 artifacts: @@ -63842,9 +64282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *443 - - *444 - - &453 + - *445 + - *446 + - &455 name: artifact_id description: The unique identifier of the artifact. in: path @@ -63856,7 +64296,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: default: value: @@ -63894,9 +64334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *443 - - *444 - - *453 + - *445 + - *446 + - *455 responses: '204': description: Response @@ -63920,9 +64360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *443 - - *444 - - *453 + - *445 + - *446 + - *455 - name: archive_format in: path required: true @@ -63936,7 +64376,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': &632 description: Gone content: application/json: @@ -63961,14 +64401,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &454 + schema: &456 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -64002,13 +64442,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 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *454 + schema: *456 examples: selected_actions: *42 responses: @@ -64037,14 +64477,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &455 + schema: &457 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -64078,13 +64518,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 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *455 + schema: *457 examples: selected_actions: *44 responses: @@ -64115,14 +64555,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *456 + schema: *458 examples: default: value: @@ -64148,11 +64588,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 + - *445 + - *446 - *17 - *19 - - &457 + - &459 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 +64626,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &460 title: Repository actions caches description: Repository actions caches type: object @@ -64236,7 +64676,7 @@ paths: - total_count - actions_caches examples: - default: &459 + default: &461 value: total_count: 1 actions_caches: @@ -64268,23 +64708,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 + - *445 + - *446 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *457 + - *459 responses: '200': description: Response content: application/json: - schema: *458 + schema: *460 examples: - default: *459 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64304,8 +64744,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 + - *445 + - *446 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -64336,9 +64776,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 + - *445 + - *446 + - &462 name: job_id description: The unique identifier of the job. in: path @@ -64350,7 +64790,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &474 title: Job description: Information of a job execution in a workflow run type: object @@ -64697,9 +65137,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 + - *445 + - *446 + - *462 responses: '302': description: Response @@ -64727,9 +65167,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 + - *445 + - *446 + - *462 requestBody: required: false content: @@ -64775,8 +65215,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 + - *445 + - *446 responses: '200': description: Status response @@ -64826,8 +65266,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 + - *445 + - *446 requestBody: required: true content: @@ -64890,8 +65330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -64909,7 +65349,7 @@ paths: type: integer secrets: type: array - items: &474 + items: &476 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64930,7 +65370,7 @@ paths: - created_at - updated_at examples: - default: &475 + default: &477 value: total_count: 2 secrets: @@ -64963,9 +65403,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 + - *445 + - *446 + - *463 - *19 responses: '200': @@ -64982,7 +65422,7 @@ paths: type: integer variables: type: array - items: &478 + items: &480 title: Actions Variable type: object properties: @@ -65016,7 +65456,7 @@ paths: - created_at - updated_at examples: - default: &479 + default: &481 value: total_count: 2 variables: @@ -65049,8 +65489,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 + - *445 + - *446 responses: '200': description: Response @@ -65059,7 +65499,7 @@ paths: schema: type: object properties: - enabled: &462 + enabled: &464 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *58 @@ -65094,8 +65534,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 + - *445 + - *446 responses: '204': description: Response @@ -65106,7 +65546,7 @@ paths: schema: type: object properties: - enabled: *462 + enabled: *464 allowed_actions: *58 sha_pinning_required: *59 required: @@ -65139,14 +65579,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &463 + schema: &465 type: object properties: access_level: @@ -65164,7 +65604,7 @@ paths: required: - access_level examples: - default: &464 + default: &466 value: access_level: organization x-github: @@ -65189,15 +65629,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 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *463 + schema: *465 examples: - default: *464 + default: *466 responses: '204': description: Response @@ -65221,8 +65661,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 + - *445 + - *446 responses: '200': description: Response @@ -65252,8 +65692,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 + - *445 + - *446 responses: '204': description: Empty response for successful settings update @@ -65287,8 +65727,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 + - *445 + - *446 responses: '200': description: Response @@ -65315,8 +65755,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 + - *445 + - *446 responses: '204': description: Response @@ -65350,8 +65790,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 + - *445 + - *446 responses: '200': description: Response @@ -65379,8 +65819,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 + - *445 + - *446 requestBody: required: true content: @@ -65411,8 +65851,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 + - *445 + - *446 responses: '200': description: Response @@ -65443,8 +65883,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 + - *445 + - *446 responses: '204': description: Response @@ -65476,8 +65916,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 + - *445 + - *446 responses: '200': description: Response @@ -65506,8 +65946,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 + - *445 + - *446 responses: '204': description: Success response @@ -65547,8 +65987,8 @@ paths: in: query schema: type: string - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -65592,8 +66032,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 + - *445 + - *446 responses: '200': description: Response @@ -65625,8 +66065,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 + - *445 + - *446 requestBody: required: true content: @@ -65700,8 +66140,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 + - *445 + - *446 responses: '201': description: Response @@ -65737,8 +66177,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 + - *445 + - *446 responses: '201': description: Response @@ -65768,8 +66208,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 + - *445 + - *446 - *73 responses: '200': @@ -65799,8 +66239,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 + - *445 + - *446 - *73 responses: '204': @@ -65827,8 +66267,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 + - *445 + - *446 - *73 responses: '200': *79 @@ -65853,8 +66293,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 + - *445 + - *446 - *73 requestBody: required: true @@ -65903,8 +66343,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 + - *445 + - *446 - *73 requestBody: required: true @@ -65954,8 +66394,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 + - *445 + - *446 - *73 responses: '200': *283 @@ -65985,8 +66425,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 + - *445 + - *446 - *73 - *284 responses: @@ -66016,9 +66456,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 + - *445 + - *446 + - &484 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 +66466,7 @@ paths: required: false schema: type: string - - &483 + - &485 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -66034,7 +66474,7 @@ paths: required: false schema: type: string - - &484 + - &486 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 +66483,7 @@ paths: required: false schema: type: string - - &485 + - &487 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 +66510,7 @@ paths: - pending - *17 - *19 - - &486 + - &488 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 +66519,7 @@ paths: schema: type: string format: date-time - - &465 + - &467 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -66088,13 +66528,13 @@ paths: schema: type: boolean default: false - - &487 + - &489 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &488 + - &490 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -66117,7 +66557,7 @@ paths: type: integer workflow_runs: type: array - items: &466 + items: &468 title: Workflow Run description: An invocation of a workflow type: object @@ -66295,7 +66735,7 @@ paths: head_commit: anyOf: - type: 'null' - - &510 + - &512 title: Simple Commit description: A commit. type: object @@ -66410,7 +66850,7 @@ paths: - workflow_url - pull_requests examples: - default: &489 + default: &491 value: total_count: 1 workflow_runs: @@ -66646,24 +67086,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 + - *445 + - *446 + - &469 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *465 + - *467 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: &470 + default: &472 value: id: 30433642 name: Build @@ -66904,9 +67344,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 + - *445 + - *446 + - *469 responses: '204': description: Response @@ -66929,9 +67369,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 + - *445 + - *446 + - *469 responses: '200': description: Response @@ -67059,9 +67499,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 + - *445 + - *446 + - *469 responses: '201': description: Response @@ -67094,12 +67534,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 + - *445 + - *446 + - *469 - *17 - *19 - - *468 + - *470 responses: '200': description: Response @@ -67115,9 +67555,9 @@ paths: type: integer artifacts: type: array - items: *452 + items: *454 examples: - default: *469 + default: *471 headers: Link: *45 x-github: @@ -67141,25 +67581,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 + - *445 + - *446 + - *469 + - &473 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *465 + - *467 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *470 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67182,10 +67622,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 + - *445 + - *446 + - *469 + - *473 - *17 - *19 responses: @@ -67203,9 +67643,9 @@ paths: type: integer jobs: type: array - items: *472 + items: *474 examples: - default: &473 + default: &475 value: total_count: 1 jobs: @@ -67318,10 +67758,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 + - *445 + - *446 + - *469 + - *473 responses: '302': description: Response @@ -67349,9 +67789,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 + - *445 + - *446 + - *469 responses: '202': description: Response @@ -67384,9 +67824,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 + - *445 + - *446 + - *469 requestBody: required: true content: @@ -67453,9 +67893,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 + - *445 + - *446 + - *469 responses: '202': description: Response @@ -67488,9 +67928,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 + - *445 + - *446 + - *469 - 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 +67960,9 @@ paths: type: integer jobs: type: array - items: *472 + items: *474 examples: - default: *473 + default: *475 headers: Link: *45 x-github: @@ -67547,9 +67987,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 + - *445 + - *446 + - *469 responses: '302': description: Response @@ -67576,9 +68016,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 + - *445 + - *446 + - *469 responses: '204': description: Response @@ -67605,9 +68045,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 + - *445 + - *446 + - *469 responses: '200': description: Response @@ -67676,7 +68116,7 @@ paths: items: type: object properties: - type: &597 + type: &599 type: string description: The type of reviewer. enum: @@ -67762,9 +68202,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 + - *445 + - *446 + - *469 requestBody: required: true content: @@ -67814,7 +68254,7 @@ paths: application/json: schema: type: array - items: &582 + items: &584 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -67926,7 +68366,7 @@ paths: - created_at - updated_at examples: - default: &583 + default: &585 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -67982,9 +68422,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 + - *445 + - *446 + - *469 requestBody: required: false content: @@ -68029,9 +68469,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 + - *445 + - *446 + - *469 requestBody: required: false content: @@ -68086,9 +68526,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 + - *445 + - *446 + - *469 responses: '200': description: Response @@ -68225,8 +68665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -68244,9 +68684,9 @@ paths: type: integer secrets: type: array - items: *474 + items: *476 examples: - default: *475 + default: *477 headers: Link: *45 x-github: @@ -68271,16 +68711,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68302,17 +68742,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *443 - - *444 + - *445 + - *446 - *286 responses: '200': description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: &610 + default: &612 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -68338,8 +68778,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 + - *445 + - *446 - *286 requestBody: required: true @@ -68397,8 +68837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *443 - - *444 + - *445 + - *446 - *286 responses: '204': @@ -68424,9 +68864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *443 - - *444 - - *461 + - *445 + - *446 + - *463 - *19 responses: '200': @@ -68443,9 +68883,9 @@ paths: type: integer variables: type: array - items: *478 + items: *480 examples: - default: *479 + default: *481 headers: Link: *45 x-github: @@ -68468,8 +68908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -68521,17 +68961,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *443 - - *444 + - *445 + - *446 - *289 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: &611 + default: &613 value: name: USERNAME value: octocat @@ -68557,8 +68997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *443 - - *444 + - *445 + - *446 - *289 requestBody: required: true @@ -68601,8 +69041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *443 - - *444 + - *445 + - *446 - *289 responses: '204': @@ -68628,8 +69068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -68647,7 +69087,7 @@ paths: type: integer workflows: type: array - items: &480 + items: &482 title: Workflow description: A GitHub Actions workflow type: object @@ -68765,9 +69205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *443 - - *444 - - &481 + - *445 + - *446 + - &483 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -68782,7 +69222,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -68815,9 +69255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *443 - - *444 - - *481 + - *445 + - *446 + - *483 responses: '204': description: Response @@ -68842,9 +69282,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 + - *445 + - *446 + - *483 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -68931,9 +69371,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *443 - - *444 - - *481 + - *445 + - *446 + - *483 responses: '204': description: Response @@ -68960,19 +69400,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 + - *445 + - *446 - *483 - *484 - *485 - - *17 - - *19 - *486 - - *465 - *487 + - *17 + - *19 - *488 + - *467 + - *489 + - *490 responses: '200': description: Response @@ -68988,9 +69428,9 @@ paths: type: integer workflow_runs: type: array - items: *466 + items: *468 examples: - default: *489 + default: *491 headers: Link: *45 x-github: @@ -69023,9 +69463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *443 - - *444 - - *481 + - *445 + - *446 + - *483 responses: '200': description: Response @@ -69086,8 +69526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *443 - - *444 + - *445 + - *446 - *108 - *17 - *106 @@ -69255,8 +69695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -69293,8 +69733,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 + - *445 + - *446 - name: assignee in: path required: true @@ -69330,8 +69770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -69443,8 +69883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *106 - *107 @@ -69501,7 +69941,7 @@ paths: initiator: type: string examples: - default: *490 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69521,8 +69961,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 + - *445 + - *446 responses: '200': description: Response @@ -69530,7 +69970,7 @@ paths: application/json: schema: type: array - items: &491 + items: &493 title: Autolink reference description: An autolink reference. type: object @@ -69589,8 +70029,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 + - *445 + - *446 requestBody: required: true content: @@ -69629,9 +70069,9 @@ paths: description: response content: application/json: - schema: *491 + schema: *493 examples: - default: &492 + default: &494 value: id: 1 key_prefix: TICKET- @@ -69662,9 +70102,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 + - *445 + - *446 + - &495 name: autolink_id description: The unique identifier of the autolink. in: path @@ -69676,9 +70116,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *492 + default: *494 '404': *6 x-github: githubCloudOnly: false @@ -69698,9 +70138,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 + - *445 + - *446 + - *495 responses: '204': description: Response @@ -69724,8 +70164,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 + - *445 + - *446 responses: '200': description: Response if Dependabot is enabled @@ -69775,8 +70215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -69797,8 +70237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -69818,8 +70258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *443 - - *444 + - *445 + - *446 - 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 +70297,7 @@ paths: - url protected: type: boolean - protection: &495 + protection: &497 title: Branch Protection description: Branch Protection type: object @@ -69900,7 +70340,7 @@ paths: required: - contexts - checks - enforce_admins: &498 + enforce_admins: &500 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -69917,7 +70357,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &500 + required_pull_request_reviews: &502 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -70001,7 +70441,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &497 + restrictions: &499 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -70294,9 +70734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *443 - - *444 - - &496 + - *445 + - *446 + - &498 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 +70750,14 @@ paths: description: Response content: application/json: - schema: &506 + schema: &508 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &557 + commit: &559 title: Commit description: Commit type: object @@ -70356,7 +70796,7 @@ paths: author: anyOf: - type: 'null' - - &494 + - &496 title: Git User description: Metaproperties for Git author/committer information. @@ -70378,7 +70818,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *496 message: type: string examples: @@ -70402,7 +70842,7 @@ paths: required: - sha - url - verification: &617 + verification: &619 title: Verification type: object properties: @@ -70482,7 +70922,7 @@ paths: type: integer files: type: array - items: &568 + items: &570 title: Diff Entry description: Diff Entry type: object @@ -70578,7 +71018,7 @@ paths: - self protected: type: boolean - protection: *495 + protection: *497 protection_url: type: string format: uri @@ -70687,7 +71127,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *449 + '301': *451 '404': *6 x-github: githubCloudOnly: false @@ -70709,15 +71149,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: default: value: @@ -70911,9 +71351,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -71173,7 +71613,7 @@ paths: url: type: string format: uri - required_status_checks: &503 + required_status_checks: &505 title: Status Check Policy description: Status Check Policy type: object @@ -71332,7 +71772,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *497 + restrictions: *499 required_conversation_resolution: type: object properties: @@ -71444,9 +71884,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -71471,17 +71911,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: &499 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -71503,17 +71943,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *499 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71532,9 +71972,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -71559,17 +71999,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: &501 + default: &503 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -71665,9 +72105,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -71765,9 +72205,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -71788,9 +72228,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -71817,17 +72257,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: &502 + default: &504 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -71850,17 +72290,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *502 + default: *504 '404': *6 x-github: githubCloudOnly: false @@ -71880,9 +72320,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -71907,17 +72347,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: &504 + default: &506 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -71943,9 +72383,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -71997,9 +72437,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 '404': *6 '422': *15 x-github: @@ -72021,9 +72461,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -72047,9 +72487,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 + - *445 + - *446 + - *498 responses: '200': description: Response @@ -72083,9 +72523,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -72152,9 +72592,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -72218,9 +72658,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 + - *445 + - *446 + - *498 requestBody: content: application/json: @@ -72286,15 +72726,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -72385,9 +72825,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -72410,9 +72850,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 + - *445 + - *446 + - *498 responses: '200': description: Response @@ -72422,7 +72862,7 @@ paths: type: array items: *5 examples: - default: &505 + default: &507 value: - id: 1 slug: octoapp @@ -72479,9 +72919,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -72515,7 +72955,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *507 '422': *15 x-github: githubCloudOnly: false @@ -72536,9 +72976,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -72572,7 +73012,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *507 '422': *15 x-github: githubCloudOnly: false @@ -72593,9 +73033,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -72629,7 +73069,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *507 '422': *15 x-github: githubCloudOnly: false @@ -72651,9 +73091,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 + - *445 + - *446 + - *498 responses: '200': description: Response @@ -72663,7 +73103,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 '404': *6 x-github: githubCloudOnly: false @@ -72683,9 +73123,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -72723,7 +73163,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 '422': *15 x-github: githubCloudOnly: false @@ -72744,9 +73184,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -72784,7 +73224,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 '422': *15 x-github: githubCloudOnly: false @@ -72805,9 +73245,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 + - *445 + - *446 + - *498 requestBody: content: application/json: @@ -72844,7 +73284,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 '422': *15 x-github: githubCloudOnly: false @@ -72866,9 +73306,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 + - *445 + - *446 + - *498 responses: '200': description: Response @@ -72902,9 +73342,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -72962,9 +73402,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -73022,9 +73462,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -73084,9 +73524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *443 - - *444 - - *496 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -73108,7 +73548,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -73222,8 +73662,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *443 - - *444 + - *445 + - *446 - *101 - *102 - *103 @@ -73259,8 +73699,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -73333,8 +73773,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *445 + - *446 - *101 - *102 - *103 @@ -73374,8 +73814,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -73445,8 +73885,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -73517,8 +73957,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *445 + - *446 - name: bypass_response_id in: path required: true @@ -73551,8 +73991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -73831,7 +74271,7 @@ paths: description: Response content: application/json: - schema: &507 + schema: &509 title: CheckRun description: A check performed on the code of a given code change type: object @@ -73967,7 +74407,7 @@ paths: check. type: array items: *220 - deployment: &836 + deployment: &837 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -74254,9 +74694,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 + - *445 + - *446 + - &510 name: check_run_id description: The unique identifier of the check run. in: path @@ -74268,9 +74708,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &509 + default: &511 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -74370,9 +74810,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 + - *445 + - *446 + - *510 requestBody: required: true content: @@ -74612,9 +75052,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *509 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74634,9 +75074,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 + - *445 + - *446 + - *510 - *17 - *19 responses: @@ -74746,9 +75186,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 + - *445 + - *446 + - *510 responses: '201': description: Response @@ -74792,8 +75232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -74815,7 +75255,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &511 + schema: &513 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -74913,7 +75353,7 @@ paths: - string - 'null' format: date-time - head_commit: *510 + head_commit: *512 latest_check_runs_count: type: integer check_runs_url: @@ -74941,7 +75381,7 @@ paths: - check_runs_url - pull_requests examples: - default: &512 + default: &514 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -75232,9 +75672,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75253,8 +75693,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 + - *445 + - *446 requestBody: required: true content: @@ -75563,9 +76003,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 + - *445 + - *446 + - &515 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -75577,9 +76017,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75602,17 +76042,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 + - *445 + - *446 + - *515 + - &565 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &564 + - &566 name: status description: Returns check runs with the specified `status`. in: query @@ -75651,9 +76091,9 @@ paths: type: integer check_runs: type: array - items: *507 + items: *509 examples: - default: &565 + default: &567 value: total_count: 1 check_runs: @@ -75755,9 +76195,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 + - *445 + - *446 + - *515 responses: '201': description: Response @@ -75790,21 +76230,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 + - *445 + - *446 - *309 - *310 - *19 - *17 - - &529 + - &531 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: *516 + - &532 name: pr description: The number of the pull request for the results you want to list. in: query @@ -75835,7 +76275,7 @@ paths: be returned. in: query required: false - schema: *515 + schema: *517 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -75859,7 +76299,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *516 + instances_url: *518 state: *111 fixed_at: *134 dismissed_by: @@ -75867,11 +76307,11 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *517 - dismissed_comment: *518 - rule: *519 - tool: *520 - most_recent_instance: *521 + dismissed_reason: *519 + dismissed_comment: *520 + rule: *521 + tool: *522 + most_recent_instance: *523 dismissal_approved_by: anyOf: - type: 'null' @@ -75994,7 +76434,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &522 + '403': &524 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -76021,9 +76461,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 + - *445 + - *446 + - &525 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -76037,7 +76477,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &526 type: object properties: number: *124 @@ -76045,7 +76485,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *516 + instances_url: *518 state: *111 fixed_at: *134 dismissed_by: @@ -76053,8 +76493,8 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_reason: *519 + dismissed_comment: *520 rule: type: object properties: @@ -76116,8 +76556,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *520 - most_recent_instance: *521 + tool: *522 + most_recent_instance: *523 dismissal_approved_by: anyOf: - type: 'null' @@ -76213,7 +76653,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *522 + '403': *524 '404': *6 '503': *190 x-github: @@ -76233,9 +76673,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 + - *445 + - *446 + - *525 requestBody: required: true content: @@ -76250,8 +76690,8 @@ paths: enum: - open - dismissed - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_reason: *519 + dismissed_comment: *520 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -76279,7 +76719,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: default: value: @@ -76355,7 +76795,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &528 + '403': &530 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -76382,15 +76822,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 + - *445 + - *446 + - *525 responses: '200': description: Response content: application/json: - schema: &525 + schema: &527 type: object properties: status: @@ -76417,13 +76857,13 @@ paths: - description - started_at examples: - default: &526 + default: &528 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &527 + '400': &529 description: Bad Request content: application/json: @@ -76434,7 +76874,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': *524 '404': *6 '503': *190 x-github: @@ -76459,29 +76899,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 + - *445 + - *446 + - *525 responses: '200': description: OK content: application/json: - schema: *525 + schema: *527 examples: - default: *526 + default: *528 '202': description: Accepted content: application/json: - schema: *525 + schema: *527 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *527 + '400': *529 '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 +76953,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 + - *445 + - *446 + - *525 requestBody: required: false content: @@ -76561,8 +77001,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *527 - '403': *528 + '400': *529 + '403': *530 '404': *6 '422': description: Unprocessable Entity @@ -76586,13 +77026,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 + - *445 + - *446 + - *525 - *19 - *17 - - *529 - - *530 + - *531 + - *532 responses: '200': description: Response @@ -76603,10 +77043,10 @@ paths: items: type: object properties: - ref: *514 - analysis_key: *531 - environment: *532 - category: *533 + ref: *516 + analysis_key: *533 + environment: *534 + category: *535 state: type: - string @@ -76623,7 +77063,7 @@ paths: properties: text: type: string - location: *534 + location: *536 html_url: type: string classifications: @@ -76631,7 +77071,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: *537 examples: default: value: @@ -76668,7 +77108,7 @@ paths: end_column: 50 classifications: - source - '403': *522 + '403': *524 '404': *6 '503': *190 x-github: @@ -76702,25 +77142,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 + - *445 + - *446 - *309 - *310 - *19 - *17 - - *530 + - *532 - 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: *516 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &536 + schema: &538 type: string description: An identifier for the upload. examples: @@ -76742,23 +77182,23 @@ paths: application/json: schema: type: array - items: &537 + items: &539 type: object properties: - ref: *514 - commit_sha: &545 + ref: *516 + commit_sha: &547 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: *533 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *533 + category: *535 error: type: string examples: @@ -76783,8 +77223,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *536 - tool: *520 + sarif_id: *538 + tool: *522 deletable: type: boolean warning: @@ -76846,7 +77286,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *522 + '403': *524 '404': *6 '503': *190 x-github: @@ -76882,8 +77322,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 + - *445 + - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76896,7 +77336,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: response: summary: application/json response @@ -76950,7 +77390,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *522 + '403': *524 '404': *6 '422': description: Response if analysis could not be processed @@ -77037,8 +77477,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 + - *445 + - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77094,7 +77534,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': *530 '404': *6 '503': *190 x-github: @@ -77116,8 +77556,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 + - *445 + - *446 responses: '200': description: Response @@ -77125,7 +77565,7 @@ paths: application/json: schema: type: array - items: &538 + items: &540 title: CodeQL Database description: A CodeQL database. type: object @@ -77237,7 +77677,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': *524 '404': *6 '503': *190 x-github: @@ -77266,8 +77706,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 + - *445 + - *446 - name: language in: path description: The language of the CodeQL database. @@ -77279,7 +77719,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *540 examples: default: value: @@ -77311,9 +77751,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': &572 description: Found - '403': *522 + '403': *524 '404': *6 '503': *190 x-github: @@ -77335,8 +77775,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 + - *445 + - *446 - name: language in: path description: The language of the CodeQL database. @@ -77346,7 +77786,7 @@ paths: responses: '204': description: Response - '403': *528 + '403': *530 '404': *6 '503': *190 x-github: @@ -77374,8 +77814,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 + - *445 + - *446 requestBody: required: true content: @@ -77384,7 +77824,7 @@ paths: type: object additionalProperties: false properties: - language: &539 + language: &541 type: string description: The language targeted by the CodeQL query enum: @@ -77464,7 +77904,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &543 + schema: &545 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -77474,7 +77914,7 @@ paths: description: The ID of the variant analysis. controller_repo: *118 actor: *4 - query_language: *539 + query_language: *541 query_pack_url: type: string description: The download url for the query pack. @@ -77522,7 +77962,7 @@ paths: items: type: object properties: - repository: &540 + repository: &542 title: Repository Identifier description: Repository Identifier type: object @@ -77564,7 +78004,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &544 + analysis_status: &546 type: string description: The new status of the CodeQL variant analysis repository task. @@ -77596,7 +78036,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: &543 type: object properties: repository_count: @@ -77611,7 +78051,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: *542 required: - repository_count - repositories @@ -77634,8 +78074,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *541 - over_limit_repos: *541 + no_codeql_db_repos: *543 + over_limit_repos: *543 required: - access_mismatch_repos - not_found_repos @@ -77651,7 +78091,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &542 + value: &544 summary: Default response value: id: 1 @@ -77797,10 +78237,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *542 + value: *544 repository_lists: summary: Response for a successful variant analysis submission - value: *542 + value: *544 '404': *6 '422': description: Unable to process variant analysis submission @@ -77828,8 +78268,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 + - *445 + - *446 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -77841,9 +78281,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: *542 + default: *544 '404': *6 '503': *190 x-github: @@ -77866,7 +78306,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 + - *445 - name: repo in: path description: The name of the controller repository. @@ -77901,7 +78341,7 @@ paths: type: object properties: repository: *118 - analysis_status: *544 + analysis_status: *546 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -78026,8 +78466,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 + - *445 + - *446 responses: '200': description: Response @@ -78120,7 +78560,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *522 + '403': *524 '404': *6 '503': *190 x-github: @@ -78141,8 +78581,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 + - *445 + - *446 requestBody: required: true content: @@ -78236,7 +78676,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *528 + '403': *530 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -78307,8 +78747,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 + - *445 + - *446 requestBody: required: true content: @@ -78316,7 +78756,7 @@ paths: schema: type: object properties: - commit_sha: *545 + commit_sha: *547 ref: type: string description: |- @@ -78376,7 +78816,7 @@ paths: schema: type: object properties: - id: *536 + id: *538 url: type: string description: The REST API URL for checking the status of the upload. @@ -78390,7 +78830,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': *530 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -78413,8 +78853,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 + - *445 + - *446 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -78462,7 +78902,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': *524 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -78487,8 +78927,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 + - *445 + - *446 responses: '200': description: Response @@ -78569,8 +79009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *443 - - *444 + - *445 + - *446 - 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 +79138,8 @@ paths: parameters: - *17 - *19 - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -78715,7 +79155,7 @@ paths: type: integer codespaces: type: array - items: *367 + items: *368 examples: default: value: @@ -79013,8 +79453,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 + - *445 + - *446 requestBody: required: true content: @@ -79078,17 +79518,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '400': *14 '401': *23 '403': *27 @@ -79117,8 +79557,8 @@ paths: parameters: - *17 - *19 - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -79182,8 +79622,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 + - *445 + - *446 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -79220,9 +79660,9 @@ paths: type: integer machines: type: array - items: *547 + items: *549 examples: - default: &782 + default: &783 value: total_count: 2 machines: @@ -79262,8 +79702,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 + - *445 + - *446 - 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 +79790,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 + - *445 + - *446 - 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 +79860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -79439,7 +79879,7 @@ paths: type: integer secrets: type: array - items: &551 + items: &553 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -79460,7 +79900,7 @@ paths: - created_at - updated_at examples: - default: *548 + default: *550 headers: Link: *45 x-github: @@ -79483,16 +79923,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79512,17 +79952,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 + - *445 + - *446 - *286 responses: '200': description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79542,8 +79982,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 + - *445 + - *446 - *286 requestBody: required: true @@ -79596,8 +80036,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 + - *445 + - *446 - *286 responses: '204': @@ -79626,8 +80066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *443 - - *444 + - *445 + - *446 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -79665,7 +80105,7 @@ paths: application/json: schema: type: array - items: &553 + items: &555 title: Collaborator description: Collaborator type: object @@ -79858,8 +80298,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 + - *445 + - *446 - *137 responses: '204': @@ -79906,8 +80346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *443 - - *444 + - *445 + - *446 - *137 requestBody: required: false @@ -79934,7 +80374,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &629 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -80162,8 +80602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *443 - - *444 + - *445 + - *446 - *137 responses: '204': @@ -80195,8 +80635,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 + - *445 + - *446 - *137 responses: '200': @@ -80217,7 +80657,7 @@ paths: user: anyOf: - type: 'null' - - *553 + - *555 required: - permission - role_name @@ -80271,8 +80711,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 + - *445 + - *446 - *17 - *19 responses: @@ -80282,7 +80722,7 @@ paths: application/json: schema: type: array - items: &554 + items: &556 title: Commit Comment description: Commit Comment type: object @@ -80340,7 +80780,7 @@ paths: - created_at - updated_at examples: - default: &559 + default: &561 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 +80839,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '200': description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &560 + 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 @@ -80466,8 +80906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 requestBody: required: true @@ -80490,7 +80930,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -80541,8 +80981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '204': @@ -80564,8 +81004,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 + - *445 + - *446 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80592,7 +81032,7 @@ paths: application/json: schema: type: array - items: &555 + items: &557 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -80636,7 +81076,7 @@ paths: - content - created_at examples: - default: &632 + default: &634 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80681,8 +81121,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 + - *445 + - *446 - *231 requestBody: required: true @@ -80715,9 +81155,9 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *557 examples: - default: &556 + default: &558 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80746,9 +81186,9 @@ paths: description: Reaction created content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -80770,10 +81210,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 + - *445 + - *446 - *231 - - &633 + - &635 name: reaction_id description: The unique identifier of the reaction. in: path @@ -80828,8 +81268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *443 - - *444 + - *445 + - *446 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -80885,9 +81325,9 @@ paths: application/json: schema: type: array - items: *557 + items: *559 examples: - default: &680 + default: &682 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80981,9 +81421,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 + - *445 + - *446 + - &560 name: commit_sha description: The SHA of the commit. in: path @@ -81055,9 +81495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *443 - - *444 - - *558 + - *445 + - *446 + - *560 - *17 - *19 responses: @@ -81067,9 +81507,9 @@ paths: application/json: schema: type: array - items: *554 + items: *556 examples: - default: *559 + default: *561 headers: Link: *45 x-github: @@ -81097,9 +81537,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 + - *445 + - *446 + - *560 requestBody: required: true content: @@ -81134,9 +81574,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *560 + default: *562 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -81164,9 +81604,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 + - *445 + - *446 + - *560 - *17 - *19 responses: @@ -81176,9 +81616,9 @@ paths: application/json: schema: type: array - items: *561 + items: *563 examples: - default: &672 + default: &674 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81715,11 +82155,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *443 - - *444 + - *445 + - *446 - *19 - *17 - - &562 + - &564 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 +82174,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: &658 + default: &660 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -81849,11 +82289,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 + - *445 + - *446 - *564 + - *565 + - *566 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -81887,9 +82327,9 @@ paths: type: integer check_runs: type: array - items: *507 + items: *509 examples: - default: *565 + default: *567 headers: Link: *45 x-github: @@ -81914,9 +82354,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 + - *445 + - *446 + - *564 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -81924,7 +82364,7 @@ paths: schema: type: integer example: 1 - - *563 + - *565 - *17 - *19 responses: @@ -81942,7 +82382,7 @@ paths: type: integer check_suites: type: array - items: *511 + items: *513 examples: default: value: @@ -82142,9 +82582,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 + - *445 + - *446 + - *564 - *17 - *19 responses: @@ -82346,9 +82786,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 + - *445 + - *446 + - *564 - *17 - *19 responses: @@ -82358,7 +82798,7 @@ paths: application/json: schema: type: array - items: &733 + items: &735 title: Status description: The status of a commit. type: object @@ -82439,7 +82879,7 @@ paths: site_admin: false headers: Link: *45 - '301': *449 + '301': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82467,8 +82907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -82501,11 +82941,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *566 + - *568 code_of_conduct_file: anyOf: - type: 'null' - - &567 + - &569 title: Community Health File type: object properties: @@ -82525,19 +82965,19 @@ paths: contributing: anyOf: - type: 'null' - - *567 + - *569 readme: anyOf: - type: 'null' - - *567 + - *569 issue_template: anyOf: - type: 'null' - - *567 + - *569 pull_request_template: anyOf: - type: 'null' - - *567 + - *569 required: - code_of_conduct - code_of_conduct_file @@ -82666,8 +83106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *443 - - *444 + - *445 + - *446 - *19 - *17 - name: basehead @@ -82715,8 +83155,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *557 - merge_base_commit: *557 + base_commit: *559 + merge_base_commit: *559 status: type: string enum: @@ -82740,10 +83180,10 @@ paths: - 6 commits: type: array - items: *557 + items: *559 files: type: array - items: *568 + items: *570 required: - url - html_url @@ -83029,8 +83469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *443 - - *444 + - *445 + - *446 - name: path description: path parameter in: path @@ -83045,6 +83485,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 +83640,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &569 + response-if-content-is-a-file-github-object: &571 summary: Response if content is a file value: type: file @@ -83201,7 +83658,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 +83777,7 @@ paths: - size - type - url - - &685 + - &687 title: Content File description: Content File type: object @@ -83538,7 +83995,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *569 + response-if-content-is-a-file: *571 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -83607,7 +84064,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *570 + '302': *572 '304': *35 x-github: githubCloudOnly: false @@ -83630,8 +84087,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 + - *445 + - *446 - name: path description: path parameter in: path @@ -83726,7 +84183,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &573 title: File Commit description: File Commit type: object @@ -83882,7 +84339,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: example-for-creating-a-file: value: @@ -83936,7 +84393,7 @@ paths: schema: oneOf: - *3 - - &612 + - &614 description: Repository rule violation was detected type: object properties: @@ -83957,7 +84414,7 @@ paths: items: type: object properties: - placeholder_id: &725 + placeholder_id: &727 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83989,8 +84446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *443 - - *444 + - *445 + - *446 - name: path description: path parameter in: path @@ -84051,7 +84508,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: default: value: @@ -84106,8 +84563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *443 - - *444 + - *445 + - *446 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -84231,8 +84688,8 @@ 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 + - *445 + - *446 - *324 - *325 - *326 @@ -84244,9 +84701,10 @@ paths: schema: type: string - *328 - - *572 + - *574 - *329 - *330 + - *331 - *108 - *106 - *107 @@ -84258,7 +84716,7 @@ paths: application/json: schema: type: array - items: &576 + items: &578 type: object description: A Dependabot alert. properties: @@ -84308,7 +84766,7 @@ paths: - direct - transitive - - security_advisory: *573 + security_advisory: *575 security_vulnerability: *128 url: *129 html_url: *130 @@ -84339,8 +84797,8 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: *574 - dismissal_request: *575 + auto_dismissed_at: *576 + dismissal_request: *577 assignees: type: array description: The users assigned to this alert. @@ -84467,6 +84925,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 +85028,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *35 '400': *14 '403': *27 @@ -84575,9 +85053,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 + - *445 + - *446 + - &579 name: alert_number in: path description: |- @@ -84592,7 +85070,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -84683,6 +85161,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 +85202,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 + - *445 + - *446 + - *579 requestBody: required: true content: @@ -84738,8 +85235,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 +85260,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -84855,6 +85363,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 +85390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -84900,7 +85409,7 @@ paths: type: integer secrets: type: array - items: &580 + items: &582 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84954,16 +85463,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84983,15 +85492,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *443 - - *444 + - *445 + - *446 - *286 responses: '200': description: Response content: application/json: - schema: *580 + schema: *582 examples: default: value: @@ -85017,8 +85526,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 + - *445 + - *446 - *286 requestBody: required: true @@ -85071,8 +85580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *443 - - *444 + - *445 + - *446 - *286 responses: '204': @@ -85095,8 +85604,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 + - *445 + - *446 - 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 +85779,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 + - *445 + - *446 responses: '200': description: Response @@ -85531,8 +86040,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 + - *445 + - *446 requestBody: required: true content: @@ -85615,7 +86124,7 @@ paths: - version - url additionalProperties: false - metadata: &581 + metadata: &583 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85654,7 +86163,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *581 + metadata: *583 resolved: type: object description: A collection of resolved package dependencies. @@ -85668,7 +86177,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *581 + metadata: *583 relationship: type: string description: A notation of whether a dependency is requested @@ -85801,8 +86310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *443 - - *444 + - *445 + - *446 - name: sha description: The SHA recorded at creation time. in: query @@ -85843,9 +86352,9 @@ paths: application/json: schema: type: array - items: *582 + items: *584 examples: - default: *583 + default: *585 headers: Link: *45 x-github: @@ -85911,8 +86420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -85994,7 +86503,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *584 examples: simple-example: summary: Simple example @@ -86067,9 +86576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *443 - - *444 - - &584 + - *445 + - *446 + - &586 name: deployment_id description: deployment_id parameter in: path @@ -86081,7 +86590,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *584 examples: default: value: @@ -86146,9 +86655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *443 - - *444 - - *584 + - *445 + - *446 + - *586 responses: '204': description: Response @@ -86170,9 +86679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *443 - - *444 - - *584 + - *445 + - *446 + - *586 - *17 - *19 responses: @@ -86182,7 +86691,7 @@ paths: application/json: schema: type: array - items: &585 + items: &587 title: Deployment Status description: The status of a deployment. type: object @@ -86346,9 +86855,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 + - *445 + - *446 + - *586 requestBody: required: true content: @@ -86423,9 +86932,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: &586 + default: &588 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -86481,9 +86990,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 + - *445 + - *446 + - *586 - name: status_id in: path required: true @@ -86494,9 +87003,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: *586 + default: *588 '404': *6 x-github: githubCloudOnly: false @@ -86523,12 +87032,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 - - *587 - - *588 + - *445 + - *446 - *589 - *590 + - *591 + - *592 - *17 - *19 responses: @@ -86538,9 +87047,9 @@ paths: application/json: schema: type: array - items: *591 + items: *593 examples: - default: *592 + default: *594 '404': *6 '403': *27 '500': *38 @@ -86564,8 +87073,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86577,7 +87086,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *591 + schema: *593 examples: default: value: @@ -86633,8 +87142,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86693,12 +87202,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 - - *587 - - *588 + - *445 + - *446 - *589 - *590 + - *591 + - *592 - *17 - *19 responses: @@ -86708,9 +87217,9 @@ paths: application/json: schema: type: array - items: *593 + items: *595 examples: - default: *594 + default: *596 '404': *6 '403': *27 '500': *38 @@ -86734,8 +87243,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86747,7 +87256,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *593 + schema: *595 examples: default: value: @@ -86798,8 +87307,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86837,7 +87346,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *593 + schema: *595 examples: default: value: @@ -86888,8 +87397,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86960,8 +87469,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86994,12 +87503,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - *101 - *102 - *103 - - *335 + - *336 - *17 - *19 responses: @@ -87009,9 +87518,9 @@ paths: application/json: schema: type: array - items: *595 + items: *597 examples: - default: *596 + default: *598 '404': *6 '403': *27 '500': *38 @@ -87036,8 +87545,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -87049,7 +87558,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *595 + schema: *597 examples: default: value: @@ -87107,8 +87616,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -87177,8 +87686,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 + - *445 + - *446 requestBody: required: true content: @@ -87235,8 +87744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -87254,7 +87763,7 @@ paths: - 5 environments: type: array - items: &598 + items: &600 title: Environment description: Details of a deployment environment type: object @@ -87316,7 +87825,7 @@ paths: type: string examples: - wait_timer - wait_timer: &600 + wait_timer: &602 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -87358,7 +87867,7 @@ paths: items: type: object properties: - type: *597 + type: *599 reviewer: anyOf: - *4 @@ -87385,7 +87894,7 @@ paths: - id - node_id - type - deployment_branch_policy: &601 + deployment_branch_policy: &603 type: - object - 'null' @@ -87502,9 +88011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *443 - - *444 - - &599 + - *445 + - *446 + - &601 name: environment_name in: path required: true @@ -87517,9 +88026,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: &602 + default: &604 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -87603,9 +88112,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 + - *445 + - *446 + - *601 requestBody: required: false content: @@ -87615,7 +88124,7 @@ paths: - object - 'null' properties: - wait_timer: *600 + wait_timer: *602 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -87634,14 +88143,14 @@ paths: items: type: object properties: - type: *597 + type: *599 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: *603 additionalProperties: false examples: default: @@ -87661,9 +88170,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: *602 + default: *604 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -87687,9 +88196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *443 - - *444 - - *599 + - *445 + - *446 + - *601 responses: '204': description: Default response @@ -87714,9 +88223,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 + - *445 + - *446 + - *601 - *17 - *19 responses: @@ -87735,7 +88244,7 @@ paths: - 2 branch_policies: type: array - items: &603 + items: &605 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -87796,9 +88305,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 + - *445 + - *446 + - *601 requestBody: required: true content: @@ -87846,9 +88355,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: - example-wildcard: &604 + example-wildcard: &606 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -87890,10 +88399,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 + - *445 + - *446 + - *601 + - &607 name: branch_policy_id in: path required: true @@ -87905,9 +88414,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: - default: *604 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87926,10 +88435,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 + - *445 + - *446 + - *601 + - *607 requestBody: required: true content: @@ -87958,9 +88467,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: - default: *604 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87979,10 +88488,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 + - *445 + - *446 + - *601 + - *607 responses: '204': description: Response @@ -88007,9 +88516,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 + - *601 + - *446 + - *445 responses: '200': description: List of deployment protection rules @@ -88026,7 +88535,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &606 + items: &608 title: Deployment protection rule description: Deployment protection rule type: object @@ -88048,7 +88557,7 @@ paths: for the environment. examples: - true - app: &607 + app: &609 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -88151,9 +88660,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 + - *601 + - *446 + - *445 requestBody: content: application/json: @@ -88174,9 +88683,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *606 + schema: *608 examples: - default: &608 + default: &610 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -88211,9 +88720,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 + - *601 + - *446 + - *445 - *19 - *17 responses: @@ -88233,7 +88742,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *607 + items: *609 examples: default: value: @@ -88268,10 +88777,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 + - *445 + - *446 + - *601 + - &611 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -88283,9 +88792,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *608 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88306,10 +88815,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 + - *601 + - *446 + - *445 + - *611 responses: '204': description: Response @@ -88335,9 +88844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *443 - - *444 - - *599 + - *445 + - *446 + - *601 - *17 - *19 responses: @@ -88355,9 +88864,9 @@ paths: type: integer secrets: type: array - items: *474 + items: *476 examples: - default: *475 + default: *477 headers: Link: *45 x-github: @@ -88382,17 +88891,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 + - *445 + - *446 + - *601 responses: '200': description: Response content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88414,18 +88923,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 + - *445 + - *446 + - *601 - *286 responses: '200': description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: *610 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88447,9 +88956,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 + - *445 + - *446 + - *601 - *286 requestBody: required: true @@ -88507,9 +89016,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 + - *445 + - *446 + - *601 - *286 responses: '204': @@ -88535,10 +89044,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 + - *445 + - *446 + - *601 + - *463 - *19 responses: '200': @@ -88555,9 +89064,9 @@ paths: type: integer variables: type: array - items: *478 + items: *480 examples: - default: *479 + default: *481 headers: Link: *45 x-github: @@ -88580,9 +89089,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 + - *445 + - *446 + - *601 requestBody: required: true content: @@ -88634,18 +89143,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 + - *445 + - *446 + - *601 - *289 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *611 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88666,10 +89175,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *443 - - *444 + - *445 + - *446 - *289 - - *599 + - *601 requestBody: required: true content: @@ -88711,10 +89220,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *443 - - *444 + - *445 + - *446 - *289 - - *599 + - *601 responses: '204': description: Response @@ -88736,8 +89245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -88805,8 +89314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *443 - - *444 + - *445 + - *446 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -88965,8 +89474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -88999,9 +89508,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *450 + default: *452 '400': *14 '422': *15 '403': *27 @@ -89022,8 +89531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -89083,7 +89592,7 @@ paths: schema: oneOf: - *251 - - *612 + - *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89108,8 +89617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *443 - - *444 + - *445 + - *446 - name: file_sha in: path required: true @@ -89209,8 +89718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -89319,7 +89828,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &615 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -89546,15 +90055,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 + - *445 + - *446 + - *560 responses: '200': description: Response content: application/json: - schema: *613 + schema: *615 examples: default: value: @@ -89610,9 +90119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *443 - - *444 - - &614 + - *445 + - *446 + - &616 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 +90138,7 @@ paths: application/json: schema: type: array - items: &615 + items: &617 title: Git Reference description: Git references within a repository type: object @@ -89705,17 +90214,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *443 - - *444 - - *614 + - *445 + - *446 + - *616 responses: '200': description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: &616 + default: &618 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -89744,8 +90253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -89774,9 +90283,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -89802,9 +90311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *443 - - *444 - - *614 + - *445 + - *446 + - *616 requestBody: required: true content: @@ -89833,9 +90342,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 '422': *15 '409': *117 x-github: @@ -89853,9 +90362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *443 - - *444 - - *614 + - *445 + - *446 + - *616 responses: '204': description: Response @@ -89910,8 +90419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -89978,7 +90487,7 @@ paths: description: Response content: application/json: - schema: &618 + schema: &620 title: Git Tag description: Metadata for a Git tag type: object @@ -90034,7 +90543,7 @@ paths: - sha - type - url - verification: *617 + verification: *619 required: - sha - url @@ -90044,7 +90553,7 @@ paths: - tag - message examples: - default: &619 + default: &621 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -90117,8 +90626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *443 - - *444 + - *445 + - *446 - name: tag_sha in: path required: true @@ -90129,9 +90638,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: - default: *619 + default: *621 '404': *6 '409': *117 x-github: @@ -90155,8 +90664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -90230,7 +90739,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &622 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -90332,8 +90841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *443 - - *444 + - *445 + - *446 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -90356,7 +90865,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: default-response: summary: Default response @@ -90415,8 +90924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -90426,7 +90935,7 @@ paths: application/json: schema: type: array - items: &621 + items: &623 title: Webhook description: Webhooks for repositories. type: object @@ -90489,7 +90998,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &872 + last_response: &873 title: Hook Response type: object properties: @@ -90566,8 +91075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -90620,9 +91129,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: &622 + default: &624 value: type: Repository id: 12345678 @@ -90670,17 +91179,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 + - *445 + - *446 + - *339 responses: '200': description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 '404': *6 x-github: githubCloudOnly: false @@ -90700,9 +91209,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 + - *445 + - *446 + - *339 requestBody: required: true content: @@ -90747,9 +91256,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 '422': *15 '404': *6 x-github: @@ -90770,9 +91279,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 + - *445 + - *446 + - *339 responses: '204': description: Response @@ -90796,9 +91305,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 + - *445 + - *446 + - *339 responses: '200': description: Response @@ -90825,9 +91334,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 + - *445 + - *446 + - *339 requestBody: required: false content: @@ -90871,11 +91380,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 - - *17 + - *445 + - *446 - *339 + - *17 + - *340 responses: '200': description: Response @@ -90883,9 +91392,9 @@ paths: application/json: schema: type: array - items: *340 + items: *341 examples: - default: *341 + default: *342 '400': *14 '422': *15 x-github: @@ -90904,18 +91413,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 + - *445 + - *446 + - *339 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *343 + default: *344 '400': *14 '422': *15 x-github: @@ -90934,9 +91443,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 + - *445 + - *446 + - *339 - *16 responses: '202': *37 @@ -90959,9 +91468,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 + - *445 + - *446 + - *339 responses: '204': description: Response @@ -90986,9 +91495,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 + - *445 + - *446 + - *339 responses: '204': description: Response @@ -91011,8 +91520,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 + - *445 + - *446 responses: '200': description: Response if immutable releases are enabled @@ -91060,8 +91569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': *149 '409': *117 @@ -91081,8 +91590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': *149 '409': *117 @@ -91139,14 +91648,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &623 + schema: &625 title: Import description: A repository import from an external source. type: object @@ -91253,7 +91762,7 @@ paths: - html_url - authors_url examples: - default: &626 + default: &628 value: vcs: subversion use_lfs: true @@ -91269,7 +91778,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': &626 description: Unavailable due to service under maintenance. content: application/json: @@ -91298,8 +91807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -91347,7 +91856,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -91372,7 +91881,7 @@ paths: type: string '422': *15 '404': *6 - '503': *624 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91400,8 +91909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -91453,7 +91962,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: example-1: summary: Example 1 @@ -91501,7 +92010,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': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91524,12 +92033,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response - '503': *624 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91555,9 +92064,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 + - *445 + - *446 + - &804 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -91571,7 +92080,7 @@ paths: application/json: schema: type: array - items: &625 + items: &627 title: Porter Author description: Porter Author type: object @@ -91625,7 +92134,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': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91650,8 +92159,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 + - *445 + - *446 - name: author_id in: path required: true @@ -91681,7 +92190,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: default: value: @@ -91694,7 +92203,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *624 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91718,8 +92227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -91760,7 +92269,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *624 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91788,8 +92297,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 + - *445 + - *446 requestBody: required: true content: @@ -91816,11 +92325,11 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: - default: *626 + default: *628 '422': *15 - '503': *624 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91843,8 +92352,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 + - *445 + - *446 responses: '200': description: Response @@ -91852,8 +92361,8 @@ paths: application/json: schema: *20 examples: - default: *355 - '301': *449 + default: *356 + '301': *451 '404': *6 x-github: githubCloudOnly: false @@ -91873,8 +92382,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 + - *445 + - *446 responses: '200': description: Response @@ -91882,12 +92391,12 @@ paths: application/json: schema: anyOf: - - *357 + - *358 - type: object properties: {} additionalProperties: false examples: - default: &628 + default: &630 value: limit: collaborators_only origin: repository @@ -91912,13 +92421,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 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *627 + schema: *629 examples: default: summary: Example request body @@ -91930,9 +92439,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *628 + default: *630 '409': description: Response x-github: @@ -91954,8 +92463,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 + - *445 + - *446 responses: '204': description: Response @@ -91978,8 +92487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -91989,9 +92498,9 @@ paths: application/json: schema: type: array - items: *629 + items: *631 examples: - default: &796 + default: &797 value: - id: 1 repository: @@ -92122,9 +92631,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 + - *445 + - *446 + - *362 requestBody: required: false content: @@ -92153,7 +92662,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *631 examples: default: value: @@ -92284,9 +92793,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 + - *445 + - *446 + - *362 responses: '204': description: Response @@ -92317,8 +92826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *443 - - *444 + - *445 + - *446 - 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 +92875,7 @@ paths: required: false schema: type: string - - *365 + - *366 - name: sort description: What to sort results by. in: query @@ -92391,7 +92900,7 @@ paths: type: array items: *217 examples: - default: &638 + default: &640 value: - id: 1 node_id: MDU6SXNzdWUx @@ -92540,7 +93049,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *449 + '301': *451 '422': *15 '404': *6 x-github: @@ -92569,8 +93078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -92662,7 +93171,7 @@ paths: application/json: schema: *217 examples: - default: &635 + default: &637 value: id: 1 node_id: MDU6SXNzdWUx @@ -92819,7 +93328,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *630 + '410': *632 x-github: triggersNotification: true githubCloudOnly: false @@ -92847,8 +93356,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 + - *445 + - *446 - *239 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -92871,7 +93380,7 @@ paths: type: array items: *218 examples: - default: &637 + default: &639 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92929,8 +93438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '200': @@ -92939,7 +93448,7 @@ paths: application/json: schema: *218 examples: - default: &631 + default: &633 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92994,8 +93503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 requestBody: required: true @@ -93020,7 +93529,7 @@ paths: application/json: schema: *218 examples: - default: *631 + default: *633 '422': *15 x-github: githubCloudOnly: false @@ -93038,8 +93547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '204': @@ -93068,8 +93577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '200': @@ -93132,7 +93641,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *632 '422': *15 x-github: githubCloudOnly: false @@ -93149,8 +93658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '204': @@ -93158,7 +93667,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *632 '503': *190 x-github: githubCloudOnly: false @@ -93176,8 +93685,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 + - *445 + - *446 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -93204,9 +93713,9 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: *632 + default: *634 headers: Link: *45 '404': *6 @@ -93227,8 +93736,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 + - *445 + - *446 - *231 requestBody: required: true @@ -93261,16 +93770,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '201': description: Reaction created content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -93292,10 +93801,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 + - *445 + - *446 - *231 - - *633 + - *635 responses: '204': description: Response @@ -93315,8 +93824,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 + - *445 + - *446 - *17 - *19 responses: @@ -93326,7 +93835,7 @@ paths: application/json: schema: type: array - items: &634 + items: &636 title: Issue Event description: Issue Event type: object @@ -93666,8 +94175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *443 - - *444 + - *445 + - *446 - name: event_id in: path required: true @@ -93678,7 +94187,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: default: value: @@ -93871,7 +94380,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *630 + '410': *632 '403': *27 x-github: githubCloudOnly: false @@ -93905,9 +94414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *443 - - *444 - - &636 + - *445 + - *446 + - &638 name: issue_number description: The number that identifies the issue. in: path @@ -93932,7 +94441,7 @@ paths: examples: default: summary: Issue - value: *635 + value: *637 pinned_comment: summary: Issue with pinned comment value: @@ -94131,9 +94640,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 '304': *35 x-github: githubCloudOnly: false @@ -94158,9 +94667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *443 - - *444 - - *636 + - *445 + - *446 + - *638 requestBody: required: false content: @@ -94281,13 +94790,13 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 '422': *15 '503': *190 '403': *27 - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94305,9 +94814,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 + - *445 + - *446 + - *638 requestBody: required: false content: @@ -94335,7 +94844,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94351,9 +94860,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 + - *445 + - *446 + - *638 requestBody: content: application/json: @@ -94380,7 +94889,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94402,9 +94911,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 + - *445 + - *446 + - *638 - name: assignee in: path required: true @@ -94444,9 +94953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *443 - - *444 - - *636 + - *445 + - *446 + - *638 - *222 - *17 - *19 @@ -94459,11 +94968,11 @@ paths: type: array items: *218 examples: - default: *637 + default: *639 headers: Link: *45 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94492,9 +95001,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -94518,14 +95027,14 @@ paths: application/json: schema: *218 examples: - default: *631 + default: *633 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *630 + '410': *632 '422': *15 '404': *6 x-github: @@ -94553,9 +95062,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 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -94567,12 +95076,12 @@ paths: type: array items: *217 examples: - default: *638 + default: *640 headers: Link: *45 - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94600,9 +95109,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -94626,15 +95135,15 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *449 + '301': *451 '403': *27 - '410': *630 + '410': *632 '422': *15 '404': *6 x-github: @@ -94665,9 +95174,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 + - *445 + - *446 + - *638 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -94681,13 +95190,13 @@ paths: application/json: schema: *217 examples: - default: *635 - '301': *449 + default: *637 + '301': *451 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *632 x-github: triggersNotification: true githubCloudOnly: false @@ -94713,9 +95222,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 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -94727,12 +95236,12 @@ paths: type: array items: *217 examples: - default: *638 + default: *640 headers: Link: *45 - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94749,9 +95258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *443 - - *444 - - *636 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -94765,7 +95274,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &640 + - &642 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -94814,7 +95323,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &643 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -94942,7 +95451,7 @@ paths: - performed_via_github_app - assignee - assigner - - &642 + - &644 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -94988,7 +95497,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &643 + - &645 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -95034,7 +95543,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &646 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -95083,7 +95592,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &647 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -95125,7 +95634,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &648 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -95167,7 +95676,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &649 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -95223,7 +95732,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &650 title: Locked Issue Event description: Locked Issue Event type: object @@ -95268,7 +95777,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &651 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -95329,7 +95838,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &652 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -95390,7 +95899,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &653 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -95451,7 +95960,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &654 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -95544,7 +96053,7 @@ paths: color: red headers: Link: *45 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95561,9 +96070,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 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -95575,7 +96084,7 @@ paths: type: array items: *216 examples: - default: &639 + default: &641 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95593,9 +96102,9 @@ paths: default: false headers: Link: *45 - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95611,9 +96120,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 + - *445 + - *446 + - *638 requestBody: required: false content: @@ -95658,10 +96167,10 @@ paths: type: array items: *216 examples: - default: *639 - '301': *449 + default: *641 + '301': *451 '404': *6 - '410': *630 + '410': *632 '422': *15 x-github: githubCloudOnly: false @@ -95678,9 +96187,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 + - *445 + - *446 + - *638 requestBody: required: false content: @@ -95742,10 +96251,10 @@ paths: type: array items: *216 examples: - default: *639 - '301': *449 + default: *641 + '301': *451 '404': *6 - '410': *630 + '410': *632 '422': *15 x-github: githubCloudOnly: false @@ -95762,15 +96271,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 + - *445 + - *446 + - *638 responses: '204': description: Response - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95789,9 +96298,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 + - *445 + - *446 + - *638 - name: name in: path required: true @@ -95815,9 +96324,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95837,9 +96346,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *443 - - *444 - - *636 + - *445 + - *446 + - *638 requestBody: required: false content: @@ -95868,7 +96377,7 @@ paths: '204': description: Response '403': *27 - '410': *630 + '410': *632 '404': *6 '422': *15 x-github: @@ -95886,9 +96395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *443 - - *444 - - *636 + - *445 + - *446 + - *638 responses: '204': description: Response @@ -95918,9 +96427,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 + - *445 + - *446 + - *638 responses: '200': description: Response @@ -95928,10 +96437,10 @@ paths: application/json: schema: *217 examples: - default: *635 - '301': *449 + default: *637 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95948,9 +96457,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 + - *445 + - *446 + - *638 - 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 +96485,13 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: *632 + default: *634 headers: Link: *45 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96000,9 +96509,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -96034,16 +96543,16 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '201': description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -96065,10 +96574,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *443 - - *444 - - *636 - - *633 + - *445 + - *446 + - *638 + - *635 responses: '204': description: Response @@ -96097,9 +96606,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -96123,7 +96632,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -96156,9 +96665,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 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -96170,11 +96679,11 @@ paths: type: array items: *217 examples: - default: *638 + default: *640 headers: Link: *45 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96202,9 +96711,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -96233,14 +96742,14 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *630 + '410': *632 '422': *15 '404': *6 x-github: @@ -96260,9 +96769,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -96295,7 +96804,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 '403': *27 '404': *6 '422': *7 @@ -96317,9 +96826,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 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -96334,8 +96843,6 @@ paths: description: Timeline Event type: object anyOf: - - *640 - - *641 - *642 - *643 - *644 @@ -96347,6 +96854,8 @@ paths: - *650 - *651 - *652 + - *653 + - *654 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -96403,7 +96912,7 @@ paths: pin: anyOf: - type: 'null' - - *653 + - *655 required: - event - actor @@ -96679,7 +97188,7 @@ paths: type: string comments: type: array - items: &674 + items: &676 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -96920,7 +97429,7 @@ paths: type: string comments: type: array - items: *554 + items: *556 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -97195,7 +97704,7 @@ paths: headers: Link: *45 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97212,8 +97721,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 + - *445 + - *446 - *17 - *19 responses: @@ -97223,7 +97732,7 @@ paths: application/json: schema: type: array - items: &654 + items: &656 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -97291,8 +97800,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 + - *445 + - *446 requestBody: required: true content: @@ -97328,9 +97837,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *656 examples: - default: &655 + default: &657 value: id: 1 key: ssh-rsa AAA... @@ -97364,9 +97873,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 + - *445 + - *446 + - &658 name: key_id description: The unique identifier of the key. in: path @@ -97378,9 +97887,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *656 examples: - default: *655 + default: *657 '404': *6 x-github: githubCloudOnly: false @@ -97398,9 +97907,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 + - *445 + - *446 + - *658 responses: '204': description: Response @@ -97420,8 +97929,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 + - *445 + - *446 - *17 - *19 responses: @@ -97433,7 +97942,7 @@ paths: type: array items: *216 examples: - default: *639 + default: *641 headers: Link: *45 '404': *6 @@ -97454,8 +97963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -97493,7 +98002,7 @@ paths: application/json: schema: *216 examples: - default: &657 + default: &659 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -97525,8 +98034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *443 - - *444 + - *445 + - *446 - name: name in: path required: true @@ -97539,7 +98048,7 @@ paths: application/json: schema: *216 examples: - default: *657 + default: *659 '404': *6 x-github: githubCloudOnly: false @@ -97556,8 +98065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *443 - - *444 + - *445 + - *446 - name: name in: path required: true @@ -97622,8 +98131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *443 - - *444 + - *445 + - *446 - name: name in: path required: true @@ -97649,8 +98158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -97686,8 +98195,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 + - *445 + - *446 responses: '202': *37 '403': @@ -97715,8 +98224,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 + - *445 + - *446 responses: '204': description: Response @@ -97742,9 +98251,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 + - *445 + - *446 + - *531 responses: '200': description: Response @@ -97891,8 +98400,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 + - *445 + - *446 requestBody: required: true content: @@ -97957,8 +98466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -97992,9 +98501,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *557 + schema: *559 examples: - default: *658 + default: *660 '204': description: Response when already merged '404': @@ -98019,8 +98528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *443 - - *444 + - *445 + - *446 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -98061,7 +98570,7 @@ paths: application/json: schema: type: array - items: *396 + items: *397 examples: default: value: @@ -98117,8 +98626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -98158,9 +98667,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: &659 + default: &661 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 +98728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *443 - - *444 - - &660 + - *445 + - *446 + - &662 name: milestone_number description: The number that identifies the milestone. in: path @@ -98233,9 +98742,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: *659 + default: *661 '404': *6 x-github: githubCloudOnly: false @@ -98252,9 +98761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *443 - - *444 - - *660 + - *445 + - *446 + - *662 requestBody: required: false content: @@ -98292,9 +98801,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: *659 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98310,9 +98819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *443 - - *444 - - *660 + - *445 + - *446 + - *662 responses: '204': description: Response @@ -98333,9 +98842,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 + - *445 + - *446 + - *662 - *17 - *19 responses: @@ -98347,7 +98856,7 @@ paths: type: array items: *216 examples: - default: *639 + default: *641 headers: Link: *45 x-github: @@ -98366,12 +98875,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 - - *222 + - *445 + - *446 - *663 + - *664 + - *222 + - *665 - *17 - *19 responses: @@ -98383,7 +98892,7 @@ paths: type: array items: *242 examples: - default: *664 + default: *666 headers: Link: *45 x-github: @@ -98407,8 +98916,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 + - *445 + - *446 requestBody: required: false content: @@ -98466,14 +98975,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &665 + schema: &667 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -98617,7 +99126,7 @@ paths: - custom_404 - public examples: - default: &666 + default: &668 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -98658,8 +99167,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 + - *445 + - *446 requestBody: required: true content: @@ -98714,9 +99223,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: *666 + default: *668 '422': *15 '409': *117 x-github: @@ -98739,8 +99248,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 + - *445 + - *446 requestBody: required: true content: @@ -98848,8 +99357,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 + - *445 + - *446 responses: '204': description: Response @@ -98875,8 +99384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -98886,7 +99395,7 @@ paths: application/json: schema: type: array - items: &667 + items: &669 title: Page Build description: Page Build type: object @@ -98978,8 +99487,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 + - *445 + - *446 responses: '201': description: Response @@ -99026,16 +99535,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: &668 + default: &670 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -99083,8 +99592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *443 - - *444 + - *445 + - *446 - name: build_id in: path required: true @@ -99095,9 +99604,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: *668 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99117,8 +99626,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 + - *445 + - *446 requestBody: required: true content: @@ -99226,9 +99735,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 + - *445 + - *446 + - &671 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -99286,9 +99795,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 + - *445 + - *446 + - *671 responses: '204': *149 '404': *6 @@ -99315,8 +99824,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 + - *445 + - *446 responses: '200': description: Response @@ -99611,8 +100120,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 + - *445 + - *446 responses: '200': description: Private vulnerability reporting status @@ -99649,8 +100158,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 + - *445 + - *446 responses: '204': *149 '422': *14 @@ -99671,8 +100180,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 + - *445 + - *446 responses: '204': *149 '422': *14 @@ -99694,8 +100203,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 + - *445 + - *446 responses: '200': description: Response @@ -99705,7 +100214,7 @@ paths: type: array items: *150 examples: - default: *670 + default: *672 '403': *27 '404': *6 x-github: @@ -99727,8 +100236,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 + - *445 + - *446 requestBody: required: true content: @@ -99744,7 +100253,7 @@ paths: required: - properties examples: - default: *671 + default: *673 responses: '204': description: No Content when custom property values are successfully created @@ -99782,8 +100291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99843,9 +100352,9 @@ paths: application/json: schema: type: array - items: *561 + items: *563 examples: - default: *672 + default: *674 headers: Link: *45 '304': *35 @@ -99877,8 +100386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -99945,7 +100454,7 @@ paths: description: Response content: application/json: - schema: &676 + schema: &678 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -100074,7 +100583,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *397 active_lock_reason: type: - string @@ -100129,7 +100638,7 @@ paths: type: - array - 'null' - items: *375 + items: *376 head: type: object properties: @@ -100167,14 +100676,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: *398 + commits: *398 + statuses: *398 + html: *398 + issue: *398 + review_comments: *398 + review_comment: *398 + self: *398 required: - comments - commits @@ -100185,7 +100694,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: *673 + auto_merge: *675 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -100287,7 +100796,7 @@ paths: - merged_by - review_comments examples: - default: &677 + default: &679 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -100814,8 +101323,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 + - *445 + - *446 - name: sort in: query required: false @@ -100844,9 +101353,9 @@ paths: application/json: schema: type: array - items: *674 + items: *676 examples: - default: &679 + default: &681 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100923,17 +101432,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 + - *445 + - *446 - *231 responses: '200': description: Response content: application/json: - schema: *674 + schema: *676 examples: - default: &675 + default: &677 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -101008,8 +101517,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 + - *445 + - *446 - *231 requestBody: required: true @@ -101032,9 +101541,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *676 examples: - default: *675 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101050,8 +101559,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 + - *445 + - *446 - *231 responses: '204': @@ -101073,8 +101582,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 + - *445 + - *446 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -101101,9 +101610,9 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: *632 + default: *634 headers: Link: *45 '404': *6 @@ -101124,8 +101633,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 + - *445 + - *446 - *231 requestBody: required: true @@ -101158,16 +101667,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '201': description: Reaction created content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -101189,10 +101698,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 + - *445 + - *446 - *231 - - *633 + - *635 responses: '204': description: Response @@ -101235,9 +101744,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 + - *445 + - *446 + - &680 name: pull_number description: The number that identifies the pull request. in: path @@ -101250,9 +101759,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *676 + schema: *678 examples: - default: *677 + default: *679 '304': *35 '404': *6 '406': @@ -101287,9 +101796,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 + - *445 + - *446 + - *680 requestBody: required: false content: @@ -101331,9 +101840,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *678 examples: - default: *677 + default: *679 '422': *15 '403': *27 x-github: @@ -101355,9 +101864,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 + - *445 + - *446 + - *680 requestBody: required: true content: @@ -101418,17 +101927,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '401': *23 '403': *27 '404': *6 @@ -101458,9 +101967,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 + - *445 + - *446 + - *680 - *239 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -101481,9 +101990,9 @@ paths: application/json: schema: type: array - items: *674 + items: *676 examples: - default: *679 + default: *681 headers: Link: *45 x-github: @@ -101516,9 +102025,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 + - *445 + - *446 + - *680 requestBody: required: true content: @@ -101624,7 +102133,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *676 examples: example-for-a-multi-line-comment: value: @@ -101712,9 +102221,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 + - *445 + - *446 + - *680 - *231 requestBody: required: true @@ -101737,7 +102246,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *676 examples: default: value: @@ -101823,9 +102332,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 + - *445 + - *446 + - *680 - *17 - *19 responses: @@ -101835,9 +102344,9 @@ paths: application/json: schema: type: array - items: *557 + items: *559 examples: - default: *680 + default: *682 headers: Link: *45 x-github: @@ -101867,9 +102376,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 + - *445 + - *446 + - *680 - *17 - *19 responses: @@ -101879,7 +102388,7 @@ paths: application/json: schema: type: array - items: *568 + items: *570 examples: default: value: @@ -101917,9 +102426,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 + - *445 + - *446 + - *680 responses: '204': description: Response if pull request has been merged @@ -101942,9 +102451,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 + - *445 + - *446 + - *680 requestBody: required: false content: @@ -102056,9 +102565,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 + - *445 + - *446 + - *680 responses: '200': description: Response @@ -102133,9 +102642,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 + - *445 + - *446 + - *680 requestBody: required: false content: @@ -102172,7 +102681,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -102708,9 +103217,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 + - *445 + - *446 + - *680 requestBody: required: true content: @@ -102744,7 +103253,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -103249,9 +103758,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 + - *445 + - *446 + - *680 - *17 - *19 responses: @@ -103261,7 +103770,7 @@ paths: application/json: schema: type: array - items: &681 + items: &683 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -103417,9 +103926,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 + - *445 + - *446 + - *680 requestBody: required: false content: @@ -103509,9 +104018,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: &683 + default: &685 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103574,10 +104083,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 + - *445 + - *446 + - *680 + - &684 name: review_id description: The unique identifier of the review. in: path @@ -103589,9 +104098,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: &684 + default: &686 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103650,10 +104159,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 + - *445 + - *446 + - *680 + - *684 requestBody: required: true content: @@ -103676,7 +104185,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: default: value: @@ -103738,18 +104247,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 + - *445 + - *446 + - *680 + - *684 responses: '200': description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: *683 + default: *685 '422': *7 '404': *6 x-github: @@ -103776,10 +104285,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 + - *445 + - *446 + - *680 + - *684 - *17 - *19 responses: @@ -103877,9 +104386,9 @@ paths: _links: type: object properties: - self: *397 - html: *397 - pull_request: *397 + self: *398 + html: *398 + pull_request: *398 required: - self - html @@ -104037,10 +104546,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 + - *445 + - *446 + - *680 + - *684 requestBody: required: true content: @@ -104069,7 +104578,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: default: value: @@ -104132,10 +104641,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 + - *445 + - *446 + - *680 + - *684 requestBody: required: true content: @@ -104170,9 +104679,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: *684 + default: *686 '404': *6 '422': *7 '403': *27 @@ -104194,9 +104703,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 + - *445 + - *446 + - *680 requestBody: required: false content: @@ -104260,8 +104769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *443 - - *444 + - *445 + - *446 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -104274,9 +104783,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *687 examples: - default: &686 + default: &688 value: type: file encoding: base64 @@ -104318,8 +104827,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 + - *445 + - *446 - name: dir description: The alternate path to look for a README file in: path @@ -104339,9 +104848,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *687 examples: - default: *686 + default: *688 '404': *6 '422': *15 x-github: @@ -104363,8 +104872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -104374,7 +104883,7 @@ paths: application/json: schema: type: array - items: *687 + items: *689 examples: default: value: @@ -104468,8 +104977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -104545,9 +105054,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: &691 + default: &693 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 +105161,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 + - *445 + - *446 + - &691 name: asset_id description: The unique identifier of the asset. in: path @@ -104666,9 +105175,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *690 examples: - default: &690 + default: &692 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 +105212,7 @@ paths: type: User site_admin: false '404': *6 - '302': *570 + '302': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104719,9 +105228,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 + - *445 + - *446 + - *691 requestBody: required: false content: @@ -104750,9 +105259,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *690 examples: - default: *690 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104768,9 +105277,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 + - *445 + - *446 + - *691 responses: '204': description: Response @@ -104794,8 +105303,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 + - *445 + - *446 requestBody: required: true content: @@ -104881,16 +105390,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *691 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104907,8 +105416,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 + - *445 + - *446 - name: tag description: tag parameter in: path @@ -104921,9 +105430,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *691 + default: *693 '404': *6 x-github: githubCloudOnly: false @@ -104945,9 +105454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *443 - - *444 - - &692 + - *445 + - *446 + - &694 name: release_id description: The unique identifier of the release. in: path @@ -104961,9 +105470,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: *689 examples: - default: *691 + default: *693 '401': description: Unauthorized x-github: @@ -104981,9 +105490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *443 - - *444 - - *692 + - *445 + - *446 + - *694 requestBody: required: false content: @@ -105047,9 +105556,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *691 + default: *693 '404': description: Not Found if the discussion category name is invalid content: @@ -105070,9 +105579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *443 - - *444 - - *692 + - *445 + - *446 + - *694 responses: '204': description: Response @@ -105092,9 +105601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *443 - - *444 - - *692 + - *445 + - *446 + - *694 - *17 - *19 responses: @@ -105104,7 +105613,7 @@ paths: application/json: schema: type: array - items: *688 + items: *690 examples: default: value: @@ -105186,9 +105695,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 + - *445 + - *446 + - *694 - name: name in: query required: true @@ -105214,7 +105723,7 @@ paths: description: Response for successful upload content: application/json: - schema: *688 + schema: *690 examples: response-for-successful-upload: value: @@ -105269,9 +105778,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 + - *445 + - *446 + - *694 - 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 +105804,9 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: *632 + default: *634 headers: Link: *45 '404': *6 @@ -105318,9 +105827,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 + - *445 + - *446 + - *694 requestBody: required: true content: @@ -105350,16 +105859,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '201': description: Reaction created content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -105381,10 +105890,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 + - *445 + - *446 + - *694 + - *635 responses: '204': description: Response @@ -105408,9 +105917,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 + - *445 + - *446 + - *498 - *17 - *19 responses: @@ -105427,7 +105936,7 @@ paths: oneOf: - allOf: - *164 - - &693 + - &695 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -105448,67 +105957,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *165 - - *693 + - *695 - allOf: - *166 - - *693 + - *695 - allOf: - *167 - - *693 + - *695 - allOf: - - *694 - - *693 + - *696 + - *695 - allOf: - *168 - - *693 + - *695 - allOf: - *169 - - *693 + - *695 - allOf: - *170 - - *693 + - *695 - allOf: - *171 - - *693 + - *695 - allOf: - *172 - - *693 + - *695 - allOf: - *173 - - *693 + - *695 - allOf: - *174 - - *693 + - *695 - allOf: - *175 - - *693 + - *695 - allOf: - *176 - - *693 + - *695 - allOf: - *177 - - *693 + - *695 - allOf: - *178 - - *693 + - *695 - allOf: - *179 - - *693 + - *695 - allOf: - *180 - - *693 + - *695 - allOf: - *181 - - *693 + - *695 - allOf: - *182 - - *693 + - *695 - allOf: - *183 - - *693 + - *695 - allOf: - *184 - - *693 + - *695 examples: default: value: @@ -105547,8 +106056,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 - name: includes_parents @@ -105559,7 +106068,7 @@ paths: schema: type: boolean default: true - - *695 + - *697 responses: '200': description: Response @@ -105614,8 +106123,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *445 + - *446 requestBody: description: Request body required: true @@ -105644,7 +106153,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *696 + items: *698 required: - name - enforcement @@ -105677,7 +106186,7 @@ paths: application/json: schema: *185 examples: - default: &705 + default: &707 value: id: 42 name: super cool ruleset @@ -105710,6 +106219,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 +106234,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 - - *103 - - *698 + - *445 + - *446 - *699 + - *103 + - *700 + - *701 - *17 - *19 responses: @@ -105737,9 +106247,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *702 examples: - default: *701 + default: *703 '404': *6 '500': *38 x-github: @@ -105760,17 +106270,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 + - *445 + - *446 + - *704 responses: '200': description: Response content: application/json: - schema: *703 + schema: *705 examples: - default: *704 + default: *706 '404': *6 '500': *38 x-github: @@ -105798,8 +106308,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105821,7 +106331,7 @@ paths: application/json: schema: *185 examples: - default: *705 + default: *707 '404': *6 '500': *38 put: @@ -105839,8 +106349,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105874,7 +106384,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *696 + items: *698 examples: default: value: @@ -105904,8 +106414,9 @@ paths: application/json: schema: *185 examples: - default: *705 + default: *707 '404': *6 + '422': *15 '500': *38 delete: summary: Delete a repository ruleset @@ -105922,8 +106433,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105946,8 +106457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 - name: ruleset_id @@ -105965,7 +106476,7 @@ paths: type: array items: *189 examples: - default: *413 + default: *414 '404': *6 '500': *38 x-github: @@ -105984,8 +106495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *443 - - *444 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -106003,7 +106514,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *415 examples: default: value: @@ -106058,22 +106569,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 + - *445 + - *446 - *416 - *417 - *418 - *419 + - *420 - *108 - *19 - *17 - - *706 - - *707 - - *420 + - *708 + - *709 - *421 - *422 - *423 + - *424 responses: '200': description: Response @@ -106081,7 +106592,7 @@ paths: application/json: schema: type: array - items: &711 + items: &713 type: object properties: number: *124 @@ -106097,8 +106608,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *708 - resolution: *709 + state: *710 + resolution: *711 resolved_at: type: - string @@ -106192,7 +106703,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *710 + - *712 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -106337,16 +106848,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 + - *445 + - *446 + - *525 + - *424 responses: '200': description: Response content: application/json: - schema: *711 + schema: *713 examples: default: value: @@ -106400,9 +106911,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 + - *445 + - *446 + - *525 requestBody: required: true content: @@ -106410,8 +106921,8 @@ paths: schema: type: object properties: - state: *708 - resolution: *709 + state: *710 + resolution: *711 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -106447,7 +106958,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *713 examples: default: value: @@ -106542,9 +107053,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 + - *445 + - *446 + - *525 - *19 - *17 responses: @@ -106555,7 +107066,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &892 + items: &893 type: object properties: type: @@ -106582,8 +107093,6 @@ paths: - commit details: oneOf: - - *712 - - *713 - *714 - *715 - *716 @@ -106595,6 +107104,8 @@ paths: - *722 - *723 - *724 + - *725 + - *726 examples: default: value: @@ -106680,8 +107191,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 + - *445 + - *446 requestBody: required: true content: @@ -106689,14 +107200,14 @@ paths: schema: type: object properties: - reason: &726 + reason: &728 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *725 + placeholder_id: *727 required: - reason - placeholder_id @@ -106713,7 +107224,7 @@ paths: schema: type: object properties: - reason: *726 + reason: *728 expire_at: type: - string @@ -106760,8 +107271,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 + - *445 + - *446 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106776,7 +107287,7 @@ paths: properties: incremental_scans: type: array - items: &727 + items: &729 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106804,15 +107315,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *727 + items: *729 backfill_scans: type: array - items: *727 + items: *729 custom_pattern_backfill_scans: type: array items: allOf: - - *727 + - *729 - type: object properties: pattern_name: @@ -106882,8 +107393,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 + - *445 + - *446 - *108 - name: sort description: The property to sort the results by. @@ -106927,9 +107438,9 @@ paths: application/json: schema: type: array - items: *728 + items: *730 examples: - default: *729 + default: *731 '400': *14 '404': *6 x-github: @@ -106952,8 +107463,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 + - *445 + - *446 requestBody: required: true content: @@ -107033,7 +107544,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *429 required: - login - type @@ -107123,9 +107634,9 @@ paths: description: Response content: application/json: - schema: *728 + schema: *730 examples: - default: &731 + default: &733 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -107358,8 +107869,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 + - *445 + - *446 requestBody: required: true content: @@ -107472,7 +107983,7 @@ paths: description: Response content: application/json: - schema: *728 + schema: *730 examples: default: value: @@ -107619,17 +108130,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 + - *445 + - *446 + - *732 responses: '200': description: Response content: application/json: - schema: *728 + schema: *730 examples: - default: *731 + default: *733 '403': *27 '404': *6 x-github: @@ -107653,9 +108164,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 + - *445 + - *446 + - *732 requestBody: required: true content: @@ -107735,7 +108246,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *429 required: - login - type @@ -107826,10 +108337,10 @@ paths: description: Response content: application/json: - schema: *728 + schema: *730 examples: - default: *731 - add_credit: *731 + default: *733 + add_credit: *733 '403': *27 '404': *6 '422': @@ -107867,9 +108378,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 + - *445 + - *446 + - *732 responses: '202': *37 '400': *14 @@ -107896,17 +108407,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 + - *445 + - *446 + - *732 responses: '202': description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *450 + default: *452 '400': *14 '422': *15 '403': *27 @@ -107932,8 +108443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -108029,8 +108540,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 + - *445 + - *446 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -108039,7 +108550,7 @@ paths: application/json: schema: type: array - items: &732 + items: &734 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -108072,8 +108583,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 + - *445 + - *446 responses: '200': description: Response @@ -108151,8 +108662,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 + - *445 + - *446 responses: '200': description: Response @@ -108246,8 +108757,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 + - *445 + - *446 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -108401,8 +108912,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 + - *445 + - *446 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -108412,7 +108923,7 @@ paths: application/json: schema: type: array - items: *732 + items: *734 examples: default: value: @@ -108445,8 +108956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *443 - - *444 + - *445 + - *446 - name: sha in: path required: true @@ -108502,7 +109013,7 @@ paths: description: Response content: application/json: - schema: *733 + schema: *735 examples: default: value: @@ -108556,8 +109067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -108589,14 +109100,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &734 + schema: &736 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -108669,8 +109180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -108696,7 +109207,7 @@ paths: description: Response content: application/json: - schema: *734 + schema: *736 examples: default: value: @@ -108723,8 +109234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -108744,8 +109255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -108810,165 +109321,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 +109338,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 + - *445 + - *446 - name: ref in: path required: true @@ -109023,8 +109375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -109036,7 +109388,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 headers: Link: *45 '404': *6 @@ -109056,8 +109408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *443 - - *444 + - *445 + - *446 - *19 - *17 responses: @@ -109065,7 +109417,7 @@ paths: description: Response content: application/json: - schema: &736 + schema: &737 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -109077,7 +109429,7 @@ paths: required: - names examples: - default: &737 + default: &738 value: names: - octocat @@ -109100,8 +109452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -109132,9 +109484,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *737 examples: - default: *737 + default: *738 '404': *6 '422': *7 x-github: @@ -109155,9 +109507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *443 - - *444 - - &738 + - *445 + - *446 + - &739 name: per description: The time frame to display results for. in: query @@ -109188,7 +109540,7 @@ paths: - 128 clones: type: array - items: &739 + items: &740 title: Traffic type: object properties: @@ -109275,8 +109627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -109370,8 +109722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -109434,9 +109786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *443 - - *444 - - *738 + - *445 + - *446 + - *739 responses: '200': description: Response @@ -109457,7 +109809,7 @@ paths: - 3782 views: type: array - items: *739 + items: *740 required: - uniques - count @@ -109534,8 +109886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -109809,8 +110161,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 + - *445 + - *446 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -109833,8 +110185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -109856,8 +110208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -109883,8 +110235,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 + - *445 + - *446 - name: ref in: path required: true @@ -109976,9 +110328,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *450 + default: *452 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -110129,7 +110481,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &747 + - &748 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -110139,7 +110491,7 @@ paths: type: string examples: - members - - &752 + - &753 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -110151,7 +110503,7 @@ paths: format: int32 examples: - 1 - - &753 + - &754 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -110195,7 +110547,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &742 + items: &743 allOf: - type: object required: @@ -110277,7 +110629,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: &755 type: object description: The metadata associated with the creation/updates to the user. @@ -110342,30 +110694,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &743 + '400': &744 description: Bad request content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 - '401': *741 - '403': &744 + schema: *741 + '401': *742 + '403': &745 description: Permission denied - '429': &745 + '429': &746 description: Too many requests content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 - '500': &746 + schema: *741 + '500': &747 description: Internal server error content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 + schema: *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110389,7 +110741,7 @@ paths: required: true content: application/json: - schema: &750 + schema: &751 type: object required: - schemas @@ -110453,9 +110805,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *742 + schema: *743 examples: - group: &748 + group: &749 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -110474,13 +110826,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': *744 + '401': *742 + '403': *745 + '409': &752 description: Duplicate record detected - '429': *745 - '500': *746 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110497,7 +110849,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 + - &750 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -110506,22 +110858,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *747 + - *748 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *742 + schema: *743 examples: - default: *748 - '400': *743 - '401': *741 - '403': *744 + default: *749 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '429': *745 - '500': *746 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110540,13 +110892,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 + - *750 - *39 requestBody: required: true content: application/json: - schema: *750 + schema: *751 examples: group: summary: Group @@ -110572,17 +110924,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *742 + schema: *743 examples: - group: *748 - groupWithMembers: *748 - '400': *743 - '401': *741 - '403': *744 + group: *749 + groupWithMembers: *749 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *752 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110606,13 +110958,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 + - *750 - *39 requestBody: required: true content: application/json: - schema: &761 + schema: &762 type: object required: - Operations @@ -110672,17 +111024,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *742 + schema: *743 examples: - updateGroup: *748 - addMembers: *748 - '400': *743 - '401': *741 - '403': *744 + updateGroup: *749 + addMembers: *749 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *752 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110698,17 +111050,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 + - *750 - *39 responses: '204': description: Group was deleted, no content - '400': *743 - '401': *741 - '403': *744 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '429': *745 - '500': *746 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110742,8 +111094,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *752 - *753 + - *754 - *39 responses: '200': @@ -110777,7 +111129,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &756 + items: &757 allOf: - type: object required: @@ -110869,7 +111221,7 @@ paths: address. examples: - true - roles: &755 + roles: &756 type: array description: The roles assigned to the user. items: @@ -110928,7 +111280,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *754 + meta: *755 startIndex: type: integer description: A starting index for the returned page @@ -110967,11 +111319,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *743 - '401': *741 - '403': *744 - '429': *745 - '500': *746 + '400': *744 + '401': *742 + '403': *745 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110995,7 +111347,7 @@ paths: required: true content: application/json: - schema: &759 + schema: &760 type: object required: - schemas @@ -111088,9 +111440,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *755 + roles: *756 examples: - user: &760 + user: &761 summary: User value: schemas: @@ -111137,9 +111489,9 @@ paths: description: User has been created content: application/scim+json: - schema: *756 + schema: *757 examples: - user: &757 + user: &758 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111165,13 +111517,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: *758 + '400': *744 + '401': *742 + '403': *745 + '409': *752 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111188,7 +111540,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 + - &759 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -111201,15 +111553,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *756 + schema: *757 examples: - default: *757 - '400': *743 - '401': *741 - '403': *744 + default: *758 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '429': *745 - '500': *746 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111223,7 +111575,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 +111612,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 + - *759 - *39 requestBody: required: true content: application/json: - schema: *759 + schema: *760 examples: - user: *760 + user: *761 responses: '200': description: User was updated content: application/scim+json: - schema: *756 + schema: *757 examples: - user: *757 - '400': *743 - '401': *741 - '403': *744 + user: *758 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *752 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111271,15 +111652,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 +111676,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 + - *759 - *39 requestBody: required: true content: application/json: - schema: *761 + schema: *762 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -111335,18 +111722,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *756 + schema: *757 examples: - userMultiValuedProperties: *757 - userSingleValuedProperties: *757 - disableUser: *757 - '400': *743 - '401': *741 - '403': *744 + userMultiValuedProperties: *758 + userSingleValuedProperties: *758 + disableUser: *758 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *752 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111366,17 +111753,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 + - *759 - *39 responses: '204': description: User was deleted, no content - '400': *743 - '401': *741 - '403': *744 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '429': *745 - '500': *746 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111467,7 +111854,7 @@ paths: - 1 Resources: type: array - items: &762 + items: &763 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -111714,22 +112101,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': &764 description: Resource not found content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 - '403': &764 + schema: *741 + '403': &765 description: Forbidden content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 - '400': *743 - '429': *745 + schema: *741 + '400': *744 + '429': *746 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -111755,9 +112142,9 @@ paths: description: Response content: application/scim+json: - schema: *762 + schema: *763 examples: - default: &765 + default: &766 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111780,17 +112167,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': *764 + '403': *765 + '500': *747 '409': description: Conflict content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 - '400': *743 + schema: *741 + '400': *744 requestBody: required: true content: @@ -111890,17 +112277,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *85 - - *758 + - *759 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *763 examples: - default: *765 - '404': *763 - '403': *764 + default: *766 + '404': *764 + '403': *765 '304': *35 x-github: githubCloudOnly: true @@ -111924,18 +112311,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *85 - - *758 + - *759 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *763 examples: - default: *765 + default: *766 '304': *35 - '404': *763 - '403': *764 + '404': *764 + '403': *765 requestBody: required: true content: @@ -112050,19 +112437,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *85 - - *758 + - *759 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *763 examples: - default: *765 + default: *766 '304': *35 - '404': *763 - '403': *764 - '400': *743 + '404': *764 + '403': *765 + '400': *744 '429': description: Response content: @@ -112158,12 +112545,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *85 - - *758 + - *759 responses: '204': description: Response - '404': *763 - '403': *764 + '404': *764 + '403': *765 '304': *35 x-github: githubCloudOnly: true @@ -112297,7 +112684,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &766 + text_matches: &767 title: Search Result Text Matches type: array items: @@ -112461,7 +112848,7 @@ paths: enum: - author-date - committer-date - - &767 + - &768 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 +112917,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *496 comment_count: type: integer message: @@ -112549,7 +112936,7 @@ paths: url: type: string format: uri - verification: *617 + verification: *619 required: - author - committer @@ -112564,7 +112951,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *496 parents: type: array items: @@ -112581,7 +112968,7 @@ paths: type: number node_id: type: string - text_matches: *766 + text_matches: *767 required: - sha - node_id @@ -112774,7 +113161,7 @@ paths: - interactions - created - updated - - *767 + - *768 - *17 - *19 - name: advanced_search @@ -112871,11 +113258,11 @@ paths: type: - string - 'null' - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: type: string state_reason: @@ -112889,7 +113276,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *397 comments: type: integer created_at: @@ -112903,7 +113290,7 @@ paths: - string - 'null' format: date-time - text_matches: *766 + text_matches: *767 pull_request: type: object properties: @@ -112952,7 +113339,7 @@ paths: timeline_url: type: string format: uri - type: *362 + type: *363 performed_via_github_app: anyOf: - type: 'null' @@ -113130,7 +113517,7 @@ paths: enum: - created - updated - - *767 + - *768 - *17 - *19 responses: @@ -113175,7 +113562,7 @@ paths: - 'null' score: type: number - text_matches: *766 + text_matches: *767 required: - id - node_id @@ -113261,7 +113648,7 @@ paths: - forks - help-wanted-issues - updated - - *767 + - *768 - *17 - *19 responses: @@ -113507,7 +113894,7 @@ paths: - admin - pull - push - text_matches: *766 + text_matches: *767 temp_clone_token: type: string allow_merge_commit: @@ -113816,7 +114203,7 @@ paths: - string - 'null' format: uri - text_matches: *766 + text_matches: *767 related: type: - array @@ -114011,7 +114398,7 @@ paths: - followers - repositories - joined - - *767 + - *768 - *17 - *19 responses: @@ -114121,7 +114508,7 @@ paths: type: - boolean - 'null' - text_matches: *766 + text_matches: *767 blog: type: - string @@ -114203,7 +114590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &771 + - &772 name: team_id description: The unique identifier of the team. in: path @@ -114215,9 +114602,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -114244,7 +114631,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *771 + - *772 requestBody: required: true content: @@ -114308,16 +114695,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '201': description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '404': *6 '422': *15 '403': *27 @@ -114345,7 +114732,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *771 + - *772 responses: '204': description: Response @@ -114374,7 +114761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *771 + - *772 - *17 - *19 responses: @@ -114384,9 +114771,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *45 x-github: @@ -114412,7 +114799,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *771 + - *772 - name: role description: Filters members returned by their role in the team. in: query @@ -114463,7 +114850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *771 + - *772 - *137 responses: '204': @@ -114500,7 +114887,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *771 + - *772 - *137 responses: '204': @@ -114540,7 +114927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *771 + - *772 - *137 responses: '204': @@ -114577,16 +114964,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 + - *772 - *137 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - response-if-user-is-a-team-maintainer: *772 + response-if-user-is-a-team-maintainer: *773 '404': *6 x-github: githubCloudOnly: false @@ -114619,7 +115006,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 + - *772 - *137 requestBody: required: false @@ -114645,9 +115032,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - response-if-users-membership-with-team-is-now-pending: *773 + response-if-users-membership-with-team-is-now-pending: *774 '403': description: Forbidden if team synchronization is set up '422': @@ -114681,7 +115068,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 + - *772 - *137 responses: '204': @@ -114709,7 +115096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *771 + - *772 - *17 - *19 responses: @@ -114721,7 +115108,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 '404': *6 @@ -114751,15 +115138,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 + - *772 + - *445 + - *446 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *774 + schema: *775 examples: alternative-response-with-extra-repository-information: value: @@ -114910,9 +115297,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 + - *772 + - *445 + - *446 requestBody: required: false content: @@ -114962,9 +115349,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 + - *772 + - *445 + - *446 responses: '204': description: Response @@ -114993,15 +115380,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 + - *772 responses: '200': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '403': *27 '404': *6 x-github: @@ -115028,7 +115415,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 + - *772 requestBody: required: true content: @@ -115089,7 +115476,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -115120,7 +115507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *771 + - *772 - *17 - *19 responses: @@ -115132,7 +115519,7 @@ paths: type: array items: *305 examples: - response-if-child-teams-exist: *775 + response-if-child-teams-exist: *776 headers: Link: *45 '404': *6 @@ -115165,7 +115552,7 @@ paths: application/json: schema: oneOf: - - &777 + - &778 title: Private User description: Private User type: object @@ -115415,7 +115802,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *776 + - *777 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -115575,7 +115962,7 @@ paths: description: Response content: application/json: - schema: *777 + schema: *778 examples: default: value: @@ -115778,9 +116165,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 '304': *35 '500': *38 '401': *23 @@ -115919,17 +116306,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '401': *23 '403': *27 '404': *6 @@ -115973,7 +116360,7 @@ paths: type: integer secrets: type: array - items: &778 + items: &779 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -116015,7 +116402,7 @@ paths: - visibility - selected_repositories_url examples: - default: *548 + default: *550 headers: Link: *45 x-github: @@ -116093,7 +116480,7 @@ paths: description: Response content: application/json: - schema: *778 + schema: *779 examples: default: value: @@ -116239,7 +116626,7 @@ paths: type: array items: *276 examples: - default: *779 + default: *780 '401': *23 '403': *27 '404': *6 @@ -116383,15 +116770,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 + - *370 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '304': *35 '500': *38 '401': *23 @@ -116417,7 +116804,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 + - *370 requestBody: required: false content: @@ -116447,9 +116834,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '401': *23 '403': *27 '404': *6 @@ -116471,7 +116858,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 + - *370 responses: '202': *37 '304': *35 @@ -116500,13 +116887,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 + - *370 responses: '202': description: Response content: application/json: - schema: &780 + schema: &781 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -116559,7 +116946,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &781 + default: &782 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -116591,7 +116978,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 + - *370 - name: export_id in: path required: true @@ -116604,9 +116991,9 @@ paths: description: Response content: application/json: - schema: *780 + schema: *781 examples: - default: *781 + default: *782 '404': *6 x-github: githubCloudOnly: false @@ -116627,7 +117014,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 + - *370 responses: '200': description: Response @@ -116643,9 +117030,9 @@ paths: type: integer machines: type: array - items: *547 + items: *549 examples: - default: *782 + default: *783 '304': *35 '500': *38 '401': *23 @@ -116674,7 +117061,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 + - *370 requestBody: required: true content: @@ -116730,11 +117117,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *448 + repository: *450 machine: anyOf: - type: 'null' - - *547 + - *549 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -117531,15 +117918,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 + - *370 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '304': *35 '500': *38 '400': *14 @@ -117571,15 +117958,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 + - *370 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '500': *38 '401': *23 '403': *27 @@ -117609,9 +117996,9 @@ paths: application/json: schema: type: array - items: *377 + items: *378 examples: - default: &793 + default: &794 value: - id: 197 name: hello_docker @@ -117712,7 +118099,7 @@ paths: application/json: schema: type: array - items: &783 + items: &784 title: Email description: Email type: object @@ -117782,9 +118169,9 @@ paths: application/json: schema: type: array - items: *783 + items: *784 examples: - default: &795 + default: &796 value: - email: octocat@github.com verified: true @@ -117861,7 +118248,7 @@ paths: application/json: schema: type: array - items: *783 + items: *784 examples: default: value: @@ -118119,7 +118506,7 @@ paths: application/json: schema: type: array - items: &784 + items: &785 title: GPG Key description: A unique encryption key type: object @@ -118264,7 +118651,7 @@ paths: - subkeys - revoked examples: - default: &811 + default: &812 value: - id: 3 name: Octocat's GPG Key @@ -118349,9 +118736,9 @@ paths: description: Response content: application/json: - schema: *784 + schema: *785 examples: - default: &785 + default: &786 value: id: 3 name: Octocat's GPG Key @@ -118408,7 +118795,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 + - &787 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -118420,9 +118807,9 @@ paths: description: Response content: application/json: - schema: *784 + schema: *785 examples: - default: *785 + default: *786 '404': *6 '304': *35 '403': *27 @@ -118445,7 +118832,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 + - *787 responses: '204': description: Response @@ -118723,12 +119110,12 @@ paths: application/json: schema: anyOf: - - *357 + - *358 - type: object properties: {} additionalProperties: false examples: - default: *358 + default: *359 '204': description: Response when there are no restrictions x-github: @@ -118752,7 +119139,7 @@ paths: required: true content: application/json: - schema: *627 + schema: *629 examples: default: value: @@ -118763,7 +119150,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *358 examples: default: value: @@ -118844,7 +119231,7 @@ paths: - closed - all default: open - - *365 + - *366 - name: sort description: What to sort results by. in: query @@ -118869,7 +119256,7 @@ paths: type: array items: *217 examples: - default: *366 + default: *367 headers: Link: *45 '404': *6 @@ -118902,7 +119289,7 @@ paths: application/json: schema: type: array - items: &787 + items: &788 title: Key description: Key type: object @@ -119005,9 +119392,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *788 examples: - default: &788 + default: &789 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119040,15 +119427,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 + - *658 responses: '200': description: Response content: application/json: - schema: *787 + schema: *788 examples: - default: *788 + default: *789 '404': *6 '304': *35 '403': *27 @@ -119071,7 +119458,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 + - *658 responses: '204': description: Response @@ -119104,7 +119491,7 @@ paths: application/json: schema: type: array - items: &789 + items: &790 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -119183,7 +119570,7 @@ paths: - account - plan examples: - default: &790 + default: &791 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -119245,9 +119632,9 @@ paths: application/json: schema: type: array - items: *789 + items: *790 examples: - default: *790 + default: *791 headers: Link: *45 '304': *35 @@ -119287,7 +119674,7 @@ paths: application/json: schema: type: array - items: *370 + items: *371 examples: default: value: @@ -119401,7 +119788,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: default: value: @@ -119488,7 +119875,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: default: value: @@ -119560,7 +119947,7 @@ paths: application/json: schema: type: array - items: *372 + items: *373 examples: default: value: @@ -119822,7 +120209,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: default: value: @@ -120002,7 +120389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *373 + - *374 - name: exclude in: query required: false @@ -120015,7 +120402,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: default: value: @@ -120209,7 +120596,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *373 + - *374 responses: '302': description: Response @@ -120235,7 +120622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *373 + - *374 responses: '204': description: Response @@ -120264,8 +120651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *373 - - *791 + - *374 + - *792 responses: '204': description: Response @@ -120289,7 +120676,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 + - *374 - *17 - *19 responses: @@ -120301,7 +120688,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 '404': *6 @@ -120380,7 +120767,7 @@ paths: - docker - nuget - container - - *792 + - *793 - *19 - *17 responses: @@ -120390,10 +120777,10 @@ paths: application/json: schema: type: array - items: *377 + items: *378 examples: - default: *793 - '400': *794 + default: *794 + '400': *795 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120413,16 +120800,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 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: &812 + default: &813 value: id: 40201 name: octo-name @@ -120535,8 +120922,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 responses: '204': description: Response @@ -120566,8 +120953,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 - name: token description: package token schema: @@ -120599,8 +120986,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 - *19 - *17 - name: state @@ -120620,7 +121007,7 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: default: value: @@ -120669,15 +121056,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 - - *382 + - *381 + - *383 responses: '200': description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -120713,9 +121100,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 - - *382 + - *381 + - *383 responses: '204': description: Response @@ -120745,9 +121132,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 - - *382 + - *381 + - *383 responses: '204': description: Response @@ -120784,9 +121171,9 @@ paths: application/json: schema: type: array - items: *783 + items: *784 examples: - default: *795 + default: *796 headers: Link: *45 '304': *35 @@ -120899,7 +121286,7 @@ paths: type: array items: *76 examples: - default: &802 + default: &803 summary: Default response value: - id: 1296269 @@ -121217,9 +121604,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *450 + default: *452 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -121257,9 +121644,9 @@ paths: application/json: schema: type: array - items: *629 + items: *631 examples: - default: *796 + default: *797 headers: Link: *45 '304': *35 @@ -121282,7 +121669,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *361 + - *362 responses: '204': description: Response @@ -121305,7 +121692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *361 + - *362 responses: '204': description: Response @@ -121338,7 +121725,7 @@ paths: application/json: schema: type: array - items: &797 + items: &798 title: Social account description: Social media account type: object @@ -121355,7 +121742,7 @@ paths: - provider - url examples: - default: &798 + default: &799 value: - provider: twitter url: https://twitter.com/github @@ -121418,9 +121805,9 @@ paths: application/json: schema: type: array - items: *797 + items: *798 examples: - default: *798 + default: *799 '422': *15 '304': *35 '404': *6 @@ -121508,7 +121895,7 @@ paths: application/json: schema: type: array - items: &799 + items: &800 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -121528,7 +121915,7 @@ paths: - title - created_at examples: - default: &826 + default: &827 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121593,9 +121980,9 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: - default: &800 + default: &801 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121625,7 +122012,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 + - &802 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -121637,9 +122024,9 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: - default: *800 + default: *801 '404': *6 '304': *35 '403': *27 @@ -121662,7 +122049,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 + - *802 responses: '204': description: Response @@ -121691,7 +122078,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 + - &828 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 +122103,11 @@ paths: type: array items: *76 examples: - default-response: *802 + default-response: *803 application/vnd.github.v3.star+json: schema: type: array - items: &828 + items: &829 title: Starred Repository description: Starred Repository type: object @@ -121876,8 +122263,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 + - *445 + - *446 responses: '204': description: Response if this repository is starred by you @@ -121905,8 +122292,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 + - *445 + - *446 responses: '204': description: Response @@ -121930,8 +122317,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 + - *445 + - *446 responses: '204': description: Response @@ -121966,7 +122353,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 '304': *35 @@ -122003,7 +122390,7 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: default: value: @@ -122089,10 +122476,10 @@ paths: application/json: schema: oneOf: + - *778 - *777 - - *776 examples: - default-response: &806 + default-response: &807 summary: Default response value: login: octocat @@ -122127,7 +122514,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: &808 summary: Response with GitHub plan information value: login: octocat @@ -122184,14 +122571,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 + - &805 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *395 + - *396 requestBody: required: true description: Details of the draft item to create in the project. @@ -122225,9 +122612,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - draft_issue: *401 + draft_issue: *402 '304': *35 '403': *27 '401': *23 @@ -122250,7 +122637,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *803 + - *804 - *17 responses: '200': @@ -122285,8 +122672,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 + - *805 + - *396 requestBody: required: true content: @@ -122360,17 +122747,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *805 + schema: *806 examples: table_view: summary: Response for creating a table view - value: *405 + value: *406 board_view: summary: Response for creating a board view with filter - value: *405 + value: *406 roadmap_view: summary: Response for creating a roadmap view - value: *405 + value: *406 '304': *35 '403': *27 '401': *23 @@ -122412,11 +122799,11 @@ paths: application/json: schema: oneOf: + - *778 - *777 - - *776 examples: - default-response: *806 - response-with-git-hub-plan-information: *807 + default-response: *807 + response-with-git-hub-plan-information: *808 '404': *6 x-github: githubCloudOnly: false @@ -122466,8 +122853,8 @@ paths: required: - subject_digests examples: - default: *808 - withPredicateType: *809 + default: *809 + withPredicateType: *810 responses: '200': description: Response @@ -122521,7 +122908,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *810 + default: *811 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122726,7 +123113,7 @@ paths: initiator: type: string examples: - default: *490 + default: *492 '201': description: Response content: @@ -122765,9 +123152,9 @@ paths: application/json: schema: type: array - items: *377 + items: *378 examples: - default: *793 + default: *794 '403': *27 '401': *23 x-github: @@ -123151,9 +123538,9 @@ paths: application/json: schema: type: array - items: *784 + items: *785 examples: - default: *811 + default: *812 headers: Link: *45 x-github: @@ -123257,7 +123644,7 @@ paths: application/json: schema: *20 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123382,7 +123769,7 @@ paths: - docker - nuget - container - - *792 + - *793 - *137 - *19 - *17 @@ -123393,12 +123780,12 @@ paths: application/json: schema: type: array - items: *377 + items: *378 examples: - default: *793 + default: *794 '403': *27 '401': *23 - '400': *794 + '400': *795 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123418,17 +123805,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 - *137 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *812 + default: *813 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123449,8 +123836,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 - *137 responses: '204': @@ -123483,8 +123870,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 - *137 - name: token description: package token @@ -123517,8 +123904,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 - *137 responses: '200': @@ -123527,7 +123914,7 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: default: value: @@ -123585,16 +123972,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 - - *382 + - *381 + - *383 - *137 responses: '200': description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -123629,10 +124016,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 + - *381 - *137 - - *382 + - *383 responses: '204': description: Response @@ -123664,10 +124051,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 + - *381 - *137 - - *382 + - *383 responses: '204': description: Response @@ -123708,9 +124095,9 @@ paths: application/json: schema: type: array - items: *393 + items: *394 examples: - default: *394 + default: *395 headers: Link: *45 '304': *35 @@ -123732,16 +124119,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *395 + - *396 - *137 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 headers: Link: *45 '304': *35 @@ -123763,7 +124150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *395 + - *396 - *137 - *17 - *106 @@ -123775,9 +124162,9 @@ paths: application/json: schema: type: array - items: *398 + items: *399 examples: - default: *813 + default: *814 headers: Link: *45 '304': *35 @@ -123799,7 +124186,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *137 - - *395 + - *396 requestBody: required: true content: @@ -123837,7 +124224,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: *815 required: - name - data_type @@ -123853,7 +124240,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *815 + iteration_configuration: *816 required: - name - data_type @@ -123875,20 +124262,20 @@ paths: value: name: Due date data_type: date - single_select_field: *816 - iteration_field: *817 + single_select_field: *817 + iteration_field: *818 responses: '201': description: Response content: application/json: - schema: *398 + schema: *399 examples: - text_field: *818 - number_field: *819 - date_field: *820 - single_select_field: *821 - iteration_field: *822 + text_field: *819 + number_field: *820 + date_field: *821 + single_select_field: *822 + iteration_field: *823 '304': *35 '403': *27 '401': *23 @@ -123909,17 +124296,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 + - *396 + - *824 - *137 responses: '200': description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: *824 + default: *825 headers: Link: *45 '304': *35 @@ -123942,7 +124329,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 + - *396 - *137 - *106 - *107 @@ -123975,9 +124362,9 @@ paths: application/json: schema: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: Link: *45 '304': *35 @@ -123999,7 +124386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *137 - - *395 + - *396 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -124069,22 +124456,22 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *401 + value: *402 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *401 + value: *402 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *401 + value: *402 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *401 + value: *402 '304': *35 '403': *27 '401': *23 @@ -124104,9 +124491,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 + - *396 - *137 - - *404 + - *405 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -124126,9 +124513,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *403 + default: *404 headers: Link: *45 '304': *35 @@ -124149,9 +124536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *395 + - *396 - *137 - - *404 + - *405 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -124224,13 +124611,13 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - text_field: *403 - number_field: *403 - date_field: *403 - single_select_field: *403 - iteration_field: *403 + text_field: *404 + number_field: *404 + date_field: *404 + single_select_field: *404 + iteration_field: *404 '401': *23 '403': *27 '404': *6 @@ -124250,9 +124637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *395 + - *396 - *137 - - *404 + - *405 responses: '204': description: Response @@ -124274,9 +124661,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 + - *396 - *137 - - *825 + - *826 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -124302,9 +124689,9 @@ paths: application/json: schema: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: Link: *45 '304': *35 @@ -124525,7 +124912,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -124555,9 +124942,9 @@ paths: application/json: schema: type: array - items: *797 + items: *798 examples: - default: *798 + default: *799 headers: Link: *45 x-github: @@ -124587,9 +124974,9 @@ paths: application/json: schema: type: array - items: *799 + items: *800 examples: - default: *826 + default: *827 headers: Link: *45 x-github: @@ -124614,7 +125001,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *137 - - *827 + - *828 - *108 - *17 - *19 @@ -124626,11 +125013,11 @@ paths: schema: anyOf: - type: array - items: *828 + items: *829 - type: array items: *76 examples: - default-response: *802 + default-response: *803 headers: Link: *45 x-github: @@ -124661,7 +125048,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -124790,7 +125177,7 @@ webhooks: type: string enum: - disabled - enterprise: &829 + enterprise: &830 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -124859,7 +125246,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &830 + installation: &831 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -124880,7 +125267,7 @@ webhooks: required: - id - node_id - organization: &831 + organization: &832 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -124953,7 +125340,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &832 + repository: &833 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -125879,10 +126266,10 @@ webhooks: type: string enum: - enabled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -125958,11 +126345,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: &833 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + rule: &834 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 +126572,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + rule: *834 sender: *4 required: - action @@ -126377,11 +126764,11 @@ webhooks: - everyone required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + rule: *834 sender: *4 required: - action @@ -126454,7 +126841,7 @@ webhooks: required: true content: application/json: - schema: &853 + schema: &854 title: Exemption request cancellation event type: object properties: @@ -126462,11 +126849,11 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: &834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: &835 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -126740,7 +127127,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &835 + items: &836 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -126852,7 +127239,7 @@ webhooks: required: true content: application/json: - schema: &854 + schema: &855 title: Exemption request completed event type: object properties: @@ -126860,11 +127247,11 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 sender: *4 required: - action @@ -126936,7 +127323,7 @@ webhooks: required: true content: application/json: - schema: &851 + schema: &852 title: Exemption request created event type: object properties: @@ -126944,11 +127331,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 sender: *4 required: - action @@ -127020,7 +127407,7 @@ webhooks: required: true content: application/json: - schema: &855 + schema: &856 title: Exemption response dismissed event type: object properties: @@ -127028,12 +127415,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 + exemption_response: *836 sender: *4 required: - action @@ -127107,7 +127494,7 @@ webhooks: required: true content: application/json: - schema: &852 + schema: &853 title: Exemption response submitted event type: object properties: @@ -127115,12 +127502,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 + exemption_response: *836 sender: *4 required: - action @@ -127204,7 +127591,7 @@ webhooks: type: string enum: - completed - check_run: &837 + check_run: &838 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127314,7 +127701,7 @@ webhooks: - examples: - neutral - deployment: *836 + deployment: *837 details_url: type: string examples: @@ -127412,10 +127799,10 @@ webhooks: - output - app - pull_requests - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 sender: *4 required: - check_run @@ -127806,11 +128193,11 @@ webhooks: type: string enum: - created - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *838 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 sender: *4 required: - check_run @@ -128204,11 +128591,11 @@ webhooks: type: string enum: - requested_action - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *838 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 requested_action: description: The action requested by the user. type: object @@ -128611,11 +128998,11 @@ webhooks: type: string enum: - rerequested - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *838 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 sender: *4 required: - check_run @@ -129600,10 +129987,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -130307,10 +130694,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -131008,10 +131395,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -131180,7 +131567,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *520 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131332,20 +131719,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &838 + commit_oid: &839 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: *830 + installation: *831 + organization: *832 + ref: &840 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: *833 sender: *4 required: - action @@ -131512,7 +131899,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *520 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131753,12 +132140,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *839 + enterprise: *830 + installation: *831 + organization: *832 + ref: *840 + repository: *833 sender: *4 required: - action @@ -131856,7 +132243,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *518 + dismissed_comment: *520 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 +132428,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *839 + enterprise: *830 + installation: *831 + organization: *832 + ref: *840 + repository: *833 sender: *4 required: - action @@ -132215,7 +132602,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *520 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132392,12 +132779,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *839 + enterprise: *830 + installation: *831 + organization: *832 + ref: *840 + repository: *833 sender: *4 required: - action @@ -132498,7 +132885,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *518 + dismissed_comment: *520 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 +133074,9 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 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 +133084,7 @@ webhooks: type: - string - 'null' - repository: *832 + repository: *833 sender: *4 required: - action @@ -132796,7 +133183,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *518 + dismissed_comment: *520 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 +133330,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *839 + enterprise: *830 + installation: *831 + organization: *832 + ref: *840 + repository: *833 sender: *4 required: - action @@ -133117,7 +133504,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *520 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133269,10 +133656,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -133532,10 +133919,10 @@ webhooks: - updated_at - author_association - body - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -133616,18 +134003,18 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *831 - pusher_type: &840 + organization: *832 + pusher_type: &841 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &841 + ref: &842 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -133637,7 +134024,7 @@ webhooks: enum: - tag - branch - repository: *832 + repository: *833 sender: *4 required: - ref @@ -133720,9 +134107,9 @@ webhooks: enum: - created definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -133807,9 +134194,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -133887,9 +134274,9 @@ webhooks: enum: - promote_to_enterprise definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -133967,9 +134354,9 @@ webhooks: enum: - updated definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -134046,10 +134433,10 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - repository: *832 - organization: *831 + enterprise: *830 + installation: *831 + repository: *833 + organization: *832 sender: *4 new_property_values: type: array @@ -134134,18 +134521,18 @@ webhooks: title: delete event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - pusher_type: *840 - ref: *841 + enterprise: *830 + installation: *831 + organization: *832 + pusher_type: *841 + ref: *842 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *832 + repository: *833 sender: *4 required: - ref @@ -134190,7 +134577,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 +134612,11 @@ webhooks: type: string enum: - assignees_changed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134274,7 +134661,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 +134696,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134359,7 +134746,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 +134781,11 @@ webhooks: type: string enum: - auto_reopened - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134444,7 +134831,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 +134866,11 @@ webhooks: type: string enum: - created - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134527,7 +134914,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 +134949,11 @@ webhooks: type: string enum: - dismissed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134610,7 +134997,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 +135032,11 @@ webhooks: type: string enum: - fixed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134694,7 +135081,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 +135116,11 @@ webhooks: type: string enum: - reintroduced - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134777,7 +135164,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 +135199,11 @@ webhooks: type: string enum: - reopened - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134893,9 +135280,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - key: &842 + enterprise: *830 + installation: *831 + key: &843 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 +135320,8 @@ webhooks: - verified - created_at - read_only - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -135011,11 +135398,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - key: *842 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + key: *843 + organization: *832 + repository: *833 sender: *4 required: - action @@ -135582,12 +135969,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: &846 + workflow: &847 title: Workflow type: - object @@ -136338,13 +136725,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *582 + - *584 pull_requests: type: array - items: *676 - repository: *832 - organization: *831 - installation: *830 + items: *678 + repository: *833 + organization: *832 + installation: *831 sender: *4 responses: '200': @@ -136415,7 +136802,7 @@ webhooks: type: string enum: - approved - approver: &843 + approver: &844 type: object properties: avatar_url: @@ -136458,11 +136845,11 @@ webhooks: type: string comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: &844 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + reviewers: &845 type: array items: type: object @@ -136543,7 +136930,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &845 + workflow_job_run: &846 type: object properties: conclusion: @@ -137289,18 +137676,18 @@ webhooks: type: string enum: - rejected - approver: *843 + approver: *844 comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: *844 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + reviewers: *845 sender: *4 since: type: string - workflow_job_run: *845 + workflow_job_run: *846 workflow_job_runs: type: array items: @@ -138017,13 +138404,13 @@ webhooks: type: string enum: - requested - enterprise: *829 + enterprise: *830 environment: type: string - installation: *830 - organization: *831 - repository: *832 - requestor: &856 + installation: *831 + organization: *832 + repository: *833 + requestor: &857 title: User type: - object @@ -139956,12 +140343,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: *846 + workflow: *847 workflow_run: title: Deployment Workflow Run type: @@ -140652,7 +141039,7 @@ webhooks: type: string enum: - answered - answer: &849 + answer: &850 type: object properties: author_association: @@ -140812,11 +141199,11 @@ webhooks: - created_at - updated_at - body - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -140943,11 +141330,11 @@ webhooks: - from required: - category - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141030,11 +141417,11 @@ webhooks: type: string enum: - closed - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141116,7 +141503,7 @@ webhooks: type: string enum: - created - comment: &848 + comment: &849 type: object properties: author_association: @@ -141276,11 +141663,11 @@ webhooks: - updated_at - body - reactions - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141363,12 +141750,12 @@ webhooks: type: string enum: - deleted - comment: *848 - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *849 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141463,12 +141850,12 @@ webhooks: - from required: - body - comment: *848 - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *849 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141552,11 +141939,11 @@ webhooks: type: string enum: - created - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141638,11 +142025,11 @@ webhooks: type: string enum: - deleted - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141742,11 +142129,11 @@ webhooks: type: string required: - from - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141828,10 +142215,10 @@ webhooks: type: string enum: - labeled - discussion: *847 - enterprise: *829 - installation: *830 - label: &850 + discussion: *848 + enterprise: *830 + installation: *831 + label: &851 title: Label type: object properties: @@ -141864,8 +142251,8 @@ webhooks: - color - default - description - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141948,11 +142335,11 @@ webhooks: type: string enum: - locked - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142034,11 +142421,11 @@ webhooks: type: string enum: - pinned - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142120,11 +142507,11 @@ webhooks: type: string enum: - reopened - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142209,16 +142596,16 @@ webhooks: changes: type: object properties: - new_discussion: *847 - new_repository: *832 + new_discussion: *848 + new_repository: *833 required: - new_discussion - new_repository - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142301,10 +142688,10 @@ webhooks: type: string enum: - unanswered - discussion: *847 - old_answer: *849 - organization: *831 - repository: *832 + discussion: *848 + old_answer: *850 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142386,12 +142773,12 @@ webhooks: type: string enum: - unlabeled - discussion: *847 - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142474,11 +142861,11 @@ webhooks: type: string enum: - unlocked - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142560,11 +142947,11 @@ webhooks: type: string enum: - unpinned - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142633,7 +143020,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142696,7 +143083,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142759,7 +143146,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142822,7 +143209,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142885,7 +143272,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142951,7 +143338,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143017,7 +143404,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143083,7 +143470,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143149,7 +143536,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143215,7 +143602,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143280,7 +143667,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143345,7 +143732,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143410,7 +143797,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143475,7 +143862,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143541,7 +143928,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143608,7 +143995,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *829 + enterprise: *830 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -144286,9 +144673,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - forkee @@ -144434,9 +144821,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pages: description: The pages that were updated. type: array @@ -144474,7 +144861,7 @@ webhooks: - action - sha - html_url - repository: *832 + repository: *833 sender: *4 required: - pages @@ -144550,10 +144937,10 @@ webhooks: type: string enum: - created - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories: &857 + organization: *832 + repositories: &858 description: An array of repository objects that the installation can access. type: array @@ -144579,8 +144966,8 @@ webhooks: - name - full_name - private - repository: *832 - requester: *856 + repository: *833 + requester: *857 sender: *4 required: - action @@ -144655,11 +145042,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *832 + repositories: *858 + repository: *833 requester: type: - 'null' @@ -144736,11 +145123,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *832 + repositories: *858 + repository: *833 requester: type: - 'null' @@ -144817,10 +145204,10 @@ webhooks: type: string enum: - added - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories_added: &858 + organization: *832 + repositories_added: &859 description: An array of repository objects, which were added to the installation. type: array @@ -144866,15 +145253,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *832 - repository_selection: &859 + repository: *833 + repository_selection: &860 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *856 + requester: *857 sender: *4 required: - action @@ -144953,10 +145340,10 @@ webhooks: type: string enum: - removed - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories_added: *858 + organization: *832 + repositories_added: *859 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -144983,9 +145370,9 @@ webhooks: - name - full_name - private - repository: *832 - repository_selection: *859 - requester: *856 + repository: *833 + repository_selection: *860 + requester: *857 sender: *4 required: - action @@ -145064,11 +145451,11 @@ webhooks: type: string enum: - suspend - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *832 + repositories: *858 + repository: *833 requester: type: - 'null' @@ -145251,10 +145638,10 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 target_type: type: string @@ -145333,11 +145720,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *832 + repositories: *858 + repository: *833 requester: type: - 'null' @@ -145503,7 +145890,7 @@ webhooks: pin: anyOf: - type: 'null' - - *653 + - *655 user: title: User type: @@ -145589,8 +145976,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146402,8 +146789,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146420,7 +146807,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -146764,8 +147151,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -146845,7 +147232,7 @@ webhooks: type: string enum: - deleted - comment: &860 + comment: &861 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -147002,7 +147389,7 @@ webhooks: pin: anyOf: - type: 'null' - - *653 + - *655 required: - url - html_url @@ -147016,8 +147403,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147825,8 +148212,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147843,7 +148230,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -148189,8 +148576,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -148270,7 +148657,7 @@ webhooks: type: string enum: - edited - changes: &884 + changes: &885 description: The changes to the comment. type: object properties: @@ -148282,9 +148669,9 @@ webhooks: type: string required: - from - comment: *860 - enterprise: *829 - installation: *830 + comment: *861 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -149095,8 +149482,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149113,7 +149500,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -149457,8 +149844,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -149539,9 +149926,9 @@ webhooks: type: string enum: - pinned - comment: *860 - enterprise: *829 - installation: *830 + comment: *861 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -150354,8 +150741,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150372,7 +150759,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -150718,8 +151105,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -150799,9 +151186,9 @@ webhooks: type: string enum: - unpinned - comment: *860 - enterprise: *829 - installation: *830 + comment: *861 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -151614,8 +152001,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151632,7 +152019,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -151978,8 +152365,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -152068,9 +152455,9 @@ webhooks: type: number blocking_issue: *217 blocking_issue_repo: *76 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -152159,9 +152546,9 @@ webhooks: type: number blocking_issue: *217 blocking_issue_repo: *76 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -152249,9 +152636,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -152340,9 +152727,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -152422,10 +152809,10 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - issue: &863 + assignee: *857 + enterprise: *830 + installation: *831 + issue: &864 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -153236,11 +153623,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153257,7 +153644,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -153360,8 +153747,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -153441,8 +153828,8 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -154258,11 +154645,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154279,7 +154666,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -154525,8 +154912,8 @@ webhooks: required: - state - closed_at - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -154605,8 +154992,8 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155413,11 +155800,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155434,7 +155821,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -155536,8 +155923,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -155616,8 +156003,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156447,11 +156834,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156468,7 +156855,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -156549,7 +156936,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &861 + milestone: &862 title: Milestone description: A collection of related issues and pull requests. type: object @@ -156692,8 +157079,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -156792,8 +157179,8 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157604,11 +157991,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157622,7 +158009,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *363 title: description: Title of the issue type: string @@ -157728,9 +158115,9 @@ webhooks: - active_lock_reason - body - reactions - label: *850 - organization: *831 - repository: *832 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -157810,8 +158197,8 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158621,11 +159008,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158639,7 +159026,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *363 title: description: Title of the issue type: string @@ -158745,9 +159132,9 @@ webhooks: - active_lock_reason - body - reactions - label: *850 - organization: *831 - repository: *832 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -158827,8 +159214,8 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159663,11 +160050,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159681,7 +160068,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *363 title: description: Title of the issue type: string @@ -159764,8 +160151,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -159844,8 +160231,8 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160674,11 +161061,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160695,7 +161082,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -160775,9 +161162,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *861 - organization: *831 - repository: *832 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -161664,11 +162051,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161768,7 +162155,7 @@ webhooks: required: - login - id - type: *362 + type: *363 required: - id - number @@ -162260,8 +162647,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -163068,11 +163455,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163089,7 +163476,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -163195,8 +163582,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -163276,9 +163663,9 @@ webhooks: type: string enum: - pinned - enterprise: *829 - installation: *830 - issue: &862 + enterprise: *830 + installation: *831 + issue: &863 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -164083,11 +164470,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164104,7 +164491,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -164206,8 +164593,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -164286,8 +164673,8 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -165120,11 +165507,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165221,9 +165608,9 @@ webhooks: format: uri user_view_type: type: string - type: *362 - organization: *831 - repository: *832 + type: *363 + organization: *832 + repository: *833 sender: *4 required: - action @@ -166111,11 +166498,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166132,7 +166519,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -166725,11 +167112,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *863 + organization: *832 + repository: *833 sender: *4 required: - action @@ -166809,12 +167196,12 @@ webhooks: type: string enum: - typed - enterprise: *829 - installation: *830 - issue: *863 - type: *362 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *864 + type: *363 + organization: *832 + repository: *833 sender: *4 required: - action @@ -166895,7 +167282,7 @@ webhooks: type: string enum: - unassigned - assignee: &887 + assignee: &888 title: User type: - object @@ -166967,11 +167354,11 @@ webhooks: required: - login - id - enterprise: *829 - installation: *830 - issue: *863 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *864 + organization: *832 + repository: *833 sender: *4 required: - action @@ -167050,12 +167437,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - issue: *863 - label: *850 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *864 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -167135,8 +167522,8 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -167969,11 +168356,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167990,7 +168377,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -168070,8 +168457,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168151,11 +168538,11 @@ webhooks: type: string enum: - unpinned - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *863 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168234,12 +168621,12 @@ webhooks: type: string enum: - untyped - enterprise: *829 - installation: *830 - issue: *863 - type: *362 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *864 + type: *363 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168319,11 +168706,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168401,11 +168788,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168515,11 +168902,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168601,9 +168988,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: &864 + enterprise: *830 + installation: *831 + marketplace_purchase: &865 title: Marketplace Purchase type: object required: @@ -168691,8 +169078,8 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: &865 + organization: *832 + previous_marketplace_purchase: &866 title: Marketplace Purchase type: object properties: @@ -168776,7 +169163,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *833 sender: *4 required: - action @@ -168856,10 +169243,10 @@ webhooks: - changed effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *830 + installation: *831 + marketplace_purchase: *865 + organization: *832 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -168947,7 +169334,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *833 sender: *4 required: - action @@ -169029,10 +169416,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *830 + installation: *831 + marketplace_purchase: *865 + organization: *832 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -169118,7 +169505,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *833 sender: *4 required: - action @@ -169199,8 +169586,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 marketplace_purchase: title: Marketplace Purchase type: object @@ -169286,9 +169673,9 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + organization: *832 + previous_marketplace_purchase: *866 + repository: *833 sender: *4 required: - action @@ -169368,12 +169755,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + enterprise: *830 + installation: *831 + marketplace_purchase: *865 + organization: *832 + previous_marketplace_purchase: *866 + repository: *833 sender: *4 required: - action @@ -169475,11 +169862,11 @@ webhooks: type: string required: - to - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 sender: *4 required: - action @@ -169581,11 +169968,11 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 sender: *4 required: - action @@ -169664,11 +170051,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 sender: *4 required: - action @@ -169746,11 +170133,11 @@ webhooks: type: string enum: - added - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 scope: description: The scope of the membership. Currently, can only be `team`. @@ -169828,7 +170215,7 @@ webhooks: required: - login - id - team: &866 + team: &867 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -170058,11 +170445,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 scope: description: The scope of the membership. Currently, can only be `team`. @@ -170141,7 +170528,7 @@ webhooks: required: - login - id - team: *866 + team: *867 required: - action - scope @@ -170223,8 +170610,8 @@ webhooks: type: string enum: - checks_requested - installation: *830 - merge_group: &867 + installation: *831 + merge_group: &868 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -170243,15 +170630,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *510 + head_commit: *512 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -170337,10 +170724,10 @@ webhooks: - merged - invalidated - dequeued - installation: *830 - merge_group: *867 - organization: *831 - repository: *832 + installation: *831 + merge_group: *868 + organization: *832 + repository: *833 sender: *4 required: - action @@ -170413,7 +170800,7 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *830 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -170522,12 +170909,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *830 - organization: *831 + installation: *831 + organization: *832 repository: anyOf: - type: 'null' - - *832 + - *833 sender: *4 required: - action @@ -170607,11 +170994,11 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -170690,9 +171077,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - milestone: &868 + enterprise: *830 + installation: *831 + milestone: &869 title: Milestone description: A collection of related issues and pull requests. type: object @@ -170834,8 +171221,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -170914,11 +171301,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171028,11 +171415,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171112,11 +171499,11 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - milestone: *868 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + milestone: *869 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171195,11 +171582,11 @@ webhooks: type: string enum: - blocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *857 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171278,11 +171665,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *857 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171358,7 +171745,7 @@ webhooks: enum: - created definition: *145 - enterprise: *829 + enterprise: *830 sender: *4 required: - action @@ -171438,8 +171825,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 sender: *4 required: - action @@ -171512,8 +171899,8 @@ webhooks: enum: - updated definition: *145 - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 sender: *4 required: - action @@ -171585,9 +171972,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 new_property_values: type: array @@ -171675,9 +172062,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - membership: &869 + enterprise: *830 + installation: *831 + membership: &870 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -171787,8 +172174,8 @@ webhooks: - role - organization_url - user - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171866,11 +172253,11 @@ webhooks: type: string enum: - member_added - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + membership: *870 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171949,8 +172336,8 @@ webhooks: type: string enum: - member_invited - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -172072,10 +172459,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 - user: *856 + user: *857 required: - action - invitation @@ -172153,11 +172540,11 @@ webhooks: type: string enum: - member_removed - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + membership: *870 + organization: *832 + repository: *833 sender: *4 required: - action @@ -172244,11 +172631,11 @@ webhooks: properties: from: type: string - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + membership: *870 + organization: *832 + repository: *833 sender: *4 required: - action @@ -172326,9 +172713,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 package: description: Information about the package. type: object @@ -172851,7 +173238,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &870 + items: &871 title: Ruby Gems metadata type: object properties: @@ -172948,7 +173335,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *833 sender: *4 required: - action @@ -173025,9 +173412,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 package: description: Information about the package. type: object @@ -173389,7 +173776,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *871 source_url: type: string format: uri @@ -173460,7 +173847,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *833 sender: *4 required: - action @@ -173640,12 +174027,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *829 + enterprise: *830 id: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - id @@ -173722,7 +174109,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &871 + personal_access_token_request: &872 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -173872,10 +174259,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *829 - organization: *831 + enterprise: *830 + organization: *832 sender: *4 - installation: *830 + installation: *831 required: - action - personal_access_token_request @@ -173952,11 +174339,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *872 + enterprise: *830 + organization: *832 sender: *4 - installation: *830 + installation: *831 required: - action - personal_access_token_request @@ -174032,11 +174419,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *872 + enterprise: *830 + organization: *832 sender: *4 - installation: *830 + installation: *831 required: - action - personal_access_token_request @@ -174111,11 +174498,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *871 - organization: *831 - enterprise: *829 + personal_access_token_request: *872 + organization: *832 + enterprise: *830 sender: *4 - installation: *830 + installation: *831 required: - action - personal_access_token_request @@ -174220,7 +174607,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *872 + last_response: *873 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -174252,8 +174639,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 zen: description: Random string of GitHub zen. @@ -174498,10 +174885,10 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: &873 + enterprise: *830 + installation: *831 + organization: *832 + project_card: &874 title: Project Card type: object properties: @@ -174624,7 +175011,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *833 sender: *4 required: - action @@ -174705,11 +175092,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project_card: *874 + repository: *833 sender: *4 required: - action @@ -174789,9 +175176,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 project_card: title: Project Card type: object @@ -174921,7 +175308,7 @@ webhooks: repository: anyOf: - type: 'null' - - *832 + - *833 sender: *4 required: - action @@ -175015,11 +175402,11 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project_card: *874 + repository: *833 sender: *4 required: - action @@ -175113,9 +175500,9 @@ webhooks: - from required: - column_id - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 project_card: allOf: - title: Project Card @@ -175312,7 +175699,7 @@ webhooks: type: string required: - after_id - repository: *832 + repository: *833 sender: *4 required: - action @@ -175392,10 +175779,10 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - organization: *831 - project: &875 + enterprise: *830 + installation: *831 + organization: *832 + project: &876 title: Project type: object properties: @@ -175522,7 +175909,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *833 sender: *4 required: - action @@ -175602,10 +175989,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_column: &874 + enterprise: *830 + installation: *831 + organization: *832 + project_column: &875 title: Project Column type: object properties: @@ -175645,7 +176032,7 @@ webhooks: - name - created_at - updated_at - repository: *832 + repository: *833 sender: *4 required: - action @@ -175724,14 +176111,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 + enterprise: *830 + installation: *831 + organization: *832 + project_column: *875 repository: anyOf: - type: 'null' - - *832 + - *833 sender: *4 required: - action @@ -175820,11 +176207,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project_column: *875 + repository: *833 sender: *4 required: - action @@ -175904,11 +176291,11 @@ webhooks: type: string enum: - moved - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project_column: *875 + repository: *833 sender: *4 required: - action @@ -175988,11 +176375,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project: *876 + repository: *833 sender: *4 required: - action @@ -176072,14 +176459,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project: *875 + enterprise: *830 + installation: *831 + organization: *832 + project: *876 repository: anyOf: - type: 'null' - - *832 + - *833 sender: *4 required: - action @@ -176180,11 +176567,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project: *876 + repository: *833 sender: *4 required: - action @@ -176263,11 +176650,11 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project: *876 + repository: *833 sender: *4 required: - action @@ -176348,9 +176735,9 @@ webhooks: type: string enum: - closed - installation: *830 - organization: *831 - projects_v2: *393 + installation: *831 + organization: *832 + projects_v2: *394 sender: *4 required: - action @@ -176431,9 +176818,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2: *393 + installation: *831 + organization: *832 + projects_v2: *394 sender: *4 required: - action @@ -176514,9 +176901,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2: *393 + installation: *831 + organization: *832 + projects_v2: *394 sender: *4 required: - action @@ -176637,9 +177024,9 @@ webhooks: type: string to: type: string - installation: *830 - organization: *831 - projects_v2: *393 + installation: *831 + organization: *832 + projects_v2: *394 sender: *4 required: - action @@ -176722,7 +177109,7 @@ webhooks: type: string enum: - archived - changes: &879 + changes: &880 type: object properties: archived_at: @@ -176738,9 +177125,9 @@ webhooks: - string - 'null' format: date-time - installation: *830 - organization: *831 - projects_v2_item: &876 + installation: *831 + organization: *832 + projects_v2_item: &877 title: Projects v2 Item description: An item belonging to a project type: object @@ -176758,7 +177145,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *399 + content_type: *400 creator: *4 created_at: type: string @@ -176880,9 +177267,9 @@ webhooks: - 'null' to: type: string - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -176964,9 +177351,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -177047,9 +177434,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -177154,7 +177541,7 @@ webhooks: oneOf: - type: string - type: integer - - &877 + - &878 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -177178,7 +177565,7 @@ webhooks: required: - id - name - - &878 + - &879 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -177218,8 +177605,8 @@ webhooks: oneOf: - type: string - type: integer - - *877 - *878 + - *879 type: - 'null' - string @@ -177242,9 +177629,9 @@ webhooks: - 'null' required: - body - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -177341,9 +177728,9 @@ webhooks: type: - string - 'null' - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -177426,10 +177813,10 @@ webhooks: type: string enum: - restored - changes: *879 - installation: *830 - organization: *831 - projects_v2_item: *876 + changes: *880 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -177511,9 +177898,9 @@ webhooks: type: string enum: - reopened - installation: *830 - organization: *831 - projects_v2: *393 + installation: *831 + organization: *832 + projects_v2: *394 sender: *4 required: - action @@ -177594,9 +177981,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *831 + organization: *832 + projects_v2_status_update: *881 sender: *4 required: - action @@ -177677,9 +178064,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *831 + organization: *832 + projects_v2_status_update: *881 sender: *4 required: - action @@ -177825,9 +178212,9 @@ webhooks: - string - 'null' format: date - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *831 + organization: *832 + projects_v2_status_update: *881 sender: *4 required: - action @@ -177898,10 +178285,10 @@ webhooks: title: public event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - repository @@ -177978,13 +178365,13 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - number: &881 + assignee: *857 + enterprise: *830 + installation: *831 + number: &882 description: The pull request number. type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -180355,7 +180742,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -180437,11 +180824,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -182805,7 +183192,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *833 sender: *4 required: - action @@ -182887,11 +183274,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -185255,7 +185642,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *833 sender: *4 required: - action @@ -185337,13 +185724,13 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: &882 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: &883 allOf: - - *676 + - *678 - type: object properties: allow_auto_merge: @@ -185405,7 +185792,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *832 + repository: *833 sender: *4 required: - action @@ -185486,12 +185873,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: *883 + repository: *833 sender: *4 required: - action @@ -185571,11 +185958,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - milestone: *396 - number: *881 - organization: *831 - pull_request: &883 + enterprise: *830 + milestone: *397 + number: *882 + organization: *832 + pull_request: &884 title: Pull Request type: object properties: @@ -187924,7 +188311,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -188003,11 +188390,11 @@ webhooks: type: string enum: - dequeued - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -190375,7 +190762,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *832 + repository: *833 sender: *4 required: - action @@ -190499,12 +190886,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: *883 + repository: *833 sender: *4 required: - action @@ -190584,11 +190971,11 @@ webhooks: type: string enum: - enqueued - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -192941,7 +193328,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -193021,11 +193408,11 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 - label: *850 - number: *881 - organization: *831 + enterprise: *830 + installation: *831 + label: *851 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -195395,7 +195782,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -195476,10 +195863,10 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -197847,7 +198234,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -197927,12 +198314,12 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - milestone: *396 - number: *881 - organization: *831 - pull_request: *883 - repository: *832 + enterprise: *830 + milestone: *397 + number: *882 + organization: *832 + pull_request: *884 + repository: *833 sender: *4 required: - action @@ -198011,12 +198398,12 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: *883 + repository: *833 sender: *4 required: - action @@ -198097,12 +198484,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: *883 + repository: *833 sender: *4 required: - action @@ -198182,12 +198569,12 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: *883 + repository: *833 sender: *4 required: - action @@ -198562,9 +198949,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: type: object properties: @@ -200816,7 +201203,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *833 sender: *4 required: - action @@ -200896,7 +201283,7 @@ webhooks: type: string enum: - deleted - comment: &885 + comment: &886 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 +201576,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: type: object properties: @@ -203431,7 +203818,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *833 sender: *4 required: - action @@ -203511,11 +203898,11 @@ webhooks: type: string enum: - edited - changes: *884 - comment: *885 - enterprise: *829 - installation: *830 - organization: *831 + changes: *885 + comment: *886 + enterprise: *830 + installation: *831 + organization: *832 pull_request: type: object properties: @@ -205758,7 +206145,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *833 sender: *4 required: - action @@ -205839,9 +206226,9 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -208096,7 +208483,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *833 review: description: The review that was affected. type: object @@ -208347,9 +208734,9 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -210463,8 +210850,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: &886 + repository: *833 + review: &887 description: The review that was affected. type: object properties: @@ -210702,12 +211089,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -213076,7 +213463,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 requested_reviewer: title: User type: @@ -213162,12 +213549,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -215543,7 +215930,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 requested_team: title: Team description: Groups of organization members that gives permissions @@ -215738,12 +216125,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -218114,7 +218501,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 requested_reviewer: title: User type: @@ -218201,12 +218588,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -220568,7 +220955,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 requested_team: title: Team description: Groups of organization members that gives permissions @@ -220752,9 +221139,9 @@ webhooks: type: string enum: - submitted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -223012,8 +223399,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: *886 + repository: *833 + review: *887 sender: *4 required: - action @@ -223093,9 +223480,9 @@ webhooks: type: string enum: - resolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -225248,7 +225635,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *833 sender: *4 thread: type: object @@ -225645,9 +226032,9 @@ webhooks: type: string enum: - unresolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -227783,7 +228170,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *833 sender: *4 thread: type: object @@ -228182,10 +228569,10 @@ webhooks: type: string before: type: string - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -230542,7 +230929,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -230624,11 +231011,11 @@ webhooks: type: string enum: - unassigned - assignee: *887 - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + assignee: *888 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -233000,7 +233387,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -233079,11 +233466,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - label: *850 - number: *881 - organization: *831 + enterprise: *830 + installation: *831 + label: *851 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -235444,7 +235831,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -235525,10 +235912,10 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -237879,7 +238266,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -238082,7 +238469,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *829 + enterprise: *830 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -238177,8 +238564,8 @@ webhooks: - url - author - committer - installation: *830 - organization: *831 + installation: *831 + organization: *832 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -238777,9 +239164,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 registry_package: type: object properties: @@ -239256,7 +239643,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *870 + items: *871 summary: type: string tag_name: @@ -239312,7 +239699,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *833 sender: *4 required: - action @@ -239390,9 +239777,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 registry_package: type: object properties: @@ -239704,7 +240091,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *871 summary: type: string tag_name: @@ -239754,7 +240141,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *833 sender: *4 required: - action @@ -239831,10 +240218,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - release: &888 + enterprise: *830 + installation: *831 + organization: *832 + release: &889 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -240165,7 +240552,7 @@ webhooks: - updated_at - zipball_url - body - repository: *832 + repository: *833 sender: *4 required: - action @@ -240242,11 +240629,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + release: *889 + repository: *833 sender: *4 required: - action @@ -240363,11 +240750,11 @@ webhooks: type: boolean required: - to - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + release: *889 + repository: *833 sender: *4 required: - action @@ -240445,9 +240832,9 @@ webhooks: type: string enum: - prereleased - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -240783,7 +241170,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *833 sender: *4 required: - action @@ -240859,10 +241246,10 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - release: &889 + enterprise: *830 + installation: *831 + organization: *832 + release: &890 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -241195,7 +241582,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *833 sender: *4 required: - action @@ -241271,11 +241658,11 @@ webhooks: type: string enum: - released - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + release: *889 + repository: *833 sender: *4 required: - action @@ -241351,11 +241738,11 @@ webhooks: type: string enum: - unpublished - enterprise: *829 - installation: *830 - organization: *831 - release: *889 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + release: *890 + repository: *833 sender: *4 required: - action @@ -241431,11 +241818,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *728 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + repository_advisory: *730 sender: *4 required: - action @@ -241511,11 +241898,11 @@ webhooks: type: string enum: - reported - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *728 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + repository_advisory: *730 sender: *4 required: - action @@ -241591,10 +241978,10 @@ webhooks: type: string enum: - archived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -241671,10 +242058,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -241752,10 +242139,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -241840,10 +242227,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: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -241958,10 +242345,10 @@ webhooks: - 'null' items: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -242033,10 +242420,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 status: type: string @@ -242117,10 +242504,10 @@ webhooks: type: string enum: - privatized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -242197,10 +242584,10 @@ webhooks: type: string enum: - publicized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -242294,10 +242681,10 @@ webhooks: - name required: - repository - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -242377,10 +242764,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 repository_ruleset: *185 sender: *4 required: @@ -242459,10 +242846,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 repository_ruleset: *185 sender: *4 required: @@ -242541,10 +242928,10 @@ webhooks: type: string enum: - edited - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 repository_ruleset: *185 changes: type: object @@ -242606,16 +242993,16 @@ webhooks: properties: added: type: array - items: *696 + items: *698 deleted: type: array - items: *696 + items: *698 updated: type: array items: type: object properties: - rule: *696 + rule: *698 changes: type: object properties: @@ -242852,10 +243239,10 @@ webhooks: - from required: - owner - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -242933,10 +243320,10 @@ webhooks: type: string enum: - unarchived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243014,7 +243401,7 @@ webhooks: type: string enum: - create - alert: &890 + alert: &891 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -243139,10 +243526,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243352,10 +243739,10 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243433,11 +243820,11 @@ webhooks: type: string enum: - reopen - alert: *890 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *891 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243639,10 +244026,10 @@ webhooks: enum: - fixed - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243720,7 +244107,7 @@ webhooks: type: string enum: - assigned - alert: &891 + alert: &892 type: object properties: number: *124 @@ -243835,10 +244222,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243916,11 +244303,11 @@ webhooks: type: string enum: - created - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244001,11 +244388,11 @@ webhooks: type: string enum: - created - alert: *891 - installation: *830 - location: *892 - organization: *831 - repository: *832 + alert: *892 + installation: *831 + location: *893 + organization: *832 + repository: *833 sender: *4 required: - location @@ -244243,11 +244630,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244325,11 +244712,11 @@ webhooks: type: string enum: - reopened - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244407,11 +244794,11 @@ webhooks: type: string enum: - resolved - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244489,12 +244876,12 @@ webhooks: type: string enum: - unassigned - alert: *891 + alert: *892 assignee: *4 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244572,11 +244959,11 @@ webhooks: type: string enum: - validated - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244706,10 +245093,10 @@ webhooks: - organization - enterprise - - repository: *832 - enterprise: *829 - installation: *830 - organization: *831 + repository: *833 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -244787,11 +245174,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: &893 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + security_advisory: &894 description: The details of the security advisory, including summary, description, and severity. type: object @@ -244977,11 +245364,11 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: *893 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + security_advisory: *894 sender: *4 required: - action @@ -245054,10 +245441,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -245243,11 +245630,11 @@ webhooks: from: type: object properties: - security_and_analysis: *407 - enterprise: *829 - installation: *830 - organization: *831 - repository: *448 + security_and_analysis: *408 + enterprise: *830 + installation: *831 + organization: *832 + repository: *450 sender: *4 required: - changes @@ -245325,12 +245712,12 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: &894 + sponsorship: &895 type: object properties: created_at: @@ -245635,12 +246022,12 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *894 + sponsorship: *895 required: - action - sponsorship @@ -245728,12 +246115,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *894 + sponsorship: *895 required: - action - changes @@ -245810,17 +246197,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &895 + effective_date: &896 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: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *894 + sponsorship: *895 required: - action - sponsorship @@ -245894,7 +246281,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &896 + changes: &897 type: object properties: tier: @@ -245938,13 +246325,13 @@ webhooks: - from required: - tier - effective_date: *895 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + effective_date: *896 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *894 + sponsorship: *895 required: - action - changes @@ -246021,13 +246408,13 @@ webhooks: type: string enum: - tier_changed - changes: *896 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + changes: *897 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *894 + sponsorship: *895 required: - action - changes @@ -246101,10 +246488,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246188,10 +246575,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246625,15 +247012,15 @@ webhooks: type: - string - 'null' - enterprise: *829 + enterprise: *830 id: description: The unique identifier of the status. type: integer - installation: *830 + installation: *831 name: type: string - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 sha: description: The Commit SHA. @@ -246749,9 +247136,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -246841,9 +247228,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -246933,9 +247320,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -247025,9 +247412,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -247104,12 +247491,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - team: &897 + team: &898 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -247339,9 +247726,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -247811,7 +248198,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *898 required: - action - team @@ -247887,9 +248274,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -248359,7 +248746,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *898 required: - action - team @@ -248436,9 +248823,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -248908,7 +249295,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *898 required: - action - team @@ -249052,9 +249439,9 @@ webhooks: - from required: - permissions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -249524,7 +249911,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *898 required: - action - changes @@ -249602,9 +249989,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -250074,7 +250461,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *898 required: - action - team @@ -250150,10 +250537,10 @@ webhooks: type: string enum: - started - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -250226,17 +250613,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *829 + enterprise: *830 inputs: type: - object - 'null' additionalProperties: true - installation: *830 - organization: *831 + installation: *831 + organization: *832 ref: type: string - repository: *832 + repository: *833 sender: *4 workflow: type: string @@ -250318,10 +250705,10 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: allOf: @@ -250577,7 +250964,7 @@ webhooks: type: string required: - conclusion - deployment: *582 + deployment: *584 required: - action - repository @@ -250656,10 +251043,10 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: allOf: @@ -250941,7 +251328,7 @@ webhooks: required: - status - steps - deployment: *582 + deployment: *584 required: - action - repository @@ -251020,10 +251407,10 @@ webhooks: type: string enum: - queued - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: type: object @@ -251169,7 +251556,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *582 + deployment: *584 required: - action - repository @@ -251248,10 +251635,10 @@ webhooks: type: string enum: - waiting - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: type: object @@ -251398,7 +251785,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *582 + deployment: *584 required: - action - repository @@ -251478,12 +251865,12 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: *846 + workflow: *847 workflow_run: title: Workflow Run type: object @@ -252502,12 +252889,12 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: *846 + workflow: *847 workflow_run: title: Workflow Run type: object @@ -253511,12 +253898,12 @@ webhooks: type: string enum: - requested - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: *846 + workflow: *847 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..818b0bcc9a 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", @@ -46026,30 +46100,800 @@ } } } - }, - "422": { - "description": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + }, + "422": { + "description": "Copilot Business is not enabled for this enterprise, billing has not been set up for this enterprise or a public code suggestions policy has not been set for this enterprise." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-user-management" + } + } + }, + "/enterprises/{enterprise}/copilot/billing/selected_users": { + "post": { + "summary": "Add users to the Copilot subscription for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-copilot-seats-for-enterprise-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-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 to be granted access to GitHub Copilot.", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "required": [ + "selected_usernames" + ] + }, + "examples": { + "default": { + "value": { + "selected_usernames": [ + "cooluser1", + "hacker2", + "octocat" + ] + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "The total number of seats created for the specified user(s).", + "properties": { + "seats_created": { + "type": "integer" + } + }, + "required": [ + "seats_created" + ] + }, + "examples": { + "default": { + "value": { + "seats_created": 5 + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Copilot 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/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-user-management" + "subcategory": "copilot-custom-agents" } - } - }, - "/enterprises/{enterprise}/copilot/billing/selected_users": { - "post": { - "summary": "Add users to the Copilot subscription for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe enterprise will be billed accordingly.\n\nOnly enterprise owners can purchase Copilot seats for their enterprise members.\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + }, + "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/add-copilot-seats-for-enterprise-users", + "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-user-management#add-users-to-the-copilot-subscription-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-custom-agents#set-the-source-organization-for-custom-agents-in-an-enterprise" }, "parameters": [ { @@ -46063,60 +46907,141 @@ } ], "requestBody": { + "description": "The source organization configuration", + "required": true, "content": { "application/json": { "schema": { "type": "object", + "required": [ + "organization_id" + ], "properties": { - "selected_usernames": { - "type": "array", - "description": "The usernames of the enterprise members to be granted access to GitHub Copilot.", - "items": { - "type": "string" - }, - "minItems": 1 + "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." } - }, - "required": [ - "selected_usernames" - ] + } }, "examples": { "default": { + "summary": "Set source organization with default ruleset creation", "value": { - "selected_usernames": [ - "cooluser1", - "hacker2", - "octocat" - ] + "organization_id": 123 + } + }, + "without_ruleset": { + "summary": "Set source organization without creating a ruleset", + "value": { + "organization_id": 123, + "create_ruleset": false } } } } - }, - "required": true + } }, "responses": { - "201": { - "description": "OK", + "200": { + "description": "Success", "content": { "application/json": { "schema": { "type": "object", - "description": "The total number of seats created for the specified user(s).", "properties": { - "seats_created": { - "type": "integer" + "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." + } + } } - }, - "required": [ - "seats_created" - ] + } }, "examples": { - "default": { + "with_ruleset": { + "summary": "Response with ruleset", "value": { - "seats_created": 5 + "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" + } } } } @@ -46228,26 +47153,64 @@ } }, "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." + "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": 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 +47223,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,7 +47254,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Forbidden - The user does not have enterprise admin access.", "content": { "application/json": { "schema": { @@ -46398,42 +47278,7 @@ } } } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Copilot is not enabled for this enterprise, billing has not been set up for this enterprise, a public code suggestions policy has not been set for this enterprise, or the enterprise's Copilot access setting is set to enable Copilot for all users or is unconfigured." } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "copilot", - "subcategory": "copilot-user-management" } } }, @@ -47828,6 +48673,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 +50438,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 +50645,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -154116,20 +154992,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 +155211,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -154349,12 +155227,12 @@ "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", @@ -154398,7 +155276,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 +164012,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 +164483,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 +164793,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 +165188,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 +165898,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 +166335,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 +166636,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 +167365,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", @@ -179067,6 +180017,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 +181790,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 +181997,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -181640,7 +182621,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 +283163,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 +287946,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 +301508,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 +301632,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -300735,6 +301872,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -300778,6 +301918,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 +302279,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -304241,6 +305387,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -304429,6 +305578,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -400326,6 +401478,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 +431185,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 +431399,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 +431420,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 +433669,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 +434881,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 +435021,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -435135,7 +436354,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 +436519,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 +437680,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 +674274,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 +678923,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 +705630,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 +705674,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 +705785,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 +720358,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 +721199,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 +999048,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1001065,7 +1002032,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1004049,7 +1005016,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1007033,7 +1008000,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1010017,7 +1010984,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1013001,7 +1013968,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1015985,7 +1016952,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -1018969,7 +1019936,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..d5c0e813f3 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: &429 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 + - &732 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 + - &340 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: &341 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: &342 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &740 + schema: &741 title: Scim Error description: Scim Error type: object @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &343 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &343 + default: &344 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -9277,7 +9277,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &741 + '401': &742 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: &518 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: &519 type: - string - 'null' @@ -13597,14 +13597,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &518 + dismissed_comment: &520 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &519 + rule: &521 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: &522 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: &523 type: object properties: - ref: &514 + ref: &516 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &531 + analysis_key: &533 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: &534 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: &535 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: &536 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: &537 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 + - &376 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -16756,6 +16780,367 @@ paths: enabledForGitHubApps: false category: copilot subcategory: copilot-user-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 @@ -17509,7 +17894,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 + - &574 name: has in: query description: |- @@ -17524,6 +17909,15 @@ paths: enum: - patch - &329 + 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 + - &330 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17533,7 +17927,7 @@ paths: enum: - development - runtime - - &330 + - &331 name: sort in: query description: |- @@ -17559,7 +17953,7 @@ paths: application/json: schema: type: array - items: &331 + items: &332 type: object description: A Dependabot alert. properties: @@ -17626,7 +18020,7 @@ paths: - direct - transitive - - security_advisory: &573 + security_advisory: &575 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17862,7 +18256,7 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: &574 + auto_dismissed_at: &576 type: - string - 'null' @@ -17870,7 +18264,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &575 + dismissal_request: &577 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -17933,7 +18327,7 @@ paths: - repository additionalProperties: false examples: - default: &332 + default: &333 value: - number: 2 state: dismissed @@ -18037,6 +18431,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 +18599,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -18890,7 +19304,7 @@ paths: application/json: schema: *20 examples: - default: &355 + default: &356 value: id: 1 account: @@ -19151,7 +19565,7 @@ paths: - name - created_on examples: - default: &432 + default: &433 value: total_count: 2 network_configurations: @@ -19376,7 +19790,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 + - &434 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19388,7 +19802,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &435 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19427,7 +19841,7 @@ paths: - subnet_id - region examples: - default: &435 + default: &436 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20280,7 +20694,7 @@ paths: required: true content: application/json: - schema: &406 + schema: &407 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21482,7 +21896,7 @@ paths: conditions: anyOf: - *156 - - &410 + - &411 title: Organization ruleset conditions type: object description: |- @@ -21532,7 +21946,7 @@ paths: - object rules: type: array - items: &696 + items: &698 title: Repository Rule type: object description: A repository rule. @@ -21541,7 +21955,7 @@ paths: - *165 - *166 - *167 - - &694 + - &696 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21869,7 +22283,7 @@ paths: type: string format: date-time examples: - default: &413 + default: &414 value: - version_id: 3 actor: @@ -21922,7 +22336,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &415 allOf: - *189 - type: object @@ -21977,7 +22391,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 + - &416 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21988,7 +22402,7 @@ paths: enum: - open - resolved - - &416 + - &417 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21998,7 +22412,7 @@ paths: required: false schema: type: string - - &417 + - &418 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -22007,7 +22421,7 @@ paths: required: false schema: type: string - - &418 + - &419 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -22026,7 +22440,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &419 + - &420 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 +22456,7 @@ paths: - *17 - *106 - *107 - - &420 + - &421 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -22051,7 +22465,7 @@ paths: required: false schema: type: string - - &421 + - &422 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -22060,7 +22474,7 @@ paths: schema: type: boolean default: false - - &422 + - &423 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -22069,7 +22483,7 @@ paths: schema: type: boolean default: false - - &423 + - &424 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -22085,7 +22499,7 @@ paths: application/json: schema: type: array - items: &424 + items: &425 type: object properties: number: *124 @@ -22101,14 +22515,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &708 + state: &710 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: &711 type: - string - 'null' @@ -22215,14 +22629,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &710 + - &712 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &712 + - &714 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 +22693,7 @@ paths: - blob_url - commit_sha - commit_url - - &713 + - &715 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 +22754,7 @@ paths: - page_url - commit_sha - commit_url - - &714 + - &716 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 +22769,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &715 + - &717 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 +22784,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &716 + - &718 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 +22799,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &717 + - &719 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 +22814,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &718 + - &720 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 +22829,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &719 + - &721 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 +22844,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &720 + - &722 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 +22859,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &721 + - &723 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 +22874,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &722 + - &724 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 +22889,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &723 + - &725 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 +22904,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &724 + - &726 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 +22929,7 @@ paths: - type: 'null' - *4 examples: - default: &425 + default: &426 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22724,7 +23138,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &427 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22811,7 +23225,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &427 + default: &428 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22947,7 +23361,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 + - &430 name: advanced_security_product in: query description: | @@ -22967,7 +23381,7 @@ paths: description: Success content: application/json: - schema: &430 + schema: &431 type: object properties: total_advanced_security_committers: @@ -23030,7 +23444,7 @@ paths: required: - repositories examples: - default: &431 + default: &432 value: total_advanced_security_committers: 2 total_count: 2 @@ -26147,7 +26561,7 @@ paths: properties: action: type: string - discussion: &847 + discussion: &848 title: Discussion description: A Discussion in a repository. type: object @@ -26650,7 +27064,7 @@ paths: milestone: anyOf: - type: 'null' - - &396 + - &397 title: Milestone description: A collection of related issues and pull requests. @@ -26822,7 +27236,7 @@ paths: timeline_url: type: string format: uri - type: &362 + type: &363 title: Issue Type description: The type of issue. type: @@ -26933,7 +27347,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &768 + sub_issues_summary: &769 title: Sub-issues Summary type: object properties: @@ -27017,7 +27431,7 @@ paths: pin: anyOf: - type: 'null' - - &653 + - &655 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -27044,7 +27458,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &769 + issue_dependencies_summary: &770 title: Issue Dependencies Summary type: object properties: @@ -27063,7 +27477,7 @@ paths: - total_blocking issue_field_values: type: array - items: &770 + items: &771 title: Issue Field Value description: A value assigned to an issue field type: object @@ -27844,7 +28258,7 @@ paths: type: string release: allOf: - - &687 + - &689 title: Release description: A release. type: object @@ -27926,7 +28340,7 @@ paths: author: *4 assets: type: array - items: &688 + items: &690 title: Release Asset description: Data related to a release. type: object @@ -28517,7 +28931,7 @@ paths: url: type: string format: uri - user: &776 + user: &777 title: Public User description: Public User type: object @@ -30414,7 +30828,7 @@ paths: - closed - all default: open - - &365 + - &366 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -30465,7 +30879,7 @@ paths: type: array items: *217 examples: - default: &366 + default: &367 value: - id: 1 node_id: MDU6SXNzdWUx @@ -31877,14 +32291,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 + - &445 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &444 + - &446 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31946,7 +32360,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &449 + '301': &451 description: Moved permanently content: application/json: @@ -31968,7 +32382,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 + - &663 name: all description: If `true`, show notifications marked as read. in: query @@ -31976,7 +32390,7 @@ paths: schema: type: boolean default: false - - &662 + - &664 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -31986,7 +32400,7 @@ paths: type: boolean default: false - *222 - - &663 + - &665 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 +32782,7 @@ paths: type: boolean examples: - false - security_and_analysis: &407 + security_and_analysis: &408 type: - object - 'null' @@ -32580,7 +32994,7 @@ paths: - url - subscription_url examples: - default: &664 + default: &666 value: - id: '1' repository: @@ -33709,7 +34123,7 @@ paths: type: array items: *150 examples: - default: &670 + default: &672 value: - property_name: environment value: production @@ -33759,7 +34173,7 @@ paths: required: - properties examples: - default: &671 + default: &673 value: properties: - property_name: environment @@ -34650,7 +35064,7 @@ paths: type: integer repository_cache_usages: type: array - items: &456 + items: &458 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -36782,7 +37196,7 @@ paths: type: array items: *276 examples: - default: &779 + default: &780 value: total_count: 1 repositories: @@ -37826,7 +38240,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &478 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -37861,7 +38275,7 @@ paths: - key_id - key examples: - default: &477 + default: &479 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38274,7 +38688,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *85 - - &461 + - &463 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 +39300,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 +39467,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -39064,11 +39480,11 @@ 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. @@ -39115,7 +39531,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 +39942,12 @@ paths: required: - subject_digests examples: - default: &808 + default: &809 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &809 + withPredicateType: &810 value: subject_digests: - sha256:abc123 @@ -39590,7 +40006,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &810 + default: &811 value: attestations_subject_digests: - sha256:abc: @@ -39941,7 +40357,7 @@ paths: initiator: type: string examples: - default: &490 + default: &492 value: attestations: - bundle: @@ -40863,7 +41279,7 @@ paths: be returned. in: query required: false - schema: &515 + schema: &517 type: string description: Severity of a code scanning alert. enum: @@ -41223,6 +41639,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 +42004,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 +42335,7 @@ paths: type: integer codespaces: type: array - items: &367 + items: &368 type: object title: Codespace description: A codespace. @@ -41940,7 +42370,7 @@ paths: machine: anyOf: - type: 'null' - - &547 + - &549 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -42227,7 +42657,7 @@ paths: - pulls_url - recent_folders examples: - default: &368 + default: &369 value: total_count: 3 codespaces: @@ -42892,7 +43322,7 @@ paths: - updated_at - visibility examples: - default: &548 + default: &550 value: total_count: 2 secrets: @@ -42930,7 +43360,7 @@ paths: description: Response content: application/json: - schema: &549 + schema: &551 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -42965,7 +43395,7 @@ paths: - key_id - key examples: - default: &550 + default: &552 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42997,7 +43427,7 @@ paths: application/json: schema: *319 examples: - default: &552 + default: &554 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44730,6 +45160,7 @@ paths: enum: - patch - deployment + - *329 - name: runtime_risk in: query description: |- @@ -44738,8 +45169,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *329 - *330 + - *331 - *108 - *106 - *107 @@ -44751,9 +45182,9 @@ paths: application/json: schema: type: array - items: *331 + items: *332 examples: - default: *332 + default: *333 '304': *35 '400': *14 '403': *27 @@ -44797,7 +45228,7 @@ paths: type: integer secrets: type: array - items: &333 + items: &334 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -44876,7 +45307,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &580 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -44895,7 +45326,7 @@ paths: - key_id - key examples: - default: &579 + default: &581 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44925,7 +45356,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *334 examples: default: value: @@ -44990,9 +45421,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 +45654,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - &587 + - &589 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -45233,7 +45662,7 @@ paths: required: false schema: type: string - - &588 + - &590 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -45241,7 +45670,7 @@ paths: required: false schema: type: string - - &589 + - &591 name: time_period description: |- The time period to filter by. @@ -45257,7 +45686,7 @@ paths: - week - month default: month - - &590 + - &592 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -45282,7 +45711,7 @@ paths: application/json: schema: type: array - items: &591 + items: &593 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -45392,7 +45821,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &334 + items: &335 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -45445,7 +45874,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &592 + default: &594 value: - id: 21 number: 42 @@ -45537,7 +45966,7 @@ paths: - *101 - *102 - *103 - - &335 + - &336 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 +45992,7 @@ paths: application/json: schema: type: array - items: &593 + items: &595 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45673,7 +46102,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *334 + items: *335 url: type: string format: uri @@ -45686,7 +46115,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &594 + default: &596 value: - id: 21 number: 42 @@ -45778,7 +46207,7 @@ paths: - *101 - *102 - *103 - - *335 + - *336 - *17 - *19 responses: @@ -45788,7 +46217,7 @@ paths: application/json: schema: type: array - items: &595 + items: &597 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 +46344,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &596 + default: &598 value: - id: 21 number: 42 @@ -46003,7 +46432,7 @@ paths: application/json: schema: type: array - items: &377 + items: &378 title: Package description: A software package type: object @@ -46074,7 +46503,7 @@ paths: - created_at - updated_at examples: - default: &378 + default: &379 value: - id: 197 name: hello_docker @@ -46261,7 +46690,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &442 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -46351,7 +46780,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &441 + default: &443 value: group_id: '123' group_name: Octocat admins @@ -46406,7 +46835,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &439 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -46446,7 +46875,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &439 + default: &440 value: groups: - group_id: '123' @@ -46491,7 +46920,7 @@ paths: application/json: schema: type: array - items: &359 + items: &360 title: Organization Invitation description: Organization Invitation type: object @@ -46545,7 +46974,7 @@ paths: - invitation_teams_url - node_id examples: - default: &360 + default: &361 value: - id: 1 login: monalisa @@ -46612,7 +47041,7 @@ paths: application/json: schema: type: array - items: &408 + items: &409 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -46626,7 +47055,7 @@ paths: - name - description examples: - default: &409 + default: &410 value: - name: add_assignee description: Assign or remove a user @@ -46667,7 +47096,7 @@ paths: application/json: schema: type: array - items: &336 + items: &337 title: Org Hook description: Org Hook type: object @@ -46850,9 +47279,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: &337 + default: &338 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -46897,7 +47326,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *85 - - &338 + - &339 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 +47339,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *337 + default: *338 '404': *6 x-github: githubCloudOnly: false @@ -46934,7 +47363,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *85 - - *338 + - *339 requestBody: required: false content: @@ -46980,7 +47409,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *337 examples: default: value: @@ -47020,7 +47449,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *85 - - *338 + - *339 responses: '204': description: Response @@ -47046,7 +47475,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *85 - - *338 + - *339 responses: '200': description: Response @@ -47075,7 +47504,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *85 - - *338 + - *339 requestBody: required: false content: @@ -47124,9 +47553,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *85 - - *338 - - *17 - *339 + - *17 + - *340 responses: '200': description: Response @@ -47134,9 +47563,9 @@ paths: application/json: schema: type: array - items: *340 + items: *341 examples: - default: *341 + default: *342 '400': *14 '422': *15 x-github: @@ -47160,16 +47589,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *85 - - *338 + - *339 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *343 + default: *344 '400': *14 '422': *15 x-github: @@ -47193,7 +47622,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *85 - - *338 + - *339 - *16 responses: '202': *37 @@ -47220,7 +47649,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *85 - - *338 + - *339 responses: '204': description: Response @@ -47243,7 +47672,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *85 - - &348 + - &349 name: actor_type in: path description: The type of the actor @@ -47256,14 +47685,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &349 + - &350 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &344 + - &345 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 +47700,7 @@ paths: required: true schema: type: string - - &345 + - &346 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 +47795,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *85 - - *344 - *345 + - *346 - *19 - *17 - *108 - - &354 + - &355 name: sort description: The property to sort the results by. in: query @@ -47450,14 +47879,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *85 - - *344 - *345 + - *346 responses: '200': description: Response content: application/json: - schema: &346 + schema: &347 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -47473,7 +47902,7 @@ paths: type: integer format: int64 examples: - default: &347 + default: &348 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -47494,23 +47923,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *85 - - &350 + - &351 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *344 - *345 + - *346 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: *347 + default: *348 x-github: enabledForGitHubApps: true category: orgs @@ -47529,18 +47958,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *85 - - *344 - *345 - - *348 + - *346 - *349 + - *350 responses: '200': description: Response content: application/json: - schema: *346 + schema: *347 examples: - default: *347 + default: *348 x-github: enabledForGitHubApps: true category: orgs @@ -47558,9 +47987,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *85 - - *344 - *345 - - &351 + - *346 + - &352 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -47573,7 +48002,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &353 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -47589,7 +48018,7 @@ paths: type: integer format: int64 examples: - default: &353 + default: &354 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -47626,18 +48055,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 + - *345 + - *346 + - *352 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 x-github: enabledForGitHubApps: true category: orgs @@ -47655,19 +48084,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *85 - - *348 - *349 - - *344 + - *350 - *345 - - *351 + - *346 + - *352 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 x-github: enabledForGitHubApps: true category: orgs @@ -47685,13 +48114,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *85 - - *350 - - *344 + - *351 - *345 + - *346 - *19 - *17 - *108 - - *354 + - *355 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -47775,7 +48204,7 @@ paths: application/json: schema: *20 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47895,12 +48324,12 @@ paths: application/json: schema: anyOf: - - &357 + - &358 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &356 + limit: &357 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -47928,7 +48357,7 @@ paths: properties: {} additionalProperties: false examples: - default: &358 + default: &359 value: limit: collaborators_only origin: organization @@ -47957,13 +48386,13 @@ paths: required: true content: application/json: - schema: &627 + schema: &629 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *356 + limit: *357 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -47988,9 +48417,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 '422': *15 x-github: githubCloudOnly: false @@ -48068,9 +48497,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *45 '404': *6 @@ -48148,7 +48577,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -48205,7 +48634,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *85 - - &361 + - &362 name: invitation_id description: The unique identifier of the invitation. in: path @@ -48239,7 +48668,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *85 - - *361 + - *362 - *17 - *19 responses: @@ -48251,7 +48680,7 @@ paths: type: array items: *305 examples: - default: &376 + default: &377 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -48294,7 +48723,7 @@ paths: application/json: schema: type: array - items: *362 + items: *363 examples: default: value: @@ -48382,9 +48811,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: &363 + default: &364 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -48417,7 +48846,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *85 - - &364 + - &365 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -48473,9 +48902,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *363 + default: *364 '404': *6 '422': *7 x-github: @@ -48500,7 +48929,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *85 - - *364 + - *365 responses: '204': description: Response @@ -48563,7 +48992,7 @@ paths: - closed - all default: open - - *365 + - *366 - name: type description: Can be the name of an issue type. in: query @@ -48594,7 +49023,7 @@ paths: type: array items: *217 examples: - default: *366 + default: *367 headers: Link: *45 '404': *6 @@ -48753,9 +49182,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 '304': *35 '500': *38 '401': *23 @@ -48782,7 +49211,7 @@ paths: parameters: - *85 - *137 - - &369 + - &370 name: codespace_name in: path required: true @@ -48817,15 +49246,15 @@ paths: parameters: - *85 - *137 - - *369 + - *370 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: &546 + default: &548 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49081,7 +49510,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &371 title: Org Membership description: Org Membership type: object @@ -49150,7 +49579,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: &372 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -49251,9 +49680,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - response-if-user-already-had-membership-with-organization: *371 + response-if-user-already-had-membership-with-organization: *372 '422': *15 '403': *27 x-github: @@ -49325,7 +49754,7 @@ paths: application/json: schema: type: array - items: &372 + items: &373 title: Migration description: A migration. type: object @@ -49663,7 +50092,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: default: value: @@ -49842,7 +50271,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *85 - - &373 + - &374 name: migration_id description: The unique identifier of the migration. in: path @@ -49870,7 +50299,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *372 + schema: *373 examples: default: value: @@ -50040,7 +50469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *85 - - *373 + - *374 responses: '302': description: Response @@ -50062,7 +50491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *85 - - *373 + - *374 responses: '204': description: Response @@ -50086,8 +50515,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *85 - - *373 - - &791 + - *374 + - &792 name: repo_name description: repo_name parameter in: path @@ -50115,7 +50544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *85 - - *373 + - *374 - *17 - *19 responses: @@ -50127,7 +50556,7 @@ paths: type: array items: *276 examples: - default: &383 + default: &384 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50338,7 +50767,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &374 + items: &375 title: Organization Role description: Organization roles type: object @@ -50547,7 +50976,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: default: value: @@ -50777,7 +51206,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: default: value: @@ -50874,7 +51303,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: default: value: @@ -51033,7 +51462,7 @@ paths: parent: anyOf: - type: 'null' - - *375 + - *376 type: description: The ownership type of the team type: string @@ -51066,7 +51495,7 @@ paths: - type - parent examples: - default: *376 + default: *377 headers: Link: *45 '404': @@ -51125,7 +51554,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *375 + items: *376 name: type: - string @@ -51435,7 +51864,7 @@ paths: - nuget - container - *85 - - &792 + - &793 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -51471,12 +51900,12 @@ paths: application/json: schema: type: array - items: *377 + items: *378 examples: - default: *378 + default: *379 '403': *27 '401': *23 - '400': &794 + '400': &795 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -51498,7 +51927,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 + - &380 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 +51945,7 @@ paths: - docker - nuget - container - - &380 + - &381 name: package_name description: The name of the package. in: path @@ -51529,7 +51958,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: default: value: @@ -51581,8 +52010,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 - *85 responses: '204': @@ -51615,8 +52044,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 - *85 - name: token description: package token @@ -51649,8 +52078,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 - *85 - *19 - *17 @@ -51671,7 +52100,7 @@ paths: application/json: schema: type: array - items: &381 + items: &382 title: Package Version description: A version of a software package type: object @@ -51806,10 +52235,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 - *85 - - &382 + - &383 name: package_version_id description: Unique identifier of the package version. in: path @@ -51821,7 +52250,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -51857,10 +52286,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 + - *381 - *85 - - *382 + - *383 responses: '204': description: Response @@ -51892,10 +52321,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 + - *381 - *85 - - *382 + - *383 responses: '204': description: Response @@ -51925,7 +52354,7 @@ paths: - *85 - *17 - *19 - - &384 + - &385 name: sort description: The property by which to sort the results. in: query @@ -51936,7 +52365,7 @@ paths: - created_at default: created_at - *108 - - &385 + - &386 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -51948,7 +52377,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &386 + - &387 name: repository description: The name of the repository to use to filter the results. in: query @@ -51957,7 +52386,7 @@ paths: type: string examples: - Hello-World - - &387 + - &388 name: permission description: The permission to use to filter the results. in: query @@ -51966,7 +52395,7 @@ paths: type: string examples: - issues_read - - &388 + - &389 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 +52405,7 @@ paths: schema: type: string format: date-time - - &389 + - &390 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 +52415,7 @@ paths: schema: type: string format: date-time - - &390 + - &391 name: token_id description: The ID of the token in: query @@ -52305,7 +52734,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -52331,14 +52760,14 @@ paths: - *85 - *17 - *19 - - *384 - - *108 - *385 + - *108 - *386 - *387 - *388 - *389 - *390 + - *391 responses: '500': *38 '422': *15 @@ -52622,7 +53051,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -52664,7 +53093,7 @@ paths: type: integer configurations: type: array - items: &391 + items: &392 title: Organization private registry description: Private registry configuration for an organization type: object @@ -52960,7 +53389,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &392 + org-private-registry-with-selected-visibility: &393 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -53058,9 +53487,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *391 + schema: *392 examples: - default: *392 + default: *393 '404': *6 x-github: githubCloudOnly: false @@ -53228,7 +53657,7 @@ paths: application/json: schema: type: array - items: &393 + items: &394 title: Projects v2 Project description: A projects v2 project type: object @@ -53302,7 +53731,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &880 + - &881 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -53387,7 +53816,7 @@ paths: - deleted_at - deleted_by examples: - default: &394 + default: &395 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -53490,7 +53919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &395 + - &396 name: project_number description: The project's number. in: path @@ -53503,9 +53932,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 headers: Link: *45 '304': *35 @@ -53528,7 +53957,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *85 - - *395 + - *396 requestBody: required: true description: Details of the draft item to create in the project. @@ -53562,7 +53991,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &401 title: Projects v2 Item description: An item belonging to a project type: object @@ -53576,7 +54005,7 @@ paths: content: oneOf: - *217 - - &561 + - &563 title: Pull Request Simple description: Pull Request Simple type: object @@ -53696,7 +54125,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *397 active_lock_reason: type: - string @@ -53795,7 +54224,7 @@ paths: _links: type: object properties: - comments: &397 + comments: &398 title: Link description: Hypermedia Link type: object @@ -53804,13 +54233,13 @@ paths: type: string required: - href - commits: *397 - statuses: *397 - html: *397 - issue: *397 - review_comments: *397 - review_comment: *397 - self: *397 + commits: *398 + statuses: *398 + html: *398 + issue: *398 + review_comments: *398 + review_comment: *398 + self: *398 required: - comments - commits @@ -53821,7 +54250,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: &673 + auto_merge: &675 title: Auto merge description: The status of auto merging a pull request. type: @@ -53923,7 +54352,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &399 + content_type: &400 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -53967,7 +54396,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &401 + draft_issue: &402 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -54041,7 +54470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *395 + - *396 - *85 - *17 - *106 @@ -54053,7 +54482,7 @@ paths: application/json: schema: type: array - items: &398 + items: &399 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -54203,7 +54632,7 @@ paths: - updated_at - project_url examples: - default: &813 + default: &814 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54333,7 +54762,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 + - *396 - *85 requestBody: required: true @@ -54380,7 +54809,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: &815 type: object properties: name: @@ -54417,7 +54846,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &815 + iteration_configuration: &816 type: object description: The configuration for iteration fields. properties: @@ -54467,7 +54896,7 @@ paths: value: name: Due date data_type: date - single_select_field: &816 + single_select_field: &817 summary: Create a single select field value: name: Priority @@ -54494,7 +54923,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &817 + iteration_field: &818 summary: Create an iteration field value: name: Sprint @@ -54518,9 +54947,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *398 + schema: *399 examples: - text_field: &818 + text_field: &819 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -54529,7 +54958,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: &820 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -54538,7 +54967,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: &821 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -54547,7 +54976,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: &822 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54581,7 +55010,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: &823 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -54626,8 +55055,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 + - *396 + - &824 name: field_id description: The unique identifier of the field. in: path @@ -54640,9 +55069,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: &824 + default: &825 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54698,7 +55127,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 + - *396 - *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 +55160,7 @@ paths: application/json: schema: type: array - items: &402 + items: &403 title: Projects v2 Item description: An item belonging to a project type: object @@ -54748,7 +55177,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: *400 content: type: - object @@ -54798,7 +55227,7 @@ paths: - updated_at - archived_at examples: - default: &403 + default: &404 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -55496,7 +55925,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *85 - - *395 + - *396 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -55566,22 +55995,22 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *401 + value: *402 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *401 + value: *402 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *401 + value: *402 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *401 + value: *402 '304': *35 '403': *27 '401': *23 @@ -55601,9 +56030,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 + - *396 - *85 - - &404 + - &405 name: item_id description: The unique identifier of the project item. in: path @@ -55629,9 +56058,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *403 + default: *404 headers: Link: *45 '304': *35 @@ -55652,9 +56081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *395 + - *396 - *85 - - *404 + - *405 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -55727,13 +56156,13 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - text_field: *403 - number_field: *403 - date_field: *403 - single_select_field: *403 - iteration_field: *403 + text_field: *404 + number_field: *404 + date_field: *404 + single_select_field: *404 + iteration_field: *404 '401': *23 '403': *27 '404': *6 @@ -55753,9 +56182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *395 + - *396 - *85 - - *404 + - *405 responses: '204': description: Response @@ -55779,7 +56208,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *85 - - *395 + - *396 requestBody: required: true content: @@ -55853,7 +56282,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &805 + schema: &806 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -55957,7 +56386,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &405 + value: &406 value: id: 1 number: 1 @@ -56003,10 +56432,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *405 + value: *406 roadmap_view: summary: Response for creating a roadmap view - value: *405 + value: *406 '304': *35 '403': *27 '401': *23 @@ -56034,9 +56463,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 + - *396 - *85 - - &825 + - &826 name: view_number description: The number that identifies the project view. in: path @@ -56068,9 +56497,9 @@ paths: application/json: schema: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: Link: *45 '304': *35 @@ -56234,7 +56663,7 @@ paths: required: true content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -56602,7 +57031,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -56806,7 +57235,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &450 title: Full Repository description: Full Repository type: object @@ -57284,7 +57713,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &566 + code_of_conduct: &568 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -57314,7 +57743,7 @@ paths: - key - name - html_url - security_and_analysis: *407 + security_and_analysis: *408 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -57398,7 +57827,7 @@ paths: - network_count - subscribers_count examples: - default: &450 + default: &452 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57924,9 +58353,9 @@ paths: application/json: schema: type: array - items: *408 + items: *409 examples: - default: *409 + default: *410 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57951,7 +58380,7 @@ paths: - *85 - *17 - *19 - - &695 + - &697 name: targets description: | A comma-separated list of rule targets to filter by. @@ -58043,11 +58472,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *410 + conditions: *411 rules: type: array description: An array of rules within the ruleset. - items: &412 + items: &413 title: Repository Rule type: object description: A repository rule. @@ -58112,7 +58541,7 @@ paths: application/json: schema: *185 examples: - default: &411 + default: &412 value: id: 21 name: super cool ruleset @@ -58152,6 +58581,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 +58597,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *85 - - &697 + - &699 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 +58609,14 @@ paths: x-multi-segment: true - *302 - *103 - - &698 + - &700 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 + - &701 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -58206,7 +58636,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &702 title: Rule Suites description: Response type: array @@ -58262,7 +58692,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &701 + default: &703 value: - id: 21 actor_id: 12 @@ -58306,7 +58736,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *85 - - &702 + - &704 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -58322,7 +58752,7 @@ paths: description: Response content: application/json: - schema: &703 + schema: &705 title: Rule Suite description: Response type: object @@ -58429,7 +58859,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &704 + default: &706 value: id: 21 actor_id: 12 @@ -58504,7 +58934,7 @@ paths: application/json: schema: *185 examples: - default: *411 + default: *412 '404': *6 '500': *38 put: @@ -58553,11 +58983,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *410 + conditions: *411 rules: description: An array of rules within the ruleset. type: array - items: *412 + items: *413 examples: default: value: @@ -58594,8 +59024,9 @@ paths: application/json: schema: *185 examples: - default: *411 + default: *412 '404': *6 + '422': *15 '500': *38 delete: summary: Delete an organization repository ruleset @@ -58653,7 +59084,7 @@ paths: type: array items: *189 examples: - default: *413 + default: *414 '404': *6 '500': *38 x-github: @@ -58690,7 +59121,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *415 examples: default: value: @@ -58753,15 +59184,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 - *108 - *19 - *17 - - &706 + - &708 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 +59202,7 @@ paths: required: false schema: type: string - - &707 + - &709 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 +59212,10 @@ paths: required: false schema: type: string - - *420 - *421 - *422 - *423 + - *424 responses: '200': description: Response @@ -58792,9 +59223,9 @@ paths: application/json: schema: type: array - items: *424 + items: *425 examples: - default: *425 + default: *426 headers: Link: *45 '404': *6 @@ -58829,9 +59260,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *427 + default: *428 '403': *27 '404': *6 patch: @@ -58984,7 +59415,7 @@ paths: application/json: schema: type: array - items: &728 + items: &730 description: A repository security advisory. type: object properties: @@ -59228,7 +59659,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *429 credits_detailed: type: - array @@ -59239,7 +59670,7 @@ paths: type: object properties: user: *4 - type: *428 + type: *429 state: type: string description: The state of the user's acceptance of the @@ -59303,7 +59734,7 @@ paths: - private_fork additionalProperties: false examples: - default: &729 + default: &731 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -59690,7 +60121,7 @@ paths: application/json: schema: type: array - items: *375 + items: *376 examples: default: value: @@ -59789,7 +60220,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 + - *430 - *17 - *19 responses: @@ -59797,9 +60228,9 @@ paths: description: Success content: application/json: - schema: *430 + schema: *431 examples: - default: *431 + default: *432 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60082,7 +60513,7 @@ paths: type: array items: *142 examples: - default: *432 + default: *433 headers: Link: *45 x-github: @@ -60285,15 +60716,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 + - *434 responses: '200': description: Response content: application/json: - schema: *434 + schema: *435 examples: - default: *435 + default: *436 headers: Link: *45 x-github: @@ -60331,7 +60762,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &447 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -60383,7 +60814,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &446 + default: &448 value: groups: - group_id: '123' @@ -60497,7 +60928,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 headers: Link: *45 '403': *27 @@ -60591,7 +61022,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &437 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -60665,7 +61096,7 @@ paths: parent: anyOf: - type: 'null' - - *375 + - *376 members_count: type: integer examples: @@ -60990,7 +61421,7 @@ paths: - repos_count - organization examples: - default: &437 + default: &438 value: id: 1 node_id: MDQ6VGVhbTE= @@ -61067,9 +61498,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -61154,16 +61585,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '201': description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '404': *6 '422': *15 '403': *27 @@ -61193,6 +61624,9 @@ paths: responses: '204': description: Response + '422': &441 + description: Unprocessable entity if you attempt to modify an enterprise + team at the organization level. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61219,9 +61653,10 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 + '422': *441 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -61265,9 +61700,10 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *441 + default: *443 + '422': *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61291,6 +61727,7 @@ paths: responses: '204': description: Response + '422': *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61322,11 +61759,12 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *45 + '422': *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61408,7 +61846,7 @@ paths: description: Response content: application/json: - schema: &442 + schema: &444 title: Team Membership description: Team Membership type: object @@ -61436,7 +61874,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &772 + response-if-user-is-a-team-maintainer: &773 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -61499,9 +61937,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - response-if-users-membership-with-team-is-now-pending: &773 + response-if-users-membership-with-team-is-now-pending: &774 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -61577,7 +62015,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -61608,14 +62046,14 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *445 + - *446 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &774 + schema: &775 title: Team Repository description: A team's access to a repository. type: object @@ -62258,8 +62696,8 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -62306,8 +62744,8 @@ paths: parameters: - *85 - *212 - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -62340,9 +62778,10 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 + '422': *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62408,7 +62847,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -62420,6 +62859,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. + '422': *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -62453,7 +62893,7 @@ paths: type: array items: *305 examples: - response-if-child-teams-exist: &775 + response-if-child-teams-exist: &776 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62607,7 +63047,7 @@ paths: resources: type: object properties: - core: &447 + core: &449 title: Rate Limit type: object properties: @@ -62624,21 +63064,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: *449 + search: *449 + code_search: *449 + source_import: *449 + integration_manifest: *449 + code_scanning_upload: *449 + actions_runner_registration: *449 + scim: *449 + dependency_snapshots: *449 + dependency_sbom: *449 + code_scanning_autofix: *449 required: - core - search - rate: *447 + rate: *449 required: - rate - resources @@ -62743,14 +63183,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *448 + schema: *450 examples: default-response: summary: Default response @@ -63259,7 +63699,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *449 + '301': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63277,8 +63717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -63580,10 +64020,10 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *450 - '307': &451 + default: *452 + '307': &453 description: Temporary Redirect content: application/json: @@ -63612,8 +64052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -63635,7 +64075,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': *453 '404': *6 '409': *117 x-github: @@ -63659,11 +64099,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 + - *445 + - *446 - *17 - *19 - - &468 + - &470 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -63686,7 +64126,7 @@ paths: type: integer artifacts: type: array - items: &452 + items: &454 title: Artifact description: An artifact type: object @@ -63781,7 +64221,7 @@ paths: - expires_at - updated_at examples: - default: &469 + default: &471 value: total_count: 2 artifacts: @@ -63842,9 +64282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *443 - - *444 - - &453 + - *445 + - *446 + - &455 name: artifact_id description: The unique identifier of the artifact. in: path @@ -63856,7 +64296,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: default: value: @@ -63894,9 +64334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *443 - - *444 - - *453 + - *445 + - *446 + - *455 responses: '204': description: Response @@ -63920,9 +64360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *443 - - *444 - - *453 + - *445 + - *446 + - *455 - name: archive_format in: path required: true @@ -63936,7 +64376,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': &632 description: Gone content: application/json: @@ -63961,14 +64401,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &454 + schema: &456 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -64002,13 +64442,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 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *454 + schema: *456 examples: selected_actions: *42 responses: @@ -64037,14 +64477,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &455 + schema: &457 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -64078,13 +64518,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 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *455 + schema: *457 examples: selected_actions: *44 responses: @@ -64115,14 +64555,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *456 + schema: *458 examples: default: value: @@ -64148,11 +64588,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 + - *445 + - *446 - *17 - *19 - - &457 + - &459 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 +64626,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &460 title: Repository actions caches description: Repository actions caches type: object @@ -64236,7 +64676,7 @@ paths: - total_count - actions_caches examples: - default: &459 + default: &461 value: total_count: 1 actions_caches: @@ -64268,23 +64708,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 + - *445 + - *446 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *457 + - *459 responses: '200': description: Response content: application/json: - schema: *458 + schema: *460 examples: - default: *459 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64304,8 +64744,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 + - *445 + - *446 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -64336,9 +64776,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 + - *445 + - *446 + - &462 name: job_id description: The unique identifier of the job. in: path @@ -64350,7 +64790,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &474 title: Job description: Information of a job execution in a workflow run type: object @@ -64697,9 +65137,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 + - *445 + - *446 + - *462 responses: '302': description: Response @@ -64727,9 +65167,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 + - *445 + - *446 + - *462 requestBody: required: false content: @@ -64775,8 +65215,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 + - *445 + - *446 responses: '200': description: Status response @@ -64826,8 +65266,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 + - *445 + - *446 requestBody: required: true content: @@ -64890,8 +65330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -64909,7 +65349,7 @@ paths: type: integer secrets: type: array - items: &474 + items: &476 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64930,7 +65370,7 @@ paths: - created_at - updated_at examples: - default: &475 + default: &477 value: total_count: 2 secrets: @@ -64963,9 +65403,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 + - *445 + - *446 + - *463 - *19 responses: '200': @@ -64982,7 +65422,7 @@ paths: type: integer variables: type: array - items: &478 + items: &480 title: Actions Variable type: object properties: @@ -65016,7 +65456,7 @@ paths: - created_at - updated_at examples: - default: &479 + default: &481 value: total_count: 2 variables: @@ -65049,8 +65489,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 + - *445 + - *446 responses: '200': description: Response @@ -65059,7 +65499,7 @@ paths: schema: type: object properties: - enabled: &462 + enabled: &464 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *58 @@ -65094,8 +65534,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 + - *445 + - *446 responses: '204': description: Response @@ -65106,7 +65546,7 @@ paths: schema: type: object properties: - enabled: *462 + enabled: *464 allowed_actions: *58 sha_pinning_required: *59 required: @@ -65139,14 +65579,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &463 + schema: &465 type: object properties: access_level: @@ -65164,7 +65604,7 @@ paths: required: - access_level examples: - default: &464 + default: &466 value: access_level: organization x-github: @@ -65189,15 +65629,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 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *463 + schema: *465 examples: - default: *464 + default: *466 responses: '204': description: Response @@ -65221,8 +65661,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 + - *445 + - *446 responses: '200': description: Response @@ -65252,8 +65692,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 + - *445 + - *446 responses: '204': description: Empty response for successful settings update @@ -65287,8 +65727,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 + - *445 + - *446 responses: '200': description: Response @@ -65315,8 +65755,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 + - *445 + - *446 responses: '204': description: Response @@ -65350,8 +65790,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 + - *445 + - *446 responses: '200': description: Response @@ -65379,8 +65819,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 + - *445 + - *446 requestBody: required: true content: @@ -65411,8 +65851,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 + - *445 + - *446 responses: '200': description: Response @@ -65443,8 +65883,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 + - *445 + - *446 responses: '204': description: Response @@ -65476,8 +65916,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 + - *445 + - *446 responses: '200': description: Response @@ -65506,8 +65946,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 + - *445 + - *446 responses: '204': description: Success response @@ -65547,8 +65987,8 @@ paths: in: query schema: type: string - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -65592,8 +66032,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 + - *445 + - *446 responses: '200': description: Response @@ -65625,8 +66065,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 + - *445 + - *446 requestBody: required: true content: @@ -65700,8 +66140,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 + - *445 + - *446 responses: '201': description: Response @@ -65737,8 +66177,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 + - *445 + - *446 responses: '201': description: Response @@ -65768,8 +66208,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 + - *445 + - *446 - *73 responses: '200': @@ -65799,8 +66239,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 + - *445 + - *446 - *73 responses: '204': @@ -65827,8 +66267,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 + - *445 + - *446 - *73 responses: '200': *79 @@ -65853,8 +66293,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 + - *445 + - *446 - *73 requestBody: required: true @@ -65903,8 +66343,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 + - *445 + - *446 - *73 requestBody: required: true @@ -65954,8 +66394,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 + - *445 + - *446 - *73 responses: '200': *283 @@ -65985,8 +66425,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 + - *445 + - *446 - *73 - *284 responses: @@ -66016,9 +66456,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 + - *445 + - *446 + - &484 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 +66466,7 @@ paths: required: false schema: type: string - - &483 + - &485 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -66034,7 +66474,7 @@ paths: required: false schema: type: string - - &484 + - &486 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 +66483,7 @@ paths: required: false schema: type: string - - &485 + - &487 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 +66510,7 @@ paths: - pending - *17 - *19 - - &486 + - &488 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 +66519,7 @@ paths: schema: type: string format: date-time - - &465 + - &467 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -66088,13 +66528,13 @@ paths: schema: type: boolean default: false - - &487 + - &489 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &488 + - &490 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -66117,7 +66557,7 @@ paths: type: integer workflow_runs: type: array - items: &466 + items: &468 title: Workflow Run description: An invocation of a workflow type: object @@ -66295,7 +66735,7 @@ paths: head_commit: anyOf: - type: 'null' - - &510 + - &512 title: Simple Commit description: A commit. type: object @@ -66410,7 +66850,7 @@ paths: - workflow_url - pull_requests examples: - default: &489 + default: &491 value: total_count: 1 workflow_runs: @@ -66646,24 +67086,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 + - *445 + - *446 + - &469 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *465 + - *467 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: &470 + default: &472 value: id: 30433642 name: Build @@ -66904,9 +67344,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 + - *445 + - *446 + - *469 responses: '204': description: Response @@ -66929,9 +67369,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 + - *445 + - *446 + - *469 responses: '200': description: Response @@ -67059,9 +67499,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 + - *445 + - *446 + - *469 responses: '201': description: Response @@ -67094,12 +67534,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 + - *445 + - *446 + - *469 - *17 - *19 - - *468 + - *470 responses: '200': description: Response @@ -67115,9 +67555,9 @@ paths: type: integer artifacts: type: array - items: *452 + items: *454 examples: - default: *469 + default: *471 headers: Link: *45 x-github: @@ -67141,25 +67581,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 + - *445 + - *446 + - *469 + - &473 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *465 + - *467 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *470 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67182,10 +67622,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 + - *445 + - *446 + - *469 + - *473 - *17 - *19 responses: @@ -67203,9 +67643,9 @@ paths: type: integer jobs: type: array - items: *472 + items: *474 examples: - default: &473 + default: &475 value: total_count: 1 jobs: @@ -67318,10 +67758,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 + - *445 + - *446 + - *469 + - *473 responses: '302': description: Response @@ -67349,9 +67789,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 + - *445 + - *446 + - *469 responses: '202': description: Response @@ -67384,9 +67824,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 + - *445 + - *446 + - *469 requestBody: required: true content: @@ -67453,9 +67893,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 + - *445 + - *446 + - *469 responses: '202': description: Response @@ -67488,9 +67928,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 + - *445 + - *446 + - *469 - 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 +67960,9 @@ paths: type: integer jobs: type: array - items: *472 + items: *474 examples: - default: *473 + default: *475 headers: Link: *45 x-github: @@ -67547,9 +67987,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 + - *445 + - *446 + - *469 responses: '302': description: Response @@ -67576,9 +68016,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 + - *445 + - *446 + - *469 responses: '204': description: Response @@ -67605,9 +68045,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 + - *445 + - *446 + - *469 responses: '200': description: Response @@ -67676,7 +68116,7 @@ paths: items: type: object properties: - type: &597 + type: &599 type: string description: The type of reviewer. enum: @@ -67762,9 +68202,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 + - *445 + - *446 + - *469 requestBody: required: true content: @@ -67814,7 +68254,7 @@ paths: application/json: schema: type: array - items: &582 + items: &584 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -67926,7 +68366,7 @@ paths: - created_at - updated_at examples: - default: &583 + default: &585 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -67982,9 +68422,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 + - *445 + - *446 + - *469 requestBody: required: false content: @@ -68029,9 +68469,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 + - *445 + - *446 + - *469 requestBody: required: false content: @@ -68086,9 +68526,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 + - *445 + - *446 + - *469 responses: '200': description: Response @@ -68225,8 +68665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -68244,9 +68684,9 @@ paths: type: integer secrets: type: array - items: *474 + items: *476 examples: - default: *475 + default: *477 headers: Link: *45 x-github: @@ -68271,16 +68711,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68302,17 +68742,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *443 - - *444 + - *445 + - *446 - *286 responses: '200': description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: &610 + default: &612 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -68338,8 +68778,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 + - *445 + - *446 - *286 requestBody: required: true @@ -68397,8 +68837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *443 - - *444 + - *445 + - *446 - *286 responses: '204': @@ -68424,9 +68864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *443 - - *444 - - *461 + - *445 + - *446 + - *463 - *19 responses: '200': @@ -68443,9 +68883,9 @@ paths: type: integer variables: type: array - items: *478 + items: *480 examples: - default: *479 + default: *481 headers: Link: *45 x-github: @@ -68468,8 +68908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -68521,17 +68961,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *443 - - *444 + - *445 + - *446 - *289 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: &611 + default: &613 value: name: USERNAME value: octocat @@ -68557,8 +68997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *443 - - *444 + - *445 + - *446 - *289 requestBody: required: true @@ -68601,8 +69041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *443 - - *444 + - *445 + - *446 - *289 responses: '204': @@ -68628,8 +69068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -68647,7 +69087,7 @@ paths: type: integer workflows: type: array - items: &480 + items: &482 title: Workflow description: A GitHub Actions workflow type: object @@ -68765,9 +69205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *443 - - *444 - - &481 + - *445 + - *446 + - &483 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -68782,7 +69222,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -68815,9 +69255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *443 - - *444 - - *481 + - *445 + - *446 + - *483 responses: '204': description: Response @@ -68842,9 +69282,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 + - *445 + - *446 + - *483 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -68931,9 +69371,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *443 - - *444 - - *481 + - *445 + - *446 + - *483 responses: '204': description: Response @@ -68960,19 +69400,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 + - *445 + - *446 - *483 - *484 - *485 - - *17 - - *19 - *486 - - *465 - *487 + - *17 + - *19 - *488 + - *467 + - *489 + - *490 responses: '200': description: Response @@ -68988,9 +69428,9 @@ paths: type: integer workflow_runs: type: array - items: *466 + items: *468 examples: - default: *489 + default: *491 headers: Link: *45 x-github: @@ -69023,9 +69463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *443 - - *444 - - *481 + - *445 + - *446 + - *483 responses: '200': description: Response @@ -69086,8 +69526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *443 - - *444 + - *445 + - *446 - *108 - *17 - *106 @@ -69255,8 +69695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -69293,8 +69733,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 + - *445 + - *446 - name: assignee in: path required: true @@ -69330,8 +69770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -69443,8 +69883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *106 - *107 @@ -69501,7 +69941,7 @@ paths: initiator: type: string examples: - default: *490 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69521,8 +69961,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 + - *445 + - *446 responses: '200': description: Response @@ -69530,7 +69970,7 @@ paths: application/json: schema: type: array - items: &491 + items: &493 title: Autolink reference description: An autolink reference. type: object @@ -69589,8 +70029,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 + - *445 + - *446 requestBody: required: true content: @@ -69629,9 +70069,9 @@ paths: description: response content: application/json: - schema: *491 + schema: *493 examples: - default: &492 + default: &494 value: id: 1 key_prefix: TICKET- @@ -69662,9 +70102,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 + - *445 + - *446 + - &495 name: autolink_id description: The unique identifier of the autolink. in: path @@ -69676,9 +70116,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *492 + default: *494 '404': *6 x-github: githubCloudOnly: false @@ -69698,9 +70138,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 + - *445 + - *446 + - *495 responses: '204': description: Response @@ -69724,8 +70164,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 + - *445 + - *446 responses: '200': description: Response if Dependabot is enabled @@ -69775,8 +70215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -69797,8 +70237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -69818,8 +70258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *443 - - *444 + - *445 + - *446 - 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 +70297,7 @@ paths: - url protected: type: boolean - protection: &495 + protection: &497 title: Branch Protection description: Branch Protection type: object @@ -69900,7 +70340,7 @@ paths: required: - contexts - checks - enforce_admins: &498 + enforce_admins: &500 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -69917,7 +70357,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &500 + required_pull_request_reviews: &502 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -70001,7 +70441,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &497 + restrictions: &499 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -70294,9 +70734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *443 - - *444 - - &496 + - *445 + - *446 + - &498 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 +70750,14 @@ paths: description: Response content: application/json: - schema: &506 + schema: &508 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &557 + commit: &559 title: Commit description: Commit type: object @@ -70356,7 +70796,7 @@ paths: author: anyOf: - type: 'null' - - &494 + - &496 title: Git User description: Metaproperties for Git author/committer information. @@ -70378,7 +70818,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *496 message: type: string examples: @@ -70402,7 +70842,7 @@ paths: required: - sha - url - verification: &617 + verification: &619 title: Verification type: object properties: @@ -70482,7 +70922,7 @@ paths: type: integer files: type: array - items: &568 + items: &570 title: Diff Entry description: Diff Entry type: object @@ -70578,7 +71018,7 @@ paths: - self protected: type: boolean - protection: *495 + protection: *497 protection_url: type: string format: uri @@ -70687,7 +71127,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *449 + '301': *451 '404': *6 x-github: githubCloudOnly: false @@ -70709,15 +71149,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: default: value: @@ -70911,9 +71351,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -71173,7 +71613,7 @@ paths: url: type: string format: uri - required_status_checks: &503 + required_status_checks: &505 title: Status Check Policy description: Status Check Policy type: object @@ -71332,7 +71772,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *497 + restrictions: *499 required_conversation_resolution: type: object properties: @@ -71444,9 +71884,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -71471,17 +71911,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: &499 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -71503,17 +71943,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *499 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71532,9 +71972,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -71559,17 +71999,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: &501 + default: &503 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -71665,9 +72105,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -71765,9 +72205,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -71788,9 +72228,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -71817,17 +72257,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: &502 + default: &504 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -71850,17 +72290,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *502 + default: *504 '404': *6 x-github: githubCloudOnly: false @@ -71880,9 +72320,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -71907,17 +72347,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: &504 + default: &506 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -71943,9 +72383,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -71997,9 +72437,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 '404': *6 '422': *15 x-github: @@ -72021,9 +72461,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -72047,9 +72487,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 + - *445 + - *446 + - *498 responses: '200': description: Response @@ -72083,9 +72523,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -72152,9 +72592,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -72218,9 +72658,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 + - *445 + - *446 + - *498 requestBody: content: application/json: @@ -72286,15 +72726,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 + - *445 + - *446 + - *498 responses: '200': description: Response content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -72385,9 +72825,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 + - *445 + - *446 + - *498 responses: '204': description: Response @@ -72410,9 +72850,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 + - *445 + - *446 + - *498 responses: '200': description: Response @@ -72422,7 +72862,7 @@ paths: type: array items: *5 examples: - default: &505 + default: &507 value: - id: 1 slug: octoapp @@ -72479,9 +72919,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -72515,7 +72955,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *507 '422': *15 x-github: githubCloudOnly: false @@ -72536,9 +72976,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -72572,7 +73012,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *507 '422': *15 x-github: githubCloudOnly: false @@ -72593,9 +73033,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -72629,7 +73069,7 @@ paths: type: array items: *5 examples: - default: *505 + default: *507 '422': *15 x-github: githubCloudOnly: false @@ -72651,9 +73091,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 + - *445 + - *446 + - *498 responses: '200': description: Response @@ -72663,7 +73103,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 '404': *6 x-github: githubCloudOnly: false @@ -72683,9 +73123,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -72723,7 +73163,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 '422': *15 x-github: githubCloudOnly: false @@ -72744,9 +73184,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 + - *445 + - *446 + - *498 requestBody: required: false content: @@ -72784,7 +73224,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 '422': *15 x-github: githubCloudOnly: false @@ -72805,9 +73245,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 + - *445 + - *446 + - *498 requestBody: content: application/json: @@ -72844,7 +73284,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 '422': *15 x-github: githubCloudOnly: false @@ -72866,9 +73306,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 + - *445 + - *446 + - *498 responses: '200': description: Response @@ -72902,9 +73342,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -72962,9 +73402,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -73022,9 +73462,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 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -73084,9 +73524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *443 - - *444 - - *496 + - *445 + - *446 + - *498 requestBody: required: true content: @@ -73108,7 +73548,7 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -73222,8 +73662,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *443 - - *444 + - *445 + - *446 - *101 - *102 - *103 @@ -73259,8 +73699,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -73333,8 +73773,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *445 + - *446 - *101 - *102 - *103 @@ -73374,8 +73814,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -73445,8 +73885,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -73517,8 +73957,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *443 - - *444 + - *445 + - *446 - name: bypass_response_id in: path required: true @@ -73551,8 +73991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -73831,7 +74271,7 @@ paths: description: Response content: application/json: - schema: &507 + schema: &509 title: CheckRun description: A check performed on the code of a given code change type: object @@ -73967,7 +74407,7 @@ paths: check. type: array items: *220 - deployment: &836 + deployment: &837 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -74254,9 +74694,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 + - *445 + - *446 + - &510 name: check_run_id description: The unique identifier of the check run. in: path @@ -74268,9 +74708,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &509 + default: &511 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -74370,9 +74810,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 + - *445 + - *446 + - *510 requestBody: required: true content: @@ -74612,9 +75052,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *509 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74634,9 +75074,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 + - *445 + - *446 + - *510 - *17 - *19 responses: @@ -74746,9 +75186,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 + - *445 + - *446 + - *510 responses: '201': description: Response @@ -74792,8 +75232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -74815,7 +75255,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &511 + schema: &513 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -74913,7 +75353,7 @@ paths: - string - 'null' format: date-time - head_commit: *510 + head_commit: *512 latest_check_runs_count: type: integer check_runs_url: @@ -74941,7 +75381,7 @@ paths: - check_runs_url - pull_requests examples: - default: &512 + default: &514 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -75232,9 +75672,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75253,8 +75693,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 + - *445 + - *446 requestBody: required: true content: @@ -75563,9 +76003,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 + - *445 + - *446 + - &515 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -75577,9 +76017,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75602,17 +76042,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 + - *445 + - *446 + - *515 + - &565 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &564 + - &566 name: status description: Returns check runs with the specified `status`. in: query @@ -75651,9 +76091,9 @@ paths: type: integer check_runs: type: array - items: *507 + items: *509 examples: - default: &565 + default: &567 value: total_count: 1 check_runs: @@ -75755,9 +76195,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 + - *445 + - *446 + - *515 responses: '201': description: Response @@ -75790,21 +76230,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 + - *445 + - *446 - *309 - *310 - *19 - *17 - - &529 + - &531 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: *516 + - &532 name: pr description: The number of the pull request for the results you want to list. in: query @@ -75835,7 +76275,7 @@ paths: be returned. in: query required: false - schema: *515 + schema: *517 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -75859,7 +76299,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *516 + instances_url: *518 state: *111 fixed_at: *134 dismissed_by: @@ -75867,11 +76307,11 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *517 - dismissed_comment: *518 - rule: *519 - tool: *520 - most_recent_instance: *521 + dismissed_reason: *519 + dismissed_comment: *520 + rule: *521 + tool: *522 + most_recent_instance: *523 dismissal_approved_by: anyOf: - type: 'null' @@ -75994,7 +76434,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &522 + '403': &524 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -76021,9 +76461,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 + - *445 + - *446 + - &525 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -76037,7 +76477,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &526 type: object properties: number: *124 @@ -76045,7 +76485,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *516 + instances_url: *518 state: *111 fixed_at: *134 dismissed_by: @@ -76053,8 +76493,8 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_reason: *519 + dismissed_comment: *520 rule: type: object properties: @@ -76116,8 +76556,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *520 - most_recent_instance: *521 + tool: *522 + most_recent_instance: *523 dismissal_approved_by: anyOf: - type: 'null' @@ -76213,7 +76653,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *522 + '403': *524 '404': *6 '503': *190 x-github: @@ -76233,9 +76673,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 + - *445 + - *446 + - *525 requestBody: required: true content: @@ -76250,8 +76690,8 @@ paths: enum: - open - dismissed - dismissed_reason: *517 - dismissed_comment: *518 + dismissed_reason: *519 + dismissed_comment: *520 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -76279,7 +76719,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: default: value: @@ -76355,7 +76795,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &528 + '403': &530 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -76382,15 +76822,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 + - *445 + - *446 + - *525 responses: '200': description: Response content: application/json: - schema: &525 + schema: &527 type: object properties: status: @@ -76417,13 +76857,13 @@ paths: - description - started_at examples: - default: &526 + default: &528 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &527 + '400': &529 description: Bad Request content: application/json: @@ -76434,7 +76874,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': *524 '404': *6 '503': *190 x-github: @@ -76459,29 +76899,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 + - *445 + - *446 + - *525 responses: '200': description: OK content: application/json: - schema: *525 + schema: *527 examples: - default: *526 + default: *528 '202': description: Accepted content: application/json: - schema: *525 + schema: *527 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *527 + '400': *529 '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 +76953,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 + - *445 + - *446 + - *525 requestBody: required: false content: @@ -76561,8 +77001,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *527 - '403': *528 + '400': *529 + '403': *530 '404': *6 '422': description: Unprocessable Entity @@ -76586,13 +77026,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 + - *445 + - *446 + - *525 - *19 - *17 - - *529 - - *530 + - *531 + - *532 responses: '200': description: Response @@ -76603,10 +77043,10 @@ paths: items: type: object properties: - ref: *514 - analysis_key: *531 - environment: *532 - category: *533 + ref: *516 + analysis_key: *533 + environment: *534 + category: *535 state: type: - string @@ -76623,7 +77063,7 @@ paths: properties: text: type: string - location: *534 + location: *536 html_url: type: string classifications: @@ -76631,7 +77071,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: *537 examples: default: value: @@ -76668,7 +77108,7 @@ paths: end_column: 50 classifications: - source - '403': *522 + '403': *524 '404': *6 '503': *190 x-github: @@ -76702,25 +77142,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 + - *445 + - *446 - *309 - *310 - *19 - *17 - - *530 + - *532 - 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: *516 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &536 + schema: &538 type: string description: An identifier for the upload. examples: @@ -76742,23 +77182,23 @@ paths: application/json: schema: type: array - items: &537 + items: &539 type: object properties: - ref: *514 - commit_sha: &545 + ref: *516 + commit_sha: &547 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: *533 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *533 + category: *535 error: type: string examples: @@ -76783,8 +77223,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *536 - tool: *520 + sarif_id: *538 + tool: *522 deletable: type: boolean warning: @@ -76846,7 +77286,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *522 + '403': *524 '404': *6 '503': *190 x-github: @@ -76882,8 +77322,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 + - *445 + - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76896,7 +77336,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: response: summary: application/json response @@ -76950,7 +77390,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *522 + '403': *524 '404': *6 '422': description: Response if analysis could not be processed @@ -77037,8 +77477,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 + - *445 + - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77094,7 +77534,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': *530 '404': *6 '503': *190 x-github: @@ -77116,8 +77556,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 + - *445 + - *446 responses: '200': description: Response @@ -77125,7 +77565,7 @@ paths: application/json: schema: type: array - items: &538 + items: &540 title: CodeQL Database description: A CodeQL database. type: object @@ -77237,7 +77677,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': *524 '404': *6 '503': *190 x-github: @@ -77266,8 +77706,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 + - *445 + - *446 - name: language in: path description: The language of the CodeQL database. @@ -77279,7 +77719,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *540 examples: default: value: @@ -77311,9 +77751,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': &572 description: Found - '403': *522 + '403': *524 '404': *6 '503': *190 x-github: @@ -77335,8 +77775,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 + - *445 + - *446 - name: language in: path description: The language of the CodeQL database. @@ -77346,7 +77786,7 @@ paths: responses: '204': description: Response - '403': *528 + '403': *530 '404': *6 '503': *190 x-github: @@ -77374,8 +77814,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 + - *445 + - *446 requestBody: required: true content: @@ -77384,7 +77824,7 @@ paths: type: object additionalProperties: false properties: - language: &539 + language: &541 type: string description: The language targeted by the CodeQL query enum: @@ -77464,7 +77904,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &543 + schema: &545 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -77474,7 +77914,7 @@ paths: description: The ID of the variant analysis. controller_repo: *118 actor: *4 - query_language: *539 + query_language: *541 query_pack_url: type: string description: The download url for the query pack. @@ -77522,7 +77962,7 @@ paths: items: type: object properties: - repository: &540 + repository: &542 title: Repository Identifier description: Repository Identifier type: object @@ -77564,7 +78004,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &544 + analysis_status: &546 type: string description: The new status of the CodeQL variant analysis repository task. @@ -77596,7 +78036,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: &543 type: object properties: repository_count: @@ -77611,7 +78051,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: *542 required: - repository_count - repositories @@ -77634,8 +78074,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *541 - over_limit_repos: *541 + no_codeql_db_repos: *543 + over_limit_repos: *543 required: - access_mismatch_repos - not_found_repos @@ -77651,7 +78091,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &542 + value: &544 summary: Default response value: id: 1 @@ -77797,10 +78237,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *542 + value: *544 repository_lists: summary: Response for a successful variant analysis submission - value: *542 + value: *544 '404': *6 '422': description: Unable to process variant analysis submission @@ -77828,8 +78268,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 + - *445 + - *446 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -77841,9 +78281,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: *542 + default: *544 '404': *6 '503': *190 x-github: @@ -77866,7 +78306,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 + - *445 - name: repo in: path description: The name of the controller repository. @@ -77901,7 +78341,7 @@ paths: type: object properties: repository: *118 - analysis_status: *544 + analysis_status: *546 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -78026,8 +78466,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 + - *445 + - *446 responses: '200': description: Response @@ -78120,7 +78560,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *522 + '403': *524 '404': *6 '503': *190 x-github: @@ -78141,8 +78581,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 + - *445 + - *446 requestBody: required: true content: @@ -78236,7 +78676,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *528 + '403': *530 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -78307,8 +78747,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 + - *445 + - *446 requestBody: required: true content: @@ -78316,7 +78756,7 @@ paths: schema: type: object properties: - commit_sha: *545 + commit_sha: *547 ref: type: string description: |- @@ -78376,7 +78816,7 @@ paths: schema: type: object properties: - id: *536 + id: *538 url: type: string description: The REST API URL for checking the status of the upload. @@ -78390,7 +78830,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': *530 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -78413,8 +78853,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 + - *445 + - *446 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -78462,7 +78902,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': *524 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -78487,8 +78927,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 + - *445 + - *446 responses: '200': description: Response @@ -78569,8 +79009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *443 - - *444 + - *445 + - *446 - 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 +79138,8 @@ paths: parameters: - *17 - *19 - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -78715,7 +79155,7 @@ paths: type: integer codespaces: type: array - items: *367 + items: *368 examples: default: value: @@ -79013,8 +79453,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 + - *445 + - *446 requestBody: required: true content: @@ -79078,17 +79518,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '400': *14 '401': *23 '403': *27 @@ -79117,8 +79557,8 @@ paths: parameters: - *17 - *19 - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -79182,8 +79622,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 + - *445 + - *446 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -79220,9 +79660,9 @@ paths: type: integer machines: type: array - items: *547 + items: *549 examples: - default: &782 + default: &783 value: total_count: 2 machines: @@ -79262,8 +79702,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 + - *445 + - *446 - 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 +79790,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 + - *445 + - *446 - 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 +79860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -79439,7 +79879,7 @@ paths: type: integer secrets: type: array - items: &551 + items: &553 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -79460,7 +79900,7 @@ paths: - created_at - updated_at examples: - default: *548 + default: *550 headers: Link: *45 x-github: @@ -79483,16 +79923,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79512,17 +79952,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 + - *445 + - *446 - *286 responses: '200': description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79542,8 +79982,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 + - *445 + - *446 - *286 requestBody: required: true @@ -79596,8 +80036,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 + - *445 + - *446 - *286 responses: '204': @@ -79626,8 +80066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *443 - - *444 + - *445 + - *446 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -79665,7 +80105,7 @@ paths: application/json: schema: type: array - items: &553 + items: &555 title: Collaborator description: Collaborator type: object @@ -79858,8 +80298,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 + - *445 + - *446 - *137 responses: '204': @@ -79906,8 +80346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *443 - - *444 + - *445 + - *446 - *137 requestBody: required: false @@ -79934,7 +80374,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &629 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -80162,8 +80602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *443 - - *444 + - *445 + - *446 - *137 responses: '204': @@ -80195,8 +80635,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 + - *445 + - *446 - *137 responses: '200': @@ -80217,7 +80657,7 @@ paths: user: anyOf: - type: 'null' - - *553 + - *555 required: - permission - role_name @@ -80271,8 +80711,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 + - *445 + - *446 - *17 - *19 responses: @@ -80282,7 +80722,7 @@ paths: application/json: schema: type: array - items: &554 + items: &556 title: Commit Comment description: Commit Comment type: object @@ -80340,7 +80780,7 @@ paths: - created_at - updated_at examples: - default: &559 + default: &561 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 +80839,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '200': description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &560 + 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 @@ -80466,8 +80906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 requestBody: required: true @@ -80490,7 +80930,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -80541,8 +80981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '204': @@ -80564,8 +81004,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 + - *445 + - *446 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80592,7 +81032,7 @@ paths: application/json: schema: type: array - items: &555 + items: &557 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -80636,7 +81076,7 @@ paths: - content - created_at examples: - default: &632 + default: &634 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80681,8 +81121,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 + - *445 + - *446 - *231 requestBody: required: true @@ -80715,9 +81155,9 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *557 examples: - default: &556 + default: &558 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -80746,9 +81186,9 @@ paths: description: Reaction created content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -80770,10 +81210,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 + - *445 + - *446 - *231 - - &633 + - &635 name: reaction_id description: The unique identifier of the reaction. in: path @@ -80828,8 +81268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *443 - - *444 + - *445 + - *446 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -80885,9 +81325,9 @@ paths: application/json: schema: type: array - items: *557 + items: *559 examples: - default: &680 + default: &682 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80981,9 +81421,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 + - *445 + - *446 + - &560 name: commit_sha description: The SHA of the commit. in: path @@ -81055,9 +81495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *443 - - *444 - - *558 + - *445 + - *446 + - *560 - *17 - *19 responses: @@ -81067,9 +81507,9 @@ paths: application/json: schema: type: array - items: *554 + items: *556 examples: - default: *559 + default: *561 headers: Link: *45 x-github: @@ -81097,9 +81537,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 + - *445 + - *446 + - *560 requestBody: required: true content: @@ -81134,9 +81574,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *560 + default: *562 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -81164,9 +81604,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 + - *445 + - *446 + - *560 - *17 - *19 responses: @@ -81176,9 +81616,9 @@ paths: application/json: schema: type: array - items: *561 + items: *563 examples: - default: &672 + default: &674 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81715,11 +82155,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *443 - - *444 + - *445 + - *446 - *19 - *17 - - &562 + - &564 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 +82174,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: &658 + default: &660 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -81849,11 +82289,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 + - *445 + - *446 - *564 + - *565 + - *566 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -81887,9 +82327,9 @@ paths: type: integer check_runs: type: array - items: *507 + items: *509 examples: - default: *565 + default: *567 headers: Link: *45 x-github: @@ -81914,9 +82354,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 + - *445 + - *446 + - *564 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -81924,7 +82364,7 @@ paths: schema: type: integer example: 1 - - *563 + - *565 - *17 - *19 responses: @@ -81942,7 +82382,7 @@ paths: type: integer check_suites: type: array - items: *511 + items: *513 examples: default: value: @@ -82142,9 +82582,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 + - *445 + - *446 + - *564 - *17 - *19 responses: @@ -82346,9 +82786,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 + - *445 + - *446 + - *564 - *17 - *19 responses: @@ -82358,7 +82798,7 @@ paths: application/json: schema: type: array - items: &733 + items: &735 title: Status description: The status of a commit. type: object @@ -82439,7 +82879,7 @@ paths: site_admin: false headers: Link: *45 - '301': *449 + '301': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82467,8 +82907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -82501,11 +82941,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *566 + - *568 code_of_conduct_file: anyOf: - type: 'null' - - &567 + - &569 title: Community Health File type: object properties: @@ -82525,19 +82965,19 @@ paths: contributing: anyOf: - type: 'null' - - *567 + - *569 readme: anyOf: - type: 'null' - - *567 + - *569 issue_template: anyOf: - type: 'null' - - *567 + - *569 pull_request_template: anyOf: - type: 'null' - - *567 + - *569 required: - code_of_conduct - code_of_conduct_file @@ -82666,8 +83106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *443 - - *444 + - *445 + - *446 - *19 - *17 - name: basehead @@ -82715,8 +83155,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *557 - merge_base_commit: *557 + base_commit: *559 + merge_base_commit: *559 status: type: string enum: @@ -82740,10 +83180,10 @@ paths: - 6 commits: type: array - items: *557 + items: *559 files: type: array - items: *568 + items: *570 required: - url - html_url @@ -83029,8 +83469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *443 - - *444 + - *445 + - *446 - name: path description: path parameter in: path @@ -83045,6 +83485,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 +83640,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &569 + response-if-content-is-a-file-github-object: &571 summary: Response if content is a file value: type: file @@ -83201,7 +83658,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 +83777,7 @@ paths: - size - type - url - - &685 + - &687 title: Content File description: Content File type: object @@ -83538,7 +83995,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *569 + response-if-content-is-a-file: *571 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -83607,7 +84064,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *570 + '302': *572 '304': *35 x-github: githubCloudOnly: false @@ -83630,8 +84087,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 + - *445 + - *446 - name: path description: path parameter in: path @@ -83726,7 +84183,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &573 title: File Commit description: File Commit type: object @@ -83882,7 +84339,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: example-for-creating-a-file: value: @@ -83936,7 +84393,7 @@ paths: schema: oneOf: - *3 - - &612 + - &614 description: Repository rule violation was detected type: object properties: @@ -83957,7 +84414,7 @@ paths: items: type: object properties: - placeholder_id: &725 + placeholder_id: &727 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83989,8 +84446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *443 - - *444 + - *445 + - *446 - name: path description: path parameter in: path @@ -84051,7 +84508,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: default: value: @@ -84106,8 +84563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *443 - - *444 + - *445 + - *446 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -84231,8 +84688,8 @@ 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 + - *445 + - *446 - *324 - *325 - *326 @@ -84244,9 +84701,10 @@ paths: schema: type: string - *328 - - *572 + - *574 - *329 - *330 + - *331 - *108 - *106 - *107 @@ -84258,7 +84716,7 @@ paths: application/json: schema: type: array - items: &576 + items: &578 type: object description: A Dependabot alert. properties: @@ -84308,7 +84766,7 @@ paths: - direct - transitive - - security_advisory: *573 + security_advisory: *575 security_vulnerability: *128 url: *129 html_url: *130 @@ -84339,8 +84797,8 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: *574 - dismissal_request: *575 + auto_dismissed_at: *576 + dismissal_request: *577 assignees: type: array description: The users assigned to this alert. @@ -84467,6 +84925,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 +85028,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *35 '400': *14 '403': *27 @@ -84575,9 +85053,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 + - *445 + - *446 + - &579 name: alert_number in: path description: |- @@ -84592,7 +85070,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -84683,6 +85161,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 +85202,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 + - *445 + - *446 + - *579 requestBody: required: true content: @@ -84738,8 +85235,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 +85260,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -84855,6 +85363,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 +85390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -84900,7 +85409,7 @@ paths: type: integer secrets: type: array - items: &580 + items: &582 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84954,16 +85463,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84983,15 +85492,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *443 - - *444 + - *445 + - *446 - *286 responses: '200': description: Response content: application/json: - schema: *580 + schema: *582 examples: default: value: @@ -85017,8 +85526,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 + - *445 + - *446 - *286 requestBody: required: true @@ -85071,8 +85580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *443 - - *444 + - *445 + - *446 - *286 responses: '204': @@ -85095,8 +85604,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 + - *445 + - *446 - 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 +85779,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 + - *445 + - *446 responses: '200': description: Response @@ -85531,8 +86040,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 + - *445 + - *446 requestBody: required: true content: @@ -85615,7 +86124,7 @@ paths: - version - url additionalProperties: false - metadata: &581 + metadata: &583 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85654,7 +86163,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *581 + metadata: *583 resolved: type: object description: A collection of resolved package dependencies. @@ -85668,7 +86177,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *581 + metadata: *583 relationship: type: string description: A notation of whether a dependency is requested @@ -85801,8 +86310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *443 - - *444 + - *445 + - *446 - name: sha description: The SHA recorded at creation time. in: query @@ -85843,9 +86352,9 @@ paths: application/json: schema: type: array - items: *582 + items: *584 examples: - default: *583 + default: *585 headers: Link: *45 x-github: @@ -85911,8 +86420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -85994,7 +86503,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *584 examples: simple-example: summary: Simple example @@ -86067,9 +86576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *443 - - *444 - - &584 + - *445 + - *446 + - &586 name: deployment_id description: deployment_id parameter in: path @@ -86081,7 +86590,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *584 examples: default: value: @@ -86146,9 +86655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *443 - - *444 - - *584 + - *445 + - *446 + - *586 responses: '204': description: Response @@ -86170,9 +86679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *443 - - *444 - - *584 + - *445 + - *446 + - *586 - *17 - *19 responses: @@ -86182,7 +86691,7 @@ paths: application/json: schema: type: array - items: &585 + items: &587 title: Deployment Status description: The status of a deployment. type: object @@ -86346,9 +86855,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 + - *445 + - *446 + - *586 requestBody: required: true content: @@ -86423,9 +86932,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: &586 + default: &588 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -86481,9 +86990,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 + - *445 + - *446 + - *586 - name: status_id in: path required: true @@ -86494,9 +87003,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: *586 + default: *588 '404': *6 x-github: githubCloudOnly: false @@ -86523,12 +87032,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 - - *587 - - *588 + - *445 + - *446 - *589 - *590 + - *591 + - *592 - *17 - *19 responses: @@ -86538,9 +87047,9 @@ paths: application/json: schema: type: array - items: *591 + items: *593 examples: - default: *592 + default: *594 '404': *6 '403': *27 '500': *38 @@ -86564,8 +87073,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86577,7 +87086,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *591 + schema: *593 examples: default: value: @@ -86633,8 +87142,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86693,12 +87202,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 - - *587 - - *588 + - *445 + - *446 - *589 - *590 + - *591 + - *592 - *17 - *19 responses: @@ -86708,9 +87217,9 @@ paths: application/json: schema: type: array - items: *593 + items: *595 examples: - default: *594 + default: *596 '404': *6 '403': *27 '500': *38 @@ -86734,8 +87243,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86747,7 +87256,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *593 + schema: *595 examples: default: value: @@ -86798,8 +87307,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86837,7 +87346,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *593 + schema: *595 examples: default: value: @@ -86888,8 +87397,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86960,8 +87469,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -86994,12 +87503,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - *101 - *102 - *103 - - *335 + - *336 - *17 - *19 responses: @@ -87009,9 +87518,9 @@ paths: application/json: schema: type: array - items: *595 + items: *597 examples: - default: *596 + default: *598 '404': *6 '403': *27 '500': *38 @@ -87036,8 +87545,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -87049,7 +87558,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *595 + schema: *597 examples: default: value: @@ -87107,8 +87616,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: alert_number in: path required: true @@ -87177,8 +87686,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 + - *445 + - *446 requestBody: required: true content: @@ -87235,8 +87744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -87254,7 +87763,7 @@ paths: - 5 environments: type: array - items: &598 + items: &600 title: Environment description: Details of a deployment environment type: object @@ -87316,7 +87825,7 @@ paths: type: string examples: - wait_timer - wait_timer: &600 + wait_timer: &602 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -87358,7 +87867,7 @@ paths: items: type: object properties: - type: *597 + type: *599 reviewer: anyOf: - *4 @@ -87385,7 +87894,7 @@ paths: - id - node_id - type - deployment_branch_policy: &601 + deployment_branch_policy: &603 type: - object - 'null' @@ -87502,9 +88011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *443 - - *444 - - &599 + - *445 + - *446 + - &601 name: environment_name in: path required: true @@ -87517,9 +88026,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: &602 + default: &604 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -87603,9 +88112,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 + - *445 + - *446 + - *601 requestBody: required: false content: @@ -87615,7 +88124,7 @@ paths: - object - 'null' properties: - wait_timer: *600 + wait_timer: *602 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -87634,14 +88143,14 @@ paths: items: type: object properties: - type: *597 + type: *599 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: *603 additionalProperties: false examples: default: @@ -87661,9 +88170,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: *602 + default: *604 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -87687,9 +88196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *443 - - *444 - - *599 + - *445 + - *446 + - *601 responses: '204': description: Default response @@ -87714,9 +88223,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 + - *445 + - *446 + - *601 - *17 - *19 responses: @@ -87735,7 +88244,7 @@ paths: - 2 branch_policies: type: array - items: &603 + items: &605 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -87796,9 +88305,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 + - *445 + - *446 + - *601 requestBody: required: true content: @@ -87846,9 +88355,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: - example-wildcard: &604 + example-wildcard: &606 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -87890,10 +88399,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 + - *445 + - *446 + - *601 + - &607 name: branch_policy_id in: path required: true @@ -87905,9 +88414,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: - default: *604 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87926,10 +88435,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 + - *445 + - *446 + - *601 + - *607 requestBody: required: true content: @@ -87958,9 +88467,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: - default: *604 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87979,10 +88488,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 + - *445 + - *446 + - *601 + - *607 responses: '204': description: Response @@ -88007,9 +88516,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 + - *601 + - *446 + - *445 responses: '200': description: List of deployment protection rules @@ -88026,7 +88535,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &606 + items: &608 title: Deployment protection rule description: Deployment protection rule type: object @@ -88048,7 +88557,7 @@ paths: for the environment. examples: - true - app: &607 + app: &609 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -88151,9 +88660,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 + - *601 + - *446 + - *445 requestBody: content: application/json: @@ -88174,9 +88683,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *606 + schema: *608 examples: - default: &608 + default: &610 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -88211,9 +88720,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 + - *601 + - *446 + - *445 - *19 - *17 responses: @@ -88233,7 +88742,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *607 + items: *609 examples: default: value: @@ -88268,10 +88777,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 + - *445 + - *446 + - *601 + - &611 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -88283,9 +88792,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *608 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88306,10 +88815,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 + - *601 + - *446 + - *445 + - *611 responses: '204': description: Response @@ -88335,9 +88844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *443 - - *444 - - *599 + - *445 + - *446 + - *601 - *17 - *19 responses: @@ -88355,9 +88864,9 @@ paths: type: integer secrets: type: array - items: *474 + items: *476 examples: - default: *475 + default: *477 headers: Link: *45 x-github: @@ -88382,17 +88891,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 + - *445 + - *446 + - *601 responses: '200': description: Response content: application/json: - schema: *476 + schema: *478 examples: - default: *477 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88414,18 +88923,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 + - *445 + - *446 + - *601 - *286 responses: '200': description: Response content: application/json: - schema: *474 + schema: *476 examples: - default: *610 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88447,9 +88956,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 + - *445 + - *446 + - *601 - *286 requestBody: required: true @@ -88507,9 +89016,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 + - *445 + - *446 + - *601 - *286 responses: '204': @@ -88535,10 +89044,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 + - *445 + - *446 + - *601 + - *463 - *19 responses: '200': @@ -88555,9 +89064,9 @@ paths: type: integer variables: type: array - items: *478 + items: *480 examples: - default: *479 + default: *481 headers: Link: *45 x-github: @@ -88580,9 +89089,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 + - *445 + - *446 + - *601 requestBody: required: true content: @@ -88634,18 +89143,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 + - *445 + - *446 + - *601 - *289 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *611 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88666,10 +89175,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *443 - - *444 + - *445 + - *446 - *289 - - *599 + - *601 requestBody: required: true content: @@ -88711,10 +89220,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *443 - - *444 + - *445 + - *446 - *289 - - *599 + - *601 responses: '204': description: Response @@ -88736,8 +89245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -88805,8 +89314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *443 - - *444 + - *445 + - *446 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -88965,8 +89474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -88999,9 +89508,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *450 + default: *452 '400': *14 '422': *15 '403': *27 @@ -89022,8 +89531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -89083,7 +89592,7 @@ paths: schema: oneOf: - *251 - - *612 + - *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89108,8 +89617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *443 - - *444 + - *445 + - *446 - name: file_sha in: path required: true @@ -89209,8 +89718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -89319,7 +89828,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &615 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -89546,15 +90055,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 + - *445 + - *446 + - *560 responses: '200': description: Response content: application/json: - schema: *613 + schema: *615 examples: default: value: @@ -89610,9 +90119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *443 - - *444 - - &614 + - *445 + - *446 + - &616 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 +90138,7 @@ paths: application/json: schema: type: array - items: &615 + items: &617 title: Git Reference description: Git references within a repository type: object @@ -89705,17 +90214,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *443 - - *444 - - *614 + - *445 + - *446 + - *616 responses: '200': description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: &616 + default: &618 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -89744,8 +90253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -89774,9 +90283,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -89802,9 +90311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *443 - - *444 - - *614 + - *445 + - *446 + - *616 requestBody: required: true content: @@ -89833,9 +90342,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 '422': *15 '409': *117 x-github: @@ -89853,9 +90362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *443 - - *444 - - *614 + - *445 + - *446 + - *616 responses: '204': description: Response @@ -89910,8 +90419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -89978,7 +90487,7 @@ paths: description: Response content: application/json: - schema: &618 + schema: &620 title: Git Tag description: Metadata for a Git tag type: object @@ -90034,7 +90543,7 @@ paths: - sha - type - url - verification: *617 + verification: *619 required: - sha - url @@ -90044,7 +90553,7 @@ paths: - tag - message examples: - default: &619 + default: &621 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -90117,8 +90626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *443 - - *444 + - *445 + - *446 - name: tag_sha in: path required: true @@ -90129,9 +90638,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: - default: *619 + default: *621 '404': *6 '409': *117 x-github: @@ -90155,8 +90664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -90230,7 +90739,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &622 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -90332,8 +90841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *443 - - *444 + - *445 + - *446 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -90356,7 +90865,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: default-response: summary: Default response @@ -90415,8 +90924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -90426,7 +90935,7 @@ paths: application/json: schema: type: array - items: &621 + items: &623 title: Webhook description: Webhooks for repositories. type: object @@ -90489,7 +90998,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &872 + last_response: &873 title: Hook Response type: object properties: @@ -90566,8 +91075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -90620,9 +91129,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: &622 + default: &624 value: type: Repository id: 12345678 @@ -90670,17 +91179,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 + - *445 + - *446 + - *339 responses: '200': description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 '404': *6 x-github: githubCloudOnly: false @@ -90700,9 +91209,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 + - *445 + - *446 + - *339 requestBody: required: true content: @@ -90747,9 +91256,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 '422': *15 '404': *6 x-github: @@ -90770,9 +91279,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 + - *445 + - *446 + - *339 responses: '204': description: Response @@ -90796,9 +91305,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 + - *445 + - *446 + - *339 responses: '200': description: Response @@ -90825,9 +91334,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 + - *445 + - *446 + - *339 requestBody: required: false content: @@ -90871,11 +91380,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 - - *17 + - *445 + - *446 - *339 + - *17 + - *340 responses: '200': description: Response @@ -90883,9 +91392,9 @@ paths: application/json: schema: type: array - items: *340 + items: *341 examples: - default: *341 + default: *342 '400': *14 '422': *15 x-github: @@ -90904,18 +91413,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 + - *445 + - *446 + - *339 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *343 + default: *344 '400': *14 '422': *15 x-github: @@ -90934,9 +91443,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 + - *445 + - *446 + - *339 - *16 responses: '202': *37 @@ -90959,9 +91468,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 + - *445 + - *446 + - *339 responses: '204': description: Response @@ -90986,9 +91495,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 + - *445 + - *446 + - *339 responses: '204': description: Response @@ -91011,8 +91520,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 + - *445 + - *446 responses: '200': description: Response if immutable releases are enabled @@ -91060,8 +91569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': *149 '409': *117 @@ -91081,8 +91590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': *149 '409': *117 @@ -91139,14 +91648,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &623 + schema: &625 title: Import description: A repository import from an external source. type: object @@ -91253,7 +91762,7 @@ paths: - html_url - authors_url examples: - default: &626 + default: &628 value: vcs: subversion use_lfs: true @@ -91269,7 +91778,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': &626 description: Unavailable due to service under maintenance. content: application/json: @@ -91298,8 +91807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -91347,7 +91856,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -91372,7 +91881,7 @@ paths: type: string '422': *15 '404': *6 - '503': *624 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91400,8 +91909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -91453,7 +91962,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: example-1: summary: Example 1 @@ -91501,7 +92010,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': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91524,12 +92033,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response - '503': *624 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91555,9 +92064,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 + - *445 + - *446 + - &804 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -91571,7 +92080,7 @@ paths: application/json: schema: type: array - items: &625 + items: &627 title: Porter Author description: Porter Author type: object @@ -91625,7 +92134,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': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91650,8 +92159,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 + - *445 + - *446 - name: author_id in: path required: true @@ -91681,7 +92190,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: default: value: @@ -91694,7 +92203,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *624 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91718,8 +92227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -91760,7 +92269,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *624 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91788,8 +92297,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 + - *445 + - *446 requestBody: required: true content: @@ -91816,11 +92325,11 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: - default: *626 + default: *628 '422': *15 - '503': *624 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91843,8 +92352,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 + - *445 + - *446 responses: '200': description: Response @@ -91852,8 +92361,8 @@ paths: application/json: schema: *20 examples: - default: *355 - '301': *449 + default: *356 + '301': *451 '404': *6 x-github: githubCloudOnly: false @@ -91873,8 +92382,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 + - *445 + - *446 responses: '200': description: Response @@ -91882,12 +92391,12 @@ paths: application/json: schema: anyOf: - - *357 + - *358 - type: object properties: {} additionalProperties: false examples: - default: &628 + default: &630 value: limit: collaborators_only origin: repository @@ -91912,13 +92421,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 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *627 + schema: *629 examples: default: summary: Example request body @@ -91930,9 +92439,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *628 + default: *630 '409': description: Response x-github: @@ -91954,8 +92463,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 + - *445 + - *446 responses: '204': description: Response @@ -91978,8 +92487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -91989,9 +92498,9 @@ paths: application/json: schema: type: array - items: *629 + items: *631 examples: - default: &796 + default: &797 value: - id: 1 repository: @@ -92122,9 +92631,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 + - *445 + - *446 + - *362 requestBody: required: false content: @@ -92153,7 +92662,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *631 examples: default: value: @@ -92284,9 +92793,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 + - *445 + - *446 + - *362 responses: '204': description: Response @@ -92317,8 +92826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *443 - - *444 + - *445 + - *446 - 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 +92875,7 @@ paths: required: false schema: type: string - - *365 + - *366 - name: sort description: What to sort results by. in: query @@ -92391,7 +92900,7 @@ paths: type: array items: *217 examples: - default: &638 + default: &640 value: - id: 1 node_id: MDU6SXNzdWUx @@ -92540,7 +93049,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *449 + '301': *451 '422': *15 '404': *6 x-github: @@ -92569,8 +93078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -92662,7 +93171,7 @@ paths: application/json: schema: *217 examples: - default: &635 + default: &637 value: id: 1 node_id: MDU6SXNzdWUx @@ -92819,7 +93328,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *630 + '410': *632 x-github: triggersNotification: true githubCloudOnly: false @@ -92847,8 +93356,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 + - *445 + - *446 - *239 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -92871,7 +93380,7 @@ paths: type: array items: *218 examples: - default: &637 + default: &639 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92929,8 +93438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '200': @@ -92939,7 +93448,7 @@ paths: application/json: schema: *218 examples: - default: &631 + default: &633 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92994,8 +93503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 requestBody: required: true @@ -93020,7 +93529,7 @@ paths: application/json: schema: *218 examples: - default: *631 + default: *633 '422': *15 x-github: githubCloudOnly: false @@ -93038,8 +93547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '204': @@ -93068,8 +93577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#pin-an-issue-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '200': @@ -93132,7 +93641,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *632 '422': *15 x-github: githubCloudOnly: false @@ -93149,8 +93658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#unpin-an-issue-comment parameters: - - *443 - - *444 + - *445 + - *446 - *231 responses: '204': @@ -93158,7 +93667,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *632 '503': *190 x-github: githubCloudOnly: false @@ -93176,8 +93685,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 + - *445 + - *446 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -93204,9 +93713,9 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: *632 + default: *634 headers: Link: *45 '404': *6 @@ -93227,8 +93736,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 + - *445 + - *446 - *231 requestBody: required: true @@ -93261,16 +93770,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '201': description: Reaction created content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -93292,10 +93801,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 + - *445 + - *446 - *231 - - *633 + - *635 responses: '204': description: Response @@ -93315,8 +93824,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 + - *445 + - *446 - *17 - *19 responses: @@ -93326,7 +93835,7 @@ paths: application/json: schema: type: array - items: &634 + items: &636 title: Issue Event description: Issue Event type: object @@ -93666,8 +94175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *443 - - *444 + - *445 + - *446 - name: event_id in: path required: true @@ -93678,7 +94187,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: default: value: @@ -93871,7 +94380,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *630 + '410': *632 '403': *27 x-github: githubCloudOnly: false @@ -93905,9 +94414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *443 - - *444 - - &636 + - *445 + - *446 + - &638 name: issue_number description: The number that identifies the issue. in: path @@ -93932,7 +94441,7 @@ paths: examples: default: summary: Issue - value: *635 + value: *637 pinned_comment: summary: Issue with pinned comment value: @@ -94131,9 +94640,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 '304': *35 x-github: githubCloudOnly: false @@ -94158,9 +94667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *443 - - *444 - - *636 + - *445 + - *446 + - *638 requestBody: required: false content: @@ -94281,13 +94790,13 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 '422': *15 '503': *190 '403': *27 - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94305,9 +94814,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 + - *445 + - *446 + - *638 requestBody: required: false content: @@ -94335,7 +94844,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94351,9 +94860,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 + - *445 + - *446 + - *638 requestBody: content: application/json: @@ -94380,7 +94889,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94402,9 +94911,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 + - *445 + - *446 + - *638 - name: assignee in: path required: true @@ -94444,9 +94953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *443 - - *444 - - *636 + - *445 + - *446 + - *638 - *222 - *17 - *19 @@ -94459,11 +94968,11 @@ paths: type: array items: *218 examples: - default: *637 + default: *639 headers: Link: *45 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94492,9 +95001,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -94518,14 +95027,14 @@ paths: application/json: schema: *218 examples: - default: *631 + default: *633 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *630 + '410': *632 '422': *15 '404': *6 x-github: @@ -94553,9 +95062,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 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -94567,12 +95076,12 @@ paths: type: array items: *217 examples: - default: *638 + default: *640 headers: Link: *45 - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94600,9 +95109,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -94626,15 +95135,15 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *449 + '301': *451 '403': *27 - '410': *630 + '410': *632 '422': *15 '404': *6 x-github: @@ -94665,9 +95174,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 + - *445 + - *446 + - *638 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -94681,13 +95190,13 @@ paths: application/json: schema: *217 examples: - default: *635 - '301': *449 + default: *637 + '301': *451 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *630 + '410': *632 x-github: triggersNotification: true githubCloudOnly: false @@ -94713,9 +95222,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 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -94727,12 +95236,12 @@ paths: type: array items: *217 examples: - default: *638 + default: *640 headers: Link: *45 - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94749,9 +95258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *443 - - *444 - - *636 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -94765,7 +95274,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &640 + - &642 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -94814,7 +95323,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &643 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -94942,7 +95451,7 @@ paths: - performed_via_github_app - assignee - assigner - - &642 + - &644 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -94988,7 +95497,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &643 + - &645 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -95034,7 +95543,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &646 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -95083,7 +95592,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &647 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -95125,7 +95634,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &648 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -95167,7 +95676,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &649 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -95223,7 +95732,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &650 title: Locked Issue Event description: Locked Issue Event type: object @@ -95268,7 +95777,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &651 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -95329,7 +95838,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &652 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -95390,7 +95899,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &653 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -95451,7 +95960,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &654 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -95544,7 +96053,7 @@ paths: color: red headers: Link: *45 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95561,9 +96070,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 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -95575,7 +96084,7 @@ paths: type: array items: *216 examples: - default: &639 + default: &641 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95593,9 +96102,9 @@ paths: default: false headers: Link: *45 - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95611,9 +96120,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 + - *445 + - *446 + - *638 requestBody: required: false content: @@ -95658,10 +96167,10 @@ paths: type: array items: *216 examples: - default: *639 - '301': *449 + default: *641 + '301': *451 '404': *6 - '410': *630 + '410': *632 '422': *15 x-github: githubCloudOnly: false @@ -95678,9 +96187,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 + - *445 + - *446 + - *638 requestBody: required: false content: @@ -95742,10 +96251,10 @@ paths: type: array items: *216 examples: - default: *639 - '301': *449 + default: *641 + '301': *451 '404': *6 - '410': *630 + '410': *632 '422': *15 x-github: githubCloudOnly: false @@ -95762,15 +96271,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 + - *445 + - *446 + - *638 responses: '204': description: Response - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95789,9 +96298,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 + - *445 + - *446 + - *638 - name: name in: path required: true @@ -95815,9 +96324,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *449 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95837,9 +96346,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *443 - - *444 - - *636 + - *445 + - *446 + - *638 requestBody: required: false content: @@ -95868,7 +96377,7 @@ paths: '204': description: Response '403': *27 - '410': *630 + '410': *632 '404': *6 '422': *15 x-github: @@ -95886,9 +96395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *443 - - *444 - - *636 + - *445 + - *446 + - *638 responses: '204': description: Response @@ -95918,9 +96427,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 + - *445 + - *446 + - *638 responses: '200': description: Response @@ -95928,10 +96437,10 @@ paths: application/json: schema: *217 examples: - default: *635 - '301': *449 + default: *637 + '301': *451 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95948,9 +96457,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 + - *445 + - *446 + - *638 - 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 +96485,13 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: *632 + default: *634 headers: Link: *45 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96000,9 +96509,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -96034,16 +96543,16 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '201': description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -96065,10 +96574,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *443 - - *444 - - *636 - - *633 + - *445 + - *446 + - *638 + - *635 responses: '204': description: Response @@ -96097,9 +96606,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -96123,7 +96632,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -96156,9 +96665,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 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -96170,11 +96679,11 @@ paths: type: array items: *217 examples: - default: *638 + default: *640 headers: Link: *45 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96202,9 +96711,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -96233,14 +96742,14 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *630 + '410': *632 '422': *15 '404': *6 x-github: @@ -96260,9 +96769,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 + - *445 + - *446 + - *638 requestBody: required: true content: @@ -96295,7 +96804,7 @@ paths: application/json: schema: *217 examples: - default: *635 + default: *637 '403': *27 '404': *6 '422': *7 @@ -96317,9 +96826,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 + - *445 + - *446 + - *638 - *17 - *19 responses: @@ -96334,8 +96843,6 @@ paths: description: Timeline Event type: object anyOf: - - *640 - - *641 - *642 - *643 - *644 @@ -96347,6 +96854,8 @@ paths: - *650 - *651 - *652 + - *653 + - *654 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -96403,7 +96912,7 @@ paths: pin: anyOf: - type: 'null' - - *653 + - *655 required: - event - actor @@ -96679,7 +97188,7 @@ paths: type: string comments: type: array - items: &674 + items: &676 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -96920,7 +97429,7 @@ paths: type: string comments: type: array - items: *554 + items: *556 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -97195,7 +97704,7 @@ paths: headers: Link: *45 '404': *6 - '410': *630 + '410': *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97212,8 +97721,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 + - *445 + - *446 - *17 - *19 responses: @@ -97223,7 +97732,7 @@ paths: application/json: schema: type: array - items: &654 + items: &656 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -97291,8 +97800,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 + - *445 + - *446 requestBody: required: true content: @@ -97328,9 +97837,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *656 examples: - default: &655 + default: &657 value: id: 1 key: ssh-rsa AAA... @@ -97364,9 +97873,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 + - *445 + - *446 + - &658 name: key_id description: The unique identifier of the key. in: path @@ -97378,9 +97887,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *656 examples: - default: *655 + default: *657 '404': *6 x-github: githubCloudOnly: false @@ -97398,9 +97907,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 + - *445 + - *446 + - *658 responses: '204': description: Response @@ -97420,8 +97929,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 + - *445 + - *446 - *17 - *19 responses: @@ -97433,7 +97942,7 @@ paths: type: array items: *216 examples: - default: *639 + default: *641 headers: Link: *45 '404': *6 @@ -97454,8 +97963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -97493,7 +98002,7 @@ paths: application/json: schema: *216 examples: - default: &657 + default: &659 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -97525,8 +98034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *443 - - *444 + - *445 + - *446 - name: name in: path required: true @@ -97539,7 +98048,7 @@ paths: application/json: schema: *216 examples: - default: *657 + default: *659 '404': *6 x-github: githubCloudOnly: false @@ -97556,8 +98065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *443 - - *444 + - *445 + - *446 - name: name in: path required: true @@ -97622,8 +98131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *443 - - *444 + - *445 + - *446 - name: name in: path required: true @@ -97649,8 +98158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -97686,8 +98195,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 + - *445 + - *446 responses: '202': *37 '403': @@ -97715,8 +98224,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 + - *445 + - *446 responses: '204': description: Response @@ -97742,9 +98251,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 + - *445 + - *446 + - *531 responses: '200': description: Response @@ -97891,8 +98400,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 + - *445 + - *446 requestBody: required: true content: @@ -97957,8 +98466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -97992,9 +98501,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *557 + schema: *559 examples: - default: *658 + default: *660 '204': description: Response when already merged '404': @@ -98019,8 +98528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *443 - - *444 + - *445 + - *446 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -98061,7 +98570,7 @@ paths: application/json: schema: type: array - items: *396 + items: *397 examples: default: value: @@ -98117,8 +98626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -98158,9 +98667,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: &659 + default: &661 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 +98728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *443 - - *444 - - &660 + - *445 + - *446 + - &662 name: milestone_number description: The number that identifies the milestone. in: path @@ -98233,9 +98742,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: *659 + default: *661 '404': *6 x-github: githubCloudOnly: false @@ -98252,9 +98761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *443 - - *444 - - *660 + - *445 + - *446 + - *662 requestBody: required: false content: @@ -98292,9 +98801,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: *659 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98310,9 +98819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *443 - - *444 - - *660 + - *445 + - *446 + - *662 responses: '204': description: Response @@ -98333,9 +98842,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 + - *445 + - *446 + - *662 - *17 - *19 responses: @@ -98347,7 +98856,7 @@ paths: type: array items: *216 examples: - default: *639 + default: *641 headers: Link: *45 x-github: @@ -98366,12 +98875,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 - - *222 + - *445 + - *446 - *663 + - *664 + - *222 + - *665 - *17 - *19 responses: @@ -98383,7 +98892,7 @@ paths: type: array items: *242 examples: - default: *664 + default: *666 headers: Link: *45 x-github: @@ -98407,8 +98916,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 + - *445 + - *446 requestBody: required: false content: @@ -98466,14 +98975,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 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &665 + schema: &667 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -98617,7 +99126,7 @@ paths: - custom_404 - public examples: - default: &666 + default: &668 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -98658,8 +99167,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 + - *445 + - *446 requestBody: required: true content: @@ -98714,9 +99223,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: *666 + default: *668 '422': *15 '409': *117 x-github: @@ -98739,8 +99248,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 + - *445 + - *446 requestBody: required: true content: @@ -98848,8 +99357,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 + - *445 + - *446 responses: '204': description: Response @@ -98875,8 +99384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -98886,7 +99395,7 @@ paths: application/json: schema: type: array - items: &667 + items: &669 title: Page Build description: Page Build type: object @@ -98978,8 +99487,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 + - *445 + - *446 responses: '201': description: Response @@ -99026,16 +99535,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: &668 + default: &670 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -99083,8 +99592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *443 - - *444 + - *445 + - *446 - name: build_id in: path required: true @@ -99095,9 +99604,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: *668 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99117,8 +99626,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 + - *445 + - *446 requestBody: required: true content: @@ -99226,9 +99735,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 + - *445 + - *446 + - &671 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -99286,9 +99795,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 + - *445 + - *446 + - *671 responses: '204': *149 '404': *6 @@ -99315,8 +99824,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 + - *445 + - *446 responses: '200': description: Response @@ -99611,8 +100120,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 + - *445 + - *446 responses: '200': description: Private vulnerability reporting status @@ -99649,8 +100158,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 + - *445 + - *446 responses: '204': *149 '422': *14 @@ -99671,8 +100180,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 + - *445 + - *446 responses: '204': *149 '422': *14 @@ -99694,8 +100203,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 + - *445 + - *446 responses: '200': description: Response @@ -99705,7 +100214,7 @@ paths: type: array items: *150 examples: - default: *670 + default: *672 '403': *27 '404': *6 x-github: @@ -99727,8 +100236,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 + - *445 + - *446 requestBody: required: true content: @@ -99744,7 +100253,7 @@ paths: required: - properties examples: - default: *671 + default: *673 responses: '204': description: No Content when custom property values are successfully created @@ -99782,8 +100291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *443 - - *444 + - *445 + - *446 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99843,9 +100352,9 @@ paths: application/json: schema: type: array - items: *561 + items: *563 examples: - default: *672 + default: *674 headers: Link: *45 '304': *35 @@ -99877,8 +100386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -99945,7 +100454,7 @@ paths: description: Response content: application/json: - schema: &676 + schema: &678 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -100074,7 +100583,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *397 active_lock_reason: type: - string @@ -100129,7 +100638,7 @@ paths: type: - array - 'null' - items: *375 + items: *376 head: type: object properties: @@ -100167,14 +100676,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: *398 + commits: *398 + statuses: *398 + html: *398 + issue: *398 + review_comments: *398 + review_comment: *398 + self: *398 required: - comments - commits @@ -100185,7 +100694,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: *673 + auto_merge: *675 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -100287,7 +100796,7 @@ paths: - merged_by - review_comments examples: - default: &677 + default: &679 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -100814,8 +101323,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 + - *445 + - *446 - name: sort in: query required: false @@ -100844,9 +101353,9 @@ paths: application/json: schema: type: array - items: *674 + items: *676 examples: - default: &679 + default: &681 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100923,17 +101432,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 + - *445 + - *446 - *231 responses: '200': description: Response content: application/json: - schema: *674 + schema: *676 examples: - default: &675 + default: &677 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -101008,8 +101517,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 + - *445 + - *446 - *231 requestBody: required: true @@ -101032,9 +101541,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *676 examples: - default: *675 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101050,8 +101559,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 + - *445 + - *446 - *231 responses: '204': @@ -101073,8 +101582,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 + - *445 + - *446 - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -101101,9 +101610,9 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: *632 + default: *634 headers: Link: *45 '404': *6 @@ -101124,8 +101633,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 + - *445 + - *446 - *231 requestBody: required: true @@ -101158,16 +101667,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '201': description: Reaction created content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -101189,10 +101698,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 + - *445 + - *446 - *231 - - *633 + - *635 responses: '204': description: Response @@ -101235,9 +101744,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 + - *445 + - *446 + - &680 name: pull_number description: The number that identifies the pull request. in: path @@ -101250,9 +101759,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *676 + schema: *678 examples: - default: *677 + default: *679 '304': *35 '404': *6 '406': @@ -101287,9 +101796,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 + - *445 + - *446 + - *680 requestBody: required: false content: @@ -101331,9 +101840,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *678 examples: - default: *677 + default: *679 '422': *15 '403': *27 x-github: @@ -101355,9 +101864,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 + - *445 + - *446 + - *680 requestBody: required: true content: @@ -101418,17 +101927,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '401': *23 '403': *27 '404': *6 @@ -101458,9 +101967,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 + - *445 + - *446 + - *680 - *239 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -101481,9 +101990,9 @@ paths: application/json: schema: type: array - items: *674 + items: *676 examples: - default: *679 + default: *681 headers: Link: *45 x-github: @@ -101516,9 +102025,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 + - *445 + - *446 + - *680 requestBody: required: true content: @@ -101624,7 +102133,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *676 examples: example-for-a-multi-line-comment: value: @@ -101712,9 +102221,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 + - *445 + - *446 + - *680 - *231 requestBody: required: true @@ -101737,7 +102246,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *676 examples: default: value: @@ -101823,9 +102332,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 + - *445 + - *446 + - *680 - *17 - *19 responses: @@ -101835,9 +102344,9 @@ paths: application/json: schema: type: array - items: *557 + items: *559 examples: - default: *680 + default: *682 headers: Link: *45 x-github: @@ -101867,9 +102376,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 + - *445 + - *446 + - *680 - *17 - *19 responses: @@ -101879,7 +102388,7 @@ paths: application/json: schema: type: array - items: *568 + items: *570 examples: default: value: @@ -101917,9 +102426,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 + - *445 + - *446 + - *680 responses: '204': description: Response if pull request has been merged @@ -101942,9 +102451,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 + - *445 + - *446 + - *680 requestBody: required: false content: @@ -102056,9 +102565,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 + - *445 + - *446 + - *680 responses: '200': description: Response @@ -102133,9 +102642,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 + - *445 + - *446 + - *680 requestBody: required: false content: @@ -102172,7 +102681,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -102708,9 +103217,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 + - *445 + - *446 + - *680 requestBody: required: true content: @@ -102744,7 +103253,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -103249,9 +103758,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 + - *445 + - *446 + - *680 - *17 - *19 responses: @@ -103261,7 +103770,7 @@ paths: application/json: schema: type: array - items: &681 + items: &683 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -103417,9 +103926,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 + - *445 + - *446 + - *680 requestBody: required: false content: @@ -103509,9 +104018,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: &683 + default: &685 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103574,10 +104083,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 + - *445 + - *446 + - *680 + - &684 name: review_id description: The unique identifier of the review. in: path @@ -103589,9 +104098,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: &684 + default: &686 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103650,10 +104159,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 + - *445 + - *446 + - *680 + - *684 requestBody: required: true content: @@ -103676,7 +104185,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: default: value: @@ -103738,18 +104247,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 + - *445 + - *446 + - *680 + - *684 responses: '200': description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: *683 + default: *685 '422': *7 '404': *6 x-github: @@ -103776,10 +104285,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 + - *445 + - *446 + - *680 + - *684 - *17 - *19 responses: @@ -103877,9 +104386,9 @@ paths: _links: type: object properties: - self: *397 - html: *397 - pull_request: *397 + self: *398 + html: *398 + pull_request: *398 required: - self - html @@ -104037,10 +104546,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 + - *445 + - *446 + - *680 + - *684 requestBody: required: true content: @@ -104069,7 +104578,7 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: default: value: @@ -104132,10 +104641,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 + - *445 + - *446 + - *680 + - *684 requestBody: required: true content: @@ -104170,9 +104679,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: *684 + default: *686 '404': *6 '422': *7 '403': *27 @@ -104194,9 +104703,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 + - *445 + - *446 + - *680 requestBody: required: false content: @@ -104260,8 +104769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *443 - - *444 + - *445 + - *446 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -104274,9 +104783,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *687 examples: - default: &686 + default: &688 value: type: file encoding: base64 @@ -104318,8 +104827,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 + - *445 + - *446 - name: dir description: The alternate path to look for a README file in: path @@ -104339,9 +104848,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *687 examples: - default: *686 + default: *688 '404': *6 '422': *15 x-github: @@ -104363,8 +104872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -104374,7 +104883,7 @@ paths: application/json: schema: type: array - items: *687 + items: *689 examples: default: value: @@ -104468,8 +104977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -104545,9 +105054,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: &691 + default: &693 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 +105161,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 + - *445 + - *446 + - &691 name: asset_id description: The unique identifier of the asset. in: path @@ -104666,9 +105175,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *690 examples: - default: &690 + default: &692 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 +105212,7 @@ paths: type: User site_admin: false '404': *6 - '302': *570 + '302': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104719,9 +105228,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 + - *445 + - *446 + - *691 requestBody: required: false content: @@ -104750,9 +105259,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *690 examples: - default: *690 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104768,9 +105277,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 + - *445 + - *446 + - *691 responses: '204': description: Response @@ -104794,8 +105303,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 + - *445 + - *446 requestBody: required: true content: @@ -104881,16 +105390,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *691 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104907,8 +105416,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 + - *445 + - *446 - name: tag description: tag parameter in: path @@ -104921,9 +105430,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *691 + default: *693 '404': *6 x-github: githubCloudOnly: false @@ -104945,9 +105454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *443 - - *444 - - &692 + - *445 + - *446 + - &694 name: release_id description: The unique identifier of the release. in: path @@ -104961,9 +105470,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: *689 examples: - default: *691 + default: *693 '401': description: Unauthorized x-github: @@ -104981,9 +105490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *443 - - *444 - - *692 + - *445 + - *446 + - *694 requestBody: required: false content: @@ -105047,9 +105556,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *691 + default: *693 '404': description: Not Found if the discussion category name is invalid content: @@ -105070,9 +105579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *443 - - *444 - - *692 + - *445 + - *446 + - *694 responses: '204': description: Response @@ -105092,9 +105601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *443 - - *444 - - *692 + - *445 + - *446 + - *694 - *17 - *19 responses: @@ -105104,7 +105613,7 @@ paths: application/json: schema: type: array - items: *688 + items: *690 examples: default: value: @@ -105186,9 +105695,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 + - *445 + - *446 + - *694 - name: name in: query required: true @@ -105214,7 +105723,7 @@ paths: description: Response for successful upload content: application/json: - schema: *688 + schema: *690 examples: response-for-successful-upload: value: @@ -105269,9 +105778,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 + - *445 + - *446 + - *694 - 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 +105804,9 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: *632 + default: *634 headers: Link: *45 '404': *6 @@ -105318,9 +105827,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 + - *445 + - *446 + - *694 requestBody: required: true content: @@ -105350,16 +105859,16 @@ paths: description: Reaction exists content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '201': description: Reaction created content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '422': *15 x-github: githubCloudOnly: false @@ -105381,10 +105890,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 + - *445 + - *446 + - *694 + - *635 responses: '204': description: Response @@ -105408,9 +105917,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 + - *445 + - *446 + - *498 - *17 - *19 responses: @@ -105427,7 +105936,7 @@ paths: oneOf: - allOf: - *164 - - &693 + - &695 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -105448,67 +105957,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *165 - - *693 + - *695 - allOf: - *166 - - *693 + - *695 - allOf: - *167 - - *693 + - *695 - allOf: - - *694 - - *693 + - *696 + - *695 - allOf: - *168 - - *693 + - *695 - allOf: - *169 - - *693 + - *695 - allOf: - *170 - - *693 + - *695 - allOf: - *171 - - *693 + - *695 - allOf: - *172 - - *693 + - *695 - allOf: - *173 - - *693 + - *695 - allOf: - *174 - - *693 + - *695 - allOf: - *175 - - *693 + - *695 - allOf: - *176 - - *693 + - *695 - allOf: - *177 - - *693 + - *695 - allOf: - *178 - - *693 + - *695 - allOf: - *179 - - *693 + - *695 - allOf: - *180 - - *693 + - *695 - allOf: - *181 - - *693 + - *695 - allOf: - *182 - - *693 + - *695 - allOf: - *183 - - *693 + - *695 - allOf: - *184 - - *693 + - *695 examples: default: value: @@ -105547,8 +106056,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 - name: includes_parents @@ -105559,7 +106068,7 @@ paths: schema: type: boolean default: true - - *695 + - *697 responses: '200': description: Response @@ -105614,8 +106123,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *445 + - *446 requestBody: description: Request body required: true @@ -105644,7 +106153,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *696 + items: *698 required: - name - enforcement @@ -105677,7 +106186,7 @@ paths: application/json: schema: *185 examples: - default: &705 + default: &707 value: id: 42 name: super cool ruleset @@ -105710,6 +106219,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 +106234,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 - - *103 - - *698 + - *445 + - *446 - *699 + - *103 + - *700 + - *701 - *17 - *19 responses: @@ -105737,9 +106247,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *702 examples: - default: *701 + default: *703 '404': *6 '500': *38 x-github: @@ -105760,17 +106270,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 + - *445 + - *446 + - *704 responses: '200': description: Response content: application/json: - schema: *703 + schema: *705 examples: - default: *704 + default: *706 '404': *6 '500': *38 x-github: @@ -105798,8 +106308,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105821,7 +106331,7 @@ paths: application/json: schema: *185 examples: - default: *705 + default: *707 '404': *6 '500': *38 put: @@ -105839,8 +106349,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105874,7 +106384,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *696 + items: *698 examples: default: value: @@ -105904,8 +106414,9 @@ paths: application/json: schema: *185 examples: - default: *705 + default: *707 '404': *6 + '422': *15 '500': *38 delete: summary: Delete a repository ruleset @@ -105922,8 +106433,8 @@ paths: category: repos subcategory: rules parameters: - - *443 - - *444 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105946,8 +106457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 - name: ruleset_id @@ -105965,7 +106476,7 @@ paths: type: array items: *189 examples: - default: *413 + default: *414 '404': *6 '500': *38 x-github: @@ -105984,8 +106495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *443 - - *444 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -106003,7 +106514,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *415 examples: default: value: @@ -106058,22 +106569,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 + - *445 + - *446 - *416 - *417 - *418 - *419 + - *420 - *108 - *19 - *17 - - *706 - - *707 - - *420 + - *708 + - *709 - *421 - *422 - *423 + - *424 responses: '200': description: Response @@ -106081,7 +106592,7 @@ paths: application/json: schema: type: array - items: &711 + items: &713 type: object properties: number: *124 @@ -106097,8 +106608,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *708 - resolution: *709 + state: *710 + resolution: *711 resolved_at: type: - string @@ -106192,7 +106703,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *710 + - *712 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -106337,16 +106848,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 + - *445 + - *446 + - *525 + - *424 responses: '200': description: Response content: application/json: - schema: *711 + schema: *713 examples: default: value: @@ -106400,9 +106911,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 + - *445 + - *446 + - *525 requestBody: required: true content: @@ -106410,8 +106921,8 @@ paths: schema: type: object properties: - state: *708 - resolution: *709 + state: *710 + resolution: *711 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -106447,7 +106958,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *713 examples: default: value: @@ -106542,9 +107053,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 + - *445 + - *446 + - *525 - *19 - *17 responses: @@ -106555,7 +107066,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &892 + items: &893 type: object properties: type: @@ -106582,8 +107093,6 @@ paths: - commit details: oneOf: - - *712 - - *713 - *714 - *715 - *716 @@ -106595,6 +107104,8 @@ paths: - *722 - *723 - *724 + - *725 + - *726 examples: default: value: @@ -106680,8 +107191,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 + - *445 + - *446 requestBody: required: true content: @@ -106689,14 +107200,14 @@ paths: schema: type: object properties: - reason: &726 + reason: &728 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *725 + placeholder_id: *727 required: - reason - placeholder_id @@ -106713,7 +107224,7 @@ paths: schema: type: object properties: - reason: *726 + reason: *728 expire_at: type: - string @@ -106760,8 +107271,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 + - *445 + - *446 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106776,7 +107287,7 @@ paths: properties: incremental_scans: type: array - items: &727 + items: &729 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106804,15 +107315,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *727 + items: *729 backfill_scans: type: array - items: *727 + items: *729 custom_pattern_backfill_scans: type: array items: allOf: - - *727 + - *729 - type: object properties: pattern_name: @@ -106882,8 +107393,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 + - *445 + - *446 - *108 - name: sort description: The property to sort the results by. @@ -106927,9 +107438,9 @@ paths: application/json: schema: type: array - items: *728 + items: *730 examples: - default: *729 + default: *731 '400': *14 '404': *6 x-github: @@ -106952,8 +107463,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 + - *445 + - *446 requestBody: required: true content: @@ -107033,7 +107544,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *429 required: - login - type @@ -107123,9 +107634,9 @@ paths: description: Response content: application/json: - schema: *728 + schema: *730 examples: - default: &731 + default: &733 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -107358,8 +107869,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 + - *445 + - *446 requestBody: required: true content: @@ -107472,7 +107983,7 @@ paths: description: Response content: application/json: - schema: *728 + schema: *730 examples: default: value: @@ -107619,17 +108130,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 + - *445 + - *446 + - *732 responses: '200': description: Response content: application/json: - schema: *728 + schema: *730 examples: - default: *731 + default: *733 '403': *27 '404': *6 x-github: @@ -107653,9 +108164,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 + - *445 + - *446 + - *732 requestBody: required: true content: @@ -107735,7 +108246,7 @@ paths: login: type: string description: The username of the user credited. - type: *428 + type: *429 required: - login - type @@ -107826,10 +108337,10 @@ paths: description: Response content: application/json: - schema: *728 + schema: *730 examples: - default: *731 - add_credit: *731 + default: *733 + add_credit: *733 '403': *27 '404': *6 '422': @@ -107867,9 +108378,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 + - *445 + - *446 + - *732 responses: '202': *37 '400': *14 @@ -107896,17 +108407,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 + - *445 + - *446 + - *732 responses: '202': description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *450 + default: *452 '400': *14 '422': *15 '403': *27 @@ -107932,8 +108443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -108029,8 +108540,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 + - *445 + - *446 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -108039,7 +108550,7 @@ paths: application/json: schema: type: array - items: &732 + items: &734 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -108072,8 +108583,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 + - *445 + - *446 responses: '200': description: Response @@ -108151,8 +108662,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 + - *445 + - *446 responses: '200': description: Response @@ -108246,8 +108757,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 + - *445 + - *446 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -108401,8 +108912,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 + - *445 + - *446 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -108412,7 +108923,7 @@ paths: application/json: schema: type: array - items: *732 + items: *734 examples: default: value: @@ -108445,8 +108956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *443 - - *444 + - *445 + - *446 - name: sha in: path required: true @@ -108502,7 +109013,7 @@ paths: description: Response content: application/json: - schema: *733 + schema: *735 examples: default: value: @@ -108556,8 +109067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -108589,14 +109100,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &734 + schema: &736 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -108669,8 +109180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: false content: @@ -108696,7 +109207,7 @@ paths: description: Response content: application/json: - schema: *734 + schema: *736 examples: default: value: @@ -108723,8 +109234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -108744,8 +109255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -108810,165 +109321,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 +109338,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 + - *445 + - *446 - name: ref in: path required: true @@ -109023,8 +109375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *443 - - *444 + - *445 + - *446 - *17 - *19 responses: @@ -109036,7 +109388,7 @@ paths: type: array items: *305 examples: - default: *376 + default: *377 headers: Link: *45 '404': *6 @@ -109056,8 +109408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *443 - - *444 + - *445 + - *446 - *19 - *17 responses: @@ -109065,7 +109417,7 @@ paths: description: Response content: application/json: - schema: &736 + schema: &737 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -109077,7 +109429,7 @@ paths: required: - names examples: - default: &737 + default: &738 value: names: - octocat @@ -109100,8 +109452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -109132,9 +109484,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *737 examples: - default: *737 + default: *738 '404': *6 '422': *7 x-github: @@ -109155,9 +109507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *443 - - *444 - - &738 + - *445 + - *446 + - &739 name: per description: The time frame to display results for. in: query @@ -109188,7 +109540,7 @@ paths: - 128 clones: type: array - items: &739 + items: &740 title: Traffic type: object properties: @@ -109275,8 +109627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -109370,8 +109722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *443 - - *444 + - *445 + - *446 responses: '200': description: Response @@ -109434,9 +109786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *443 - - *444 - - *738 + - *445 + - *446 + - *739 responses: '200': description: Response @@ -109457,7 +109809,7 @@ paths: - 3782 views: type: array - items: *739 + items: *740 required: - uniques - count @@ -109534,8 +109886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *443 - - *444 + - *445 + - *446 requestBody: required: true content: @@ -109809,8 +110161,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 + - *445 + - *446 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -109833,8 +110185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -109856,8 +110208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *443 - - *444 + - *445 + - *446 responses: '204': description: Response @@ -109883,8 +110235,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 + - *445 + - *446 - name: ref in: path required: true @@ -109976,9 +110328,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *450 + default: *452 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -110129,7 +110481,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &747 + - &748 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -110139,7 +110491,7 @@ paths: type: string examples: - members - - &752 + - &753 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -110151,7 +110503,7 @@ paths: format: int32 examples: - 1 - - &753 + - &754 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -110195,7 +110547,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &742 + items: &743 allOf: - type: object required: @@ -110277,7 +110629,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: &755 type: object description: The metadata associated with the creation/updates to the user. @@ -110342,30 +110694,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &743 + '400': &744 description: Bad request content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 - '401': *741 - '403': &744 + schema: *741 + '401': *742 + '403': &745 description: Permission denied - '429': &745 + '429': &746 description: Too many requests content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 - '500': &746 + schema: *741 + '500': &747 description: Internal server error content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 + schema: *741 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110389,7 +110741,7 @@ paths: required: true content: application/json: - schema: &750 + schema: &751 type: object required: - schemas @@ -110453,9 +110805,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *742 + schema: *743 examples: - group: &748 + group: &749 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -110474,13 +110826,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': *744 + '401': *742 + '403': *745 + '409': &752 description: Duplicate record detected - '429': *745 - '500': *746 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110497,7 +110849,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 + - &750 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -110506,22 +110858,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *747 + - *748 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *742 + schema: *743 examples: - default: *748 - '400': *743 - '401': *741 - '403': *744 + default: *749 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '429': *745 - '500': *746 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110540,13 +110892,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 + - *750 - *39 requestBody: required: true content: application/json: - schema: *750 + schema: *751 examples: group: summary: Group @@ -110572,17 +110924,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *742 + schema: *743 examples: - group: *748 - groupWithMembers: *748 - '400': *743 - '401': *741 - '403': *744 + group: *749 + groupWithMembers: *749 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *752 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110606,13 +110958,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 + - *750 - *39 requestBody: required: true content: application/json: - schema: &761 + schema: &762 type: object required: - Operations @@ -110672,17 +111024,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *742 + schema: *743 examples: - updateGroup: *748 - addMembers: *748 - '400': *743 - '401': *741 - '403': *744 + updateGroup: *749 + addMembers: *749 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *752 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110698,17 +111050,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 + - *750 - *39 responses: '204': description: Group was deleted, no content - '400': *743 - '401': *741 - '403': *744 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '429': *745 - '500': *746 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110742,8 +111094,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *752 - *753 + - *754 - *39 responses: '200': @@ -110777,7 +111129,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &756 + items: &757 allOf: - type: object required: @@ -110869,7 +111221,7 @@ paths: address. examples: - true - roles: &755 + roles: &756 type: array description: The roles assigned to the user. items: @@ -110928,7 +111280,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *754 + meta: *755 startIndex: type: integer description: A starting index for the returned page @@ -110967,11 +111319,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *743 - '401': *741 - '403': *744 - '429': *745 - '500': *746 + '400': *744 + '401': *742 + '403': *745 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110995,7 +111347,7 @@ paths: required: true content: application/json: - schema: &759 + schema: &760 type: object required: - schemas @@ -111088,9 +111440,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *755 + roles: *756 examples: - user: &760 + user: &761 summary: User value: schemas: @@ -111137,9 +111489,9 @@ paths: description: User has been created content: application/scim+json: - schema: *756 + schema: *757 examples: - user: &757 + user: &758 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111165,13 +111517,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: *758 + '400': *744 + '401': *742 + '403': *745 + '409': *752 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111188,7 +111540,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 + - &759 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -111201,15 +111553,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *756 + schema: *757 examples: - default: *757 - '400': *743 - '401': *741 - '403': *744 + default: *758 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '429': *745 - '500': *746 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111223,7 +111575,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 +111612,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 + - *759 - *39 requestBody: required: true content: application/json: - schema: *759 + schema: *760 examples: - user: *760 + user: *761 responses: '200': description: User was updated content: application/scim+json: - schema: *756 + schema: *757 examples: - user: *757 - '400': *743 - '401': *741 - '403': *744 + user: *758 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *752 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111271,15 +111652,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 +111676,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 + - *759 - *39 requestBody: required: true content: application/json: - schema: *761 + schema: *762 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -111335,18 +111722,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *756 + schema: *757 examples: - userMultiValuedProperties: *757 - userSingleValuedProperties: *757 - disableUser: *757 - '400': *743 - '401': *741 - '403': *744 + userMultiValuedProperties: *758 + userSingleValuedProperties: *758 + disableUser: *758 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '409': *751 - '429': *745 - '500': *746 + '409': *752 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111366,17 +111753,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 + - *759 - *39 responses: '204': description: User was deleted, no content - '400': *743 - '401': *741 - '403': *744 + '400': *744 + '401': *742 + '403': *745 '404': *6 - '429': *745 - '500': *746 + '429': *746 + '500': *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -111467,7 +111854,7 @@ paths: - 1 Resources: type: array - items: &762 + items: &763 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -111714,22 +112101,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': &764 description: Resource not found content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 - '403': &764 + schema: *741 + '403': &765 description: Forbidden content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 - '400': *743 - '429': *745 + schema: *741 + '400': *744 + '429': *746 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -111755,9 +112142,9 @@ paths: description: Response content: application/scim+json: - schema: *762 + schema: *763 examples: - default: &765 + default: &766 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111780,17 +112167,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': *764 + '403': *765 + '500': *747 '409': description: Conflict content: application/json: - schema: *740 + schema: *741 application/scim+json: - schema: *740 - '400': *743 + schema: *741 + '400': *744 requestBody: required: true content: @@ -111890,17 +112277,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *85 - - *758 + - *759 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *763 examples: - default: *765 - '404': *763 - '403': *764 + default: *766 + '404': *764 + '403': *765 '304': *35 x-github: githubCloudOnly: true @@ -111924,18 +112311,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *85 - - *758 + - *759 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *763 examples: - default: *765 + default: *766 '304': *35 - '404': *763 - '403': *764 + '404': *764 + '403': *765 requestBody: required: true content: @@ -112050,19 +112437,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *85 - - *758 + - *759 responses: '200': description: Response content: application/scim+json: - schema: *762 + schema: *763 examples: - default: *765 + default: *766 '304': *35 - '404': *763 - '403': *764 - '400': *743 + '404': *764 + '403': *765 + '400': *744 '429': description: Response content: @@ -112158,12 +112545,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *85 - - *758 + - *759 responses: '204': description: Response - '404': *763 - '403': *764 + '404': *764 + '403': *765 '304': *35 x-github: githubCloudOnly: true @@ -112297,7 +112684,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &766 + text_matches: &767 title: Search Result Text Matches type: array items: @@ -112461,7 +112848,7 @@ paths: enum: - author-date - committer-date - - &767 + - &768 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 +112917,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *496 comment_count: type: integer message: @@ -112549,7 +112936,7 @@ paths: url: type: string format: uri - verification: *617 + verification: *619 required: - author - committer @@ -112564,7 +112951,7 @@ paths: committer: anyOf: - type: 'null' - - *494 + - *496 parents: type: array items: @@ -112581,7 +112968,7 @@ paths: type: number node_id: type: string - text_matches: *766 + text_matches: *767 required: - sha - node_id @@ -112774,7 +113161,7 @@ paths: - interactions - created - updated - - *767 + - *768 - *17 - *19 - name: advanced_search @@ -112871,11 +113258,11 @@ paths: type: - string - 'null' - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: type: string state_reason: @@ -112889,7 +113276,7 @@ paths: milestone: anyOf: - type: 'null' - - *396 + - *397 comments: type: integer created_at: @@ -112903,7 +113290,7 @@ paths: - string - 'null' format: date-time - text_matches: *766 + text_matches: *767 pull_request: type: object properties: @@ -112952,7 +113339,7 @@ paths: timeline_url: type: string format: uri - type: *362 + type: *363 performed_via_github_app: anyOf: - type: 'null' @@ -113130,7 +113517,7 @@ paths: enum: - created - updated - - *767 + - *768 - *17 - *19 responses: @@ -113175,7 +113562,7 @@ paths: - 'null' score: type: number - text_matches: *766 + text_matches: *767 required: - id - node_id @@ -113261,7 +113648,7 @@ paths: - forks - help-wanted-issues - updated - - *767 + - *768 - *17 - *19 responses: @@ -113507,7 +113894,7 @@ paths: - admin - pull - push - text_matches: *766 + text_matches: *767 temp_clone_token: type: string allow_merge_commit: @@ -113816,7 +114203,7 @@ paths: - string - 'null' format: uri - text_matches: *766 + text_matches: *767 related: type: - array @@ -114011,7 +114398,7 @@ paths: - followers - repositories - joined - - *767 + - *768 - *17 - *19 responses: @@ -114121,7 +114508,7 @@ paths: type: - boolean - 'null' - text_matches: *766 + text_matches: *767 blog: type: - string @@ -114203,7 +114590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &771 + - &772 name: team_id description: The unique identifier of the team. in: path @@ -114215,9 +114602,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -114244,7 +114631,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *771 + - *772 requestBody: required: true content: @@ -114308,16 +114695,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '201': description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *437 + default: *438 '404': *6 '422': *15 '403': *27 @@ -114345,7 +114732,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *771 + - *772 responses: '204': description: Response @@ -114374,7 +114761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *771 + - *772 - *17 - *19 responses: @@ -114384,9 +114771,9 @@ paths: application/json: schema: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *45 x-github: @@ -114412,7 +114799,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *771 + - *772 - name: role description: Filters members returned by their role in the team. in: query @@ -114463,7 +114850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *771 + - *772 - *137 responses: '204': @@ -114500,7 +114887,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *771 + - *772 - *137 responses: '204': @@ -114540,7 +114927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *771 + - *772 - *137 responses: '204': @@ -114577,16 +114964,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 + - *772 - *137 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - response-if-user-is-a-team-maintainer: *772 + response-if-user-is-a-team-maintainer: *773 '404': *6 x-github: githubCloudOnly: false @@ -114619,7 +115006,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 + - *772 - *137 requestBody: required: false @@ -114645,9 +115032,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - response-if-users-membership-with-team-is-now-pending: *773 + response-if-users-membership-with-team-is-now-pending: *774 '403': description: Forbidden if team synchronization is set up '422': @@ -114681,7 +115068,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 + - *772 - *137 responses: '204': @@ -114709,7 +115096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *771 + - *772 - *17 - *19 responses: @@ -114721,7 +115108,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 '404': *6 @@ -114751,15 +115138,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 + - *772 + - *445 + - *446 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *774 + schema: *775 examples: alternative-response-with-extra-repository-information: value: @@ -114910,9 +115297,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 + - *772 + - *445 + - *446 requestBody: required: false content: @@ -114962,9 +115349,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 + - *772 + - *445 + - *446 responses: '204': description: Response @@ -114993,15 +115380,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 + - *772 responses: '200': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '403': *27 '404': *6 x-github: @@ -115028,7 +115415,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 + - *772 requestBody: required: true content: @@ -115089,7 +115476,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -115120,7 +115507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *771 + - *772 - *17 - *19 responses: @@ -115132,7 +115519,7 @@ paths: type: array items: *305 examples: - response-if-child-teams-exist: *775 + response-if-child-teams-exist: *776 headers: Link: *45 '404': *6 @@ -115165,7 +115552,7 @@ paths: application/json: schema: oneOf: - - &777 + - &778 title: Private User description: Private User type: object @@ -115415,7 +115802,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *776 + - *777 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -115575,7 +115962,7 @@ paths: description: Response content: application/json: - schema: *777 + schema: *778 examples: default: value: @@ -115778,9 +116165,9 @@ paths: type: integer codespaces: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 '304': *35 '500': *38 '401': *23 @@ -115919,17 +116306,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '401': *23 '403': *27 '404': *6 @@ -115973,7 +116360,7 @@ paths: type: integer secrets: type: array - items: &778 + items: &779 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -116015,7 +116402,7 @@ paths: - visibility - selected_repositories_url examples: - default: *548 + default: *550 headers: Link: *45 x-github: @@ -116093,7 +116480,7 @@ paths: description: Response content: application/json: - schema: *778 + schema: *779 examples: default: value: @@ -116239,7 +116626,7 @@ paths: type: array items: *276 examples: - default: *779 + default: *780 '401': *23 '403': *27 '404': *6 @@ -116383,15 +116770,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 + - *370 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '304': *35 '500': *38 '401': *23 @@ -116417,7 +116804,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 + - *370 requestBody: required: false content: @@ -116447,9 +116834,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '401': *23 '403': *27 '404': *6 @@ -116471,7 +116858,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 + - *370 responses: '202': *37 '304': *35 @@ -116500,13 +116887,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 + - *370 responses: '202': description: Response content: application/json: - schema: &780 + schema: &781 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -116559,7 +116946,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &781 + default: &782 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -116591,7 +116978,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 + - *370 - name: export_id in: path required: true @@ -116604,9 +116991,9 @@ paths: description: Response content: application/json: - schema: *780 + schema: *781 examples: - default: *781 + default: *782 '404': *6 x-github: githubCloudOnly: false @@ -116627,7 +117014,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 + - *370 responses: '200': description: Response @@ -116643,9 +117030,9 @@ paths: type: integer machines: type: array - items: *547 + items: *549 examples: - default: *782 + default: *783 '304': *35 '500': *38 '401': *23 @@ -116674,7 +117061,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 + - *370 requestBody: required: true content: @@ -116730,11 +117117,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *448 + repository: *450 machine: anyOf: - type: 'null' - - *547 + - *549 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -117531,15 +117918,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 + - *370 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '304': *35 '500': *38 '400': *14 @@ -117571,15 +117958,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 + - *370 responses: '200': description: Response content: application/json: - schema: *367 + schema: *368 examples: - default: *546 + default: *548 '500': *38 '401': *23 '403': *27 @@ -117609,9 +117996,9 @@ paths: application/json: schema: type: array - items: *377 + items: *378 examples: - default: &793 + default: &794 value: - id: 197 name: hello_docker @@ -117712,7 +118099,7 @@ paths: application/json: schema: type: array - items: &783 + items: &784 title: Email description: Email type: object @@ -117782,9 +118169,9 @@ paths: application/json: schema: type: array - items: *783 + items: *784 examples: - default: &795 + default: &796 value: - email: octocat@github.com verified: true @@ -117861,7 +118248,7 @@ paths: application/json: schema: type: array - items: *783 + items: *784 examples: default: value: @@ -118119,7 +118506,7 @@ paths: application/json: schema: type: array - items: &784 + items: &785 title: GPG Key description: A unique encryption key type: object @@ -118264,7 +118651,7 @@ paths: - subkeys - revoked examples: - default: &811 + default: &812 value: - id: 3 name: Octocat's GPG Key @@ -118349,9 +118736,9 @@ paths: description: Response content: application/json: - schema: *784 + schema: *785 examples: - default: &785 + default: &786 value: id: 3 name: Octocat's GPG Key @@ -118408,7 +118795,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 + - &787 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -118420,9 +118807,9 @@ paths: description: Response content: application/json: - schema: *784 + schema: *785 examples: - default: *785 + default: *786 '404': *6 '304': *35 '403': *27 @@ -118445,7 +118832,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 + - *787 responses: '204': description: Response @@ -118723,12 +119110,12 @@ paths: application/json: schema: anyOf: - - *357 + - *358 - type: object properties: {} additionalProperties: false examples: - default: *358 + default: *359 '204': description: Response when there are no restrictions x-github: @@ -118752,7 +119139,7 @@ paths: required: true content: application/json: - schema: *627 + schema: *629 examples: default: value: @@ -118763,7 +119150,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *358 examples: default: value: @@ -118844,7 +119231,7 @@ paths: - closed - all default: open - - *365 + - *366 - name: sort description: What to sort results by. in: query @@ -118869,7 +119256,7 @@ paths: type: array items: *217 examples: - default: *366 + default: *367 headers: Link: *45 '404': *6 @@ -118902,7 +119289,7 @@ paths: application/json: schema: type: array - items: &787 + items: &788 title: Key description: Key type: object @@ -119005,9 +119392,9 @@ paths: description: Response content: application/json: - schema: *787 + schema: *788 examples: - default: &788 + default: &789 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119040,15 +119427,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 + - *658 responses: '200': description: Response content: application/json: - schema: *787 + schema: *788 examples: - default: *788 + default: *789 '404': *6 '304': *35 '403': *27 @@ -119071,7 +119458,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 + - *658 responses: '204': description: Response @@ -119104,7 +119491,7 @@ paths: application/json: schema: type: array - items: &789 + items: &790 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -119183,7 +119570,7 @@ paths: - account - plan examples: - default: &790 + default: &791 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -119245,9 +119632,9 @@ paths: application/json: schema: type: array - items: *789 + items: *790 examples: - default: *790 + default: *791 headers: Link: *45 '304': *35 @@ -119287,7 +119674,7 @@ paths: application/json: schema: type: array - items: *370 + items: *371 examples: default: value: @@ -119401,7 +119788,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: default: value: @@ -119488,7 +119875,7 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: default: value: @@ -119560,7 +119947,7 @@ paths: application/json: schema: type: array - items: *372 + items: *373 examples: default: value: @@ -119822,7 +120209,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: default: value: @@ -120002,7 +120389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *373 + - *374 - name: exclude in: query required: false @@ -120015,7 +120402,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: default: value: @@ -120209,7 +120596,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *373 + - *374 responses: '302': description: Response @@ -120235,7 +120622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *373 + - *374 responses: '204': description: Response @@ -120264,8 +120651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *373 - - *791 + - *374 + - *792 responses: '204': description: Response @@ -120289,7 +120676,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 + - *374 - *17 - *19 responses: @@ -120301,7 +120688,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 '404': *6 @@ -120380,7 +120767,7 @@ paths: - docker - nuget - container - - *792 + - *793 - *19 - *17 responses: @@ -120390,10 +120777,10 @@ paths: application/json: schema: type: array - items: *377 + items: *378 examples: - default: *793 - '400': *794 + default: *794 + '400': *795 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120413,16 +120800,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 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: &812 + default: &813 value: id: 40201 name: octo-name @@ -120535,8 +120922,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 responses: '204': description: Response @@ -120566,8 +120953,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 - name: token description: package token schema: @@ -120599,8 +120986,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 - *19 - *17 - name: state @@ -120620,7 +121007,7 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: default: value: @@ -120669,15 +121056,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 - - *382 + - *381 + - *383 responses: '200': description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -120713,9 +121100,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 - - *382 + - *381 + - *383 responses: '204': description: Response @@ -120745,9 +121132,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 - - *382 + - *381 + - *383 responses: '204': description: Response @@ -120784,9 +121171,9 @@ paths: application/json: schema: type: array - items: *783 + items: *784 examples: - default: *795 + default: *796 headers: Link: *45 '304': *35 @@ -120899,7 +121286,7 @@ paths: type: array items: *76 examples: - default: &802 + default: &803 summary: Default response value: - id: 1296269 @@ -121217,9 +121604,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *450 + default: *452 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -121257,9 +121644,9 @@ paths: application/json: schema: type: array - items: *629 + items: *631 examples: - default: *796 + default: *797 headers: Link: *45 '304': *35 @@ -121282,7 +121669,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *361 + - *362 responses: '204': description: Response @@ -121305,7 +121692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *361 + - *362 responses: '204': description: Response @@ -121338,7 +121725,7 @@ paths: application/json: schema: type: array - items: &797 + items: &798 title: Social account description: Social media account type: object @@ -121355,7 +121742,7 @@ paths: - provider - url examples: - default: &798 + default: &799 value: - provider: twitter url: https://twitter.com/github @@ -121418,9 +121805,9 @@ paths: application/json: schema: type: array - items: *797 + items: *798 examples: - default: *798 + default: *799 '422': *15 '304': *35 '404': *6 @@ -121508,7 +121895,7 @@ paths: application/json: schema: type: array - items: &799 + items: &800 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -121528,7 +121915,7 @@ paths: - title - created_at examples: - default: &826 + default: &827 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121593,9 +121980,9 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: - default: &800 + default: &801 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121625,7 +122012,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 + - &802 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -121637,9 +122024,9 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: - default: *800 + default: *801 '404': *6 '304': *35 '403': *27 @@ -121662,7 +122049,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 + - *802 responses: '204': description: Response @@ -121691,7 +122078,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 + - &828 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 +122103,11 @@ paths: type: array items: *76 examples: - default-response: *802 + default-response: *803 application/vnd.github.v3.star+json: schema: type: array - items: &828 + items: &829 title: Starred Repository description: Starred Repository type: object @@ -121876,8 +122263,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 + - *445 + - *446 responses: '204': description: Response if this repository is starred by you @@ -121905,8 +122292,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 + - *445 + - *446 responses: '204': description: Response @@ -121930,8 +122317,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 + - *445 + - *446 responses: '204': description: Response @@ -121966,7 +122353,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 '304': *35 @@ -122003,7 +122390,7 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: default: value: @@ -122089,10 +122476,10 @@ paths: application/json: schema: oneOf: + - *778 - *777 - - *776 examples: - default-response: &806 + default-response: &807 summary: Default response value: login: octocat @@ -122127,7 +122514,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: &808 summary: Response with GitHub plan information value: login: octocat @@ -122184,14 +122571,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 + - &805 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *395 + - *396 requestBody: required: true description: Details of the draft item to create in the project. @@ -122225,9 +122612,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - draft_issue: *401 + draft_issue: *402 '304': *35 '403': *27 '401': *23 @@ -122250,7 +122637,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *803 + - *804 - *17 responses: '200': @@ -122285,8 +122672,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 + - *805 + - *396 requestBody: required: true content: @@ -122360,17 +122747,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *805 + schema: *806 examples: table_view: summary: Response for creating a table view - value: *405 + value: *406 board_view: summary: Response for creating a board view with filter - value: *405 + value: *406 roadmap_view: summary: Response for creating a roadmap view - value: *405 + value: *406 '304': *35 '403': *27 '401': *23 @@ -122412,11 +122799,11 @@ paths: application/json: schema: oneOf: + - *778 - *777 - - *776 examples: - default-response: *806 - response-with-git-hub-plan-information: *807 + default-response: *807 + response-with-git-hub-plan-information: *808 '404': *6 x-github: githubCloudOnly: false @@ -122466,8 +122853,8 @@ paths: required: - subject_digests examples: - default: *808 - withPredicateType: *809 + default: *809 + withPredicateType: *810 responses: '200': description: Response @@ -122521,7 +122908,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *810 + default: *811 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122726,7 +123113,7 @@ paths: initiator: type: string examples: - default: *490 + default: *492 '201': description: Response content: @@ -122765,9 +123152,9 @@ paths: application/json: schema: type: array - items: *377 + items: *378 examples: - default: *793 + default: *794 '403': *27 '401': *23 x-github: @@ -123151,9 +123538,9 @@ paths: application/json: schema: type: array - items: *784 + items: *785 examples: - default: *811 + default: *812 headers: Link: *45 x-github: @@ -123257,7 +123644,7 @@ paths: application/json: schema: *20 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123382,7 +123769,7 @@ paths: - docker - nuget - container - - *792 + - *793 - *137 - *19 - *17 @@ -123393,12 +123780,12 @@ paths: application/json: schema: type: array - items: *377 + items: *378 examples: - default: *793 + default: *794 '403': *27 '401': *23 - '400': *794 + '400': *795 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123418,17 +123805,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 - *137 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *812 + default: *813 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123449,8 +123836,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 - *137 responses: '204': @@ -123483,8 +123870,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 - *137 - name: token description: package token @@ -123517,8 +123904,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 - *137 responses: '200': @@ -123527,7 +123914,7 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: default: value: @@ -123585,16 +123972,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 - - *382 + - *381 + - *383 - *137 responses: '200': description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -123629,10 +124016,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 + - *381 - *137 - - *382 + - *383 responses: '204': description: Response @@ -123664,10 +124051,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 + - *381 - *137 - - *382 + - *383 responses: '204': description: Response @@ -123708,9 +124095,9 @@ paths: application/json: schema: type: array - items: *393 + items: *394 examples: - default: *394 + default: *395 headers: Link: *45 '304': *35 @@ -123732,16 +124119,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *395 + - *396 - *137 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 headers: Link: *45 '304': *35 @@ -123763,7 +124150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *395 + - *396 - *137 - *17 - *106 @@ -123775,9 +124162,9 @@ paths: application/json: schema: type: array - items: *398 + items: *399 examples: - default: *813 + default: *814 headers: Link: *45 '304': *35 @@ -123799,7 +124186,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - *137 - - *395 + - *396 requestBody: required: true content: @@ -123837,7 +124224,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: *815 required: - name - data_type @@ -123853,7 +124240,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *815 + iteration_configuration: *816 required: - name - data_type @@ -123875,20 +124262,20 @@ paths: value: name: Due date data_type: date - single_select_field: *816 - iteration_field: *817 + single_select_field: *817 + iteration_field: *818 responses: '201': description: Response content: application/json: - schema: *398 + schema: *399 examples: - text_field: *818 - number_field: *819 - date_field: *820 - single_select_field: *821 - iteration_field: *822 + text_field: *819 + number_field: *820 + date_field: *821 + single_select_field: *822 + iteration_field: *823 '304': *35 '403': *27 '401': *23 @@ -123909,17 +124296,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 + - *396 + - *824 - *137 responses: '200': description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: *824 + default: *825 headers: Link: *45 '304': *35 @@ -123942,7 +124329,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 + - *396 - *137 - *106 - *107 @@ -123975,9 +124362,9 @@ paths: application/json: schema: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: Link: *45 '304': *35 @@ -123999,7 +124386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *137 - - *395 + - *396 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -124069,22 +124456,22 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *401 + value: *402 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *401 + value: *402 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *401 + value: *402 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *401 + value: *402 '304': *35 '403': *27 '401': *23 @@ -124104,9 +124491,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 + - *396 - *137 - - *404 + - *405 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -124126,9 +124513,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *403 + default: *404 headers: Link: *45 '304': *35 @@ -124149,9 +124536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *395 + - *396 - *137 - - *404 + - *405 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -124224,13 +124611,13 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - text_field: *403 - number_field: *403 - date_field: *403 - single_select_field: *403 - iteration_field: *403 + text_field: *404 + number_field: *404 + date_field: *404 + single_select_field: *404 + iteration_field: *404 '401': *23 '403': *27 '404': *6 @@ -124250,9 +124637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *395 + - *396 - *137 - - *404 + - *405 responses: '204': description: Response @@ -124274,9 +124661,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 + - *396 - *137 - - *825 + - *826 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -124302,9 +124689,9 @@ paths: application/json: schema: type: array - items: *402 + items: *403 examples: - default: *403 + default: *404 headers: Link: *45 '304': *35 @@ -124525,7 +124912,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -124555,9 +124942,9 @@ paths: application/json: schema: type: array - items: *797 + items: *798 examples: - default: *798 + default: *799 headers: Link: *45 x-github: @@ -124587,9 +124974,9 @@ paths: application/json: schema: type: array - items: *799 + items: *800 examples: - default: *826 + default: *827 headers: Link: *45 x-github: @@ -124614,7 +125001,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *137 - - *827 + - *828 - *108 - *17 - *19 @@ -124626,11 +125013,11 @@ paths: schema: anyOf: - type: array - items: *828 + items: *829 - type: array items: *76 examples: - default-response: *802 + default-response: *803 headers: Link: *45 x-github: @@ -124661,7 +125048,7 @@ paths: type: array items: *276 examples: - default: *383 + default: *384 headers: Link: *45 x-github: @@ -124790,7 +125177,7 @@ webhooks: type: string enum: - disabled - enterprise: &829 + enterprise: &830 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -124859,7 +125246,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &830 + installation: &831 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -124880,7 +125267,7 @@ webhooks: required: - id - node_id - organization: &831 + organization: &832 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -124953,7 +125340,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &832 + repository: &833 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -125879,10 +126266,10 @@ webhooks: type: string enum: - enabled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -125958,11 +126345,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: &833 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + rule: &834 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 +126572,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + rule: *834 sender: *4 required: - action @@ -126377,11 +126764,11 @@ webhooks: - everyone required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + rule: *834 sender: *4 required: - action @@ -126454,7 +126841,7 @@ webhooks: required: true content: application/json: - schema: &853 + schema: &854 title: Exemption request cancellation event type: object properties: @@ -126462,11 +126849,11 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: &834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: &835 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -126740,7 +127127,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &835 + items: &836 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -126852,7 +127239,7 @@ webhooks: required: true content: application/json: - schema: &854 + schema: &855 title: Exemption request completed event type: object properties: @@ -126860,11 +127247,11 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 sender: *4 required: - action @@ -126936,7 +127323,7 @@ webhooks: required: true content: application/json: - schema: &851 + schema: &852 title: Exemption request created event type: object properties: @@ -126944,11 +127331,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 sender: *4 required: - action @@ -127020,7 +127407,7 @@ webhooks: required: true content: application/json: - schema: &855 + schema: &856 title: Exemption response dismissed event type: object properties: @@ -127028,12 +127415,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 + exemption_response: *836 sender: *4 required: - action @@ -127107,7 +127494,7 @@ webhooks: required: true content: application/json: - schema: &852 + schema: &853 title: Exemption response submitted event type: object properties: @@ -127115,12 +127502,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 + exemption_response: *836 sender: *4 required: - action @@ -127204,7 +127591,7 @@ webhooks: type: string enum: - completed - check_run: &837 + check_run: &838 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127314,7 +127701,7 @@ webhooks: - examples: - neutral - deployment: *836 + deployment: *837 details_url: type: string examples: @@ -127412,10 +127799,10 @@ webhooks: - output - app - pull_requests - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 sender: *4 required: - check_run @@ -127806,11 +128193,11 @@ webhooks: type: string enum: - created - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *838 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 sender: *4 required: - check_run @@ -128204,11 +128591,11 @@ webhooks: type: string enum: - requested_action - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *838 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 requested_action: description: The action requested by the user. type: object @@ -128611,11 +128998,11 @@ webhooks: type: string enum: - rerequested - check_run: *837 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *838 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 sender: *4 required: - check_run @@ -129600,10 +129987,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -130307,10 +130694,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -131008,10 +131395,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -131180,7 +131567,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *520 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131332,20 +131719,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &838 + commit_oid: &839 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: *830 + installation: *831 + organization: *832 + ref: &840 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: *833 sender: *4 required: - action @@ -131512,7 +131899,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *520 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131753,12 +132140,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *839 + enterprise: *830 + installation: *831 + organization: *832 + ref: *840 + repository: *833 sender: *4 required: - action @@ -131856,7 +132243,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *518 + dismissed_comment: *520 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 +132428,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *839 + enterprise: *830 + installation: *831 + organization: *832 + ref: *840 + repository: *833 sender: *4 required: - action @@ -132215,7 +132602,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *520 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132392,12 +132779,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *839 + enterprise: *830 + installation: *831 + organization: *832 + ref: *840 + repository: *833 sender: *4 required: - action @@ -132498,7 +132885,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *518 + dismissed_comment: *520 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 +133074,9 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 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 +133084,7 @@ webhooks: type: - string - 'null' - repository: *832 + repository: *833 sender: *4 required: - action @@ -132796,7 +133183,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *518 + dismissed_comment: *520 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 +133330,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *838 - enterprise: *829 - installation: *830 - organization: *831 - ref: *839 - repository: *832 + commit_oid: *839 + enterprise: *830 + installation: *831 + organization: *832 + ref: *840 + repository: *833 sender: *4 required: - action @@ -133117,7 +133504,7 @@ webhooks: required: - login - id - dismissed_comment: *518 + dismissed_comment: *520 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133269,10 +133656,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -133532,10 +133919,10 @@ webhooks: - updated_at - author_association - body - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -133616,18 +134003,18 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *831 - pusher_type: &840 + organization: *832 + pusher_type: &841 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &841 + ref: &842 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -133637,7 +134024,7 @@ webhooks: enum: - tag - branch - repository: *832 + repository: *833 sender: *4 required: - ref @@ -133720,9 +134107,9 @@ webhooks: enum: - created definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -133807,9 +134194,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -133887,9 +134274,9 @@ webhooks: enum: - promote_to_enterprise definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -133967,9 +134354,9 @@ webhooks: enum: - updated definition: *151 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -134046,10 +134433,10 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - repository: *832 - organization: *831 + enterprise: *830 + installation: *831 + repository: *833 + organization: *832 sender: *4 new_property_values: type: array @@ -134134,18 +134521,18 @@ webhooks: title: delete event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - pusher_type: *840 - ref: *841 + enterprise: *830 + installation: *831 + organization: *832 + pusher_type: *841 + ref: *842 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *832 + repository: *833 sender: *4 required: - ref @@ -134190,7 +134577,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 +134612,11 @@ webhooks: type: string enum: - assignees_changed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134274,7 +134661,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 +134696,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134359,7 +134746,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 +134781,11 @@ webhooks: type: string enum: - auto_reopened - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134444,7 +134831,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 +134866,11 @@ webhooks: type: string enum: - created - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134527,7 +134914,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 +134949,11 @@ webhooks: type: string enum: - dismissed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134610,7 +134997,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 +135032,11 @@ webhooks: type: string enum: - fixed - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134694,7 +135081,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 +135116,11 @@ webhooks: type: string enum: - reintroduced - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134777,7 +135164,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 +135199,11 @@ webhooks: type: string enum: - reopened - alert: *576 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *578 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -134893,9 +135280,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - key: &842 + enterprise: *830 + installation: *831 + key: &843 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 +135320,8 @@ webhooks: - verified - created_at - read_only - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -135011,11 +135398,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - key: *842 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + key: *843 + organization: *832 + repository: *833 sender: *4 required: - action @@ -135582,12 +135969,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: &846 + workflow: &847 title: Workflow type: - object @@ -136338,13 +136725,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *582 + - *584 pull_requests: type: array - items: *676 - repository: *832 - organization: *831 - installation: *830 + items: *678 + repository: *833 + organization: *832 + installation: *831 sender: *4 responses: '200': @@ -136415,7 +136802,7 @@ webhooks: type: string enum: - approved - approver: &843 + approver: &844 type: object properties: avatar_url: @@ -136458,11 +136845,11 @@ webhooks: type: string comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: &844 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + reviewers: &845 type: array items: type: object @@ -136543,7 +136930,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &845 + workflow_job_run: &846 type: object properties: conclusion: @@ -137289,18 +137676,18 @@ webhooks: type: string enum: - rejected - approver: *843 + approver: *844 comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: *844 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + reviewers: *845 sender: *4 since: type: string - workflow_job_run: *845 + workflow_job_run: *846 workflow_job_runs: type: array items: @@ -138017,13 +138404,13 @@ webhooks: type: string enum: - requested - enterprise: *829 + enterprise: *830 environment: type: string - installation: *830 - organization: *831 - repository: *832 - requestor: &856 + installation: *831 + organization: *832 + repository: *833 + requestor: &857 title: User type: - object @@ -139956,12 +140343,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: *846 + workflow: *847 workflow_run: title: Deployment Workflow Run type: @@ -140652,7 +141039,7 @@ webhooks: type: string enum: - answered - answer: &849 + answer: &850 type: object properties: author_association: @@ -140812,11 +141199,11 @@ webhooks: - created_at - updated_at - body - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -140943,11 +141330,11 @@ webhooks: - from required: - category - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141030,11 +141417,11 @@ webhooks: type: string enum: - closed - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141116,7 +141503,7 @@ webhooks: type: string enum: - created - comment: &848 + comment: &849 type: object properties: author_association: @@ -141276,11 +141663,11 @@ webhooks: - updated_at - body - reactions - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141363,12 +141750,12 @@ webhooks: type: string enum: - deleted - comment: *848 - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *849 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141463,12 +141850,12 @@ webhooks: - from required: - body - comment: *848 - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *849 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141552,11 +141939,11 @@ webhooks: type: string enum: - created - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141638,11 +142025,11 @@ webhooks: type: string enum: - deleted - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141742,11 +142129,11 @@ webhooks: type: string required: - from - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141828,10 +142215,10 @@ webhooks: type: string enum: - labeled - discussion: *847 - enterprise: *829 - installation: *830 - label: &850 + discussion: *848 + enterprise: *830 + installation: *831 + label: &851 title: Label type: object properties: @@ -141864,8 +142251,8 @@ webhooks: - color - default - description - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141948,11 +142335,11 @@ webhooks: type: string enum: - locked - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142034,11 +142421,11 @@ webhooks: type: string enum: - pinned - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142120,11 +142507,11 @@ webhooks: type: string enum: - reopened - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142209,16 +142596,16 @@ webhooks: changes: type: object properties: - new_discussion: *847 - new_repository: *832 + new_discussion: *848 + new_repository: *833 required: - new_discussion - new_repository - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142301,10 +142688,10 @@ webhooks: type: string enum: - unanswered - discussion: *847 - old_answer: *849 - organization: *831 - repository: *832 + discussion: *848 + old_answer: *850 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142386,12 +142773,12 @@ webhooks: type: string enum: - unlabeled - discussion: *847 - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142474,11 +142861,11 @@ webhooks: type: string enum: - unlocked - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142560,11 +142947,11 @@ webhooks: type: string enum: - unpinned - discussion: *847 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *848 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142633,7 +143020,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142696,7 +143083,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142759,7 +143146,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142822,7 +143209,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142885,7 +143272,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142951,7 +143338,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143017,7 +143404,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143083,7 +143470,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143149,7 +143536,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143215,7 +143602,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143280,7 +143667,7 @@ webhooks: required: true content: application/json: - schema: *853 + schema: *854 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143345,7 +143732,7 @@ webhooks: required: true content: application/json: - schema: *854 + schema: *855 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143410,7 +143797,7 @@ webhooks: required: true content: application/json: - schema: *851 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143475,7 +143862,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *856 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143541,7 +143928,7 @@ webhooks: required: true content: application/json: - schema: *852 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143608,7 +143995,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *829 + enterprise: *830 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -144286,9 +144673,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - forkee @@ -144434,9 +144821,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pages: description: The pages that were updated. type: array @@ -144474,7 +144861,7 @@ webhooks: - action - sha - html_url - repository: *832 + repository: *833 sender: *4 required: - pages @@ -144550,10 +144937,10 @@ webhooks: type: string enum: - created - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories: &857 + organization: *832 + repositories: &858 description: An array of repository objects that the installation can access. type: array @@ -144579,8 +144966,8 @@ webhooks: - name - full_name - private - repository: *832 - requester: *856 + repository: *833 + requester: *857 sender: *4 required: - action @@ -144655,11 +145042,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *832 + repositories: *858 + repository: *833 requester: type: - 'null' @@ -144736,11 +145123,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *832 + repositories: *858 + repository: *833 requester: type: - 'null' @@ -144817,10 +145204,10 @@ webhooks: type: string enum: - added - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories_added: &858 + organization: *832 + repositories_added: &859 description: An array of repository objects, which were added to the installation. type: array @@ -144866,15 +145253,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *832 - repository_selection: &859 + repository: *833 + repository_selection: &860 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *856 + requester: *857 sender: *4 required: - action @@ -144953,10 +145340,10 @@ webhooks: type: string enum: - removed - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories_added: *858 + organization: *832 + repositories_added: *859 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -144983,9 +145370,9 @@ webhooks: - name - full_name - private - repository: *832 - repository_selection: *859 - requester: *856 + repository: *833 + repository_selection: *860 + requester: *857 sender: *4 required: - action @@ -145064,11 +145451,11 @@ webhooks: type: string enum: - suspend - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *832 + repositories: *858 + repository: *833 requester: type: - 'null' @@ -145251,10 +145638,10 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 target_type: type: string @@ -145333,11 +145720,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *829 + enterprise: *830 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *832 + repositories: *858 + repository: *833 requester: type: - 'null' @@ -145503,7 +145890,7 @@ webhooks: pin: anyOf: - type: 'null' - - *653 + - *655 user: title: User type: @@ -145589,8 +145976,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146402,8 +146789,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146420,7 +146807,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -146764,8 +147151,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -146845,7 +147232,7 @@ webhooks: type: string enum: - deleted - comment: &860 + comment: &861 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -147002,7 +147389,7 @@ webhooks: pin: anyOf: - type: 'null' - - *653 + - *655 required: - url - html_url @@ -147016,8 +147403,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147825,8 +148212,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147843,7 +148230,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -148189,8 +148576,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -148270,7 +148657,7 @@ webhooks: type: string enum: - edited - changes: &884 + changes: &885 description: The changes to the comment. type: object properties: @@ -148282,9 +148669,9 @@ webhooks: type: string required: - from - comment: *860 - enterprise: *829 - installation: *830 + comment: *861 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -149095,8 +149482,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149113,7 +149500,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -149457,8 +149844,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -149539,9 +149926,9 @@ webhooks: type: string enum: - pinned - comment: *860 - enterprise: *829 - installation: *830 + comment: *861 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -150354,8 +150741,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150372,7 +150759,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -150718,8 +151105,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -150799,9 +151186,9 @@ webhooks: type: string enum: - unpinned - comment: *860 - enterprise: *829 - installation: *830 + comment: *861 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -151614,8 +152001,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151632,7 +152019,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -151978,8 +152365,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -152068,9 +152455,9 @@ webhooks: type: number blocking_issue: *217 blocking_issue_repo: *76 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -152159,9 +152546,9 @@ webhooks: type: number blocking_issue: *217 blocking_issue_repo: *76 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -152249,9 +152636,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -152340,9 +152727,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -152422,10 +152809,10 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - issue: &863 + assignee: *857 + enterprise: *830 + installation: *831 + issue: &864 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -153236,11 +153623,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153257,7 +153644,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -153360,8 +153747,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -153441,8 +153828,8 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -154258,11 +154645,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154279,7 +154666,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -154525,8 +154912,8 @@ webhooks: required: - state - closed_at - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -154605,8 +154992,8 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155413,11 +155800,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155434,7 +155821,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -155536,8 +155923,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -155616,8 +156003,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156447,11 +156834,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156468,7 +156855,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -156549,7 +156936,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &861 + milestone: &862 title: Milestone description: A collection of related issues and pull requests. type: object @@ -156692,8 +157079,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -156792,8 +157179,8 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157604,11 +157991,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157622,7 +158009,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *363 title: description: Title of the issue type: string @@ -157728,9 +158115,9 @@ webhooks: - active_lock_reason - body - reactions - label: *850 - organization: *831 - repository: *832 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -157810,8 +158197,8 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158621,11 +159008,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158639,7 +159026,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *363 title: description: Title of the issue type: string @@ -158745,9 +159132,9 @@ webhooks: - active_lock_reason - body - reactions - label: *850 - organization: *831 - repository: *832 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -158827,8 +159214,8 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159663,11 +160050,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159681,7 +160068,7 @@ webhooks: timeline_url: type: string format: uri - type: *362 + type: *363 title: description: Title of the issue type: string @@ -159764,8 +160151,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -159844,8 +160231,8 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160674,11 +161061,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160695,7 +161082,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -160775,9 +161162,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *861 - organization: *831 - repository: *832 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -161664,11 +162051,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161768,7 +162155,7 @@ webhooks: required: - login - id - type: *362 + type: *363 required: - id - number @@ -162260,8 +162647,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -163068,11 +163455,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163089,7 +163476,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -163195,8 +163582,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -163276,9 +163663,9 @@ webhooks: type: string enum: - pinned - enterprise: *829 - installation: *830 - issue: &862 + enterprise: *830 + installation: *831 + issue: &863 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -164083,11 +164470,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164104,7 +164491,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -164206,8 +164593,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -164286,8 +164673,8 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -165120,11 +165507,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165221,9 +165608,9 @@ webhooks: format: uri user_view_type: type: string - type: *362 - organization: *831 - repository: *832 + type: *363 + organization: *832 + repository: *833 sender: *4 required: - action @@ -166111,11 +166498,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166132,7 +166519,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -166725,11 +167112,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *863 + organization: *832 + repository: *833 sender: *4 required: - action @@ -166809,12 +167196,12 @@ webhooks: type: string enum: - typed - enterprise: *829 - installation: *830 - issue: *863 - type: *362 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *864 + type: *363 + organization: *832 + repository: *833 sender: *4 required: - action @@ -166895,7 +167282,7 @@ webhooks: type: string enum: - unassigned - assignee: &887 + assignee: &888 title: User type: - object @@ -166967,11 +167354,11 @@ webhooks: required: - login - id - enterprise: *829 - installation: *830 - issue: *863 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *864 + organization: *832 + repository: *833 sender: *4 required: - action @@ -167050,12 +167437,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - issue: *863 - label: *850 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *864 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -167135,8 +167522,8 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -167969,11 +168356,11 @@ webhooks: anyOf: - type: 'null' - *218 - sub_issues_summary: *768 - issue_dependencies_summary: *769 + sub_issues_summary: *769 + issue_dependencies_summary: *770 issue_field_values: type: array - items: *770 + items: *771 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167990,7 +168377,7 @@ webhooks: title: description: Title of the issue type: string - type: *362 + type: *363 updated_at: type: string format: date-time @@ -168070,8 +168457,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168151,11 +168538,11 @@ webhooks: type: string enum: - unpinned - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *863 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168234,12 +168621,12 @@ webhooks: type: string enum: - untyped - enterprise: *829 - installation: *830 - issue: *863 - type: *362 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + issue: *864 + type: *363 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168319,11 +168706,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168401,11 +168788,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168515,11 +168902,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - label: *850 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + label: *851 + organization: *832 + repository: *833 sender: *4 required: - action @@ -168601,9 +168988,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: &864 + enterprise: *830 + installation: *831 + marketplace_purchase: &865 title: Marketplace Purchase type: object required: @@ -168691,8 +169078,8 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: &865 + organization: *832 + previous_marketplace_purchase: &866 title: Marketplace Purchase type: object properties: @@ -168776,7 +169163,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *833 sender: *4 required: - action @@ -168856,10 +169243,10 @@ webhooks: - changed effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *830 + installation: *831 + marketplace_purchase: *865 + organization: *832 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -168947,7 +169334,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *833 sender: *4 required: - action @@ -169029,10 +169416,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *830 + installation: *831 + marketplace_purchase: *865 + organization: *832 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -169118,7 +169505,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *833 sender: *4 required: - action @@ -169199,8 +169586,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 marketplace_purchase: title: Marketplace Purchase type: object @@ -169286,9 +169673,9 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + organization: *832 + previous_marketplace_purchase: *866 + repository: *833 sender: *4 required: - action @@ -169368,12 +169755,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + enterprise: *830 + installation: *831 + marketplace_purchase: *865 + organization: *832 + previous_marketplace_purchase: *866 + repository: *833 sender: *4 required: - action @@ -169475,11 +169862,11 @@ webhooks: type: string required: - to - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 sender: *4 required: - action @@ -169581,11 +169968,11 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 sender: *4 required: - action @@ -169664,11 +170051,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 sender: *4 required: - action @@ -169746,11 +170133,11 @@ webhooks: type: string enum: - added - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 scope: description: The scope of the membership. Currently, can only be `team`. @@ -169828,7 +170215,7 @@ webhooks: required: - login - id - team: &866 + team: &867 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -170058,11 +170445,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 scope: description: The scope of the membership. Currently, can only be `team`. @@ -170141,7 +170528,7 @@ webhooks: required: - login - id - team: *866 + team: *867 required: - action - scope @@ -170223,8 +170610,8 @@ webhooks: type: string enum: - checks_requested - installation: *830 - merge_group: &867 + installation: *831 + merge_group: &868 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -170243,15 +170630,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *510 + head_commit: *512 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -170337,10 +170724,10 @@ webhooks: - merged - invalidated - dequeued - installation: *830 - merge_group: *867 - organization: *831 - repository: *832 + installation: *831 + merge_group: *868 + organization: *832 + repository: *833 sender: *4 required: - action @@ -170413,7 +170800,7 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *830 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -170522,12 +170909,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *830 - organization: *831 + installation: *831 + organization: *832 repository: anyOf: - type: 'null' - - *832 + - *833 sender: *4 required: - action @@ -170607,11 +170994,11 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -170690,9 +171077,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - milestone: &868 + enterprise: *830 + installation: *831 + milestone: &869 title: Milestone description: A collection of related issues and pull requests. type: object @@ -170834,8 +171221,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -170914,11 +171301,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171028,11 +171415,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171112,11 +171499,11 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - milestone: *868 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + milestone: *869 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171195,11 +171582,11 @@ webhooks: type: string enum: - blocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *857 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171278,11 +171665,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *857 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171358,7 +171745,7 @@ webhooks: enum: - created definition: *145 - enterprise: *829 + enterprise: *830 sender: *4 required: - action @@ -171438,8 +171825,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 sender: *4 required: - action @@ -171512,8 +171899,8 @@ webhooks: enum: - updated definition: *145 - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 sender: *4 required: - action @@ -171585,9 +171972,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 new_property_values: type: array @@ -171675,9 +172062,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - membership: &869 + enterprise: *830 + installation: *831 + membership: &870 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -171787,8 +172174,8 @@ webhooks: - role - organization_url - user - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171866,11 +172253,11 @@ webhooks: type: string enum: - member_added - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + membership: *870 + organization: *832 + repository: *833 sender: *4 required: - action @@ -171949,8 +172336,8 @@ webhooks: type: string enum: - member_invited - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -172072,10 +172459,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 - user: *856 + user: *857 required: - action - invitation @@ -172153,11 +172540,11 @@ webhooks: type: string enum: - member_removed - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + membership: *870 + organization: *832 + repository: *833 sender: *4 required: - action @@ -172244,11 +172631,11 @@ webhooks: properties: from: type: string - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + membership: *870 + organization: *832 + repository: *833 sender: *4 required: - action @@ -172326,9 +172713,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 package: description: Information about the package. type: object @@ -172851,7 +173238,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &870 + items: &871 title: Ruby Gems metadata type: object properties: @@ -172948,7 +173335,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *833 sender: *4 required: - action @@ -173025,9 +173412,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 package: description: Information about the package. type: object @@ -173389,7 +173776,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *871 source_url: type: string format: uri @@ -173460,7 +173847,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *833 sender: *4 required: - action @@ -173640,12 +174027,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *829 + enterprise: *830 id: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - id @@ -173722,7 +174109,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &871 + personal_access_token_request: &872 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -173872,10 +174259,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *829 - organization: *831 + enterprise: *830 + organization: *832 sender: *4 - installation: *830 + installation: *831 required: - action - personal_access_token_request @@ -173952,11 +174339,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *872 + enterprise: *830 + organization: *832 sender: *4 - installation: *830 + installation: *831 required: - action - personal_access_token_request @@ -174032,11 +174419,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *872 + enterprise: *830 + organization: *832 sender: *4 - installation: *830 + installation: *831 required: - action - personal_access_token_request @@ -174111,11 +174498,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *871 - organization: *831 - enterprise: *829 + personal_access_token_request: *872 + organization: *832 + enterprise: *830 sender: *4 - installation: *830 + installation: *831 required: - action - personal_access_token_request @@ -174220,7 +174607,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *872 + last_response: *873 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -174252,8 +174639,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 zen: description: Random string of GitHub zen. @@ -174498,10 +174885,10 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: &873 + enterprise: *830 + installation: *831 + organization: *832 + project_card: &874 title: Project Card type: object properties: @@ -174624,7 +175011,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *833 sender: *4 required: - action @@ -174705,11 +175092,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project_card: *874 + repository: *833 sender: *4 required: - action @@ -174789,9 +175176,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 project_card: title: Project Card type: object @@ -174921,7 +175308,7 @@ webhooks: repository: anyOf: - type: 'null' - - *832 + - *833 sender: *4 required: - action @@ -175015,11 +175402,11 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project_card: *874 + repository: *833 sender: *4 required: - action @@ -175113,9 +175500,9 @@ webhooks: - from required: - column_id - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 project_card: allOf: - title: Project Card @@ -175312,7 +175699,7 @@ webhooks: type: string required: - after_id - repository: *832 + repository: *833 sender: *4 required: - action @@ -175392,10 +175779,10 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - organization: *831 - project: &875 + enterprise: *830 + installation: *831 + organization: *832 + project: &876 title: Project type: object properties: @@ -175522,7 +175909,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *833 sender: *4 required: - action @@ -175602,10 +175989,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_column: &874 + enterprise: *830 + installation: *831 + organization: *832 + project_column: &875 title: Project Column type: object properties: @@ -175645,7 +176032,7 @@ webhooks: - name - created_at - updated_at - repository: *832 + repository: *833 sender: *4 required: - action @@ -175724,14 +176111,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 + enterprise: *830 + installation: *831 + organization: *832 + project_column: *875 repository: anyOf: - type: 'null' - - *832 + - *833 sender: *4 required: - action @@ -175820,11 +176207,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project_column: *875 + repository: *833 sender: *4 required: - action @@ -175904,11 +176291,11 @@ webhooks: type: string enum: - moved - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project_column: *875 + repository: *833 sender: *4 required: - action @@ -175988,11 +176375,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project: *876 + repository: *833 sender: *4 required: - action @@ -176072,14 +176459,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project: *875 + enterprise: *830 + installation: *831 + organization: *832 + project: *876 repository: anyOf: - type: 'null' - - *832 + - *833 sender: *4 required: - action @@ -176180,11 +176567,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project: *876 + repository: *833 sender: *4 required: - action @@ -176263,11 +176650,11 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + project: *876 + repository: *833 sender: *4 required: - action @@ -176348,9 +176735,9 @@ webhooks: type: string enum: - closed - installation: *830 - organization: *831 - projects_v2: *393 + installation: *831 + organization: *832 + projects_v2: *394 sender: *4 required: - action @@ -176431,9 +176818,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2: *393 + installation: *831 + organization: *832 + projects_v2: *394 sender: *4 required: - action @@ -176514,9 +176901,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2: *393 + installation: *831 + organization: *832 + projects_v2: *394 sender: *4 required: - action @@ -176637,9 +177024,9 @@ webhooks: type: string to: type: string - installation: *830 - organization: *831 - projects_v2: *393 + installation: *831 + organization: *832 + projects_v2: *394 sender: *4 required: - action @@ -176722,7 +177109,7 @@ webhooks: type: string enum: - archived - changes: &879 + changes: &880 type: object properties: archived_at: @@ -176738,9 +177125,9 @@ webhooks: - string - 'null' format: date-time - installation: *830 - organization: *831 - projects_v2_item: &876 + installation: *831 + organization: *832 + projects_v2_item: &877 title: Projects v2 Item description: An item belonging to a project type: object @@ -176758,7 +177145,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *399 + content_type: *400 creator: *4 created_at: type: string @@ -176880,9 +177267,9 @@ webhooks: - 'null' to: type: string - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -176964,9 +177351,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -177047,9 +177434,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -177154,7 +177541,7 @@ webhooks: oneOf: - type: string - type: integer - - &877 + - &878 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -177178,7 +177565,7 @@ webhooks: required: - id - name - - &878 + - &879 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -177218,8 +177605,8 @@ webhooks: oneOf: - type: string - type: integer - - *877 - *878 + - *879 type: - 'null' - string @@ -177242,9 +177629,9 @@ webhooks: - 'null' required: - body - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -177341,9 +177728,9 @@ webhooks: type: - string - 'null' - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -177426,10 +177813,10 @@ webhooks: type: string enum: - restored - changes: *879 - installation: *830 - organization: *831 - projects_v2_item: *876 + changes: *880 + installation: *831 + organization: *832 + projects_v2_item: *877 sender: *4 required: - action @@ -177511,9 +177898,9 @@ webhooks: type: string enum: - reopened - installation: *830 - organization: *831 - projects_v2: *393 + installation: *831 + organization: *832 + projects_v2: *394 sender: *4 required: - action @@ -177594,9 +177981,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *831 + organization: *832 + projects_v2_status_update: *881 sender: *4 required: - action @@ -177677,9 +178064,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *831 + organization: *832 + projects_v2_status_update: *881 sender: *4 required: - action @@ -177825,9 +178212,9 @@ webhooks: - string - 'null' format: date - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *831 + organization: *832 + projects_v2_status_update: *881 sender: *4 required: - action @@ -177898,10 +178285,10 @@ webhooks: title: public event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - repository @@ -177978,13 +178365,13 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - number: &881 + assignee: *857 + enterprise: *830 + installation: *831 + number: &882 description: The pull request number. type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -180355,7 +180742,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -180437,11 +180824,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -182805,7 +183192,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *833 sender: *4 required: - action @@ -182887,11 +183274,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -185255,7 +185642,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *833 sender: *4 required: - action @@ -185337,13 +185724,13 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: &882 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: &883 allOf: - - *676 + - *678 - type: object properties: allow_auto_merge: @@ -185405,7 +185792,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *832 + repository: *833 sender: *4 required: - action @@ -185486,12 +185873,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: *883 + repository: *833 sender: *4 required: - action @@ -185571,11 +185958,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - milestone: *396 - number: *881 - organization: *831 - pull_request: &883 + enterprise: *830 + milestone: *397 + number: *882 + organization: *832 + pull_request: &884 title: Pull Request type: object properties: @@ -187924,7 +188311,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -188003,11 +188390,11 @@ webhooks: type: string enum: - dequeued - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -190375,7 +190762,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *832 + repository: *833 sender: *4 required: - action @@ -190499,12 +190886,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: *883 + repository: *833 sender: *4 required: - action @@ -190584,11 +190971,11 @@ webhooks: type: string enum: - enqueued - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -192941,7 +193328,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -193021,11 +193408,11 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 - label: *850 - number: *881 - organization: *831 + enterprise: *830 + installation: *831 + label: *851 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -195395,7 +195782,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -195476,10 +195863,10 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -197847,7 +198234,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -197927,12 +198314,12 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - milestone: *396 - number: *881 - organization: *831 - pull_request: *883 - repository: *832 + enterprise: *830 + milestone: *397 + number: *882 + organization: *832 + pull_request: *884 + repository: *833 sender: *4 required: - action @@ -198011,12 +198398,12 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: *883 + repository: *833 sender: *4 required: - action @@ -198097,12 +198484,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: *883 + repository: *833 sender: *4 required: - action @@ -198182,12 +198569,12 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 + pull_request: *883 + repository: *833 sender: *4 required: - action @@ -198562,9 +198949,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: type: object properties: @@ -200816,7 +201203,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *833 sender: *4 required: - action @@ -200896,7 +201283,7 @@ webhooks: type: string enum: - deleted - comment: &885 + comment: &886 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 +201576,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: type: object properties: @@ -203431,7 +203818,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *833 sender: *4 required: - action @@ -203511,11 +203898,11 @@ webhooks: type: string enum: - edited - changes: *884 - comment: *885 - enterprise: *829 - installation: *830 - organization: *831 + changes: *885 + comment: *886 + enterprise: *830 + installation: *831 + organization: *832 pull_request: type: object properties: @@ -205758,7 +206145,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *833 sender: *4 required: - action @@ -205839,9 +206226,9 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -208096,7 +208483,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *833 review: description: The review that was affected. type: object @@ -208347,9 +208734,9 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -210463,8 +210850,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: &886 + repository: *833 + review: &887 description: The review that was affected. type: object properties: @@ -210702,12 +211089,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -213076,7 +213463,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 requested_reviewer: title: User type: @@ -213162,12 +213549,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -215543,7 +215930,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 requested_team: title: Team description: Groups of organization members that gives permissions @@ -215738,12 +216125,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -218114,7 +218501,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 requested_reviewer: title: User type: @@ -218201,12 +218588,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *831 + organization: *832 pull_request: title: Pull Request type: object @@ -220568,7 +220955,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 requested_team: title: Team description: Groups of organization members that gives permissions @@ -220752,9 +221139,9 @@ webhooks: type: string enum: - submitted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -223012,8 +223399,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: *886 + repository: *833 + review: *887 sender: *4 required: - action @@ -223093,9 +223480,9 @@ webhooks: type: string enum: - resolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -225248,7 +225635,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *833 sender: *4 thread: type: object @@ -225645,9 +226032,9 @@ webhooks: type: string enum: - unresolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -227783,7 +228170,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *833 sender: *4 thread: type: object @@ -228182,10 +228569,10 @@ webhooks: type: string before: type: string - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -230542,7 +230929,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -230624,11 +231011,11 @@ webhooks: type: string enum: - unassigned - assignee: *887 - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + assignee: *888 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -233000,7 +233387,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -233079,11 +233466,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - label: *850 - number: *881 - organization: *831 + enterprise: *830 + installation: *831 + label: *851 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -235444,7 +235831,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -235525,10 +235912,10 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *830 + installation: *831 + number: *882 + organization: *832 pull_request: title: Pull Request type: object @@ -237879,7 +238266,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *833 sender: *4 required: - action @@ -238082,7 +238469,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *829 + enterprise: *830 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -238177,8 +238564,8 @@ webhooks: - url - author - committer - installation: *830 - organization: *831 + installation: *831 + organization: *832 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -238777,9 +239164,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 registry_package: type: object properties: @@ -239256,7 +239643,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *870 + items: *871 summary: type: string tag_name: @@ -239312,7 +239699,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *833 sender: *4 required: - action @@ -239390,9 +239777,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 registry_package: type: object properties: @@ -239704,7 +240091,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *871 summary: type: string tag_name: @@ -239754,7 +240141,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *833 sender: *4 required: - action @@ -239831,10 +240218,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - release: &888 + enterprise: *830 + installation: *831 + organization: *832 + release: &889 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -240165,7 +240552,7 @@ webhooks: - updated_at - zipball_url - body - repository: *832 + repository: *833 sender: *4 required: - action @@ -240242,11 +240629,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + release: *889 + repository: *833 sender: *4 required: - action @@ -240363,11 +240750,11 @@ webhooks: type: boolean required: - to - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + release: *889 + repository: *833 sender: *4 required: - action @@ -240445,9 +240832,9 @@ webhooks: type: string enum: - prereleased - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -240783,7 +241170,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *833 sender: *4 required: - action @@ -240859,10 +241246,10 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - release: &889 + enterprise: *830 + installation: *831 + organization: *832 + release: &890 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -241195,7 +241582,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *833 sender: *4 required: - action @@ -241271,11 +241658,11 @@ webhooks: type: string enum: - released - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + release: *889 + repository: *833 sender: *4 required: - action @@ -241351,11 +241738,11 @@ webhooks: type: string enum: - unpublished - enterprise: *829 - installation: *830 - organization: *831 - release: *889 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + release: *890 + repository: *833 sender: *4 required: - action @@ -241431,11 +241818,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *728 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + repository_advisory: *730 sender: *4 required: - action @@ -241511,11 +241898,11 @@ webhooks: type: string enum: - reported - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *728 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + repository_advisory: *730 sender: *4 required: - action @@ -241591,10 +241978,10 @@ webhooks: type: string enum: - archived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -241671,10 +242058,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -241752,10 +242139,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -241840,10 +242227,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: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -241958,10 +242345,10 @@ webhooks: - 'null' items: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -242033,10 +242420,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 status: type: string @@ -242117,10 +242504,10 @@ webhooks: type: string enum: - privatized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -242197,10 +242584,10 @@ webhooks: type: string enum: - publicized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -242294,10 +242681,10 @@ webhooks: - name required: - repository - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -242377,10 +242764,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 repository_ruleset: *185 sender: *4 required: @@ -242459,10 +242846,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 repository_ruleset: *185 sender: *4 required: @@ -242541,10 +242928,10 @@ webhooks: type: string enum: - edited - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 repository_ruleset: *185 changes: type: object @@ -242606,16 +242993,16 @@ webhooks: properties: added: type: array - items: *696 + items: *698 deleted: type: array - items: *696 + items: *698 updated: type: array items: type: object properties: - rule: *696 + rule: *698 changes: type: object properties: @@ -242852,10 +243239,10 @@ webhooks: - from required: - owner - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -242933,10 +243320,10 @@ webhooks: type: string enum: - unarchived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243014,7 +243401,7 @@ webhooks: type: string enum: - create - alert: &890 + alert: &891 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -243139,10 +243526,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243352,10 +243739,10 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243433,11 +243820,11 @@ webhooks: type: string enum: - reopen - alert: *890 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *891 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243639,10 +244026,10 @@ webhooks: enum: - fixed - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243720,7 +244107,7 @@ webhooks: type: string enum: - assigned - alert: &891 + alert: &892 type: object properties: number: *124 @@ -243835,10 +244222,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -243916,11 +244303,11 @@ webhooks: type: string enum: - created - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244001,11 +244388,11 @@ webhooks: type: string enum: - created - alert: *891 - installation: *830 - location: *892 - organization: *831 - repository: *832 + alert: *892 + installation: *831 + location: *893 + organization: *832 + repository: *833 sender: *4 required: - location @@ -244243,11 +244630,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244325,11 +244712,11 @@ webhooks: type: string enum: - reopened - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244407,11 +244794,11 @@ webhooks: type: string enum: - resolved - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244489,12 +244876,12 @@ webhooks: type: string enum: - unassigned - alert: *891 + alert: *892 assignee: *4 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244572,11 +244959,11 @@ webhooks: type: string enum: - validated - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *892 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -244706,10 +245093,10 @@ webhooks: - organization - enterprise - - repository: *832 - enterprise: *829 - installation: *830 - organization: *831 + repository: *833 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -244787,11 +245174,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: &893 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + security_advisory: &894 description: The details of the security advisory, including summary, description, and severity. type: object @@ -244977,11 +245364,11 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: *893 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + security_advisory: *894 sender: *4 required: - action @@ -245054,10 +245441,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -245243,11 +245630,11 @@ webhooks: from: type: object properties: - security_and_analysis: *407 - enterprise: *829 - installation: *830 - organization: *831 - repository: *448 + security_and_analysis: *408 + enterprise: *830 + installation: *831 + organization: *832 + repository: *450 sender: *4 required: - changes @@ -245325,12 +245712,12 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: &894 + sponsorship: &895 type: object properties: created_at: @@ -245635,12 +246022,12 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *894 + sponsorship: *895 required: - action - sponsorship @@ -245728,12 +246115,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *894 + sponsorship: *895 required: - action - changes @@ -245810,17 +246197,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &895 + effective_date: &896 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: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *894 + sponsorship: *895 required: - action - sponsorship @@ -245894,7 +246281,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &896 + changes: &897 type: object properties: tier: @@ -245938,13 +246325,13 @@ webhooks: - from required: - tier - effective_date: *895 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + effective_date: *896 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *894 + sponsorship: *895 required: - action - changes @@ -246021,13 +246408,13 @@ webhooks: type: string enum: - tier_changed - changes: *896 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + changes: *897 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *894 + sponsorship: *895 required: - action - changes @@ -246101,10 +246488,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246188,10 +246575,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246625,15 +247012,15 @@ webhooks: type: - string - 'null' - enterprise: *829 + enterprise: *830 id: description: The unique identifier of the status. type: integer - installation: *830 + installation: *831 name: type: string - organization: *831 - repository: *832 + organization: *832 + repository: *833 sender: *4 sha: description: The Commit SHA. @@ -246749,9 +247136,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -246841,9 +247228,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -246933,9 +247320,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -247025,9 +247412,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *217 - installation: *830 - organization: *831 - repository: *832 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -247104,12 +247491,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - team: &897 + team: &898 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -247339,9 +247726,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -247811,7 +248198,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *898 required: - action - team @@ -247887,9 +248274,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -248359,7 +248746,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *898 required: - action - team @@ -248436,9 +248823,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -248908,7 +249295,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *898 required: - action - team @@ -249052,9 +249439,9 @@ webhooks: - from required: - permissions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -249524,7 +249911,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *898 required: - action - changes @@ -249602,9 +249989,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -250074,7 +250461,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *898 required: - action - team @@ -250150,10 +250537,10 @@ webhooks: type: string enum: - started - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -250226,17 +250613,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *829 + enterprise: *830 inputs: type: - object - 'null' additionalProperties: true - installation: *830 - organization: *831 + installation: *831 + organization: *832 ref: type: string - repository: *832 + repository: *833 sender: *4 workflow: type: string @@ -250318,10 +250705,10 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: allOf: @@ -250577,7 +250964,7 @@ webhooks: type: string required: - conclusion - deployment: *582 + deployment: *584 required: - action - repository @@ -250656,10 +251043,10 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: allOf: @@ -250941,7 +251328,7 @@ webhooks: required: - status - steps - deployment: *582 + deployment: *584 required: - action - repository @@ -251020,10 +251407,10 @@ webhooks: type: string enum: - queued - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: type: object @@ -251169,7 +251556,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *582 + deployment: *584 required: - action - repository @@ -251248,10 +251635,10 @@ webhooks: type: string enum: - waiting - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: type: object @@ -251398,7 +251785,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *582 + deployment: *584 required: - action - repository @@ -251478,12 +251865,12 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: *846 + workflow: *847 workflow_run: title: Workflow Run type: object @@ -252502,12 +252889,12 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: *846 + workflow: *847 workflow_run: title: Workflow Run type: object @@ -253511,12 +253898,12 @@ webhooks: type: string enum: - requested - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: *846 + workflow: *847 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..b90fa29006 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,502 @@ } } }, + "/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 +9963,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 +24303,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 +24442,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -23937,12 +24458,12 @@ "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", @@ -23986,7 +24507,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 +26885,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 +27378,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", @@ -29573,6 +30112,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 +30380,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": [ { @@ -39013,6 +39555,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -39338,6 +39883,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -41296,6 +41844,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41341,6 +41892,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41413,6 +41967,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41444,6 +42001,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -41503,6 +42063,9 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -42005,6 +42568,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -42100,6 +42666,9 @@ } } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -56996,6 +57565,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 +57601,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 +58119,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 +58294,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 +75267,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -74985,6 +75603,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -77027,186 +77648,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 +79247,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 +79326,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 +94867,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 +95010,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94662,7 +95103,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94755,7 +95196,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94848,7 +95289,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -94941,7 +95382,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -95034,7 +95475,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -95127,7 +95568,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -125794,6 +126235,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", @@ -142834,6 +143284,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 +160083,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.", @@ -318658,6 +319142,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 +319349,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -335509,7 +336016,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 +336156,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] }, @@ -335754,7 +336284,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 +336440,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 +343377,6 @@ } {"code":"deadline_exceeded","msg":"operation timed out"}