diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 80324f7d61..97b6060edb 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -2618,6 +2618,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -2979,6 +2989,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -3388,6 +3408,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -13599,20 +13622,22 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "cluster": { "type": "string", - "description": "The deployment cluster." + "description": "The deployment cluster.", + "maxLength": 128 }, "deployment_name": { "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n" + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n", + "maxLength": 256 }, "tags": { "type": "object", @@ -13734,7 +13759,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -13750,12 +13775,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", @@ -13797,7 +13822,7 @@ "type": "string", "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", "minLength": 1, - "maxLength": 128 + "maxLength": 256 }, "github_repository": { "type": "string", @@ -15928,6 +15953,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -16412,6 +16446,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18313,6 +18356,9 @@ { "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" }, @@ -18578,7 +18624,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -26992,6 +27038,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -27317,6 +27366,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -29151,6 +29203,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -29210,6 +29265,9 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -44075,6 +44133,33 @@ } } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-file-github-object": { + "summary": "Content is a file using the object media type" + }, + "response-if-content-is-a-directory-github-object": { + "summary": "Content is a directory using the object media type" + }, + "response-if-content-is-a-file": { + "summary": "Content is a file" + }, + "response-if-content-is-a-directory": { + "summary": "Content is a directory" + }, + "response-if-content-is-a-symlink": { + "summary": "Content is a symlink" + }, + "response-if-content-is-a-submodule": { + "summary": "Content is a submodule" + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -44084,10 +44169,10 @@ "$ref": "#/components/schemas/content-tree" }, "examples": { - "response-if-content-is-a-file": { + "response-if-content-is-a-file-github-object": { "$ref": "#/components/examples/content-file-response-if-content-is-a-file" }, - "response-if-content-is-a-directory": { + "response-if-content-is-a-directory-github-object": { "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" } } @@ -44598,6 +44683,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -44770,10 +44858,26 @@ "type": "string", "description": "An optional comment associated with dismissing the alert.", "maxLength": 280 + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "items": { + "type": "string" + } } }, - "required": [ - "state" + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "assignees" + ] + } ], "additionalProperties": false }, @@ -60657,6 +60761,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -60990,6 +61097,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -63028,186 +63138,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)", @@ -78186,7 +78116,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78279,7 +78209,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78372,7 +78302,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78465,7 +78395,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78558,7 +78488,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78651,7 +78581,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78744,7 +78674,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78837,7 +78767,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -103966,6 +103896,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", @@ -118927,6 +118866,80 @@ } } }, + "rule-suite-pull-request": { + "title": "Pull request rule suite metadata", + "description": "Metadata for a pull request rule evaluation result.", + "type": "object", + "properties": { + "pull_request": { + "type": "object", + "description": "The pull request associated with the rule evaluation.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the pull request." + }, + "number": { + "type": "integer", + "description": "The number of the pull request." + }, + "user": { + "type": "object", + "description": "The user who created the pull request.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the user." + }, + "login": { + "type": "string", + "description": "The handle for the GitHub user account." + }, + "type": { + "type": "string", + "description": "The type of the user." + } + } + }, + "reviews": { + "type": "array", + "description": "The reviews associated with the pull request.", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the review." + }, + "user": { + "type": "object", + "description": "The user who submitted the review.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the user." + }, + "login": { + "type": "string", + "description": "The handle for the GitHub user account." + }, + "type": { + "type": "string", + "description": "The type of the user." + } + } + }, + "state": { + "type": "string", + "description": "The state of the review." + } + } + } + } + } + } + } + }, "rule-suite": { "title": "Rule Suite", "description": "Response", @@ -134256,36 +134269,6 @@ "tarball_url" ] }, - "tag-protection": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - }, "topic": { "title": "Topic", "description": "A topic aggregates entities that are related to a subject.", @@ -284797,6 +284780,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -284982,6 +284987,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -301408,7 +301414,29 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] }, { "number": 1, @@ -301526,7 +301554,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] }, @@ -301653,7 +301682,29 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] } }, "dependabot-alert-dismissed": { @@ -301787,7 +301838,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } }, "dependabot-secret-paginated": { @@ -308633,19 +308685,6 @@ } ] }, - "tag-protection-items": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - }, - "tag-protection": { - "value": { - "enabled": true - } - }, "topic": { "value": { "names": [ @@ -314533,6 +314572,14 @@ ] } }, + "dependabot-alert-comma-separated-assignees": { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, "dependabot-alert-scope": { "name": "scope", "in": "query", @@ -316099,15 +316146,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.", @@ -316604,6 +316642,9 @@ "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, + "enterprise_team_unsupported": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." + }, "temporary_redirect": { "description": "Temporary Redirect", "content": { diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 536dd918e9..cd785830c4 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -1860,6 +1860,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -2141,6 +2149,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -2439,6 +2455,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -9826,20 +9843,22 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 cluster: type: string description: The deployment cluster. + maxLength: 128 deployment_name: type: string description: | The unique identifier for the deployment represented by the new record. To accommodate differing containers and namespaces within a cluster, the following format is recommended: {namespaceName}-{deploymentName}-{containerName}. + maxLength: 256 tags: type: object description: The tags associated with the deployment. @@ -9935,7 +9954,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -9948,11 +9967,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. @@ -9998,7 +10017,7 @@ paths: {namespaceName}-{deploymentName}-{containerName}. The deployment_name must be unique across all entries in the deployments array. minLength: 1 - maxLength: 128 + maxLength: 256 github_repository: type: string description: |- @@ -11556,6 +11575,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -11933,6 +11959,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -13378,6 +13411,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry-urls" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" - "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" @@ -13571,9 +13605,7 @@ paths: an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. Use integers when possible, as strings are supported - only to maintain backwards compatibility and may be removed in - the future. + endpoints. items: anyOf: - type: integer @@ -19565,6 +19597,8 @@ paths: "$ref": "#/components/examples/org-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" "/orgs/{org}/rulesets/rule-suites": @@ -19778,6 +19812,8 @@ paths: "$ref": "#/components/examples/org-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" delete: @@ -21099,6 +21135,8 @@ paths: responses: '204': description: Response + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21138,6 +21176,8 @@ paths: headers: Link: "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32160,6 +32200,23 @@ paths: required: false schema: type: string + requestBody: + required: false + content: + application/json: + examples: + response-if-content-is-a-file-github-object: + summary: Content is a file using the object media type + response-if-content-is-a-directory-github-object: + summary: Content is a directory using the object media type + response-if-content-is-a-file: + summary: Content is a file + response-if-content-is-a-directory: + summary: Content is a directory + response-if-content-is-a-symlink: + summary: Content is a symlink + response-if-content-is-a-submodule: + summary: Content is a submodule responses: '200': description: Response @@ -32168,9 +32225,9 @@ paths: schema: "$ref": "#/components/schemas/content-tree" examples: - response-if-content-is-a-file: + response-if-content-is-a-file-github-object: "$ref": "#/components/examples/content-file-response-if-content-is-a-file" - response-if-content-is-a-directory: + response-if-content-is-a-directory-github-object: "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" application/json: schema: @@ -32521,6 +32578,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -32639,8 +32697,19 @@ paths: description: An optional comment associated with dismissing the alert. maxLength: 280 - required: - - state + assignees: + type: array + description: |- + Usernames to assign to this Dependabot Alert. + Pass one or more user logins to _replace_ the set of assignees on this alert. + Send an empty array (`[]`) to clear all assignees from the alert. + items: + type: string + anyOf: + - required: + - state + - required: + - assignees additionalProperties: false examples: default: @@ -44101,6 +44170,8 @@ paths: "$ref": "#/components/examples/repository-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" "/repos/{owner}/{repo}/rulesets/rule-suites": @@ -44317,6 +44388,8 @@ paths: "$ref": "#/components/examples/repository-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" delete: @@ -45707,139 +45780,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/tags/protection": - get: - summary: Closing down - List tag protection states for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. - - This returns the tag protection states of a repository. - - This information is only available to repository administrators. - tags: - - repos - operationId: repos/list-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/tag-protection" - examples: - default: - "$ref": "#/components/examples/tag-protection-items" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - post: - summary: Closing down - Create a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. - - This creates a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/create-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - pattern: - type: string - description: An optional glob pattern to match against when enforcing - tag protection. - required: - - pattern - examples: - default: - value: - pattern: v1.* - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/tag-protection" - examples: - default: - "$ref": "#/components/examples/tag-protection" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": - delete: - summary: Closing down - Delete a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. - - This deletes a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/delete-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/tag-protection-id" - responses: - '204': - description: Response - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -56555,7 +56495,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56622,7 +56562,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56690,7 +56630,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56758,7 +56698,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56824,7 +56764,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56890,7 +56830,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56957,7 +56897,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57023,7 +56963,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -75323,6 +75263,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 @@ -87158,6 +87105,59 @@ components: description: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. + rule-suite-pull-request: + title: Pull request rule suite metadata + description: Metadata for a pull request rule evaluation result. + type: object + properties: + pull_request: + type: object + description: The pull request associated with the rule evaluation. + properties: + id: + type: integer + description: The unique identifier of the pull request. + number: + type: integer + description: The number of the pull request. + user: + type: object + description: The user who created the pull request. + properties: + id: + type: integer + description: The unique identifier of the user. + login: + type: string + description: The handle for the GitHub user account. + type: + type: string + description: The type of the user. + reviews: + type: array + description: The reviews associated with the pull request. + items: + type: object + properties: + id: + type: integer + description: The unique identifier of the review. + user: + type: object + description: The user who submitted the review. + properties: + id: + type: integer + description: The unique identifier of the user. + login: + type: string + description: The handle for the GitHub user account. + type: + type: string + description: The type of the user. + state: + type: string + description: The state of the review. rule-suite: title: Rule Suite description: Response @@ -98853,28 +98853,6 @@ components: - commit - zipball_url - tarball_url - tag-protection: - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - example: 2 - created_at: - type: string - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - example: '2011-01-26T19:01:12Z' - enabled: - type: boolean - example: true - pattern: - type: string - example: v1.* - required: - - pattern topic: title: Topic description: A topic aggregates entities that are related to a subject. @@ -213015,6 +212993,25 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository: id: 217723378 node_id: MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg= @@ -213162,6 +213159,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -227208,6 +227206,25 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false - number: 1 state: open dependency: @@ -227290,6 +227307,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] dependabot-alert-open: value: number: 1 @@ -227377,6 +227395,25 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false dependabot-alert-dismissed: value: number: 2 @@ -227476,6 +227513,7 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] dependabot-secret-paginated: value: total_count: 2 @@ -233362,13 +233400,6 @@ components: zipball_url: https://github.com/octocat/Hello-World/zipball/v0.1 tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= - tag-protection-items: - value: - - id: 2 - pattern: v1.* - tag-protection: - value: - enabled: true topic: value: names: @@ -238579,6 +238610,15 @@ components: type: string enum: - patch + dependabot-alert-comma-separated-assignees: + name: assignee + in: query + description: |- + Filter alerts by assignees. + Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users. + Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. + schema: + type: string dependabot-alert-scope: name: scope in: query @@ -239923,13 +239963,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. @@ -240269,6 +240302,9 @@ components: package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. + enterprise_team_unsupported: + description: Unprocessable entity if you attempt to modify an enterprise team + at the organization level. temporary_redirect: description: Temporary Redirect content: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 80324f7d61..97b6060edb 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -2618,6 +2618,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -2979,6 +2989,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -3388,6 +3408,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -13599,20 +13622,22 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "cluster": { "type": "string", - "description": "The deployment cluster." + "description": "The deployment cluster.", + "maxLength": 128 }, "deployment_name": { "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n" + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n", + "maxLength": 256 }, "tags": { "type": "object", @@ -13734,7 +13759,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -13750,12 +13775,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", @@ -13797,7 +13822,7 @@ "type": "string", "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", "minLength": 1, - "maxLength": 128 + "maxLength": 256 }, "github_repository": { "type": "string", @@ -15928,6 +15953,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -16412,6 +16446,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18313,6 +18356,9 @@ { "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" }, @@ -18578,7 +18624,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -26992,6 +27038,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -27317,6 +27366,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -29151,6 +29203,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -29210,6 +29265,9 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/enterprise_team_unsupported" } }, "x-github": { @@ -44075,6 +44133,33 @@ } } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-file-github-object": { + "summary": "Content is a file using the object media type" + }, + "response-if-content-is-a-directory-github-object": { + "summary": "Content is a directory using the object media type" + }, + "response-if-content-is-a-file": { + "summary": "Content is a file" + }, + "response-if-content-is-a-directory": { + "summary": "Content is a directory" + }, + "response-if-content-is-a-symlink": { + "summary": "Content is a symlink" + }, + "response-if-content-is-a-submodule": { + "summary": "Content is a submodule" + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -44084,10 +44169,10 @@ "$ref": "#/components/schemas/content-tree" }, "examples": { - "response-if-content-is-a-file": { + "response-if-content-is-a-file-github-object": { "$ref": "#/components/examples/content-file-response-if-content-is-a-file" }, - "response-if-content-is-a-directory": { + "response-if-content-is-a-directory-github-object": { "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" } } @@ -44598,6 +44683,9 @@ { "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" }, + { + "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" + }, { "$ref": "#/components/parameters/dependabot-alert-scope" }, @@ -44770,10 +44858,26 @@ "type": "string", "description": "An optional comment associated with dismissing the alert.", "maxLength": 280 + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "items": { + "type": "string" + } } }, - "required": [ - "state" + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "assignees" + ] + } ], "additionalProperties": false }, @@ -60657,6 +60761,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -60990,6 +61097,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "500": { "$ref": "#/components/responses/internal_error" } @@ -63028,186 +63138,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)", @@ -78186,7 +78116,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78279,7 +78209,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78372,7 +78302,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78465,7 +78395,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78558,7 +78488,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78651,7 +78581,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78744,7 +78674,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -78837,7 +78767,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -103966,6 +103896,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", @@ -118927,6 +118866,80 @@ } } }, + "rule-suite-pull-request": { + "title": "Pull request rule suite metadata", + "description": "Metadata for a pull request rule evaluation result.", + "type": "object", + "properties": { + "pull_request": { + "type": "object", + "description": "The pull request associated with the rule evaluation.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the pull request." + }, + "number": { + "type": "integer", + "description": "The number of the pull request." + }, + "user": { + "type": "object", + "description": "The user who created the pull request.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the user." + }, + "login": { + "type": "string", + "description": "The handle for the GitHub user account." + }, + "type": { + "type": "string", + "description": "The type of the user." + } + } + }, + "reviews": { + "type": "array", + "description": "The reviews associated with the pull request.", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the review." + }, + "user": { + "type": "object", + "description": "The user who submitted the review.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the user." + }, + "login": { + "type": "string", + "description": "The handle for the GitHub user account." + }, + "type": { + "type": "string", + "description": "The type of the user." + } + } + }, + "state": { + "type": "string", + "description": "The state of the review." + } + } + } + } + } + } + } + }, "rule-suite": { "title": "Rule Suite", "description": "Response", @@ -134256,36 +134269,6 @@ "tarball_url" ] }, - "tag-protection": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - }, "topic": { "title": "Topic", "description": "A topic aggregates entities that are related to a subject.", @@ -284797,6 +284780,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -284982,6 +284987,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -301408,7 +301414,29 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] }, { "number": 1, @@ -301526,7 +301554,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] }, @@ -301653,7 +301682,29 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] } }, "dependabot-alert-dismissed": { @@ -301787,7 +301838,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } }, "dependabot-secret-paginated": { @@ -308633,19 +308685,6 @@ } ] }, - "tag-protection-items": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - }, - "tag-protection": { - "value": { - "enabled": true - } - }, "topic": { "value": { "names": [ @@ -314533,6 +314572,14 @@ ] } }, + "dependabot-alert-comma-separated-assignees": { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, "dependabot-alert-scope": { "name": "scope", "in": "query", @@ -316099,15 +316146,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.", @@ -316604,6 +316642,9 @@ "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, + "enterprise_team_unsupported": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." + }, "temporary_redirect": { "description": "Temporary Redirect", "content": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 536dd918e9..cd785830c4 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -1860,6 +1860,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -2141,6 +2149,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -2439,6 +2455,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -9826,20 +9843,22 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 cluster: type: string description: The deployment cluster. + maxLength: 128 deployment_name: type: string description: | The unique identifier for the deployment represented by the new record. To accommodate differing containers and namespaces within a cluster, the following format is recommended: {namespaceName}-{deploymentName}-{containerName}. + maxLength: 256 tags: type: object description: The tags associated with the deployment. @@ -9935,7 +9954,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -9948,11 +9967,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. @@ -9998,7 +10017,7 @@ paths: {namespaceName}-{deploymentName}-{containerName}. The deployment_name must be unique across all entries in the deployments array. minLength: 1 - maxLength: 128 + maxLength: 256 github_repository: type: string description: |- @@ -11556,6 +11575,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -11933,6 +11959,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -13378,6 +13411,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry-urls" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-artifact-registry" - "$ref": "#/components/parameters/dependabot-alert-org-scope-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-runtime-risk" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" @@ -13571,9 +13605,7 @@ paths: an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. Use integers when possible, as strings are supported - only to maintain backwards compatibility and may be removed in - the future. + endpoints. items: anyOf: - type: integer @@ -19565,6 +19597,8 @@ paths: "$ref": "#/components/examples/org-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" "/orgs/{org}/rulesets/rule-suites": @@ -19778,6 +19812,8 @@ paths: "$ref": "#/components/examples/org-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" delete: @@ -21099,6 +21135,8 @@ paths: responses: '204': description: Response + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21138,6 +21176,8 @@ paths: headers: Link: "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/enterprise_team_unsupported" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32160,6 +32200,23 @@ paths: required: false schema: type: string + requestBody: + required: false + content: + application/json: + examples: + response-if-content-is-a-file-github-object: + summary: Content is a file using the object media type + response-if-content-is-a-directory-github-object: + summary: Content is a directory using the object media type + response-if-content-is-a-file: + summary: Content is a file + response-if-content-is-a-directory: + summary: Content is a directory + response-if-content-is-a-symlink: + summary: Content is a symlink + response-if-content-is-a-submodule: + summary: Content is a submodule responses: '200': description: Response @@ -32168,9 +32225,9 @@ paths: schema: "$ref": "#/components/schemas/content-tree" examples: - response-if-content-is-a-file: + response-if-content-is-a-file-github-object: "$ref": "#/components/examples/content-file-response-if-content-is-a-file" - response-if-content-is-a-directory: + response-if-content-is-a-directory-github-object: "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" application/json: schema: @@ -32521,6 +32578,7 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-epss" - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has" + - "$ref": "#/components/parameters/dependabot-alert-comma-separated-assignees" - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" @@ -32639,8 +32697,19 @@ paths: description: An optional comment associated with dismissing the alert. maxLength: 280 - required: - - state + assignees: + type: array + description: |- + Usernames to assign to this Dependabot Alert. + Pass one or more user logins to _replace_ the set of assignees on this alert. + Send an empty array (`[]`) to clear all assignees from the alert. + items: + type: string + anyOf: + - required: + - state + - required: + - assignees additionalProperties: false examples: default: @@ -44101,6 +44170,8 @@ paths: "$ref": "#/components/examples/repository-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" "/repos/{owner}/{repo}/rulesets/rule-suites": @@ -44317,6 +44388,8 @@ paths: "$ref": "#/components/examples/repository-ruleset" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" '500': "$ref": "#/components/responses/internal_error" delete: @@ -45707,139 +45780,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/tags/protection": - get: - summary: Closing down - List tag protection states for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. - - This returns the tag protection states of a repository. - - This information is only available to repository administrators. - tags: - - repos - operationId: repos/list-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/tag-protection" - examples: - default: - "$ref": "#/components/examples/tag-protection-items" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - post: - summary: Closing down - Create a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. - - This creates a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/create-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - pattern: - type: string - description: An optional glob pattern to match against when enforcing - tag protection. - required: - - pattern - examples: - default: - value: - pattern: v1.* - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/tag-protection" - examples: - default: - "$ref": "#/components/examples/tag-protection" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": - delete: - summary: Closing down - Delete a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. - - This deletes a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/delete-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/tag-protection-id" - responses: - '204': - description: Response - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -56555,7 +56495,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56622,7 +56562,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56690,7 +56630,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56758,7 +56698,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56824,7 +56764,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56890,7 +56830,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -56957,7 +56897,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -57023,7 +56963,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -75323,6 +75263,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 @@ -87158,6 +87105,59 @@ components: description: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. + rule-suite-pull-request: + title: Pull request rule suite metadata + description: Metadata for a pull request rule evaluation result. + type: object + properties: + pull_request: + type: object + description: The pull request associated with the rule evaluation. + properties: + id: + type: integer + description: The unique identifier of the pull request. + number: + type: integer + description: The number of the pull request. + user: + type: object + description: The user who created the pull request. + properties: + id: + type: integer + description: The unique identifier of the user. + login: + type: string + description: The handle for the GitHub user account. + type: + type: string + description: The type of the user. + reviews: + type: array + description: The reviews associated with the pull request. + items: + type: object + properties: + id: + type: integer + description: The unique identifier of the review. + user: + type: object + description: The user who submitted the review. + properties: + id: + type: integer + description: The unique identifier of the user. + login: + type: string + description: The handle for the GitHub user account. + type: + type: string + description: The type of the user. + state: + type: string + description: The state of the review. rule-suite: title: Rule Suite description: Response @@ -98853,28 +98853,6 @@ components: - commit - zipball_url - tarball_url - tag-protection: - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - example: 2 - created_at: - type: string - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - example: '2011-01-26T19:01:12Z' - enabled: - type: boolean - example: true - pattern: - type: string - example: v1.* - required: - - pattern topic: title: Topic description: A topic aggregates entities that are related to a subject. @@ -213015,6 +212993,25 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository: id: 217723378 node_id: MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg= @@ -213162,6 +213159,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -227208,6 +227206,25 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false - number: 1 state: open dependency: @@ -227290,6 +227307,7 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] dependabot-alert-open: value: number: 1 @@ -227377,6 +227395,25 @@ components: dismissed_reason: dismissed_comment: fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false dependabot-alert-dismissed: value: number: 2 @@ -227476,6 +227513,7 @@ components: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] dependabot-secret-paginated: value: total_count: 2 @@ -233362,13 +233400,6 @@ components: zipball_url: https://github.com/octocat/Hello-World/zipball/v0.1 tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= - tag-protection-items: - value: - - id: 2 - pattern: v1.* - tag-protection: - value: - enabled: true topic: value: names: @@ -238579,6 +238610,15 @@ components: type: string enum: - patch + dependabot-alert-comma-separated-assignees: + name: assignee + in: query + description: |- + Filter alerts by assignees. + Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users. + Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. + schema: + type: string dependabot-alert-scope: name: scope in: query @@ -239923,13 +239963,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. @@ -240269,6 +240302,9 @@ components: package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. + enterprise_team_unsupported: + description: Unprocessable entity if you attempt to modify an enterprise team + at the organization level. temporary_redirect: description: Temporary Redirect content: diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 0ea8674d42..b7f7f5dfa4 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -17481,6 +17481,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -17878,6 +17887,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18165,6 +18184,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18642,6 +18670,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19058,6 +19095,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19424,6 +19470,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19702,6 +19758,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -20534,6 +20599,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -21427,6 +21501,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -22913,6 +22995,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -23098,6 +23202,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -90381,20 +90486,22 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "cluster": { "type": "string", - "description": "The deployment cluster." + "description": "The deployment cluster.", + "maxLength": 128 }, "deployment_name": { "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n" + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n", + "maxLength": 256 }, "tags": { "type": "object", @@ -90594,7 +90701,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -90610,12 +90717,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", @@ -90657,7 +90764,7 @@ "type": "string", "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", "minLength": 1, - "maxLength": 128 + "maxLength": 256 }, "github_repository": { "type": "string", @@ -97349,6 +97456,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -97803,6 +97919,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -98090,6 +98215,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -98462,6 +98596,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99141,6 +99284,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99561,6 +99713,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99839,6 +100000,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -100537,6 +100707,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -108416,6 +108595,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "runtime_risk", "in": "query", @@ -109910,6 +110097,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -110095,6 +110304,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -110698,7 +110908,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -193262,6 +193472,75 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -197934,6 +198213,75 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -209070,6 +209418,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -209370,6 +209721,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -291760,6 +292114,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -316489,6 +316852,33 @@ } } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-file-github-object": { + "summary": "Content is a file using the object media type" + }, + "response-if-content-is-a-directory-github-object": { + "summary": "Content is a directory using the object media type" + }, + "response-if-content-is-a-file": { + "summary": "Content is a file" + }, + "response-if-content-is-a-directory": { + "summary": "Content is a directory" + }, + "response-if-content-is-a-symlink": { + "summary": "Content is a symlink" + }, + "response-if-content-is-a-submodule": { + "summary": "Content is a submodule" + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -316656,7 +317046,7 @@ ] }, "examples": { - "response-if-content-is-a-file": { + "response-if-content-is-a-file-github-object": { "summary": "Response if content is a file", "value": { "type": "file", @@ -316677,7 +317067,7 @@ } } }, - "response-if-content-is-a-directory": { + "response-if-content-is-a-directory-github-object": { "summary": "Response if content is a directory and the application/vnd.github.v3.object media type is requested", "value": { "type": "dir", @@ -318840,6 +319230,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -319905,7 +320303,29 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] }, { "number": 1, @@ -320023,7 +320443,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -321208,7 +321629,29 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] } } } @@ -321351,10 +321794,26 @@ "type": "string", "description": "An optional comment associated with dismissing the alert.", "maxLength": 280 + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "items": { + "type": "string" + } } }, - "required": [ - "state" + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "assignees" + ] + } ], "additionalProperties": false }, @@ -322357,7 +322816,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } } } @@ -511920,6 +512380,75 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -516458,6 +516987,75 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -538708,482 +539306,29 @@ } ], "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "activity", - "subcategory": "watching" - } - } - }, - "/repos/{owner}/{repo}/tags": { - "get": { - "summary": "List repository tags", - "description": "", - "tags": [ - "repos" - ], - "operationId": "repos/list-tags", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#list-repository-tags" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag", - "description": "Tag", - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "v0.1" - }, - "commit": { - "type": "object", - "properties": { - "sha": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "zipball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/zipball/v0.1" - }, - "tarball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/tarball/v0.1" - }, - "node_id": { - "type": "string" - } - }, - "required": [ - "name", - "node_id", - "commit", - "zipball_url", - "tarball_url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "name": "v0.1", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", - "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", - "node_id": "MDQ6VXNlcjE=" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" - } - } - }, - "/repos/{owner}/{repo}/tags/protection": { - "get": { - "summary": "Closing down - List tag protection states for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)\" endpoint instead.\n\nThis returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/list-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - }, - "post": { - "summary": "Closing down - Create a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)\" endpoint instead.\n\nThis creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/create-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "pattern": { - "type": "string", - "description": "An optional glob pattern to match against when enforcing tag protection." - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "pattern": "v1.*" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "enabled": true - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "enabledForGitHubApps": false, + "category": "activity", + "subcategory": "watching" + } } }, - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { - "delete": { - "summary": "Closing down - Delete a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)\" endpoint instead.\n\nThis deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", + "/repos/{owner}/{repo}/tags": { + "get": { + "summary": "List repository tags", + "description": "", "tags": [ "repos" ], - "operationId": "repos/delete-tag-protection", + "operationId": "repos/list-tags", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository" + "url": "https://docs.github.com/rest/repos/repos#list-repository-tags" }, "parameters": [ { @@ -539205,67 +539350,102 @@ } }, { - "name": "tag_protection_id", - "description": "The unique identifier of the tag protection.", - "in": "path", - "required": true, + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", "schema": { - "type": "integer" + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 } } ], "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" + "type": "array", + "items": { + "title": "Tag", + "description": "Tag", + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "v0.1" + }, + "commit": { + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "zipball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/zipball/v0.1" + }, + "tarball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/tarball/v0.1" + }, + "node_id": { + "type": "string" + } }, - "status": { - "type": "string" - } + "required": [ + "name", + "node_id", + "commit", + "zipball_url", + "tarball_url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "name": "v0.1", + "commit": { + "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" + }, + "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", + "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", + "node_id": "MDQ6VXNlcjE=" + } + ] } } } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } @@ -539275,11 +539455,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "subcategory": "repos" + } } }, "/repos/{owner}/{repo}/tarball/{ref}": { @@ -762573,7 +762750,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -765048,7 +765225,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -767523,7 +767700,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -769998,7 +770175,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -772473,7 +772650,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -774948,7 +775125,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -777423,7 +777600,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -779898,7 +780075,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 71edf358f9..6a1885621d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &316 + type: &317 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &642 + - &644 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &206 + - &207 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &207 + items: &208 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &208 + default: &209 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &209 + schema: &210 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &210 + default: &211 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2884,7 +2884,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &281 + properties: &282 id: description: Unique identifier of the repository example: 42 @@ -3335,7 +3335,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &282 + required: &283 - archive_url - assignees_url - blobs_url @@ -7428,6 +7428,14 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended + metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability @@ -7712,6 +7720,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -8092,6 +8108,14 @@ paths: - disabled - not_set default: disabled + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set + default: disabled private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -8806,7 +8830,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &478 + - &480 name: has in: query description: |- @@ -8821,6 +8845,15 @@ paths: enum: - patch - &196 + name: assignee + in: query + description: |- + Filter alerts by assignees. + Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users. + Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. + schema: + type: string + - &197 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8830,7 +8863,7 @@ paths: enum: - development - runtime - - &197 + - &198 name: sort in: query description: |- @@ -8856,7 +8889,7 @@ paths: application/json: schema: type: array - items: &198 + items: &199 type: object description: A Dependabot alert. properties: @@ -8922,7 +8955,7 @@ paths: - unknown - direct - transitive - security_advisory: &479 + security_advisory: &481 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9184,14 +9217,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &480 + auto_dismissed_at: &482 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &481 + dismissal_request: &483 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -9253,7 +9286,7 @@ paths: - repository additionalProperties: false examples: - default: &199 + default: &200 value: - number: 2 state: dismissed @@ -9357,6 +9390,25 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false repository: id: 217723378 node_id: MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg= @@ -9506,6 +9558,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= @@ -10569,7 +10622,7 @@ paths: properties: action: type: string - discussion: &738 + discussion: &739 title: Discussion description: A Discussion in a repository. type: object @@ -10936,7 +10989,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &532 + properties: &534 id: type: integer format: int64 @@ -11050,7 +11103,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &265 + properties: &266 url: type: string format: uri @@ -11120,7 +11173,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &266 + required: &267 - closed_issues - creator - description @@ -11199,7 +11252,7 @@ paths: timeline_url: type: string format: uri - type: &228 + type: &229 title: Issue Type description: The type of issue. type: object @@ -11313,7 +11366,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &654 + sub_issues_summary: &655 title: Sub-issues Summary type: object properties: @@ -11400,7 +11453,7 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: &553 + properties: &555 pinned_at: type: string format: date-time @@ -11412,7 +11465,7 @@ paths: properties: *20 required: *21 nullable: true - required: &554 + required: &556 - pinned_at - pinned_by nullable: true @@ -11426,7 +11479,7 @@ paths: - created_at - updated_at nullable: true - issue_dependencies_summary: &655 + issue_dependencies_summary: &656 title: Issue Dependencies Summary type: object properties: @@ -11445,7 +11498,7 @@ paths: - total_blocking issue_field_values: type: array - items: &656 + items: &657 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11506,7 +11559,7 @@ paths: - node_id - data_type - value - required: &533 + required: &535 - assignee - closed_at - comments @@ -11544,7 +11597,7 @@ paths: action: type: string issue: *77 - comment: &528 + comment: &530 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12208,7 +12261,7 @@ paths: type: string release: allOf: - - &587 + - &589 title: Release description: A release. type: object @@ -12279,7 +12332,7 @@ paths: author: *4 assets: type: array - items: &588 + items: &590 title: Release Asset description: Data related to a release. type: object @@ -12870,7 +12923,7 @@ paths: url: type: string format: uri - user: &662 + user: &663 title: Public User description: Public User type: object @@ -14742,7 +14795,7 @@ paths: - closed - all default: open - - &231 + - &232 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14793,7 +14846,7 @@ paths: type: array items: *77 examples: - default: &232 + default: &233 value: - id: 1 node_id: MDU6SXNzdWUx @@ -16178,14 +16231,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &327 + - &329 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &328 + - &330 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16247,7 +16300,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &331 + '301': &333 description: Moved permanently content: application/json: @@ -16269,7 +16322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &563 + - &565 name: all description: If `true`, show notifications marked as read. in: query @@ -16277,7 +16330,7 @@ paths: schema: type: boolean default: false - - &564 + - &566 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16287,7 +16340,7 @@ paths: type: boolean default: false - *84 - - &565 + - &567 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16323,7 +16376,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &201 + properties: &202 id: type: integer format: int64 @@ -16609,7 +16662,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &283 + security_and_analysis: &284 nullable: true type: object properties: @@ -16722,7 +16775,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &202 + required: &203 - archive_url - assignees_url - blobs_url @@ -16810,7 +16863,7 @@ paths: - url - subscription_url examples: - default: &566 + default: &568 value: - id: '1' repository: @@ -18320,7 +18373,7 @@ paths: required: false schema: type: string - - &713 + - &714 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -18466,7 +18519,7 @@ paths: parameters: - *67 - *116 - - &714 + - &715 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18578,7 +18631,7 @@ paths: - *116 - *118 - *117 - - &715 + - &716 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -18586,7 +18639,7 @@ paths: schema: type: string - *119 - - &716 + - &717 name: sku description: The SKU to query for usage. in: query @@ -19488,7 +19541,7 @@ paths: type: integer repository_cache_usages: type: array - items: &338 + items: &340 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20689,7 +20742,7 @@ paths: - all - local_only - selected - selected_actions_url: &344 + selected_actions_url: &346 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -20772,7 +20825,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &350 type: object properties: days: @@ -20814,7 +20867,7 @@ paths: required: true content: application/json: - schema: &349 + schema: &351 type: object properties: days: @@ -20871,7 +20924,7 @@ paths: required: - approval_policy examples: - default: &350 + default: &352 value: approval_policy: first_time_contributors '404': *6 @@ -20930,7 +20983,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 type: object required: - run_workflows_from_fork_pull_requests @@ -20984,7 +21037,7 @@ paths: required: true content: application/json: - schema: &352 + schema: &354 type: object required: - run_workflows_from_fork_pull_requests @@ -21619,7 +21672,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &355 type: object properties: default_workflow_permissions: &146 @@ -21670,7 +21723,7 @@ paths: required: false content: application/json: - schema: &354 + schema: &356 type: object properties: default_workflow_permissions: *146 @@ -22159,7 +22212,7 @@ paths: type: array items: *153 examples: - default: &665 + default: &666 value: total_count: 1 repositories: @@ -22801,7 +22854,7 @@ paths: application/json: schema: type: array - items: &355 + items: &357 title: Runner Application description: Runner Application type: object @@ -22826,7 +22879,7 @@ paths: - download_url - filename examples: - default: &356 + default: &358 value: - os: osx architecture: x64 @@ -22912,7 +22965,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &357 + '201': &359 description: Response content: application/json: @@ -23023,7 +23076,7 @@ paths: - token - expires_at examples: - default: &358 + default: &360 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23062,7 +23115,7 @@ paths: application/json: schema: *157 examples: - default: &359 + default: &361 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23096,7 +23149,7 @@ paths: application/json: schema: *155 examples: - default: &360 + default: &362 value: id: 23 name: MBP @@ -23322,7 +23375,7 @@ paths: - *67 - *154 responses: - '200': &361 + '200': &363 description: Response content: application/json: @@ -23379,7 +23432,7 @@ paths: parameters: - *67 - *154 - - &362 + - &364 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23509,7 +23562,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23538,7 +23591,7 @@ paths: - key_id - key examples: - default: &375 + default: &377 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23951,7 +24004,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *67 - - &343 + - &345 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24478,20 +24531,22 @@ paths: type: string description: The stage of the deployment. minLength: 1 - maxLength: 64 + maxLength: 128 physical_environment: type: string description: The physical region of the deployment. - maxLength: 64 + maxLength: 128 cluster: type: string description: The deployment cluster. + maxLength: 128 deployment_name: type: string description: | The unique identifier for the deployment represented by the new record. To accommodate differing containers and namespaces within a cluster, the following format is recommended: {namespaceName}-{deploymentName}-{containerName}. + maxLength: 256 tags: type: object description: The tags associated with the deployment. @@ -24641,7 +24696,7 @@ paths: schema: type: string minLength: 1 - maxLength: 64 + maxLength: 128 pattern: "^[a-zA-Z0-9._-]+$" requestBody: required: true @@ -24654,11 +24709,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. @@ -24704,7 +24759,7 @@ paths: {namespaceName}-{deploymentName}-{containerName}. The deployment_name must be unique across all entries in the deployments array. minLength: 1 - maxLength: 128 + maxLength: 256 github_repository: type: string description: |- @@ -25100,12 +25155,12 @@ paths: required: - subject_digests examples: - default: &695 + default: &696 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &696 + withPredicateType: &697 value: subject_digests: - sha256:abc123 @@ -25163,7 +25218,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &697 + default: &698 value: attestations_subject_digests: - sha256:abc: @@ -25513,7 +25568,7 @@ paths: initiator: type: string examples: - default: &388 + default: &390 value: attestations: - bundle: @@ -25864,7 +25919,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &243 + properties: &244 id: description: Unique identifier of the team type: integer @@ -25936,7 +25991,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &244 + required: &245 - id - node_id - url @@ -26442,7 +26497,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *67 - - &413 + - &415 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -26452,7 +26507,7 @@ paths: schema: &178 type: string description: The name of the tool used to generate the code scanning analysis. - - &414 + - &416 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -26475,7 +26530,7 @@ paths: be returned. in: query required: false - schema: &416 + schema: &418 type: string description: State of a code scanning alert. enum: @@ -26498,7 +26553,7 @@ paths: be returned. in: query required: false - schema: &417 + schema: &419 type: string description: Severity of a code scanning alert. enum: @@ -26532,7 +26587,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: &418 + instances_url: &420 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -26555,7 +26610,7 @@ paths: required: *21 nullable: true dismissed_at: *177 - dismissed_reason: &419 + dismissed_reason: &421 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26564,13 +26619,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &420 + dismissed_comment: &422 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &421 + rule: &423 type: object properties: id: @@ -26623,7 +26678,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &422 + tool: &424 type: object properties: name: *178 @@ -26633,26 +26688,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *179 - most_recent_instance: &423 + most_recent_instance: &425 type: object properties: - ref: &415 + ref: &417 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &433 + analysis_key: &435 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &434 + environment: &436 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &435 + category: &437 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26666,7 +26721,7 @@ paths: properties: text: type: string - location: &436 + location: &438 type: object description: Describe a region within a file for the alert. properties: @@ -26687,7 +26742,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &437 + items: &439 type: string description: A classification of the file. For example to identify it as generated. @@ -27282,6 +27337,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -27640,6 +27702,13 @@ paths: - enabled - disabled - not_set + secret_scanning_extended_metadata: + type: string + description: The enablement status of secret scanning extended metadata + enum: + - enabled + - disabled + - not_set private_vulnerability_reporting: type: string description: The enablement status of private vulnerability reporting @@ -27964,7 +28033,7 @@ paths: type: integer codespaces: type: array - items: &233 + items: &234 type: object title: Codespace description: A codespace. @@ -27994,7 +28063,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &449 + properties: &451 name: type: string description: The name of the machine. @@ -28036,7 +28105,7 @@ paths: - ready - in_progress nullable: true - required: &450 + required: &452 - name - display_name - operating_system @@ -28241,7 +28310,7 @@ paths: - pulls_url - recent_folders examples: - default: &234 + default: &235 value: total_count: 3 codespaces: @@ -28904,7 +28973,7 @@ paths: - updated_at - visibility examples: - default: &451 + default: &453 value: total_count: 2 secrets: @@ -28942,7 +29011,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &454 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28971,7 +29040,7 @@ paths: - key_id - key examples: - default: &453 + default: &455 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29003,7 +29072,7 @@ paths: application/json: schema: *187 examples: - default: &455 + default: &457 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -29470,7 +29539,7 @@ paths: currently being billed. seats: type: array - items: &236 + items: &237 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -30001,7 +30070,7 @@ paths: application/json: schema: type: array - items: &321 + items: &322 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -30308,7 +30377,7 @@ paths: - date additionalProperties: true examples: - default: &322 + default: &323 value: - date: '2024-06-24' total_active_users: 24 @@ -30410,7 +30479,7 @@ paths: '500': *113 '403': *29 '404': *6 - '422': &323 + '422': &324 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -30472,6 +30541,7 @@ paths: enum: - patch - deployment + - *196 - name: runtime_risk in: query description: |- @@ -30480,8 +30550,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *196 - *197 + - *198 - *53 - *45 - *46 @@ -30493,9 +30563,9 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: *199 + default: *200 '304': *37 '400': *14 '403': *29 @@ -30539,7 +30609,7 @@ paths: type: integer secrets: type: array - items: &200 + items: &201 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -30616,7 +30686,7 @@ paths: description: Response content: application/json: - schema: &484 + schema: &486 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30633,7 +30703,7 @@ paths: - key_id - key examples: - default: &485 + default: &487 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30663,7 +30733,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *201 examples: default: value: @@ -30728,9 +30798,7 @@ paths: an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) - endpoints. Use integers when possible, as strings are supported - only to maintain backwards compatibility and may be removed in - the future. + endpoints. items: anyOf: - type: integer @@ -30964,7 +31032,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 title: Package description: A software package type: object @@ -31014,8 +31082,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *201 - required: *202 + properties: *202 + required: *203 nullable: true created_at: type: string @@ -31034,7 +31102,7 @@ paths: - created_at - updated_at examples: - default: &247 + default: &248 value: - id: 197 name: hello_docker @@ -31204,7 +31272,7 @@ paths: application/json: schema: type: array - items: &225 + items: &226 title: Organization Invitation description: Organization Invitation type: object @@ -31251,7 +31319,7 @@ paths: - invitation_teams_url - node_id examples: - default: &226 + default: &227 value: - id: 1 login: monalisa @@ -31318,7 +31386,7 @@ paths: application/json: schema: type: array - items: &203 + items: &204 title: Org Hook description: Org Hook type: object @@ -31489,9 +31557,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *204 examples: - default: &204 + default: &205 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -31539,7 +31607,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *67 - - &205 + - &206 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -31552,9 +31620,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *204 examples: - default: *204 + default: *205 '404': *6 x-github: githubCloudOnly: false @@ -31582,7 +31650,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *67 - - *205 + - *206 requestBody: required: false content: @@ -31627,7 +31695,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *204 examples: default: value: @@ -31669,7 +31737,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *67 - - *205 + - *206 responses: '204': description: Response @@ -31697,7 +31765,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *67 - - *205 + - *206 responses: '200': description: Response @@ -31728,7 +31796,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *67 - - *205 + - *206 requestBody: required: false content: @@ -31779,9 +31847,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *67 - - *205 - - *17 - *206 + - *17 + - *207 responses: '200': description: Response @@ -31789,9 +31857,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '400': *14 '422': *15 x-github: @@ -31817,16 +31885,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *67 - - *205 + - *206 - *16 responses: '200': description: Response content: application/json: - schema: *209 + schema: *210 examples: - default: *210 + default: *211 '400': *14 '422': *15 x-github: @@ -31852,7 +31920,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *67 - - *205 + - *206 - *16 responses: '202': *39 @@ -31882,7 +31950,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *67 - - *205 + - *206 responses: '204': description: Response @@ -31905,7 +31973,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *67 - - &215 + - &216 name: actor_type in: path description: The type of the actor @@ -31918,14 +31986,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &216 + - &217 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &211 + - &212 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -31933,7 +32001,7 @@ paths: required: true schema: type: string - - &212 + - &213 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -32027,12 +32095,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *67 - - *211 - *212 + - *213 - *19 - *17 - *53 - - &221 + - &222 name: sort description: The property to sort the results by. in: query @@ -32110,14 +32178,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *67 - - *211 - *212 + - *213 responses: '200': description: Response content: application/json: - schema: &213 + schema: &214 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -32133,7 +32201,7 @@ paths: type: integer format: int64 examples: - default: &214 + default: &215 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -32154,23 +32222,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *67 - - &217 + - &218 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *211 - *212 + - *213 responses: '200': description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -32189,18 +32257,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *67 - - *211 - *212 - - *215 + - *213 - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -32218,9 +32286,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *67 - - *211 - *212 - - &218 + - *213 + - &219 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -32233,7 +32301,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &220 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -32249,7 +32317,7 @@ paths: type: integer format: int64 examples: - default: &220 + default: &221 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -32286,18 +32354,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *67 - - *217 - - *211 - - *212 - *218 + - *212 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *219 + schema: *220 examples: - default: *220 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -32315,19 +32383,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *67 - - *215 - *216 - - *211 + - *217 - *212 - - *218 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *219 + schema: *220 examples: - default: *220 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -32345,13 +32413,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *67 - - *217 - - *211 + - *218 - *212 + - *213 - *19 - *17 - *53 - - *221 + - *222 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -32432,7 +32500,7 @@ paths: application/json: schema: *22 examples: - default: &523 + default: &525 value: id: 1 account: @@ -32598,12 +32666,12 @@ paths: application/json: schema: anyOf: - - &223 + - &224 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &222 + limit: &223 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -32628,7 +32696,7 @@ paths: properties: {} additionalProperties: false examples: - default: &224 + default: &225 value: limit: collaborators_only origin: organization @@ -32657,13 +32725,13 @@ paths: required: true content: application/json: - schema: &524 + schema: &526 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *222 + limit: *223 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -32687,9 +32755,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -32765,9 +32833,9 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: - default: *226 + default: *227 headers: Link: *59 '404': *6 @@ -32844,7 +32912,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *226 examples: default: value: @@ -32899,7 +32967,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *67 - - &227 + - &228 name: invitation_id description: The unique identifier of the invitation. in: path @@ -32930,7 +32998,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *67 - - *227 + - *228 - *17 - *19 responses: @@ -32942,7 +33010,7 @@ paths: type: array items: *190 examples: - default: &245 + default: &246 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -32985,7 +33053,7 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: default: value: @@ -33070,9 +33138,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &229 + default: &230 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -33105,7 +33173,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *67 - - &230 + - &231 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -33158,9 +33226,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 '404': *6 '422': *7 x-github: @@ -33185,7 +33253,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *67 - - *230 + - *231 responses: '204': description: Response @@ -33248,7 +33316,7 @@ paths: - closed - all default: open - - *231 + - *232 - name: type description: Can be the name of an issue type. in: query @@ -33279,7 +33347,7 @@ paths: type: array items: *77 examples: - default: *232 + default: *233 headers: Link: *59 '404': *6 @@ -33438,9 +33506,9 @@ paths: type: integer codespaces: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '304': *37 '500': *113 '401': *25 @@ -33467,7 +33535,7 @@ paths: parameters: - *67 - *63 - - &235 + - &236 name: codespace_name in: path required: true @@ -33502,15 +33570,15 @@ paths: parameters: - *67 - *63 - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: &448 + default: &450 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33690,7 +33758,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *236 + schema: *237 examples: default: value: @@ -33766,7 +33834,7 @@ paths: description: Response content: application/json: - schema: &237 + schema: &238 title: Org Membership description: Org Membership type: object @@ -33833,7 +33901,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &238 + response-if-user-has-an-active-admin-membership-with-organization: &239 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -33934,9 +34002,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - response-if-user-already-had-membership-with-organization: *238 + response-if-user-already-had-membership-with-organization: *239 '422': *15 '403': *29 x-github: @@ -34007,7 +34075,7 @@ paths: application/json: schema: type: array - items: &239 + items: &240 title: Migration description: A migration. type: object @@ -34336,7 +34404,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -34515,7 +34583,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *67 - - &240 + - &241 name: migration_id description: The unique identifier of the migration. in: path @@ -34542,7 +34610,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -34712,7 +34780,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *67 - - *240 + - *241 responses: '302': description: Response @@ -34734,7 +34802,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *67 - - *240 + - *241 responses: '204': description: Response @@ -34758,8 +34826,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *67 - - *240 - - &678 + - *241 + - &679 name: repo_name description: repo_name parameter in: path @@ -34787,7 +34855,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *67 - - *240 + - *241 - *17 - *19 responses: @@ -34799,7 +34867,7 @@ paths: type: array items: *153 examples: - default: &252 + default: &253 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34954,7 +35022,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &242 + items: &243 title: Organization Role description: Organization roles type: object @@ -35129,7 +35197,7 @@ paths: parameters: - *67 - *69 - - &241 + - &242 name: role_id description: The unique identifier of the role. in: path @@ -35166,7 +35234,7 @@ paths: parameters: - *67 - *69 - - *241 + - *242 responses: '204': description: Response @@ -35219,7 +35287,7 @@ paths: parameters: - *67 - *63 - - *241 + - *242 responses: '204': description: Response @@ -35251,7 +35319,7 @@ paths: parameters: - *67 - *63 - - *241 + - *242 responses: '204': description: Response @@ -35280,13 +35348,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *67 - - *241 + - *242 responses: '200': description: Response content: application/json: - schema: *242 + schema: *243 examples: default: value: @@ -35337,7 +35405,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *67 - - *241 + - *242 - *17 - *19 responses: @@ -35415,8 +35483,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *243 - required: *244 + properties: *244 + required: *245 nullable: true type: description: The ownership type of the team @@ -35448,7 +35516,7 @@ paths: - type - parent examples: - default: *245 + default: *246 headers: Link: *59 '404': @@ -35478,7 +35546,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *67 - - *241 + - *242 - *17 - *19 responses: @@ -35506,13 +35574,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &317 + items: &318 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *243 - required: *244 + properties: *244 + required: *245 name: nullable: true type: string @@ -35800,7 +35868,7 @@ paths: - nuget - container - *67 - - &679 + - &680 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35836,12 +35904,12 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *247 + default: *248 '403': *29 '401': *25 - '400': &681 + '400': &682 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35863,7 +35931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &248 + - &249 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -35881,7 +35949,7 @@ paths: - docker - nuget - container - - &249 + - &250 name: package_name description: The name of the package. in: path @@ -35894,7 +35962,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: default: value: @@ -35946,8 +36014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *248 - *249 + - *250 - *67 responses: '204': @@ -35980,8 +36048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - name: token description: package token @@ -36014,8 +36082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *248 - *249 + - *250 - *67 - *19 - *17 @@ -36036,7 +36104,7 @@ paths: application/json: schema: type: array - items: &250 + items: &251 title: Package Version description: A version of a software package type: object @@ -36161,10 +36229,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - - &251 + - &252 name: package_version_id description: Unique identifier of the package version. in: path @@ -36176,7 +36244,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: default: value: @@ -36212,10 +36280,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - - *251 + - *252 responses: '204': description: Response @@ -36247,10 +36315,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *248 - *249 + - *250 - *67 - - *251 + - *252 responses: '204': description: Response @@ -36280,7 +36348,7 @@ paths: - *67 - *17 - *19 - - &253 + - &254 name: sort description: The property by which to sort the results. in: query @@ -36291,7 +36359,7 @@ paths: - created_at default: created_at - *53 - - &254 + - &255 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -36302,7 +36370,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &255 + - &256 name: repository description: The name of the repository to use to filter the results. in: query @@ -36310,7 +36378,7 @@ paths: schema: type: string example: Hello-World - - &256 + - &257 name: permission description: The permission to use to filter the results. in: query @@ -36318,7 +36386,7 @@ paths: schema: type: string example: issues_read - - &257 + - &258 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -36328,7 +36396,7 @@ paths: schema: type: string format: date-time - - &258 + - &259 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -36338,7 +36406,7 @@ paths: schema: type: string format: date-time - - &259 + - &260 name: token_id description: The ID of the token in: query @@ -36651,7 +36719,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -36677,14 +36745,14 @@ paths: - *67 - *17 - *19 - - *253 - - *53 - *254 + - *53 - *255 - *256 - *257 - *258 - *259 + - *260 responses: '500': *113 '422': *15 @@ -36966,7 +37034,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -37008,7 +37076,7 @@ paths: type: integer configurations: type: array - items: &260 + items: &261 title: Organization private registry description: Private registry configuration for an organization type: object @@ -37298,7 +37366,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &261 + org-private-registry-with-selected-visibility: &262 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -37394,9 +37462,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -37563,7 +37631,7 @@ paths: application/json: schema: type: array - items: &262 + items: &263 title: Projects v2 Project description: A projects v2 project type: object @@ -37633,7 +37701,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &769 + properties: &770 id: type: number description: The unique identifier of the status update. @@ -37681,7 +37749,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &770 + required: &771 - id - node_id - created_at @@ -37706,7 +37774,7 @@ paths: - deleted_at - deleted_by examples: - default: &263 + default: &264 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -37809,7 +37877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &264 + - &265 name: project_number description: The project's number. in: path @@ -37822,9 +37890,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *263 + default: *264 headers: Link: *59 '304': *37 @@ -37847,7 +37915,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *67 - - *264 + - *265 requestBody: required: true description: Details of the draft item to create in the project. @@ -37881,7 +37949,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &271 title: Projects v2 Item description: An item belonging to a project type: object @@ -37895,7 +37963,7 @@ paths: content: oneOf: - *77 - - &465 + - &467 title: Pull Request Simple description: Pull Request Simple type: object @@ -38001,8 +38069,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 nullable: true active_lock_reason: type: string @@ -38098,7 +38166,7 @@ paths: _links: type: object properties: - comments: &267 + comments: &268 title: Link description: Hypermedia Link type: object @@ -38107,13 +38175,13 @@ paths: type: string required: - href - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + commits: *268 + statuses: *268 + html: *268 + issue: *268 + review_comments: *268 + review_comment: *268 + self: *268 required: - comments - commits @@ -38124,7 +38192,7 @@ paths: - review_comment - self author_association: *74 - auto_merge: &573 + auto_merge: &575 title: Auto merge description: The status of auto merging a pull request. type: object @@ -38226,7 +38294,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &269 + content_type: &270 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -38266,7 +38334,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &271 + draft_issue: &272 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38340,7 +38408,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *264 + - *265 - *67 - *17 - *45 @@ -38352,7 +38420,7 @@ paths: application/json: schema: type: array - items: &268 + items: &269 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -38499,7 +38567,7 @@ paths: - updated_at - project_url examples: - default: &700 + default: &701 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38629,7 +38697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *264 + - *265 - *67 requestBody: required: true @@ -38676,7 +38744,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &701 + items: &702 type: object properties: name: @@ -38713,7 +38781,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &702 + iteration_configuration: &703 type: object description: The configuration for iteration fields. properties: @@ -38763,7 +38831,7 @@ paths: value: name: Due date data_type: date - single_select_field: &703 + single_select_field: &704 summary: Create a single select field value: name: Priority @@ -38790,7 +38858,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &704 + iteration_field: &705 summary: Create an iteration field value: name: Sprint @@ -38814,9 +38882,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *268 + schema: *269 examples: - text_field: &705 + text_field: &706 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -38825,7 +38893,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &706 + number_field: &707 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -38834,7 +38902,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &707 + date_field: &708 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -38843,7 +38911,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &708 + single_select_field: &709 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38877,7 +38945,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &709 + iteration_field: &710 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -38922,8 +38990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *264 - - &710 + - *265 + - &711 name: field_id description: The unique identifier of the field. in: path @@ -38936,9 +39004,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *269 examples: - default: &711 + default: &712 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38994,7 +39062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *264 + - *265 - *67 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -39027,7 +39095,7 @@ paths: application/json: schema: type: array - items: &272 + items: &273 title: Projects v2 Item description: An item belonging to a project type: object @@ -39043,7 +39111,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: *269 + content_type: *270 content: type: object additionalProperties: true @@ -39086,7 +39154,7 @@ paths: - updated_at - archived_at examples: - default: &273 + default: &274 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -39784,7 +39852,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *67 - - *264 + - *265 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -39854,22 +39922,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *272 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *272 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *272 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *272 '304': *37 '403': *29 '401': *25 @@ -39889,9 +39957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *264 + - *265 - *67 - - &274 + - &275 name: item_id description: The unique identifier of the project item. in: path @@ -39917,9 +39985,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -39940,9 +40008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *264 + - *265 - *67 - - *274 + - *275 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -40012,13 +40080,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *274 + number_field: *274 + date_field: *274 + single_select_field: *274 + iteration_field: *274 '401': *25 '403': *29 '404': *6 @@ -40038,9 +40106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *264 + - *265 - *67 - - *274 + - *275 responses: '204': description: Response @@ -40064,7 +40132,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *67 - - *264 + - *265 requestBody: required: true content: @@ -40135,7 +40203,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &692 + schema: &693 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -40233,7 +40301,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &275 + value: &276 value: id: 1 number: 1 @@ -40279,10 +40347,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *275 + value: *276 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *276 '304': *37 '403': *29 '401': *25 @@ -40310,9 +40378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *264 + - *265 - *67 - - &712 + - &713 name: view_number description: The number that identifies the project view. in: path @@ -40344,9 +40412,9 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -40379,7 +40447,7 @@ paths: application/json: schema: type: array - items: &276 + items: &277 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -40447,7 +40515,7 @@ paths: - property_name - value_type examples: - default: &277 + default: &278 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40507,7 +40575,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *276 + items: *277 minItems: 1 maxItems: 100 required: @@ -40537,9 +40605,9 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: - default: *277 + default: *278 '403': *29 '404': *6 x-github: @@ -40561,7 +40629,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *67 - - &278 + - &279 name: custom_property_name description: The custom property name in: path @@ -40573,9 +40641,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: &279 + default: &280 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40610,7 +40678,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *67 - - *278 + - *279 requestBody: required: true content: @@ -40681,9 +40749,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *277 examples: - default: *279 + default: *280 '403': *29 '404': *6 x-github: @@ -40707,7 +40775,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *67 - - *278 + - *279 responses: '204': *184 '403': *29 @@ -40768,7 +40836,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &280 + items: &281 title: Custom Property Value description: Custom property name and associated value type: object @@ -40855,7 +40923,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *280 + items: *281 required: - repository_names - properties @@ -41047,7 +41115,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -41249,7 +41317,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &332 title: Full Repository description: Full Repository type: object @@ -41537,8 +41605,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *281 - required: *282 + properties: *282 + required: *283 nullable: true temp_clone_token: type: string @@ -41653,7 +41721,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &470 + properties: &472 url: type: string format: uri @@ -41669,12 +41737,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &471 + required: &473 - url - key - name - html_url - security_and_analysis: *283 + security_and_analysis: *284 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41758,7 +41826,7 @@ paths: - network_count - subscribers_count examples: - default: &332 + default: &334 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42279,7 +42347,7 @@ paths: - *67 - *17 - *19 - - &595 + - &597 name: targets description: | A comma-separated list of rule targets to filter by. @@ -42297,7 +42365,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -42332,7 +42400,7 @@ paths: source: type: string description: The name of the source - enforcement: &286 + enforcement: &287 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -42345,7 +42413,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &287 + items: &288 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -42415,7 +42483,7 @@ paths: conditions: nullable: true anyOf: - - &284 + - &285 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -42439,7 +42507,7 @@ paths: match. items: type: string - - &288 + - &289 title: Organization ruleset conditions type: object description: |- @@ -42453,7 +42521,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *284 + - *285 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -42487,7 +42555,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *284 + - *285 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -42509,7 +42577,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *284 + - *285 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -42522,7 +42590,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &285 + items: &286 title: Repository ruleset property targeting definition type: object @@ -42555,17 +42623,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *285 + items: *286 required: - repository_property rules: type: array - items: &596 + items: &598 title: Repository Rule type: object description: A repository rule. oneOf: - - &289 + - &290 title: creation description: Only allow users with bypass permission to create matching refs. @@ -42577,7 +42645,7 @@ paths: type: string enum: - creation - - &290 + - &291 title: update description: Only allow users with bypass permission to update matching refs. @@ -42598,7 +42666,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &291 + - &292 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -42610,7 +42678,7 @@ paths: type: string enum: - deletion - - &292 + - &293 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -42622,7 +42690,7 @@ paths: type: string enum: - required_linear_history - - &594 + - &596 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42700,7 +42768,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &293 + - &294 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -42724,7 +42792,7 @@ paths: type: string required: - required_deployment_environments - - &294 + - &295 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -42736,7 +42804,7 @@ paths: type: string enum: - required_signatures - - &295 + - &296 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -42842,7 +42910,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &296 + - &297 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -42890,7 +42958,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &297 + - &298 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -42902,7 +42970,7 @@ paths: type: string enum: - non_fast_forward - - &298 + - &299 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -42939,7 +43007,7 @@ paths: required: - operator - pattern - - &299 + - &300 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -42976,7 +43044,7 @@ paths: required: - operator - pattern - - &300 + - &301 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -43013,7 +43081,7 @@ paths: required: - operator - pattern - - &301 + - &302 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -43050,7 +43118,7 @@ paths: required: - operator - pattern - - &302 + - &303 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -43087,7 +43155,7 @@ paths: required: - operator - pattern - - &303 + - &304 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -43112,7 +43180,7 @@ paths: type: string required: - restricted_file_paths - - &304 + - &305 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -43136,7 +43204,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &305 + - &306 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -43159,7 +43227,7 @@ paths: type: string required: - restricted_file_extensions - - &306 + - &307 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -43184,7 +43252,7 @@ paths: maximum: 100 required: - max_file_size - - &307 + - &308 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -43234,7 +43302,7 @@ paths: - repository_id required: - workflows - - &308 + - &309 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -43295,7 +43363,7 @@ paths: - tool required: - code_scanning_tools - - &309 + - &310 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -43394,21 +43462,20 @@ paths: - push - repository default: branch - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *288 + items: *288 + conditions: *289 rules: type: array description: An array of rules within the ruleset. - items: &312 + items: &313 title: Repository Rule type: object description: A repository rule. oneOf: - - *289 - *290 - *291 - *292 @@ -43429,6 +43496,7 @@ paths: - *307 - *308 - *309 + - *310 required: - name - enforcement @@ -43466,9 +43534,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &311 + default: &312 value: id: 21 name: super cool ruleset @@ -43508,6 +43576,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 + '422': *15 '500': *113 "/orgs/{org}/rulesets/rule-suites": get: @@ -43523,7 +43592,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *67 - - &597 + - &599 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -43538,7 +43607,7 @@ paths: in: query schema: type: string - - &598 + - &600 name: time_period description: |- The time period to filter by. @@ -43554,14 +43623,14 @@ paths: - week - month default: day - - &599 + - &601 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &600 + - &602 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -43581,7 +43650,7 @@ paths: description: Response content: application/json: - schema: &601 + schema: &603 title: Rule Suites description: Response type: array @@ -43636,7 +43705,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &602 + default: &604 value: - id: 21 actor_id: 12 @@ -43680,7 +43749,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *67 - - &603 + - &605 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43696,7 +43765,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &606 title: Rule Suite description: Response type: object @@ -43795,7 +43864,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &605 + default: &607 value: id: 21 actor_id: 12 @@ -43868,9 +43937,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 '404': *6 '500': *113 put: @@ -43914,16 +43983,16 @@ paths: - tag - push - repository - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *288 + items: *288 + conditions: *289 rules: description: An array of rules within the ruleset. type: array - items: *312 + items: *313 examples: default: value: @@ -43958,10 +44027,11 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 '404': *6 + '422': *15 '500': *113 delete: summary: Delete an organization repository ruleset @@ -44017,7 +44087,7 @@ paths: application/json: schema: type: array - items: &313 + items: &314 title: Ruleset version type: object description: The historical version of a ruleset @@ -44041,7 +44111,7 @@ paths: type: string format: date-time examples: - default: &607 + default: &609 value: - version_id: 3 actor: @@ -44094,9 +44164,9 @@ paths: description: Response content: application/json: - schema: &608 + schema: &610 allOf: - - *313 + - *314 - type: object required: - state @@ -44166,7 +44236,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *67 - - &609 + - &611 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -44177,7 +44247,7 @@ paths: enum: - open - resolved - - &610 + - &612 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -44187,7 +44257,7 @@ paths: required: false schema: type: string - - &611 + - &613 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -44196,7 +44266,7 @@ paths: required: false schema: type: string - - &612 + - &614 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -44215,7 +44285,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &613 + - &615 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -44230,7 +44300,7 @@ paths: - *53 - *19 - *17 - - &614 + - &616 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -44240,7 +44310,7 @@ paths: required: false schema: type: string - - &615 + - &617 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -44250,7 +44320,7 @@ paths: required: false schema: type: string - - &616 + - &618 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -44259,7 +44329,7 @@ paths: required: false schema: type: string - - &617 + - &619 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -44268,7 +44338,7 @@ paths: schema: type: boolean default: false - - &618 + - &620 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -44277,7 +44347,7 @@ paths: schema: type: boolean default: false - - &619 + - &621 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -44312,14 +44382,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &620 + state: &622 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &621 + resolution: &623 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -44426,8 +44496,8 @@ paths: pull request. ' - oneOf: &622 - - &624 + oneOf: &624 + - &626 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -44479,7 +44549,7 @@ paths: - blob_url - commit_sha - commit_url - - &625 + - &627 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -44534,7 +44604,7 @@ paths: - page_url - commit_sha - commit_url - - &626 + - &628 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -44548,7 +44618,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &627 + - &629 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -44562,7 +44632,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &628 + - &630 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -44576,7 +44646,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &629 + - &631 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -44590,7 +44660,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &630 + - &632 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -44604,7 +44674,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &631 + - &633 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -44618,7 +44688,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &632 + - &634 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -44632,7 +44702,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &633 + - &635 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -44646,7 +44716,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &634 + - &636 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -44660,7 +44730,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &635 + - &637 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -44674,7 +44744,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &636 + - &638 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -44916,7 +44986,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &315 + pattern_config_version: &316 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -44925,7 +44995,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &314 + items: &315 type: object properties: token_type: @@ -44991,7 +45061,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *314 + items: *315 examples: default: value: @@ -45048,7 +45118,7 @@ paths: schema: type: object properties: - pattern_config_version: *315 + pattern_config_version: *316 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -45074,7 +45144,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *315 + custom_pattern_version: *316 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -45172,7 +45242,7 @@ paths: application/json: schema: type: array - items: &640 + items: &642 description: A repository security advisory. type: object properties: @@ -45392,7 +45462,7 @@ paths: login: type: string description: The username of the user credited. - type: *316 + type: *317 credits_detailed: type: array nullable: true @@ -45402,7 +45472,7 @@ paths: type: object properties: user: *4 - type: *316 + type: *317 state: type: string description: The state of the user's acceptance of the @@ -45463,7 +45533,7 @@ paths: - private_fork additionalProperties: false examples: - default: &641 + default: &643 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -45850,7 +45920,7 @@ paths: application/json: schema: type: array - items: *317 + items: *318 examples: default: value: @@ -46203,7 +46273,7 @@ paths: type: integer network_configurations: type: array - items: &318 + items: &319 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -46336,9 +46406,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *319 examples: - default: &319 + default: &320 value: id: 123456789ABCDEF name: My network configuration @@ -46367,7 +46437,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - &320 + - &321 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -46379,9 +46449,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *319 examples: - default: *319 + default: *320 headers: Link: *59 x-github: @@ -46403,7 +46473,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *67 - - *320 + - *321 requestBody: required: true content: @@ -46443,9 +46513,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *319 examples: - default: *319 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46465,7 +46535,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *67 - - *320 + - *321 responses: '204': description: Response @@ -46605,13 +46675,13 @@ paths: application/json: schema: type: array - items: *321 + items: *322 examples: - default: *322 + default: *323 '500': *113 '403': *29 '404': *6 - '422': *323 + '422': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46641,7 +46711,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 headers: Link: *59 '403': *29 @@ -46735,7 +46805,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &325 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -46798,8 +46868,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *243 - required: *244 + properties: *244 + required: *245 nullable: true members_count: type: integer @@ -47062,7 +47132,7 @@ paths: - repos_count - organization examples: - default: &325 + default: &326 value: id: 1 node_id: MDQ6VGVhbTE= @@ -47139,9 +47209,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: false @@ -47225,16 +47295,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '201': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 '422': *15 '403': *29 @@ -47264,6 +47334,9 @@ paths: responses: '204': description: Response + '422': &327 + description: Unprocessable entity if you attempt to modify an enterprise + team at the organization level. x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47295,11 +47368,12 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: - default: *226 + default: *227 headers: Link: *59 + '422': *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47381,7 +47455,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &328 title: Team Membership description: Team Membership type: object @@ -47408,7 +47482,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &658 + response-if-user-is-a-team-maintainer: &659 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47471,9 +47545,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - response-if-users-membership-with-team-is-now-pending: &659 + response-if-users-membership-with-team-is-now-pending: &660 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47549,7 +47623,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -47580,14 +47654,14 @@ paths: parameters: - *67 - *69 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &660 + schema: &661 title: Team Repository description: A team's access to a repository. type: object @@ -48158,8 +48232,8 @@ paths: parameters: - *67 - *69 - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -48206,8 +48280,8 @@ paths: parameters: - *67 - *69 - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -48244,7 +48318,7 @@ paths: type: array items: *190 examples: - response-if-child-teams-exist: &661 + response-if-child-teams-exist: &662 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48398,7 +48472,7 @@ paths: resources: type: object properties: - core: &329 + core: &331 title: Rate Limit type: object properties: @@ -48415,21 +48489,21 @@ paths: - remaining - reset - used - graphql: *329 - search: *329 - code_search: *329 - source_import: *329 - integration_manifest: *329 - code_scanning_upload: *329 - actions_runner_registration: *329 - scim: *329 - dependency_snapshots: *329 - dependency_sbom: *329 - code_scanning_autofix: *329 + graphql: *331 + search: *331 + code_search: *331 + source_import: *331 + integration_manifest: *331 + code_scanning_upload: *331 + actions_runner_registration: *331 + scim: *331 + dependency_snapshots: *331 + dependency_sbom: *331 + code_scanning_autofix: *331 required: - core - search - rate: *329 + rate: *331 required: - rate - resources @@ -48534,14 +48608,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *330 + schema: *332 examples: default-response: summary: Default response @@ -49046,7 +49120,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *331 + '301': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49064,8 +49138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -49356,10 +49430,10 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 - '307': &333 + default: *334 + '307': &335 description: Temporary Redirect content: application/json: @@ -49388,8 +49462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -49411,7 +49485,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *333 + '307': *335 '404': *6 '409': *52 x-github: @@ -49435,11 +49509,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - - &366 + - &368 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49462,7 +49536,7 @@ paths: type: integer artifacts: type: array - items: &334 + items: &336 title: Artifact description: An artifact type: object @@ -49540,7 +49614,7 @@ paths: - expires_at - updated_at examples: - default: &367 + default: &369 value: total_count: 2 artifacts: @@ -49601,9 +49675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *327 - - *328 - - &335 + - *329 + - *330 + - &337 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49615,7 +49689,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: default: value: @@ -49653,9 +49727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *327 - - *328 - - *335 + - *329 + - *330 + - *337 responses: '204': description: Response @@ -49679,9 +49753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *327 - - *328 - - *335 + - *329 + - *330 + - *337 - name: archive_format in: path required: true @@ -49695,7 +49769,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &527 + '410': &529 description: Gone content: application/json: @@ -49720,14 +49794,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &336 + schema: &338 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -49760,13 +49834,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *336 + schema: *338 examples: selected_actions: *42 responses: @@ -49795,14 +49869,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &337 + schema: &339 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -49835,13 +49909,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *337 + schema: *339 examples: selected_actions: *44 responses: @@ -49872,14 +49946,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: default: value: @@ -49905,11 +49979,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - - &339 + - &341 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -49943,7 +50017,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &342 title: Repository actions caches description: Repository actions caches type: object @@ -49985,7 +50059,7 @@ paths: - total_count - actions_caches examples: - default: &341 + default: &343 value: total_count: 1 actions_caches: @@ -50017,23 +50091,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *327 - - *328 + - *329 + - *330 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *339 + - *341 responses: '200': description: Response content: application/json: - schema: *340 + schema: *342 examples: - default: *341 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50053,8 +50127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *327 - - *328 + - *329 + - *330 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50085,9 +50159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *327 - - *328 - - &342 + - *329 + - *330 + - &344 name: job_id description: The unique identifier of the job. in: path @@ -50099,7 +50173,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &372 title: Job description: Information of a job execution in a workflow run type: object @@ -50406,9 +50480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *327 - - *328 - - *342 + - *329 + - *330 + - *344 responses: '302': description: Response @@ -50436,9 +50510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *327 - - *328 - - *342 + - *329 + - *330 + - *344 requestBody: required: false content: @@ -50483,8 +50557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Status response @@ -50534,8 +50608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -50598,8 +50672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -50617,7 +50691,7 @@ paths: type: integer secrets: type: array - items: &372 + items: &374 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50637,7 +50711,7 @@ paths: - created_at - updated_at examples: - default: &373 + default: &375 value: total_count: 2 secrets: @@ -50670,9 +50744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *327 - - *328 - - *343 + - *329 + - *330 + - *345 - *19 responses: '200': @@ -50689,7 +50763,7 @@ paths: type: integer variables: type: array - items: &376 + items: &378 title: Actions Variable type: object properties: @@ -50719,7 +50793,7 @@ paths: - created_at - updated_at examples: - default: &377 + default: &379 value: total_count: 2 variables: @@ -50752,8 +50826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -50762,11 +50836,11 @@ paths: schema: type: object properties: - enabled: &345 + enabled: &347 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *344 + selected_actions_url: *346 sha_pinning_required: *139 required: - enabled @@ -50795,8 +50869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -50807,7 +50881,7 @@ paths: schema: type: object properties: - enabled: *345 + enabled: *347 allowed_actions: *138 sha_pinning_required: *139 required: @@ -50839,14 +50913,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &346 + schema: &348 type: object properties: access_level: @@ -50863,7 +50937,7 @@ paths: required: - access_level examples: - default: &347 + default: &349 value: access_level: organization x-github: @@ -50887,15 +50961,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *346 + schema: *348 examples: - default: *347 + default: *349 responses: '204': description: Response @@ -50919,14 +50993,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *348 + schema: *350 examples: default: value: @@ -50950,8 +51024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Empty response for successful settings update @@ -50961,7 +51035,7 @@ paths: required: true content: application/json: - schema: *349 + schema: *351 examples: default: summary: Set retention days @@ -50985,8 +51059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -50994,7 +51068,7 @@ paths: application/json: schema: *140 examples: - default: *350 + default: *352 '404': *6 x-github: enabledForGitHubApps: true @@ -51013,8 +51087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -51048,14 +51122,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: default: *141 '403': *29 @@ -51077,13 +51151,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *352 + schema: *354 examples: default: *141 responses: @@ -51109,8 +51183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -51137,8 +51211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -51170,14 +51244,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: default: *148 x-github: @@ -51200,8 +51274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Success response @@ -51212,7 +51286,7 @@ paths: required: true content: application/json: - schema: *354 + schema: *356 examples: default: *148 x-github: @@ -51241,8 +51315,8 @@ paths: in: query schema: type: string - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -51286,8 +51360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -51295,9 +51369,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51319,8 +51393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -51363,7 +51437,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *357 + '201': *359 '404': *6 '422': *7 '409': *52 @@ -51394,8 +51468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response @@ -51403,7 +51477,7 @@ paths: application/json: schema: *157 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51431,8 +51505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response @@ -51440,7 +51514,7 @@ paths: application/json: schema: *157 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51462,8 +51536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: '200': @@ -51472,7 +51546,7 @@ paths: application/json: schema: *155 examples: - default: *360 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51493,8 +51567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: '204': @@ -51521,8 +51595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: '200': *159 @@ -51547,8 +51621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 requestBody: required: true @@ -51597,8 +51671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 requestBody: required: true @@ -51648,11 +51722,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 responses: - '200': *361 + '200': *363 '404': *6 x-github: githubCloudOnly: false @@ -51679,10 +51753,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *154 - - *362 + - *364 responses: '200': *159 '404': *6 @@ -51710,9 +51784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *327 - - *328 - - &380 + - *329 + - *330 + - &382 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -51720,7 +51794,7 @@ paths: required: false schema: type: string - - &381 + - &383 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51728,7 +51802,7 @@ paths: required: false schema: type: string - - &382 + - &384 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51737,7 +51811,7 @@ paths: required: false schema: type: string - - &383 + - &385 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -51764,7 +51838,7 @@ paths: - pending - *17 - *19 - - &384 + - &386 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -51773,7 +51847,7 @@ paths: schema: type: string format: date-time - - &363 + - &365 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51782,13 +51856,13 @@ paths: schema: type: boolean default: false - - &385 + - &387 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &386 + - &388 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51811,7 +51885,7 @@ paths: type: integer workflow_runs: type: array - items: &364 + items: &366 title: Workflow Run description: An invocation of a workflow type: object @@ -51959,7 +52033,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &408 + properties: &410 id: type: string description: SHA for the commit @@ -52010,7 +52084,7 @@ paths: - name - email nullable: true - required: &409 + required: &411 - id - tree_id - message @@ -52057,7 +52131,7 @@ paths: - workflow_url - pull_requests examples: - default: &387 + default: &389 value: total_count: 1 workflow_runs: @@ -52293,24 +52367,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *327 - - *328 - - &365 + - *329 + - *330 + - &367 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *363 + - *365 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: &368 + default: &370 value: id: 30433642 name: Build @@ -52551,9 +52625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '204': description: Response @@ -52576,9 +52650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '200': description: Response @@ -52697,9 +52771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '201': description: Response @@ -52732,12 +52806,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 - *17 - *19 - - *366 + - *368 responses: '200': description: Response @@ -52753,9 +52827,9 @@ paths: type: integer artifacts: type: array - items: *334 + items: *336 examples: - default: *367 + default: *369 headers: Link: *59 x-github: @@ -52779,25 +52853,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *327 - - *328 - - *365 - - &369 + - *329 + - *330 + - *367 + - &371 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *363 + - *365 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *368 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52820,10 +52894,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *327 - - *328 - - *365 - - *369 + - *329 + - *330 + - *367 + - *371 - *17 - *19 responses: @@ -52841,9 +52915,9 @@ paths: type: integer jobs: type: array - items: *370 + items: *372 examples: - default: &371 + default: &373 value: total_count: 1 jobs: @@ -52956,10 +53030,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *327 - - *328 - - *365 - - *369 + - *329 + - *330 + - *367 + - *371 responses: '302': description: Response @@ -52987,9 +53061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '202': description: Response @@ -53022,9 +53096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: true content: @@ -53091,9 +53165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '202': description: Response @@ -53126,9 +53200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -53158,9 +53232,9 @@ paths: type: integer jobs: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 headers: Link: *59 x-github: @@ -53185,9 +53259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '302': description: Response @@ -53214,9 +53288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '204': description: Response @@ -53243,9 +53317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '200': description: Response @@ -53305,7 +53379,7 @@ paths: items: type: object properties: - type: &493 + type: &495 type: string description: The type of reviewer. enum: @@ -53390,9 +53464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: true content: @@ -53439,12 +53513,12 @@ paths: application/json: schema: type: array - items: &488 + items: &490 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: &732 + properties: &733 url: type: string format: uri @@ -53529,7 +53603,7 @@ paths: nullable: true properties: *72 required: *73 - required: &733 + required: &734 - id - node_id - sha @@ -53545,7 +53619,7 @@ paths: - created_at - updated_at examples: - default: &489 + default: &491 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53601,9 +53675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: false content: @@ -53647,9 +53721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 requestBody: required: false content: @@ -53702,9 +53776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *327 - - *328 - - *365 + - *329 + - *330 + - *367 responses: '200': description: Response @@ -53841,8 +53915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -53860,9 +53934,9 @@ paths: type: integer secrets: type: array - items: *372 + items: *374 examples: - default: *373 + default: *375 headers: Link: *59 x-github: @@ -53887,16 +53961,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53918,17 +53992,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: &506 + default: &508 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53954,8 +54028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 requestBody: required: true @@ -54013,8 +54087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '204': @@ -54040,9 +54114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *327 - - *328 - - *343 + - *329 + - *330 + - *345 - *19 responses: '200': @@ -54059,9 +54133,9 @@ paths: type: integer variables: type: array - items: *376 + items: *378 examples: - default: *377 + default: *379 headers: Link: *59 x-github: @@ -54084,8 +54158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -54137,17 +54211,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: &507 + default: &509 value: name: USERNAME value: octocat @@ -54173,8 +54247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 requestBody: required: true @@ -54217,8 +54291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 responses: '204': @@ -54244,8 +54318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -54263,7 +54337,7 @@ paths: type: integer workflows: type: array - items: &378 + items: &380 title: Workflow description: A GitHub Actions workflow type: object @@ -54370,9 +54444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *327 - - *328 - - &379 + - *329 + - *330 + - &381 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -54387,7 +54461,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: default: value: @@ -54420,9 +54494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '204': description: Response @@ -54447,9 +54521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -54536,9 +54610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '204': description: Response @@ -54565,19 +54639,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *327 - - *328 - - *379 - - *380 + - *329 + - *330 - *381 - *382 - *383 - - *17 - - *19 - *384 - - *363 - *385 + - *17 + - *19 - *386 + - *365 + - *387 + - *388 responses: '200': description: Response @@ -54593,9 +54667,9 @@ paths: type: integer workflow_runs: type: array - items: *364 + items: *366 examples: - default: *387 + default: *389 headers: Link: *59 x-github: @@ -54627,9 +54701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *327 - - *328 - - *379 + - *329 + - *330 + - *381 responses: '200': description: Response @@ -54690,8 +54764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *327 - - *328 + - *329 + - *330 - *53 - *17 - *45 @@ -54855,8 +54929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -54893,8 +54967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *327 - - *328 + - *329 + - *330 - name: assignee in: path required: true @@ -54930,8 +55004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -55043,8 +55117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *45 - *46 @@ -55101,7 +55175,7 @@ paths: initiator: type: string examples: - default: *388 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55121,8 +55195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -55130,7 +55204,7 @@ paths: application/json: schema: type: array - items: &389 + items: &391 title: Autolink reference description: An autolink reference. type: object @@ -55184,8 +55258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -55224,9 +55298,9 @@ paths: description: response content: application/json: - schema: *389 + schema: *391 examples: - default: &390 + default: &392 value: id: 1 key_prefix: TICKET- @@ -55257,9 +55331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *327 - - *328 - - &391 + - *329 + - *330 + - &393 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55271,9 +55345,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 '404': *6 x-github: githubCloudOnly: false @@ -55293,9 +55367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *327 - - *328 - - *391 + - *329 + - *330 + - *393 responses: '204': description: Response @@ -55319,8 +55393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response if Dependabot is enabled @@ -55368,8 +55442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -55390,8 +55464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -55411,8 +55485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *327 - - *328 + - *329 + - *330 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -55450,7 +55524,7 @@ paths: - url protected: type: boolean - protection: &393 + protection: &395 title: Branch Protection description: Branch Protection type: object @@ -55492,7 +55566,7 @@ paths: required: - contexts - checks - enforce_admins: &396 + enforce_admins: &398 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -55507,7 +55581,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &398 + required_pull_request_reviews: &400 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55583,7 +55657,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &395 + restrictions: &397 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55860,9 +55934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *327 - - *328 - - &394 + - *329 + - *330 + - &396 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -55876,14 +55950,14 @@ paths: description: Response content: application/json: - schema: &404 + schema: &406 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &461 + commit: &463 title: Commit description: Commit type: object @@ -55917,7 +55991,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &392 + properties: &394 name: type: string example: '"Chris Wanstrath"' @@ -55933,7 +56007,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *394 nullable: true message: type: string @@ -55954,7 +56028,7 @@ paths: required: - sha - url - verification: &513 + verification: &515 title: Verification type: object properties: @@ -56024,7 +56098,7 @@ paths: type: integer files: type: array - items: &474 + items: &476 title: Diff Entry description: Diff Entry type: object @@ -56108,7 +56182,7 @@ paths: - self protected: type: boolean - protection: *393 + protection: *395 protection_url: type: string format: uri @@ -56215,7 +56289,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *331 + '301': *333 '404': *6 x-github: githubCloudOnly: false @@ -56237,15 +56311,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -56439,9 +56513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -56696,7 +56770,7 @@ paths: url: type: string format: uri - required_status_checks: &401 + required_status_checks: &403 title: Status Check Policy description: Status Check Policy type: object @@ -56848,7 +56922,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *395 + restrictions: *397 required_conversation_resolution: type: object properties: @@ -56960,9 +57034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -56987,17 +57061,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: &397 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57019,17 +57093,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *397 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57048,9 +57122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57075,17 +57149,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: &399 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57181,9 +57255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57281,9 +57355,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *399 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57304,9 +57378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57333,17 +57407,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: &400 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -57366,17 +57440,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *400 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -57396,9 +57470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57423,17 +57497,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: &402 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -57459,9 +57533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57513,9 +57587,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 '404': *6 '422': *15 x-github: @@ -57537,9 +57611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57563,9 +57637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -57599,9 +57673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57668,9 +57742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -57734,9 +57808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: content: application/json: @@ -57802,15 +57876,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -57901,9 +57975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -57926,9 +58000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -57938,7 +58012,7 @@ paths: type: array items: *5 examples: - default: &403 + default: &405 value: - id: 1 slug: octoapp @@ -57995,9 +58069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58031,7 +58105,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -58052,9 +58126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58088,7 +58162,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -58109,9 +58183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58145,7 +58219,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *405 '422': *15 x-github: githubCloudOnly: false @@ -58167,9 +58241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -58179,7 +58253,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '404': *6 x-github: githubCloudOnly: false @@ -58199,9 +58273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -58239,7 +58313,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '422': *15 x-github: githubCloudOnly: false @@ -58260,9 +58334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: false content: @@ -58300,7 +58374,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '422': *15 x-github: githubCloudOnly: false @@ -58321,9 +58395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: content: application/json: @@ -58360,7 +58434,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 '422': *15 x-github: githubCloudOnly: false @@ -58382,9 +58456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '200': description: Response @@ -58418,9 +58492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58478,9 +58552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58538,9 +58612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58600,9 +58674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 requestBody: required: true content: @@ -58624,7 +58698,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: default: value: @@ -58740,8 +58814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -59020,7 +59094,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &407 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59140,7 +59214,7 @@ paths: check. type: array items: *82 - deployment: &725 + deployment: &726 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59420,9 +59494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *327 - - *328 - - &406 + - *329 + - *330 + - &408 name: check_run_id description: The unique identifier of the check run. in: path @@ -59434,9 +59508,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: &407 + default: &409 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59536,9 +59610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *327 - - *328 - - *406 + - *329 + - *330 + - *408 requestBody: required: true content: @@ -59778,9 +59852,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59800,9 +59874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *327 - - *328 - - *406 + - *329 + - *330 + - *408 - *17 - *19 responses: @@ -59897,9 +59971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *327 - - *328 - - *406 + - *329 + - *330 + - *408 responses: '201': description: Response @@ -59943,8 +60017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -59966,7 +60040,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &410 + schema: &412 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60052,12 +60126,12 @@ paths: type: string format: date-time nullable: true - head_commit: &753 + head_commit: &754 title: Simple Commit description: A commit. type: object - properties: *408 - required: *409 + properties: *410 + required: *411 latest_check_runs_count: type: integer check_runs_url: @@ -60085,7 +60159,7 @@ paths: - check_runs_url - pull_requests examples: - default: &411 + default: &413 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -60376,9 +60450,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60397,8 +60471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -60707,9 +60781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *327 - - *328 - - &412 + - *329 + - *330 + - &414 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60721,9 +60795,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60746,17 +60820,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *327 - - *328 - - *412 - - &467 + - *329 + - *330 + - *414 + - &469 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &468 + - &470 name: status description: Returns check runs with the specified `status`. in: query @@ -60795,9 +60869,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *407 examples: - default: &469 + default: &471 value: total_count: 1 check_runs: @@ -60899,9 +60973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *327 - - *328 - - *412 + - *329 + - *330 + - *414 responses: '201': description: Response @@ -60934,21 +61008,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *327 - - *328 - - *413 - - *414 + - *329 + - *330 + - *415 + - *416 - *19 - *17 - - &431 + - &433 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *415 - - &432 + schema: *417 + - &434 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60973,13 +61047,13 @@ paths: be returned. in: query required: false - schema: *416 + schema: *418 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *417 + schema: *419 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -61003,7 +61077,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *418 + instances_url: *420 state: *180 fixed_at: *176 dismissed_by: @@ -61014,11 +61088,11 @@ paths: required: *21 nullable: true dismissed_at: *177 - dismissed_reason: *419 - dismissed_comment: *420 - rule: *421 - tool: *422 - most_recent_instance: *423 + dismissed_reason: *421 + dismissed_comment: *422 + rule: *423 + tool: *424 + most_recent_instance: *425 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -61144,7 +61218,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &424 + '403': &426 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61171,9 +61245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *327 - - *328 - - &425 + - *329 + - *330 + - &427 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61187,7 +61261,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &428 type: object properties: number: *171 @@ -61195,7 +61269,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *418 + instances_url: *420 state: *180 fixed_at: *176 dismissed_by: @@ -61206,8 +61280,8 @@ paths: required: *21 nullable: true dismissed_at: *177 - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_reason: *421 + dismissed_comment: *422 rule: type: object properties: @@ -61261,8 +61335,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *422 - most_recent_instance: *423 + tool: *424 + most_recent_instance: *425 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -61361,7 +61435,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -61381,9 +61455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 requestBody: required: true content: @@ -61398,8 +61472,8 @@ paths: enum: - open - dismissed - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_reason: *421 + dismissed_comment: *422 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -61427,7 +61501,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: default: value: @@ -61503,7 +61577,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &430 + '403': &432 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -61530,15 +61604,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 responses: '200': description: Response content: application/json: - schema: &427 + schema: &429 type: object properties: status: @@ -61564,13 +61638,13 @@ paths: - description - started_at examples: - default: &428 + default: &430 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &429 + '400': &431 description: Bad Request content: application/json: @@ -61581,7 +61655,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -61606,29 +61680,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 responses: '200': description: OK content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '202': description: Accepted content: application/json: - schema: *427 + schema: *429 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *429 + '400': *431 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61660,9 +61734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 requestBody: required: false content: @@ -61707,8 +61781,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *429 - '403': *430 + '400': *431 + '403': *432 '404': *6 '422': description: Unprocessable Entity @@ -61732,13 +61806,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 - *19 - *17 - - *431 - - *432 + - *433 + - *434 responses: '200': description: Response @@ -61749,10 +61823,10 @@ paths: items: type: object properties: - ref: *415 - analysis_key: *433 - environment: *434 - category: *435 + ref: *417 + analysis_key: *435 + environment: *436 + category: *437 state: type: string description: State of a code scanning alert instance. @@ -61767,7 +61841,7 @@ paths: properties: text: type: string - location: *436 + location: *438 html_url: type: string classifications: @@ -61775,7 +61849,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *437 + items: *439 examples: default: value: @@ -61812,7 +61886,7 @@ paths: end_column: 50 classifications: - source - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -61846,25 +61920,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *327 - - *328 - - *413 - - *414 + - *329 + - *330 + - *415 + - *416 - *19 - *17 - - *432 + - *434 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *415 + schema: *417 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &438 + schema: &440 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61885,23 +61959,23 @@ paths: application/json: schema: type: array - items: &439 + items: &441 type: object properties: - ref: *415 - commit_sha: &447 + ref: *417 + commit_sha: &449 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *433 + analysis_key: *435 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *435 + category: *437 error: type: string example: error reading field xyz @@ -61925,8 +61999,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *438 - tool: *422 + sarif_id: *440 + tool: *424 deletable: type: boolean warning: @@ -61987,7 +62061,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -62023,8 +62097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62037,7 +62111,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: response: summary: application/json response @@ -62091,7 +62165,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *424 + '403': *426 '404': *6 '422': description: Response if analysis could not be processed @@ -62178,8 +62252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62232,7 +62306,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *430 + '403': *432 '404': *6 '503': *114 x-github: @@ -62254,8 +62328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -62263,7 +62337,7 @@ paths: application/json: schema: type: array - items: &440 + items: &442 title: CodeQL Database description: A CodeQL database. type: object @@ -62374,7 +62448,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -62403,8 +62477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: language in: path description: The language of the CodeQL database. @@ -62416,7 +62490,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: default: value: @@ -62448,9 +62522,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &476 + '302': &478 description: Found - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -62472,8 +62546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *327 - - *328 + - *329 + - *330 - name: language in: path description: The language of the CodeQL database. @@ -62483,7 +62557,7 @@ paths: responses: '204': description: Response - '403': *430 + '403': *432 '404': *6 '503': *114 x-github: @@ -62511,8 +62585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -62521,7 +62595,7 @@ paths: type: object additionalProperties: false properties: - language: &441 + language: &443 type: string description: The language targeted by the CodeQL query enum: @@ -62601,7 +62675,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &445 + schema: &447 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62611,7 +62685,7 @@ paths: description: The ID of the variant analysis. controller_repo: *58 actor: *4 - query_language: *441 + query_language: *443 query_pack_url: type: string description: The download url for the query pack. @@ -62658,7 +62732,7 @@ paths: items: type: object properties: - repository: &442 + repository: &444 title: Repository Identifier description: Repository Identifier type: object @@ -62694,7 +62768,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &446 + analysis_status: &448 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62726,7 +62800,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &443 + access_mismatch_repos: &445 type: object properties: repository_count: @@ -62740,7 +62814,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *442 + items: *444 required: - repository_count - repositories @@ -62762,8 +62836,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *443 - over_limit_repos: *443 + no_codeql_db_repos: *445 + over_limit_repos: *445 required: - access_mismatch_repos - not_found_repos @@ -62779,7 +62853,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &444 + value: &446 summary: Default response value: id: 1 @@ -62925,10 +62999,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *444 + value: *446 repository_lists: summary: Response for a successful variant analysis submission - value: *444 + value: *446 '404': *6 '422': description: Unable to process variant analysis submission @@ -62956,8 +63030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *327 - - *328 + - *329 + - *330 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62969,9 +63043,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *444 + default: *446 '404': *6 '503': *114 x-github: @@ -62994,7 +63068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *327 + - *329 - name: repo in: path description: The name of the controller repository. @@ -63029,7 +63103,7 @@ paths: type: object properties: repository: *58 - analysis_status: *446 + analysis_status: *448 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63154,8 +63228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -63240,7 +63314,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *424 + '403': *426 '404': *6 '503': *114 x-github: @@ -63261,8 +63335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -63354,7 +63428,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *430 + '403': *432 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -63425,8 +63499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -63434,7 +63508,7 @@ paths: schema: type: object properties: - commit_sha: *447 + commit_sha: *449 ref: type: string description: |- @@ -63492,7 +63566,7 @@ paths: schema: type: object properties: - id: *438 + id: *440 url: type: string description: The REST API URL for checking the status of the upload. @@ -63506,7 +63580,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *430 + '403': *432 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -63529,8 +63603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *327 - - *328 + - *329 + - *330 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63576,7 +63650,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *424 + '403': *426 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -63601,8 +63675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -63683,8 +63757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -63804,8 +63878,8 @@ paths: parameters: - *17 - *19 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -63821,7 +63895,7 @@ paths: type: integer codespaces: type: array - items: *233 + items: *234 examples: default: value: @@ -64119,8 +64193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -64183,17 +64257,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '400': *14 '401': *25 '403': *29 @@ -64222,8 +64296,8 @@ paths: parameters: - *17 - *19 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -64287,8 +64361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -64323,14 +64397,14 @@ paths: type: integer machines: type: array - items: &668 + items: &669 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *449 - required: *450 + properties: *451 + required: *452 examples: - default: &669 + default: &670 value: total_count: 2 machines: @@ -64370,8 +64444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -64455,8 +64529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -64522,8 +64596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -64541,7 +64615,7 @@ paths: type: integer secrets: type: array - items: &454 + items: &456 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64561,7 +64635,7 @@ paths: - created_at - updated_at examples: - default: *451 + default: *453 headers: Link: *59 x-github: @@ -64584,16 +64658,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *453 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64613,17 +64687,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '200': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64643,8 +64717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 requestBody: required: true @@ -64697,8 +64771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '204': @@ -64727,8 +64801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *327 - - *328 + - *329 + - *330 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64770,7 +64844,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &456 + properties: &458 login: type: string example: octocat @@ -64863,7 +64937,7 @@ paths: user_view_type: type: string example: public - required: &457 + required: &459 - avatar_url - events_url - followers_url @@ -64937,8 +65011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '204': @@ -64985,8 +65059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 requestBody: required: false @@ -65013,7 +65087,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &526 + schema: &528 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -65242,8 +65316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '204': @@ -65275,8 +65349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '200': @@ -65297,8 +65371,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *456 - required: *457 + properties: *458 + required: *459 nullable: true required: - permission @@ -65353,8 +65427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -65364,7 +65438,7 @@ paths: application/json: schema: type: array - items: &458 + items: &460 title: Commit Comment description: Commit Comment type: object @@ -65422,7 +65496,7 @@ paths: - created_at - updated_at examples: - default: &463 + default: &465 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65481,17 +65555,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *458 + schema: *460 examples: - default: &464 + default: &466 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65548,8 +65622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -65572,7 +65646,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *460 examples: default: value: @@ -65623,8 +65697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -65646,8 +65720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65674,7 +65748,7 @@ paths: application/json: schema: type: array - items: &459 + items: &461 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -65717,7 +65791,7 @@ paths: - content - created_at examples: - default: &530 + default: &532 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65762,8 +65836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -65796,9 +65870,9 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: &460 + default: &462 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65827,9 +65901,9 @@ paths: description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -65851,10 +65925,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *93 - - &531 + - &533 name: reaction_id description: The unique identifier of the reaction. in: path @@ -65909,8 +65983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *327 - - *328 + - *329 + - *330 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65966,9 +66040,9 @@ paths: application/json: schema: type: array - items: *461 + items: *463 examples: - default: &580 + default: &582 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66062,9 +66136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *327 - - *328 - - &462 + - *329 + - *330 + - &464 name: commit_sha description: The SHA of the commit. in: path @@ -66136,9 +66210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 - *17 - *19 responses: @@ -66148,9 +66222,9 @@ paths: application/json: schema: type: array - items: *458 + items: *460 examples: - default: *463 + default: *465 headers: Link: *59 x-github: @@ -66178,9 +66252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 requestBody: required: true content: @@ -66215,9 +66289,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *460 examples: - default: *464 + default: *466 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66245,9 +66319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 - *17 - *19 responses: @@ -66257,9 +66331,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: &572 + default: &574 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66796,11 +66870,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 - - &466 + - &468 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -66815,9 +66889,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: &559 + default: &561 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66930,11 +67004,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *327 - - *328 - - *466 - - *467 + - *329 + - *330 - *468 + - *469 + - *470 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66968,9 +67042,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *407 examples: - default: *469 + default: *471 headers: Link: *59 x-github: @@ -66995,9 +67069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *327 - - *328 - - *466 + - *329 + - *330 + - *468 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67005,7 +67079,7 @@ paths: schema: type: integer example: 1 - - *467 + - *469 - *17 - *19 responses: @@ -67023,7 +67097,7 @@ paths: type: integer check_suites: type: array - items: *410 + items: *412 examples: default: value: @@ -67223,9 +67297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *327 - - *328 - - *466 + - *329 + - *330 + - *468 - *17 - *19 responses: @@ -67423,9 +67497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *327 - - *328 - - *466 + - *329 + - *330 + - *468 - *17 - *19 responses: @@ -67435,7 +67509,7 @@ paths: application/json: schema: type: array - items: &645 + items: &647 title: Status description: The status of a commit. type: object @@ -67516,7 +67590,7 @@ paths: site_admin: false headers: Link: *59 - '301': *331 + '301': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67544,8 +67618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -67574,20 +67648,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *470 - required: *471 + properties: *472 + required: *473 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &472 + properties: &474 url: type: string format: uri html_url: type: string format: uri - required: &473 + required: &475 - url - html_url nullable: true @@ -67601,26 +67675,26 @@ paths: contributing: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true readme: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true issue_template: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true pull_request_template: title: Community Health File type: object - properties: *472 - required: *473 + properties: *474 + required: *475 nullable: true required: - code_of_conduct @@ -67747,8 +67821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 - name: basehead @@ -67791,8 +67865,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *461 - merge_base_commit: *461 + base_commit: *463 + merge_base_commit: *463 status: type: string enum: @@ -67812,10 +67886,10 @@ paths: example: 6 commits: type: array - items: *461 + items: *463 files: type: array - items: *474 + items: *476 required: - url - html_url @@ -68101,8 +68175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -68117,6 +68191,23 @@ paths: required: false schema: type: string + requestBody: + required: false + content: + application/json: + examples: + response-if-content-is-a-file-github-object: + summary: Content is a file using the object media type + response-if-content-is-a-directory-github-object: + summary: Content is a directory using the object media type + response-if-content-is-a-file: + summary: Content is a file + response-if-content-is-a-directory: + summary: Content is a directory + response-if-content-is-a-symlink: + summary: Content is a symlink + response-if-content-is-a-submodule: + summary: Content is a submodule responses: '200': description: Response @@ -68245,7 +68336,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &475 + response-if-content-is-a-file-github-object: &477 summary: Response if content is a file value: type: file @@ -68263,7 +68354,7 @@ paths: git: https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1 self: https://api.github.com/repos/octokit/octokit.rb/contents/README.md html: https://github.com/octokit/octokit.rb/blob/master/README.md - response-if-content-is-a-directory: + response-if-content-is-a-directory-github-object: summary: Response if content is a directory and the application/vnd.github.v3.object media type is requested value: @@ -68377,7 +68468,7 @@ paths: - size - type - url - - &585 + - &587 title: Content File description: Content File type: object @@ -68578,7 +68669,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *475 + response-if-content-is-a-file: *477 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68647,7 +68738,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *476 + '302': *478 '304': *37 x-github: githubCloudOnly: false @@ -68670,8 +68761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -68764,7 +68855,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &479 title: File Commit description: File Commit type: object @@ -68916,7 +69007,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: example-for-creating-a-file: value: @@ -68970,7 +69061,7 @@ paths: schema: oneOf: - *3 - - &508 + - &510 description: Repository rule violation was detected type: object properties: @@ -68991,7 +69082,7 @@ paths: items: type: object properties: - placeholder_id: &637 + placeholder_id: &639 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69023,8 +69114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -69085,7 +69176,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -69140,8 +69231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *327 - - *328 + - *329 + - *330 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -69264,8 +69355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *191 - *192 - *193 @@ -69277,9 +69368,10 @@ paths: schema: type: string - *195 - - *478 + - *480 - *196 - *197 + - *198 - *53 - *45 - *46 @@ -69291,7 +69383,7 @@ paths: application/json: schema: type: array - items: &482 + items: &484 type: object description: A Dependabot alert. properties: @@ -69337,7 +69429,7 @@ paths: - unknown - direct - transitive - security_advisory: *479 + security_advisory: *481 security_vulnerability: *57 url: *174 html_url: *175 @@ -69368,8 +69460,8 @@ paths: nullable: true maxLength: 280 fixed_at: *176 - auto_dismissed_at: *480 - dismissal_request: *481 + auto_dismissed_at: *482 + dismissal_request: *483 assignees: type: array description: The users assigned to this alert. @@ -69496,6 +69588,25 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false - number: 1 state: open dependency: @@ -69580,6 +69691,7 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: [] '304': *37 '400': *14 '403': *29 @@ -69604,9 +69716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *327 - - *328 - - &483 + - *329 + - *330 + - &485 name: alert_number in: path description: |- @@ -69621,7 +69733,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -69712,6 +69824,25 @@ paths: dismissed_reason: dismissed_comment: fixed_at: + assignees: + - login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false '304': *37 '403': *29 '404': *6 @@ -69734,9 +69865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *327 - - *328 - - *483 + - *329 + - *330 + - *485 requestBody: required: true content: @@ -69767,8 +69898,19 @@ paths: description: An optional comment associated with dismissing the alert. maxLength: 280 - required: - - state + assignees: + type: array + description: |- + Usernames to assign to this Dependabot Alert. + Pass one or more user logins to _replace_ the set of assignees on this alert. + Send an empty array (`[]`) to clear all assignees from the alert. + items: + type: string + anyOf: + - required: + - state + - required: + - assignees additionalProperties: false examples: default: @@ -69781,7 +69923,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -69884,6 +70026,7 @@ paths: dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: + assignees: [] '400': *14 '403': *29 '404': *6 @@ -69910,8 +70053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -69929,7 +70072,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &488 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69982,16 +70125,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *484 + schema: *486 examples: - default: *485 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70011,15 +70154,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '200': description: Response content: application/json: - schema: *486 + schema: *488 examples: default: value: @@ -70045,8 +70188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 requestBody: required: true @@ -70099,8 +70242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *327 - - *328 + - *329 + - *330 - *161 responses: '204': @@ -70123,8 +70266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *327 - - *328 + - *329 + - *330 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -70284,8 +70427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -70524,8 +70667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -70600,7 +70743,7 @@ paths: - version - url additionalProperties: false - metadata: &487 + metadata: &489 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70633,7 +70776,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *487 + metadata: *489 resolved: type: object description: A collection of resolved package dependencies. @@ -70646,7 +70789,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *487 + metadata: *489 relationship: type: string description: A notation of whether a dependency is requested @@ -70775,8 +70918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *327 - - *328 + - *329 + - *330 - name: sha description: The SHA recorded at creation time. in: query @@ -70816,9 +70959,9 @@ paths: application/json: schema: type: array - items: *488 + items: *490 examples: - default: *489 + default: *491 headers: Link: *59 x-github: @@ -70884,8 +71027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -70966,7 +71109,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: simple-example: summary: Simple example @@ -71039,9 +71182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *327 - - *328 - - &490 + - *329 + - *330 + - &492 name: deployment_id description: deployment_id parameter in: path @@ -71053,7 +71196,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: default: value: @@ -71118,9 +71261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 responses: '204': description: Response @@ -71142,9 +71285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 - *17 - *19 responses: @@ -71154,7 +71297,7 @@ paths: application/json: schema: type: array - items: &491 + items: &493 title: Deployment Status description: The status of a deployment. type: object @@ -71315,9 +71458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 requestBody: required: true content: @@ -71392,9 +71535,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: &492 + default: &494 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -71450,9 +71593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *327 - - *328 - - *490 + - *329 + - *330 + - *492 - name: status_id in: path required: true @@ -71463,9 +71606,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *492 + default: *494 '404': *6 x-github: githubCloudOnly: false @@ -71490,8 +71633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -71548,8 +71691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -71566,7 +71709,7 @@ paths: type: integer environments: type: array - items: &494 + items: &496 title: Environment description: Details of a deployment environment type: object @@ -71618,7 +71761,7 @@ paths: type: type: string example: wait_timer - wait_timer: &496 + wait_timer: &498 type: integer example: 30 description: The amount of time to delay a job after @@ -71655,7 +71798,7 @@ paths: items: type: object properties: - type: *493 + type: *495 reviewer: anyOf: - *4 @@ -71679,7 +71822,7 @@ paths: - id - node_id - type - deployment_branch_policy: &497 + deployment_branch_policy: &499 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71795,9 +71938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *327 - - *328 - - &495 + - *329 + - *330 + - &497 name: environment_name in: path required: true @@ -71810,9 +71953,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: &498 + default: &500 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71896,9 +72039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 requestBody: required: false content: @@ -71907,7 +72050,7 @@ paths: type: object nullable: true properties: - wait_timer: *496 + wait_timer: *498 prevent_self_review: type: boolean example: false @@ -71924,13 +72067,13 @@ paths: items: type: object properties: - type: *493 + type: *495 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *497 + deployment_branch_policy: *499 additionalProperties: false examples: default: @@ -71950,9 +72093,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: *498 + default: *500 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71976,9 +72119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 responses: '204': description: Default response @@ -72003,9 +72146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *17 - *19 responses: @@ -72023,7 +72166,7 @@ paths: example: 2 branch_policies: type: array - items: &499 + items: &501 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72080,9 +72223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 requestBody: required: true content: @@ -72128,9 +72271,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - example-wildcard: &500 + example-wildcard: &502 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -72172,10 +72315,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 - - &501 + - *329 + - *330 + - *497 + - &503 name: branch_policy_id in: path required: true @@ -72187,9 +72330,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72208,10 +72351,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 - - *501 + - *329 + - *330 + - *497 + - *503 requestBody: required: true content: @@ -72239,9 +72382,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72260,10 +72403,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *327 - - *328 - - *495 - - *501 + - *329 + - *330 + - *497 + - *503 responses: '204': description: Response @@ -72288,9 +72431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *495 - - *328 - - *327 + - *497 + - *330 + - *329 responses: '200': description: List of deployment protection rules @@ -72306,7 +72449,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &502 + items: &504 title: Deployment protection rule description: Deployment protection rule type: object @@ -72325,7 +72468,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &503 + app: &505 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -72424,9 +72567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *495 - - *328 - - *327 + - *497 + - *330 + - *329 requestBody: content: application/json: @@ -72447,9 +72590,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *502 + schema: *504 examples: - default: &504 + default: &506 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -72484,9 +72627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *495 - - *328 - - *327 + - *497 + - *330 + - *329 - *19 - *17 responses: @@ -72505,7 +72648,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *503 + items: *505 examples: default: value: @@ -72540,10 +72683,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *327 - - *328 - - *495 - - &505 + - *329 + - *330 + - *497 + - &507 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -72555,9 +72698,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72578,10 +72721,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *495 - - *328 - - *327 - - *505 + - *497 + - *330 + - *329 + - *507 responses: '204': description: Response @@ -72607,9 +72750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *17 - *19 responses: @@ -72627,9 +72770,9 @@ paths: type: integer secrets: type: array - items: *372 + items: *374 examples: - default: *373 + default: *375 headers: Link: *59 x-github: @@ -72654,17 +72797,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72686,18 +72829,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *161 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *506 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72719,9 +72862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *161 requestBody: required: true @@ -72779,9 +72922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *161 responses: '204': @@ -72807,10 +72950,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *327 - - *328 - - *495 - - *343 + - *329 + - *330 + - *497 + - *345 - *19 responses: '200': @@ -72827,9 +72970,9 @@ paths: type: integer variables: type: array - items: *376 + items: *378 examples: - default: *377 + default: *379 headers: Link: *59 x-github: @@ -72852,9 +72995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 requestBody: required: true content: @@ -72906,18 +73049,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *327 - - *328 - - *495 + - *329 + - *330 + - *497 - *164 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: *507 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72938,10 +73081,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 - - *495 + - *497 requestBody: required: true content: @@ -72983,10 +73126,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *327 - - *328 + - *329 + - *330 - *164 - - *495 + - *497 responses: '204': description: Response @@ -73008,8 +73151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -73077,8 +73220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *327 - - *328 + - *329 + - *330 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -73237,8 +73380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -73270,9 +73413,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 '400': *14 '422': *15 '403': *29 @@ -73293,8 +73436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -73354,7 +73497,7 @@ paths: schema: oneOf: - *122 - - *508 + - *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73379,8 +73522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *327 - - *328 + - *329 + - *330 - name: file_sha in: path required: true @@ -73479,8 +73622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -73589,7 +73732,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &511 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73803,15 +73946,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *327 - - *328 - - *462 + - *329 + - *330 + - *464 responses: '200': description: Response content: application/json: - schema: *509 + schema: *511 examples: default: value: @@ -73867,9 +74010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *327 - - *328 - - &510 + - *329 + - *330 + - &512 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -73886,7 +74029,7 @@ paths: application/json: schema: type: array - items: &511 + items: &513 title: Git Reference description: Git references within a repository type: object @@ -73961,17 +74104,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *327 - - *328 - - *510 + - *329 + - *330 + - *512 responses: '200': description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: &512 + default: &514 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74000,8 +74143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -74030,9 +74173,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74058,9 +74201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *327 - - *328 - - *510 + - *329 + - *330 + - *512 requestBody: required: true content: @@ -74089,9 +74232,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '422': *15 '409': *52 x-github: @@ -74109,9 +74252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *327 - - *328 - - *510 + - *329 + - *330 + - *512 responses: '204': description: Response @@ -74166,8 +74309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -74234,7 +74377,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &516 title: Git Tag description: Metadata for a Git tag type: object @@ -74285,7 +74428,7 @@ paths: - sha - type - url - verification: *513 + verification: *515 required: - sha - url @@ -74295,7 +74438,7 @@ paths: - tag - message examples: - default: &515 + default: &517 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -74368,8 +74511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *327 - - *328 + - *329 + - *330 - name: tag_sha in: path required: true @@ -74380,9 +74523,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: *515 + default: *517 '404': *6 '409': *52 x-github: @@ -74406,8 +74549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -74480,7 +74623,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &518 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74576,8 +74719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *327 - - *328 + - *329 + - *330 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74600,7 +74743,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: default-response: summary: Default response @@ -74659,8 +74802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -74670,7 +74813,7 @@ paths: application/json: schema: type: array - items: &517 + items: &519 title: Webhook description: Webhooks for repositories. type: object @@ -74724,7 +74867,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &761 + last_response: &762 title: Hook Response type: object properties: @@ -74798,8 +74941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -74851,9 +74994,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: &518 + default: &520 value: type: Repository id: 12345678 @@ -74901,17 +75044,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '200': description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -74931,9 +75074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 requestBody: required: true content: @@ -74978,9 +75121,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 '422': *15 '404': *6 x-github: @@ -75001,9 +75144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '204': description: Response @@ -75027,9 +75170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '200': description: Response @@ -75056,9 +75199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 requestBody: required: false content: @@ -75102,11 +75245,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *327 - - *328 - - *205 - - *17 + - *329 + - *330 - *206 + - *17 + - *207 responses: '200': description: Response @@ -75114,9 +75257,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *208 + default: *209 '400': *14 '422': *15 x-github: @@ -75135,18 +75278,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 - *16 responses: '200': description: Response content: application/json: - schema: *209 + schema: *210 examples: - default: *210 + default: *211 '400': *14 '422': *15 x-github: @@ -75165,9 +75308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 - *16 responses: '202': *39 @@ -75190,9 +75333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '204': description: Response @@ -75217,9 +75360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *206 responses: '204': description: Response @@ -75242,8 +75385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response if immutable releases are enabled @@ -75289,8 +75432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '409': *52 @@ -75310,8 +75453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '409': *52 @@ -75368,14 +75511,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &519 + schema: &521 title: Import description: A repository import from an external source. type: object @@ -75474,7 +75617,7 @@ paths: - html_url - authors_url examples: - default: &522 + default: &524 value: vcs: subversion use_lfs: true @@ -75490,7 +75633,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &520 + '503': &522 description: Unavailable due to service under maintenance. content: application/json: @@ -75519,8 +75662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -75568,7 +75711,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: default: value: @@ -75593,7 +75736,7 @@ paths: type: string '422': *15 '404': *6 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75621,8 +75764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -75671,7 +75814,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: example-1: summary: Example 1 @@ -75719,7 +75862,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75742,12 +75885,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75773,9 +75916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *327 - - *328 - - &690 + - *329 + - *330 + - &691 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75789,7 +75932,7 @@ paths: application/json: schema: type: array - items: &521 + items: &523 title: Porter Author description: Porter Author type: object @@ -75843,7 +75986,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75868,8 +76011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *327 - - *328 + - *329 + - *330 - name: author_id in: path required: true @@ -75899,7 +76042,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: default: value: @@ -75912,7 +76055,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75936,8 +76079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -75978,7 +76121,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76006,8 +76149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -76034,11 +76177,11 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *522 + default: *524 '422': *15 - '503': *520 + '503': *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76061,8 +76204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -76070,8 +76213,8 @@ paths: application/json: schema: *22 examples: - default: *523 - '301': *331 + default: *525 + '301': *333 '404': *6 x-github: githubCloudOnly: false @@ -76091,8 +76234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -76100,12 +76243,12 @@ paths: application/json: schema: anyOf: - - *223 + - *224 - type: object properties: {} additionalProperties: false examples: - default: &525 + default: &527 value: limit: collaborators_only origin: repository @@ -76130,13 +76273,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *524 + schema: *526 examples: default: summary: Example request body @@ -76148,9 +76291,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *525 + default: *527 '409': description: Response x-github: @@ -76172,8 +76315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -76196,8 +76339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -76207,9 +76350,9 @@ paths: application/json: schema: type: array - items: *526 + items: *528 examples: - default: &683 + default: &684 value: - id: 1 repository: @@ -76340,9 +76483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *327 - - *328 - - *227 + - *329 + - *330 + - *228 requestBody: required: false content: @@ -76371,7 +76514,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *528 examples: default: value: @@ -76502,9 +76645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *327 - - *328 - - *227 + - *329 + - *330 + - *228 responses: '204': description: Response @@ -76535,8 +76678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *327 - - *328 + - *329 + - *330 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -76584,7 +76727,7 @@ paths: required: false schema: type: string - - *231 + - *232 - name: sort description: What to sort results by. in: query @@ -76609,7 +76752,7 @@ paths: type: array items: *77 examples: - default: &538 + default: &540 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76758,7 +76901,7 @@ paths: state_reason: completed headers: Link: *59 - '301': *331 + '301': *333 '422': *15 '404': *6 x-github: @@ -76787,8 +76930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -76872,7 +77015,7 @@ paths: application/json: schema: *77 examples: - default: &535 + default: &537 value: id: 1 node_id: MDU6SXNzdWUx @@ -77029,7 +77172,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *527 + '410': *529 x-github: triggersNotification: true githubCloudOnly: false @@ -77057,8 +77200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *101 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -77079,9 +77222,9 @@ paths: application/json: schema: type: array - items: *528 + items: *530 examples: - default: &537 + default: &539 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77139,17 +77282,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: &529 + default: &531 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77204,8 +77347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -77228,9 +77371,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -77248,8 +77391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -77278,15 +77421,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *528 + schema: *530 examples: default: value: @@ -77342,7 +77485,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *527 + '410': *529 '422': *15 x-github: githubCloudOnly: false @@ -77359,8 +77502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -77368,7 +77511,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *527 + '410': *529 '503': *114 x-github: githubCloudOnly: false @@ -77386,8 +77529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77414,9 +77557,9 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 @@ -77437,8 +77580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -77471,16 +77614,16 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -77502,10 +77645,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *93 - - *531 + - *533 responses: '204': description: Response @@ -77525,8 +77668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -77536,7 +77679,7 @@ paths: application/json: schema: type: array - items: &534 + items: &536 title: Issue Event description: Issue Event type: object @@ -77579,8 +77722,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *532 - required: *533 + properties: *534 + required: *535 nullable: true label: title: Issue Event Label @@ -77888,8 +78031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *327 - - *328 + - *329 + - *330 - name: event_id in: path required: true @@ -77900,7 +78043,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default: value: @@ -78093,7 +78236,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *527 + '410': *529 '403': *29 x-github: githubCloudOnly: false @@ -78127,9 +78270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *327 - - *328 - - &536 + - *329 + - *330 + - &538 name: issue_number description: The number that identifies the issue. in: path @@ -78154,7 +78297,7 @@ paths: examples: default: summary: Issue - value: *535 + value: *537 pinned_comment: summary: Issue with pinned comment value: @@ -78353,9 +78496,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 '304': *37 x-github: githubCloudOnly: false @@ -78380,9 +78523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -78488,13 +78631,13 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 '422': *15 '503': *114 '403': *29 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78512,9 +78655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -78542,7 +78685,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78558,9 +78701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: content: application/json: @@ -78587,7 +78730,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78609,9 +78752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: assignee in: path required: true @@ -78651,9 +78794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *84 - *17 - *19 @@ -78664,13 +78807,13 @@ paths: application/json: schema: type: array - items: *528 + items: *530 examples: - default: *537 + default: *539 headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78699,9 +78842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -78723,16 +78866,16 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *527 + '410': *529 '422': *15 '404': *6 x-github: @@ -78760,9 +78903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -78774,12 +78917,12 @@ paths: type: array items: *77 examples: - default: *538 + default: *540 headers: Link: *59 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78807,9 +78950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -78833,15 +78976,15 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *331 + '301': *333 '403': *29 - '410': *527 + '410': *529 '422': *15 '404': *6 x-github: @@ -78872,9 +79015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -78888,13 +79031,13 @@ paths: application/json: schema: *77 examples: - default: *535 - '301': *331 + default: *537 + '301': *333 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *527 + '410': *529 x-github: triggersNotification: true githubCloudOnly: false @@ -78920,9 +79063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -78934,12 +79077,12 @@ paths: type: array items: *77 examples: - default: *538 + default: *540 headers: Link: *59 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78956,9 +79099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -78972,7 +79115,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &540 + - &542 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79026,7 +79169,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &543 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79162,7 +79305,7 @@ paths: - performed_via_github_app - assignee - assigner - - &542 + - &544 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79213,7 +79356,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &545 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79264,7 +79407,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &546 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79318,7 +79461,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &547 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79365,7 +79508,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &548 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -79412,7 +79555,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &549 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -79472,7 +79615,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &550 title: Locked Issue Event description: Locked Issue Event type: object @@ -79520,7 +79663,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &551 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -79586,7 +79729,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &552 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -79652,7 +79795,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &553 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -79718,7 +79861,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &554 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -79809,7 +79952,7 @@ paths: color: red headers: Link: *59 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79826,9 +79969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -79840,7 +79983,7 @@ paths: type: array items: *76 examples: - default: &539 + default: &541 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -79858,9 +80001,9 @@ paths: default: false headers: Link: *59 - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79876,9 +80019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -79923,10 +80066,10 @@ paths: type: array items: *76 examples: - default: *539 - '301': *331 + default: *541 + '301': *333 '404': *6 - '410': *527 + '410': *529 '422': *15 x-github: githubCloudOnly: false @@ -79943,9 +80086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -80007,10 +80150,10 @@ paths: type: array items: *76 examples: - default: *539 - '301': *331 + default: *541 + '301': *333 '404': *6 - '410': *527 + '410': *529 '422': *15 x-github: githubCloudOnly: false @@ -80027,15 +80170,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 responses: '204': description: Response - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80054,9 +80197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: name in: path required: true @@ -80080,9 +80223,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *331 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80102,9 +80245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: false content: @@ -80132,7 +80275,7 @@ paths: '204': description: Response '403': *29 - '410': *527 + '410': *529 '404': *6 '422': *15 x-github: @@ -80150,9 +80293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 responses: '204': description: Response @@ -80182,9 +80325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 responses: '200': description: Response @@ -80192,10 +80335,10 @@ paths: application/json: schema: *77 examples: - default: *535 - '301': *331 + default: *537 + '301': *333 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80212,9 +80355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -80240,13 +80383,13 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80264,9 +80407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80298,16 +80441,16 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -80329,10 +80472,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *327 - - *328 - - *536 - - *531 + - *329 + - *330 + - *538 + - *533 responses: '204': description: Response @@ -80361,9 +80504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80387,7 +80530,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -80420,9 +80563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -80434,11 +80577,11 @@ paths: type: array items: *77 examples: - default: *538 + default: *540 headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80466,9 +80609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80497,14 +80640,14 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *527 + '410': *529 '422': *15 '404': *6 x-github: @@ -80524,9 +80667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 requestBody: required: true content: @@ -80559,7 +80702,7 @@ paths: application/json: schema: *77 examples: - default: *535 + default: *537 '403': *29 '404': *6 '422': *7 @@ -80581,9 +80724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *327 - - *328 - - *536 + - *329 + - *330 + - *538 - *17 - *19 responses: @@ -80598,8 +80741,6 @@ paths: description: Timeline Event type: object anyOf: - - *540 - - *541 - *542 - *543 - *544 @@ -80611,6 +80752,8 @@ paths: - *550 - *551 - *552 + - *553 + - *554 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -80671,8 +80814,8 @@ paths: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *553 - required: *554 + properties: *555 + required: *556 nullable: true required: - event @@ -80927,7 +81070,7 @@ paths: type: string comments: type: array - items: &574 + items: &576 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81142,7 +81285,7 @@ paths: type: string comments: type: array - items: *458 + items: *460 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -81431,7 +81574,7 @@ paths: headers: Link: *59 '404': *6 - '410': *527 + '410': *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81448,8 +81591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -81459,7 +81602,7 @@ paths: application/json: schema: type: array - items: &555 + items: &557 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -81525,8 +81668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81562,9 +81705,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: &556 + default: &558 value: id: 1 key: ssh-rsa AAA... @@ -81598,9 +81741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *327 - - *328 - - &557 + - *329 + - *330 + - &559 name: key_id description: The unique identifier of the key. in: path @@ -81612,9 +81755,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 '404': *6 x-github: githubCloudOnly: false @@ -81632,9 +81775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *327 - - *328 - - *557 + - *329 + - *330 + - *559 responses: '204': description: Response @@ -81654,8 +81797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -81667,7 +81810,7 @@ paths: type: array items: *76 examples: - default: *539 + default: *541 headers: Link: *59 '404': *6 @@ -81688,8 +81831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81727,7 +81870,7 @@ paths: application/json: schema: *76 examples: - default: &558 + default: &560 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81759,8 +81902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -81773,7 +81916,7 @@ paths: application/json: schema: *76 examples: - default: *558 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -81790,8 +81933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -81856,8 +81999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -81883,8 +82026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -81923,9 +82066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *327 - - *328 - - *431 + - *329 + - *330 + - *433 responses: '200': description: Response @@ -82070,8 +82213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82136,8 +82279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82171,9 +82314,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *461 + schema: *463 examples: - default: *559 + default: *561 '204': description: Response when already merged '404': @@ -82198,8 +82341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82240,12 +82383,12 @@ paths: application/json: schema: type: array - items: &560 + items: &562 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 examples: default: value: @@ -82301,8 +82444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82342,9 +82485,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: &561 + default: &563 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -82403,9 +82546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *327 - - *328 - - &562 + - *329 + - *330 + - &564 name: milestone_number description: The number that identifies the milestone. in: path @@ -82417,9 +82560,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *561 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -82436,9 +82579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *327 - - *328 - - *562 + - *329 + - *330 + - *564 requestBody: required: false content: @@ -82476,9 +82619,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *561 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82494,9 +82637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *327 - - *328 - - *562 + - *329 + - *330 + - *564 responses: '204': description: Response @@ -82517,9 +82660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *327 - - *328 - - *562 + - *329 + - *330 + - *564 - *17 - *19 responses: @@ -82531,7 +82674,7 @@ paths: type: array items: *76 examples: - default: *539 + default: *541 headers: Link: *59 x-github: @@ -82550,12 +82693,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *327 - - *328 - - *563 - - *564 - - *84 + - *329 + - *330 - *565 + - *566 + - *84 + - *567 - *17 - *19 responses: @@ -82567,7 +82710,7 @@ paths: type: array items: *104 examples: - default: *566 + default: *568 headers: Link: *59 x-github: @@ -82591,8 +82734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -82650,14 +82793,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &567 + schema: &569 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -82782,7 +82925,7 @@ paths: - custom_404 - public examples: - default: &568 + default: &570 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -82823,8 +82966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -82878,9 +83021,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 '422': *15 '409': *52 x-github: @@ -82903,8 +83046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -83003,8 +83146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -83030,8 +83173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -83041,7 +83184,7 @@ paths: application/json: schema: type: array - items: &569 + items: &571 title: Page Build description: Page Build type: object @@ -83135,8 +83278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response @@ -83181,16 +83324,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: &570 + default: &572 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83238,8 +83381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *327 - - *328 + - *329 + - *330 - name: build_id in: path required: true @@ -83250,9 +83393,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83272,8 +83415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -83378,9 +83521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *327 - - *328 - - &571 + - *329 + - *330 + - &573 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -83438,9 +83581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 responses: '204': *184 '404': *6 @@ -83467,8 +83610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -83726,8 +83869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Private vulnerability reporting status @@ -83764,8 +83907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '422': *14 @@ -83786,8 +83929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': *184 '422': *14 @@ -83809,8 +83952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -83818,7 +83961,7 @@ paths: application/json: schema: type: array - items: *280 + items: *281 examples: default: value: @@ -83849,8 +83992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -83862,7 +84005,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *280 + items: *281 required: - properties examples: @@ -83912,8 +84055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83973,9 +84116,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *572 + default: *574 headers: Link: *59 '304': *37 @@ -84007,8 +84150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -84073,7 +84216,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &578 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84184,8 +84327,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 nullable: true active_lock_reason: type: string @@ -84230,7 +84373,7 @@ paths: nullable: true requested_teams: type: array - items: *317 + items: *318 nullable: true head: type: object @@ -84269,14 +84412,14 @@ paths: _links: type: object properties: - comments: *267 - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + comments: *268 + commits: *268 + statuses: *268 + html: *268 + issue: *268 + review_comments: *268 + review_comment: *268 + self: *268 required: - comments - commits @@ -84287,7 +84430,7 @@ paths: - review_comment - self author_association: *74 - auto_merge: *573 + auto_merge: *575 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -84379,7 +84522,7 @@ paths: - merged_by - review_comments examples: - default: &577 + default: &579 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84906,8 +85049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: sort in: query required: false @@ -84936,9 +85079,9 @@ paths: application/json: schema: type: array - items: *574 + items: *576 examples: - default: &579 + default: &581 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85015,17 +85158,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &575 + default: &577 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85100,8 +85243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -85124,9 +85267,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *575 + default: *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85142,8 +85285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *93 responses: '204': @@ -85165,8 +85308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -85193,9 +85336,9 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 @@ -85216,8 +85359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *327 - - *328 + - *329 + - *330 - *93 requestBody: required: true @@ -85250,16 +85393,16 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -85281,10 +85424,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *93 - - *531 + - *533 responses: '204': description: Response @@ -85327,9 +85470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *327 - - *328 - - &578 + - *329 + - *330 + - &580 name: pull_number description: The number that identifies the pull request. in: path @@ -85342,9 +85485,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *576 + schema: *578 examples: - default: *577 + default: *579 '304': *37 '404': *6 '406': @@ -85379,9 +85522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -85423,9 +85566,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: - default: *577 + default: *579 '422': *15 '403': *29 x-github: @@ -85447,9 +85590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: true content: @@ -85509,17 +85652,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '401': *25 '403': *29 '404': *6 @@ -85549,9 +85692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *101 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -85572,9 +85715,9 @@ paths: application/json: schema: type: array - items: *574 + items: *576 examples: - default: *579 + default: *581 headers: Link: *59 x-github: @@ -85607,9 +85750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: true content: @@ -85714,7 +85857,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: example-for-a-multi-line-comment: value: @@ -85802,9 +85945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *93 requestBody: required: true @@ -85827,7 +85970,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -85913,9 +86056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *17 - *19 responses: @@ -85925,9 +86068,9 @@ paths: application/json: schema: type: array - items: *461 + items: *463 examples: - default: *580 + default: *582 headers: Link: *59 x-github: @@ -85957,9 +86100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *17 - *19 responses: @@ -85969,7 +86112,7 @@ paths: application/json: schema: type: array - items: *474 + items: *476 examples: default: value: @@ -86007,9 +86150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 responses: '204': description: Response if pull request has been merged @@ -86032,9 +86175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -86145,9 +86288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 responses: '200': description: Response @@ -86222,9 +86365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -86261,7 +86404,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -86797,9 +86940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: true content: @@ -86833,7 +86976,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -87338,9 +87481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 - *17 - *19 responses: @@ -87350,7 +87493,7 @@ paths: application/json: schema: type: array - items: &581 + items: &583 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -87501,9 +87644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -87589,9 +87732,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &583 + default: &585 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87654,10 +87797,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - &582 + - *329 + - *330 + - *580 + - &584 name: review_id description: The unique identifier of the review. in: path @@ -87669,9 +87812,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &584 + default: &586 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87730,10 +87873,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 requestBody: required: true content: @@ -87756,7 +87899,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -87818,18 +87961,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 responses: '200': description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *583 + default: *585 '422': *7 '404': *6 x-github: @@ -87856,10 +87999,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 - *17 - *19 responses: @@ -87942,9 +88085,9 @@ paths: _links: type: object properties: - self: *267 - html: *267 - pull_request: *267 + self: *268 + html: *268 + pull_request: *268 required: - self - html @@ -88094,10 +88237,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 requestBody: required: true content: @@ -88125,7 +88268,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -88188,10 +88331,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *578 - - *582 + - *329 + - *330 + - *580 + - *584 requestBody: required: true content: @@ -88226,9 +88369,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *584 + default: *586 '404': *6 '422': *7 '403': *29 @@ -88250,9 +88393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *327 - - *328 - - *578 + - *329 + - *330 + - *580 requestBody: required: false content: @@ -88315,8 +88458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88329,9 +88472,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: &586 + default: &588 value: type: file encoding: base64 @@ -88373,8 +88516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *327 - - *328 + - *329 + - *330 - name: dir description: The alternate path to look for a README file in: path @@ -88394,9 +88537,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: *586 + default: *588 '404': *6 '422': *15 x-github: @@ -88418,8 +88561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -88429,7 +88572,7 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: default: value: @@ -88523,8 +88666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -88600,9 +88743,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: &591 + default: &593 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -88707,9 +88850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *327 - - *328 - - &589 + - *329 + - *330 + - &591 name: asset_id description: The unique identifier of the asset. in: path @@ -88721,9 +88864,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *590 examples: - default: &590 + default: &592 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -88758,7 +88901,7 @@ paths: type: User site_admin: false '404': *6 - '302': *476 + '302': *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88774,9 +88917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *327 - - *328 - - *589 + - *329 + - *330 + - *591 requestBody: required: false content: @@ -88804,9 +88947,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *590 examples: - default: *590 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88822,9 +88965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *327 - - *328 - - *589 + - *329 + - *330 + - *591 responses: '204': description: Response @@ -88848,8 +88991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -88934,16 +89077,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88960,8 +89103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *327 - - *328 + - *329 + - *330 - name: tag description: tag parameter in: path @@ -88974,9 +89117,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 '404': *6 x-github: githubCloudOnly: false @@ -88998,9 +89141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *327 - - *328 - - &592 + - *329 + - *330 + - &594 name: release_id description: The unique identifier of the release. in: path @@ -89014,9 +89157,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 '401': description: Unauthorized x-github: @@ -89034,9 +89177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 requestBody: required: false content: @@ -89100,9 +89243,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *591 + default: *593 '404': description: Not Found if the discussion category name is invalid content: @@ -89123,9 +89266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 responses: '204': description: Response @@ -89145,9 +89288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 - *17 - *19 responses: @@ -89157,7 +89300,7 @@ paths: application/json: schema: type: array - items: *588 + items: *590 examples: default: value: @@ -89238,9 +89381,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 - name: name in: query required: true @@ -89266,7 +89409,7 @@ paths: description: Response for successful upload content: application/json: - schema: *588 + schema: *590 examples: response-for-successful-upload: value: @@ -89321,9 +89464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -89347,9 +89490,9 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *530 + default: *532 headers: Link: *59 '404': *6 @@ -89370,9 +89513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *327 - - *328 - - *592 + - *329 + - *330 + - *594 requestBody: required: true content: @@ -89402,16 +89545,16 @@ paths: description: Reaction exists content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '201': description: Reaction created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '422': *15 x-github: githubCloudOnly: false @@ -89433,10 +89576,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *327 - - *328 - - *592 - - *531 + - *329 + - *330 + - *594 + - *533 responses: '204': description: Response @@ -89460,9 +89603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 - *17 - *19 responses: @@ -89478,8 +89621,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *289 - - &593 + - *290 + - &595 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -89498,69 +89641,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *290 - - *593 - allOf: - *291 - - *593 + - *595 - allOf: - *292 - - *593 - - allOf: - - *594 - - *593 + - *595 - allOf: - *293 - - *593 + - *595 + - allOf: + - *596 + - *595 - allOf: - *294 - - *593 + - *595 - allOf: - *295 - - *593 + - *595 - allOf: - *296 - - *593 + - *595 - allOf: - *297 - - *593 + - *595 - allOf: - *298 - - *593 + - *595 - allOf: - *299 - - *593 + - *595 - allOf: - *300 - - *593 + - *595 - allOf: - *301 - - *593 + - *595 - allOf: - *302 - - *593 + - *595 - allOf: - *303 - - *593 + - *595 - allOf: - *304 - - *593 + - *595 - allOf: - *305 - - *593 + - *595 - allOf: - *306 - - *593 + - *595 - allOf: - *307 - - *593 + - *595 - allOf: - *308 - - *593 + - *595 - allOf: - *309 - - *593 + - *595 + - allOf: + - *310 + - *595 examples: default: value: @@ -89599,8 +89742,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - name: includes_parents @@ -89611,7 +89754,7 @@ paths: schema: type: boolean default: true - - *595 + - *597 responses: '200': description: Response @@ -89619,7 +89762,7 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: default: value: @@ -89666,8 +89809,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 requestBody: description: Request body required: true @@ -89687,16 +89830,16 @@ paths: - tag - push default: branch - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *284 + items: *288 + conditions: *285 rules: type: array description: An array of rules within the ruleset. - items: *596 + items: *598 required: - name - enforcement @@ -89727,9 +89870,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &606 + default: &608 value: id: 42 name: super cool ruleset @@ -89762,6 +89905,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 + '422': *15 '500': *113 "/repos/{owner}/{repo}/rulesets/rule-suites": get: @@ -89776,12 +89920,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *327 - - *328 - - *597 - - *598 + - *329 + - *330 - *599 - *600 + - *601 + - *602 - *17 - *19 responses: @@ -89789,9 +89933,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *602 + default: *604 '404': *6 '500': *113 x-github: @@ -89812,17 +89956,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *327 - - *328 - - *603 + - *329 + - *330 + - *605 responses: '200': description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *605 + default: *607 '404': *6 '500': *113 x-github: @@ -89850,8 +89994,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89871,9 +90015,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *606 + default: *608 '404': *6 '500': *113 put: @@ -89891,8 +90035,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89917,16 +90061,16 @@ paths: - branch - tag - push - enforcement: *286 + enforcement: *287 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *287 - conditions: *284 + items: *288 + conditions: *285 rules: description: An array of rules within the ruleset. type: array - items: *596 + items: *598 examples: default: value: @@ -89954,10 +90098,11 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *606 + default: *608 '404': *6 + '422': *15 '500': *113 delete: summary: Delete a repository ruleset @@ -89974,8 +90119,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89998,8 +90143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - name: ruleset_id @@ -90015,9 +90160,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *607 + default: *609 '404': *6 '500': *113 x-github: @@ -90036,8 +90181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90055,7 +90200,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: default: value: @@ -90110,22 +90255,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *327 - - *328 - - *609 - - *610 + - *329 + - *330 - *611 - *612 - *613 + - *614 + - *615 - *53 - *19 - *17 - - *614 - - *615 - *616 - *617 - *618 - *619 + - *620 + - *621 responses: '200': description: Response @@ -90133,7 +90278,7 @@ paths: application/json: schema: type: array - items: &623 + items: &625 type: object properties: number: *171 @@ -90152,8 +90297,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *620 - resolution: *621 + state: *622 + resolution: *623 resolved_at: type: string format: date-time @@ -90249,7 +90394,7 @@ paths: pull request. ' - oneOf: *622 + oneOf: *624 nullable: true has_more_locations: type: boolean @@ -90398,16 +90543,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *327 - - *328 - - *425 - - *619 + - *329 + - *330 + - *427 + - *621 responses: '200': description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -90461,9 +90606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 requestBody: required: true content: @@ -90471,8 +90616,8 @@ paths: schema: type: object properties: - state: *620 - resolution: *621 + state: *622 + resolution: *623 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -90506,7 +90651,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -90601,9 +90746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *327 - - *328 - - *425 + - *329 + - *330 + - *427 - *19 - *17 responses: @@ -90614,7 +90759,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &783 + items: &784 type: object properties: type: @@ -90640,8 +90785,6 @@ paths: example: commit details: oneOf: - - *624 - - *625 - *626 - *627 - *628 @@ -90653,6 +90796,8 @@ paths: - *634 - *635 - *636 + - *637 + - *638 examples: default: value: @@ -90738,8 +90883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -90747,14 +90892,14 @@ paths: schema: type: object properties: - reason: &638 + reason: &640 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *637 + placeholder_id: *639 required: - reason - placeholder_id @@ -90771,7 +90916,7 @@ paths: schema: type: object properties: - reason: *638 + reason: *640 expire_at: type: string format: date-time @@ -90817,8 +90962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -90833,7 +90978,7 @@ paths: properties: incremental_scans: type: array - items: &639 + items: &641 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90859,15 +91004,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *639 + items: *641 backfill_scans: type: array - items: *639 + items: *641 custom_pattern_backfill_scans: type: array items: allOf: - - *639 + - *641 - type: object properties: pattern_name: @@ -90937,8 +91082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *327 - - *328 + - *329 + - *330 - *53 - name: sort description: The property to sort the results by. @@ -90982,9 +91127,9 @@ paths: application/json: schema: type: array - items: *640 + items: *642 examples: - default: *641 + default: *643 '400': *14 '404': *6 x-github: @@ -91007,8 +91152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -91081,7 +91226,7 @@ paths: login: type: string description: The username of the user credited. - type: *316 + type: *317 required: - login - type @@ -91168,9 +91313,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: &643 + default: &645 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -91403,8 +91548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -91508,7 +91653,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: default: value: @@ -91655,17 +91800,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 responses: '200': description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: *643 + default: *645 '403': *29 '404': *6 x-github: @@ -91689,9 +91834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 requestBody: required: true content: @@ -91764,7 +91909,7 @@ paths: login: type: string description: The username of the user credited. - type: *316 + type: *317 required: - login - type @@ -91850,10 +91995,10 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: *643 - add_credit: *643 + default: *645 + add_credit: *645 '403': *29 '404': *6 '422': @@ -91891,9 +92036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 responses: '202': *39 '400': *14 @@ -91920,17 +92065,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *327 - - *328 - - *642 + - *329 + - *330 + - *644 responses: '202': description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 '400': *14 '422': *15 '403': *29 @@ -91956,8 +92101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -92056,8 +92201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -92066,7 +92211,7 @@ paths: application/json: schema: type: array - items: &644 + items: &646 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -92099,8 +92244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -92176,8 +92321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -92273,8 +92418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -92428,8 +92573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -92439,7 +92584,7 @@ paths: application/json: schema: type: array - items: *644 + items: *646 examples: default: value: @@ -92472,8 +92617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *327 - - *328 + - *329 + - *330 - name: sha in: path required: true @@ -92527,7 +92672,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *647 examples: default: value: @@ -92581,8 +92726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -92614,14 +92759,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &646 + schema: &648 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92689,8 +92834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -92716,7 +92861,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *648 examples: default: value: @@ -92743,8 +92888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -92764,8 +92909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -92827,160 +92972,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/tags/protection": - get: - summary: Closing down - List tag protection states for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. - - This returns the tag protection states of a repository. - - This information is only available to repository administrators. - tags: - - repos - operationId: repos/list-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository - parameters: - - *327 - - *328 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &647 - title: Tag protection - description: Tag protection - type: object - properties: - id: - type: integer - example: 2 - created_at: - type: string - example: '2011-01-26T19:01:12Z' - updated_at: - type: string - example: '2011-01-26T19:01:12Z' - enabled: - type: boolean - example: true - pattern: - type: string - example: v1.* - required: - - pattern - examples: - default: - value: - - id: 2 - pattern: v1.* - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - post: - summary: Closing down - Create a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. - - This creates a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/create-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository - parameters: - - *327 - - *328 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - pattern: - type: string - description: An optional glob pattern to match against when enforcing - tag protection. - required: - - pattern - examples: - default: - value: - pattern: v1.* - responses: - '201': - description: Response - content: - application/json: - schema: *647 - examples: - default: - value: - enabled: true - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": - delete: - summary: Closing down - Delete a tag protection state for a repository - description: |- - > [!WARNING] - > **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. - - This deletes a tag protection state for a repository. - This endpoint is only available to repository administrators. - tags: - - repos - operationId: repos/delete-tag-protection - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository - parameters: - - *327 - - *328 - - name: tag_protection_id - description: The unique identifier of the tag protection. - in: path - required: true - schema: - type: integer - responses: - '204': - description: Response - '403': *29 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: tags - deprecationDate: '2024-05-29' - removalDate: '2024-08-30' - deprecated: true "/repos/{owner}/{repo}/tarball/{ref}": get: summary: Download a repository archive (tar) @@ -92998,8 +92989,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *327 - - *328 + - *329 + - *330 - name: ref in: path required: true @@ -93035,8 +93026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -93048,7 +93039,7 @@ paths: type: array items: *190 examples: - default: *245 + default: *246 headers: Link: *59 '404': *6 @@ -93068,8 +93059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 responses: @@ -93077,7 +93068,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &649 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -93089,7 +93080,7 @@ paths: required: - names examples: - default: &649 + default: &650 value: names: - octocat @@ -93112,8 +93103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -93144,9 +93135,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *649 examples: - default: *649 + default: *650 '404': *6 '422': *7 x-github: @@ -93167,9 +93158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *327 - - *328 - - &650 + - *329 + - *330 + - &651 name: per description: The time frame to display results for. in: query @@ -93198,7 +93189,7 @@ paths: example: 128 clones: type: array - items: &651 + items: &652 title: Traffic type: object properties: @@ -93285,8 +93276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -93376,8 +93367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -93437,9 +93428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *327 - - *328 - - *650 + - *329 + - *330 + - *651 responses: '200': description: Response @@ -93458,7 +93449,7 @@ paths: example: 3782 views: type: array - items: *651 + items: *652 required: - uniques - count @@ -93535,8 +93526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -93810,8 +93801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -93834,8 +93825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -93857,8 +93848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -93884,8 +93875,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *327 - - *328 + - *329 + - *330 - name: ref in: path required: true @@ -93977,9 +93968,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94227,7 +94218,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &652 + text_matches: &653 title: Search Result Text Matches type: array items: @@ -94389,7 +94380,7 @@ paths: enum: - author-date - committer-date - - &653 + - &654 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -94460,7 +94451,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *394 nullable: true comment_count: type: integer @@ -94480,7 +94471,7 @@ paths: url: type: string format: uri - verification: *513 + verification: *515 required: - author - committer @@ -94499,7 +94490,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *394 nullable: true parents: type: array @@ -94517,7 +94508,7 @@ paths: type: number node_id: type: string - text_matches: *652 + text_matches: *653 required: - sha - node_id @@ -94709,7 +94700,7 @@ paths: - interactions - created - updated - - *653 + - *654 - *17 - *19 - name: advanced_search @@ -94806,11 +94797,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: type: string state_reason: @@ -94827,8 +94818,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *265 - required: *266 + properties: *266 + required: *267 nullable: true comments: type: integer @@ -94842,7 +94833,7 @@ paths: type: string format: date-time nullable: true - text_matches: *652 + text_matches: *653 pull_request: type: object properties: @@ -94886,7 +94877,7 @@ paths: timeline_url: type: string format: uri - type: *228 + type: *229 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -95075,7 +95066,7 @@ paths: enum: - created - updated - - *653 + - *654 - *17 - *19 responses: @@ -95119,7 +95110,7 @@ paths: nullable: true score: type: number - text_matches: *652 + text_matches: *653 required: - id - node_id @@ -95204,7 +95195,7 @@ paths: - forks - help-wanted-issues - updated - - *653 + - *654 - *17 - *19 responses: @@ -95452,7 +95443,7 @@ paths: - admin - pull - push - text_matches: *652 + text_matches: *653 temp_clone_token: type: string allow_merge_commit: @@ -95752,7 +95743,7 @@ paths: type: string format: uri nullable: true - text_matches: *652 + text_matches: *653 related: type: array nullable: true @@ -95943,7 +95934,7 @@ paths: - followers - repositories - joined - - *653 + - *654 - *17 - *19 responses: @@ -96047,7 +96038,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *652 + text_matches: *653 blog: type: string nullable: true @@ -96126,7 +96117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &657 + - &658 name: team_id description: The unique identifier of the team. in: path @@ -96138,9 +96129,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 x-github: githubCloudOnly: false @@ -96167,7 +96158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *657 + - *658 requestBody: required: true content: @@ -96230,16 +96221,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '201': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 '404': *6 '422': *15 '403': *29 @@ -96267,7 +96258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *657 + - *658 responses: '204': description: Response @@ -96296,7 +96287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *657 + - *658 - *17 - *19 responses: @@ -96306,9 +96297,9 @@ paths: application/json: schema: type: array - items: *225 + items: *226 examples: - default: *226 + default: *227 headers: Link: *59 x-github: @@ -96334,7 +96325,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *657 + - *658 - name: role description: Filters members returned by their role in the team. in: query @@ -96385,7 +96376,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96422,7 +96413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96462,7 +96453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96499,16 +96490,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *657 + - *658 - *63 responses: '200': description: Response content: application/json: - schema: *326 + schema: *328 examples: - response-if-user-is-a-team-maintainer: *658 + response-if-user-is-a-team-maintainer: *659 '404': *6 x-github: githubCloudOnly: false @@ -96541,7 +96532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *657 + - *658 - *63 requestBody: required: false @@ -96567,9 +96558,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *328 examples: - response-if-users-membership-with-team-is-now-pending: *659 + response-if-users-membership-with-team-is-now-pending: *660 '403': description: Forbidden if team synchronization is set up '422': @@ -96603,7 +96594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *657 + - *658 - *63 responses: '204': @@ -96631,7 +96622,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *657 + - *658 - *17 - *19 responses: @@ -96643,7 +96634,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 '404': *6 @@ -96673,15 +96664,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *657 - - *327 - - *328 + - *658 + - *329 + - *330 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *660 + schema: *661 examples: alternative-response-with-extra-repository-information: value: @@ -96832,9 +96823,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *657 - - *327 - - *328 + - *658 + - *329 + - *330 requestBody: required: false content: @@ -96884,9 +96875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *657 - - *327 - - *328 + - *658 + - *329 + - *330 responses: '204': description: Response @@ -96911,7 +96902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *657 + - *658 - *17 - *19 responses: @@ -96923,7 +96914,7 @@ paths: type: array items: *190 examples: - response-if-child-teams-exist: *661 + response-if-child-teams-exist: *662 headers: Link: *59 '404': *6 @@ -96956,7 +96947,7 @@ paths: application/json: schema: oneOf: - - &663 + - &664 title: Private User description: Private User type: object @@ -97159,7 +97150,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *662 + - *663 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97312,7 +97303,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *664 examples: default: value: @@ -97515,9 +97506,9 @@ paths: type: integer codespaces: type: array - items: *233 + items: *234 examples: - default: *234 + default: *235 '304': *37 '500': *113 '401': *25 @@ -97656,17 +97647,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '401': *25 '403': *29 '404': *6 @@ -97710,7 +97701,7 @@ paths: type: integer secrets: type: array - items: &664 + items: &665 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97750,7 +97741,7 @@ paths: - visibility - selected_repositories_url examples: - default: *451 + default: *453 headers: Link: *59 x-github: @@ -97826,7 +97817,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: default: value: @@ -97972,7 +97963,7 @@ paths: type: array items: *153 examples: - default: *665 + default: *666 '401': *25 '403': *29 '404': *6 @@ -98116,15 +98107,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '304': *37 '500': *113 '401': *25 @@ -98150,7 +98141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 requestBody: required: false content: @@ -98180,9 +98171,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '401': *25 '403': *29 '404': *6 @@ -98204,7 +98195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '202': *39 '304': *37 @@ -98233,13 +98224,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '202': description: Response content: application/json: - schema: &666 + schema: &667 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98280,7 +98271,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &667 + default: &668 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98312,7 +98303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *235 + - *236 - name: export_id in: path required: true @@ -98325,9 +98316,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: *667 + default: *668 '404': *6 x-github: githubCloudOnly: false @@ -98348,7 +98339,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *235 + - *236 responses: '200': description: Response @@ -98364,9 +98355,9 @@ paths: type: integer machines: type: array - items: *668 + items: *669 examples: - default: *669 + default: *670 '304': *37 '500': *113 '401': *25 @@ -98395,7 +98386,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *235 + - *236 requestBody: required: true content: @@ -98445,13 +98436,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *330 + repository: *332 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *449 - required: *450 + properties: *451 + required: *452 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -99225,15 +99216,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '304': *37 '500': *113 '400': *14 @@ -99265,15 +99256,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *448 + default: *450 '500': *113 '401': *25 '403': *29 @@ -99303,9 +99294,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: &680 + default: &681 value: - id: 197 name: hello_docker @@ -99406,7 +99397,7 @@ paths: application/json: schema: type: array - items: &670 + items: &671 title: Email description: Email type: object @@ -99471,9 +99462,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: &682 + default: &683 value: - email: octocat@github.com verified: true @@ -99548,7 +99539,7 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: default: value: @@ -99804,7 +99795,7 @@ paths: application/json: schema: type: array - items: &671 + items: &672 title: GPG Key description: A unique encryption key type: object @@ -99935,7 +99926,7 @@ paths: - subkeys - revoked examples: - default: &698 + default: &699 value: - id: 3 name: Octocat's GPG Key @@ -100020,9 +100011,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: - default: &672 + default: &673 value: id: 3 name: Octocat's GPG Key @@ -100079,7 +100070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &673 + - &674 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100091,9 +100082,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *672 examples: - default: *672 + default: *673 '404': *6 '304': *37 '403': *29 @@ -100116,7 +100107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *673 + - *674 responses: '204': description: Response @@ -100394,12 +100385,12 @@ paths: application/json: schema: anyOf: - - *223 + - *224 - type: object properties: {} additionalProperties: false examples: - default: *224 + default: *225 '204': description: Response when there are no restrictions x-github: @@ -100423,7 +100414,7 @@ paths: required: true content: application/json: - schema: *524 + schema: *526 examples: default: value: @@ -100434,7 +100425,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *224 examples: default: value: @@ -100515,7 +100506,7 @@ paths: - closed - all default: open - - *231 + - *232 - name: sort description: What to sort results by. in: query @@ -100540,7 +100531,7 @@ paths: type: array items: *77 examples: - default: *232 + default: *233 headers: Link: *59 '404': *6 @@ -100573,7 +100564,7 @@ paths: application/json: schema: type: array - items: &674 + items: &675 title: Key description: Key type: object @@ -100674,9 +100665,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *675 examples: - default: &675 + default: &676 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100709,15 +100700,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *559 responses: '200': description: Response content: application/json: - schema: *674 + schema: *675 examples: - default: *675 + default: *676 '404': *6 '304': *37 '403': *29 @@ -100740,7 +100731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *559 responses: '204': description: Response @@ -100773,7 +100764,7 @@ paths: application/json: schema: type: array - items: &676 + items: &677 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100841,7 +100832,7 @@ paths: - account - plan examples: - default: &677 + default: &678 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100903,9 +100894,9 @@ paths: application/json: schema: type: array - items: *676 + items: *677 examples: - default: *677 + default: *678 headers: Link: *59 '304': *37 @@ -100945,7 +100936,7 @@ paths: application/json: schema: type: array - items: *237 + items: *238 examples: default: value: @@ -101059,7 +101050,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -101146,7 +101137,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -101218,7 +101209,7 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: default: value: @@ -101471,7 +101462,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -101651,7 +101642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *240 + - *241 - name: exclude in: query required: false @@ -101664,7 +101655,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -101858,7 +101849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *240 + - *241 responses: '302': description: Response @@ -101884,7 +101875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *240 + - *241 responses: '204': description: Response @@ -101913,8 +101904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *240 - - *678 + - *241 + - *679 responses: '204': description: Response @@ -101938,7 +101929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *240 + - *241 - *17 - *19 responses: @@ -101950,7 +101941,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 '404': *6 @@ -102029,7 +102020,7 @@ paths: - docker - nuget - container - - *679 + - *680 - *19 - *17 responses: @@ -102039,10 +102030,10 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *680 - '400': *681 + default: *681 + '400': *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102062,16 +102053,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *248 - *249 + - *250 responses: '200': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: &699 + default: &700 value: id: 40201 name: octo-name @@ -102184,8 +102175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *248 - *249 + - *250 responses: '204': description: Response @@ -102215,8 +102206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *248 - *249 + - *250 - name: token description: package token schema: @@ -102248,8 +102239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *248 - *249 + - *250 - *19 - *17 - name: state @@ -102269,7 +102260,7 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: default: value: @@ -102318,15 +102309,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: default: value: @@ -102362,9 +102353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 responses: '204': description: Response @@ -102394,9 +102385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 responses: '204': description: Response @@ -102433,9 +102424,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: *682 + default: *683 headers: Link: *59 '304': *37 @@ -102548,7 +102539,7 @@ paths: type: array items: *71 examples: - default: &689 + default: &690 summary: Default response value: - id: 1296269 @@ -102852,9 +102843,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *332 + default: *334 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102892,9 +102883,9 @@ paths: application/json: schema: type: array - items: *526 + items: *528 examples: - default: *683 + default: *684 headers: Link: *59 '304': *37 @@ -102917,7 +102908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *227 + - *228 responses: '204': description: Response @@ -102940,7 +102931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *227 + - *228 responses: '204': description: Response @@ -102973,7 +102964,7 @@ paths: application/json: schema: type: array - items: &684 + items: &685 title: Social account description: Social media account type: object @@ -102988,7 +102979,7 @@ paths: - provider - url examples: - default: &685 + default: &686 value: - provider: twitter url: https://twitter.com/github @@ -103050,9 +103041,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *685 + default: *686 '422': *15 '304': *37 '404': *6 @@ -103139,7 +103130,7 @@ paths: application/json: schema: type: array - items: &686 + items: &687 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103159,7 +103150,7 @@ paths: - title - created_at examples: - default: &717 + default: &718 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -103223,9 +103214,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: &687 + default: &688 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -103255,7 +103246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &688 + - &689 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103267,9 +103258,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *687 examples: - default: *687 + default: *688 '404': *6 '304': *37 '403': *29 @@ -103292,7 +103283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *688 + - *689 responses: '204': description: Response @@ -103321,7 +103312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &718 + - &719 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -103346,11 +103337,11 @@ paths: type: array items: *71 examples: - default-response: *689 + default-response: *690 application/vnd.github.v3.star+json: schema: type: array - items: &719 + items: &720 title: Starred Repository description: Starred Repository type: object @@ -103506,8 +103497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response if this repository is starred by you @@ -103535,8 +103526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -103560,8 +103551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -103596,7 +103587,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 '304': *37 @@ -103633,7 +103624,7 @@ paths: application/json: schema: type: array - items: *324 + items: *325 examples: default: value: @@ -103719,10 +103710,10 @@ paths: application/json: schema: oneOf: + - *664 - *663 - - *662 examples: - default-response: &693 + default-response: &694 summary: Default response value: login: octocat @@ -103757,7 +103748,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &694 + response-with-git-hub-plan-information: &695 summary: Response with GitHub plan information value: login: octocat @@ -103814,14 +103805,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &691 + - &692 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *264 + - *265 requestBody: required: true description: Details of the draft item to create in the project. @@ -103855,9 +103846,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: - draft_issue: *271 + draft_issue: *272 '304': *37 '403': *29 '401': *25 @@ -103880,7 +103871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *690 + - *691 - *17 responses: '200': @@ -103915,8 +103906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *691 - - *264 + - *692 + - *265 requestBody: required: true content: @@ -103987,17 +103978,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *692 + schema: *693 examples: table_view: summary: Response for creating a table view - value: *275 + value: *276 board_view: summary: Response for creating a board view with filter - value: *275 + value: *276 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *276 '304': *37 '403': *29 '401': *25 @@ -104039,11 +104030,11 @@ paths: application/json: schema: oneOf: + - *664 - *663 - - *662 examples: - default-response: *693 - response-with-git-hub-plan-information: *694 + default-response: *694 + response-with-git-hub-plan-information: *695 '404': *6 x-github: githubCloudOnly: false @@ -104093,8 +104084,8 @@ paths: required: - subject_digests examples: - default: *695 - withPredicateType: *696 + default: *696 + withPredicateType: *697 responses: '200': description: Response @@ -104147,7 +104138,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *697 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104352,7 +104343,7 @@ paths: initiator: type: string examples: - default: *388 + default: *390 '201': description: Response content: @@ -104391,9 +104382,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *680 + default: *681 '403': *29 '401': *25 x-github: @@ -104777,9 +104768,9 @@ paths: application/json: schema: type: array - items: *671 + items: *672 examples: - default: *698 + default: *699 headers: Link: *59 x-github: @@ -104883,7 +104874,7 @@ paths: application/json: schema: *22 examples: - default: *523 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105007,7 +104998,7 @@ paths: - docker - nuget - container - - *679 + - *680 - *63 - *19 - *17 @@ -105018,12 +105009,12 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *680 + default: *681 '403': *29 '401': *25 - '400': *681 + '400': *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105043,17 +105034,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *248 - *249 + - *250 - *63 responses: '200': description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *699 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105074,8 +105065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *248 - *249 + - *250 - *63 responses: '204': @@ -105108,8 +105099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *248 - *249 + - *250 - *63 - name: token description: package token @@ -105142,8 +105133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *248 - *249 + - *250 - *63 responses: '200': @@ -105152,7 +105143,7 @@ paths: application/json: schema: type: array - items: *250 + items: *251 examples: default: value: @@ -105210,16 +105201,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *248 - *249 - - *251 + - *250 + - *252 - *63 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: default: value: @@ -105254,10 +105245,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *248 - *249 + - *250 - *63 - - *251 + - *252 responses: '204': description: Response @@ -105289,10 +105280,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *248 - *249 + - *250 - *63 - - *251 + - *252 responses: '204': description: Response @@ -105333,9 +105324,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 headers: Link: *59 '304': *37 @@ -105357,16 +105348,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *264 + - *265 - *63 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *263 + default: *264 headers: Link: *59 '304': *37 @@ -105388,7 +105379,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *264 + - *265 - *63 - *17 - *45 @@ -105400,9 +105391,9 @@ paths: application/json: schema: type: array - items: *268 + items: *269 examples: - default: *700 + default: *701 headers: Link: *59 '304': *37 @@ -105424,7 +105415,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *63 - - *264 + - *265 requestBody: required: true content: @@ -105462,7 +105453,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *701 + items: *702 required: - name - data_type @@ -105478,7 +105469,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *702 + iteration_configuration: *703 required: - name - data_type @@ -105500,20 +105491,20 @@ paths: value: name: Due date data_type: date - single_select_field: *703 - iteration_field: *704 + single_select_field: *704 + iteration_field: *705 responses: '201': description: Response content: application/json: - schema: *268 + schema: *269 examples: - text_field: *705 - number_field: *706 - date_field: *707 - single_select_field: *708 - iteration_field: *709 + text_field: *706 + number_field: *707 + date_field: *708 + single_select_field: *709 + iteration_field: *710 '304': *37 '403': *29 '401': *25 @@ -105534,17 +105525,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *264 - - *710 + - *265 + - *711 - *63 responses: '200': description: Response content: application/json: - schema: *268 + schema: *269 examples: - default: *711 + default: *712 headers: Link: *59 '304': *37 @@ -105567,7 +105558,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *264 + - *265 - *63 - *45 - *46 @@ -105600,9 +105591,9 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -105624,7 +105615,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *264 + - *265 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -105694,22 +105685,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *271 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *272 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *272 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *272 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *272 '304': *37 '403': *29 '401': *25 @@ -105729,9 +105720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *264 + - *265 - *63 - - *274 + - *275 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105751,9 +105742,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -105774,9 +105765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *264 + - *265 - *63 - - *274 + - *275 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105846,13 +105837,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *274 + number_field: *274 + date_field: *274 + single_select_field: *274 + iteration_field: *274 '401': *25 '403': *29 '404': *6 @@ -105872,9 +105863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *264 + - *265 - *63 - - *274 + - *275 responses: '204': description: Response @@ -105896,9 +105887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *264 + - *265 - *63 - - *712 + - *713 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -105924,9 +105915,9 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: - default: *273 + default: *274 headers: Link: *59 '304': *37 @@ -106147,7 +106138,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -106173,7 +106164,7 @@ paths: - *116 - *118 - *117 - - *713 + - *714 - *119 responses: '200': @@ -106304,7 +106295,7 @@ paths: parameters: - *63 - *116 - - *714 + - *715 - *117 responses: '200': @@ -106403,9 +106394,9 @@ paths: - *116 - *118 - *117 - - *715 - - *119 - *716 + - *119 + - *717 responses: '200': description: Response when getting a billing usage summary @@ -106539,9 +106530,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *685 + default: *686 headers: Link: *59 x-github: @@ -106571,9 +106562,9 @@ paths: application/json: schema: type: array - items: *686 + items: *687 examples: - default: *717 + default: *718 headers: Link: *59 x-github: @@ -106598,7 +106589,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *63 - - *718 + - *719 - *53 - *17 - *19 @@ -106610,11 +106601,11 @@ paths: schema: anyOf: - type: array - items: *719 + items: *720 - type: array items: *71 examples: - default-response: *689 + default-response: *690 headers: Link: *59 x-github: @@ -106645,7 +106636,7 @@ paths: type: array items: *153 examples: - default: *252 + default: *253 headers: Link: *59 x-github: @@ -106773,7 +106764,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &720 + enterprise: &721 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106831,7 +106822,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &721 + installation: &722 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106850,7 +106841,7 @@ x-webhooks: required: - id - node_id - organization: &722 + organization: &723 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106910,13 +106901,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &723 + repository: &724 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &755 + properties: &756 id: description: Unique identifier of the repository example: 42 @@ -107611,7 +107602,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &756 + required: &757 - archive_url - assignees_url - blobs_url @@ -107762,10 +107753,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -107841,11 +107832,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: &724 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + rule: &725 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -108068,11 +108059,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + rule: *725 sender: *4 required: - action @@ -108255,11 +108246,11 @@ x-webhooks: - everyone required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + rule: *725 sender: *4 required: - action @@ -108343,7 +108334,7 @@ x-webhooks: type: string enum: - completed - check_run: &726 + check_run: &727 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108434,7 +108425,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *725 + deployment: *726 details_url: example: https://example.com type: string @@ -108519,10 +108510,10 @@ x-webhooks: - output - app - pull_requests - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 sender: *4 required: - check_run @@ -108913,11 +108904,11 @@ x-webhooks: type: string enum: - created - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *727 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 sender: *4 required: - check_run @@ -109311,11 +109302,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *727 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 requested_action: description: The action requested by the user. type: object @@ -109718,11 +109709,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *727 + installation: *722 + enterprise: *721 + organization: *723 + repository: *724 sender: *4 required: - check_run @@ -110692,10 +110683,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -111384,10 +111375,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -112070,10 +112061,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -112239,7 +112230,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112384,20 +112375,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &727 + commit_oid: &728 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *720 - installation: *721 - organization: *722 - ref: &728 + enterprise: *721 + installation: *722 + organization: *723 + ref: &729 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *723 + repository: *724 sender: *4 required: - action @@ -112562,7 +112553,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112792,12 +112783,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -112892,7 +112883,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113063,12 +113054,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -113234,7 +113225,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113400,12 +113391,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -113504,7 +113495,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113679,16 +113670,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *723 + repository: *724 sender: *4 required: - action @@ -113785,7 +113776,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113925,12 +113916,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *728 + enterprise: *721 + installation: *722 + organization: *723 + ref: *729 + repository: *724 sender: *4 required: - action @@ -114096,7 +114087,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *422 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -114241,10 +114232,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -114499,10 +114490,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -114582,18 +114573,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *722 - pusher_type: &729 + organization: *723 + pusher_type: &730 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &730 + ref: &731 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -114603,7 +114594,7 @@ x-webhooks: enum: - tag - branch - repository: *723 + repository: *724 sender: *4 required: - ref @@ -114685,10 +114676,10 @@ x-webhooks: type: string enum: - created - definition: *276 - enterprise: *720 - installation: *721 - organization: *722 + definition: *277 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -114773,9 +114764,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -114852,10 +114843,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *276 - enterprise: *720 - installation: *721 - organization: *722 + definition: *277 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -114932,10 +114923,10 @@ x-webhooks: type: string enum: - updated - definition: *276 - enterprise: *720 - installation: *721 - organization: *722 + definition: *277 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -115012,19 +115003,19 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - repository: *723 - organization: *722 + enterprise: *721 + installation: *722 + repository: *724 + organization: *723 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *280 + items: *281 old_property_values: type: array description: The old custom property values for the repository. - items: *280 + items: *281 required: - action - repository @@ -115100,18 +115091,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - pusher_type: *729 - ref: *730 + enterprise: *721 + installation: *722 + organization: *723 + pusher_type: *730 + ref: *731 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *723 + repository: *724 sender: *4 required: - ref @@ -115156,7 +115147,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115191,11 +115182,11 @@ x-webhooks: type: string enum: - assignees_changed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115240,7 +115231,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115275,11 +115266,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115325,7 +115316,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115360,11 +115351,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115410,7 +115401,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115445,11 +115436,11 @@ x-webhooks: type: string enum: - created - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115493,7 +115484,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115528,11 +115519,11 @@ x-webhooks: type: string enum: - dismissed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115576,7 +115567,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115611,11 +115602,11 @@ x-webhooks: type: string enum: - fixed - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115660,7 +115651,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115695,11 +115686,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115743,7 +115734,7 @@ x-webhooks: type: string - name: X-Github-Event in: header - example: issues + example: dependabot_alert schema: type: string - name: X-Github-Hook-Installation-Target-Id @@ -115778,11 +115769,11 @@ x-webhooks: type: string enum: - reopened - alert: *482 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *484 + installation: *722 + organization: *723 + enterprise: *721 + repository: *724 sender: *4 required: - action @@ -115859,9 +115850,9 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - key: &731 + enterprise: *721 + installation: *722 + key: &732 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115897,8 +115888,8 @@ x-webhooks: - verified - created_at - read_only - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -115975,11 +115966,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - key: *731 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + key: *732 + organization: *723 + repository: *724 sender: *4 required: - action @@ -116535,12 +116526,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: &737 + workflow: &738 title: Workflow type: object nullable: true @@ -117281,15 +117272,15 @@ x-webhooks: description: A request for a specific ref(branch,sha,tag) to be deployed type: object - properties: *732 - required: *733 + properties: *733 + required: *734 nullable: true pull_requests: type: array - items: *576 - repository: *723 - organization: *722 - installation: *721 + items: *578 + repository: *724 + organization: *723 + installation: *722 sender: *4 responses: '200': @@ -117360,7 +117351,7 @@ x-webhooks: type: string enum: - approved - approver: &734 + approver: &735 type: object properties: avatar_url: @@ -117403,11 +117394,11 @@ x-webhooks: type: string comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: &735 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + reviewers: &736 type: array items: type: object @@ -117486,7 +117477,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &736 + workflow_job_run: &737 type: object properties: conclusion: @@ -118217,18 +118208,18 @@ x-webhooks: type: string enum: - rejected - approver: *734 + approver: *735 comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: *735 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + reviewers: *736 sender: *4 since: type: string - workflow_job_run: *736 + workflow_job_run: *737 workflow_job_runs: type: array items: @@ -118932,13 +118923,13 @@ x-webhooks: type: string enum: - requested - enterprise: *720 + enterprise: *721 environment: type: string - installation: *721 - organization: *722 - repository: *723 - requestor: &742 + installation: *722 + organization: *723 + repository: *724 + requestor: &743 title: User type: object nullable: true @@ -120827,12 +120818,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Deployment Workflow Run type: object @@ -121512,7 +121503,7 @@ x-webhooks: type: string enum: - answered - answer: &740 + answer: &741 type: object properties: author_association: @@ -121669,11 +121660,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -121800,11 +121791,11 @@ x-webhooks: - from required: - category - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -121887,11 +121878,11 @@ x-webhooks: type: string enum: - closed - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -121973,7 +121964,7 @@ x-webhooks: type: string enum: - created - comment: &739 + comment: &740 type: object properties: author_association: @@ -122130,11 +122121,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122217,12 +122208,12 @@ x-webhooks: type: string enum: - deleted - comment: *739 - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *740 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122317,12 +122308,12 @@ x-webhooks: - from required: - body - comment: *739 - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *740 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122406,11 +122397,11 @@ x-webhooks: type: string enum: - created - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122492,11 +122483,11 @@ x-webhooks: type: string enum: - deleted - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122596,11 +122587,11 @@ x-webhooks: type: string required: - from - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122682,10 +122673,10 @@ x-webhooks: type: string enum: - labeled - discussion: *738 - enterprise: *720 - installation: *721 - label: &741 + discussion: *739 + enterprise: *721 + installation: *722 + label: &742 title: Label type: object properties: @@ -122717,8 +122708,8 @@ x-webhooks: - color - default - description - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122801,11 +122792,11 @@ x-webhooks: type: string enum: - locked - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122887,11 +122878,11 @@ x-webhooks: type: string enum: - pinned - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -122973,11 +122964,11 @@ x-webhooks: type: string enum: - reopened - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123062,16 +123053,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *738 - new_repository: *723 + new_discussion: *739 + new_repository: *724 required: - new_discussion - new_repository - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123154,10 +123145,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *738 - old_answer: *740 - organization: *722 - repository: *723 + discussion: *739 + old_answer: *741 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123239,12 +123230,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *738 - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123327,11 +123318,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123413,11 +123404,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *738 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *739 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -123490,7 +123481,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *720 + enterprise: *721 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -124150,9 +124141,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - forkee @@ -124298,9 +124289,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pages: description: The pages that were updated. type: array @@ -124337,7 +124328,7 @@ x-webhooks: - action - sha - html_url - repository: *723 + repository: *724 sender: *4 required: - pages @@ -124413,10 +124404,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: &743 + organization: *723 + repositories: &744 description: An array of repository objects that the installation can access. type: array @@ -124442,8 +124433,8 @@ x-webhooks: - name - full_name - private - repository: *723 - requester: *742 + repository: *724 + requester: *743 sender: *4 required: - action @@ -124518,11 +124509,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -124598,11 +124589,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -124678,10 +124669,10 @@ x-webhooks: type: string enum: - added - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories_added: &744 + organization: *723 + repositories_added: &745 description: An array of repository objects, which were added to the installation. type: array @@ -124727,15 +124718,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *723 - repository_selection: &745 + repository: *724 + repository_selection: &746 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *742 + requester: *743 sender: *4 required: - action @@ -124814,10 +124805,10 @@ x-webhooks: type: string enum: - removed - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories_added: *744 + organization: *723 + repositories_added: *745 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124844,9 +124835,9 @@ x-webhooks: - name - full_name - private - repository: *723 - repository_selection: *745 - requester: *742 + repository: *724 + repository_selection: *746 + requester: *743 sender: *4 required: - action @@ -124925,11 +124916,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -125107,10 +125098,10 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 target_type: type: string @@ -125189,11 +125180,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *720 + enterprise: *721 installation: *22 - organization: *722 - repositories: *743 - repository: *723 + organization: *723 + repositories: *744 + repository: *724 requester: nullable: true sender: *4 @@ -125367,8 +125358,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *553 - required: *554 + properties: *555 + required: *556 nullable: true user: title: User @@ -125453,8 +125444,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126243,8 +126234,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126260,7 +126251,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -126593,8 +126584,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -126674,7 +126665,7 @@ x-webhooks: type: string enum: - deleted - comment: &746 + comment: &747 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126831,8 +126822,8 @@ x-webhooks: description: Context around who pinned an issue comment and when it was pinned. type: object - properties: *553 - required: *554 + properties: *555 + required: *556 nullable: true required: - url @@ -126847,8 +126838,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127633,8 +127624,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127650,7 +127641,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -127985,8 +127976,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -128066,7 +128057,7 @@ x-webhooks: type: string enum: - edited - changes: &775 + changes: &776 description: The changes to the comment. type: object properties: @@ -128078,9 +128069,9 @@ x-webhooks: type: string required: - from - comment: *746 - enterprise: *720 - installation: *721 + comment: *747 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128868,8 +128859,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128885,7 +128876,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -129218,8 +129209,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -129300,9 +129291,9 @@ x-webhooks: type: string enum: - pinned - comment: *746 - enterprise: *720 - installation: *721 + comment: *747 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130092,8 +130083,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130109,7 +130100,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -130444,8 +130435,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -130525,9 +130516,9 @@ x-webhooks: type: string enum: - unpinned - comment: *746 - enterprise: *720 - installation: *721 + comment: *747 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131317,8 +131308,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131334,7 +131325,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -131669,8 +131660,8 @@ x-webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -131759,9 +131750,9 @@ x-webhooks: type: number blocking_issue: *77 blocking_issue_repo: *71 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -131850,9 +131841,9 @@ x-webhooks: type: number blocking_issue: *77 blocking_issue_repo: *71 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -131940,9 +131931,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -132031,9 +132022,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -132113,10 +132104,10 @@ x-webhooks: type: string enum: - assigned - assignee: *742 - enterprise: *720 - installation: *721 - issue: &749 + assignee: *743 + enterprise: *721 + installation: *722 + issue: &750 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132908,11 +132899,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132928,7 +132919,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -133029,8 +133020,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -133110,8 +133101,8 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133908,11 +133899,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133928,7 +133919,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -134164,8 +134155,8 @@ x-webhooks: required: - state - closed_at - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -134244,8 +134235,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135033,11 +135024,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135053,7 +135044,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -135153,8 +135144,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -135233,8 +135224,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136044,11 +136035,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136064,7 +136055,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -136143,7 +136134,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &747 + milestone: &748 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136281,8 +136272,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -136381,8 +136372,8 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137174,11 +137165,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137191,7 +137182,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *228 + type: *229 title: description: Title of the issue type: string @@ -137295,9 +137286,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *741 - organization: *722 - repository: *723 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -137377,8 +137368,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138169,11 +138160,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138186,7 +138177,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *228 + type: *229 title: description: Title of the issue type: string @@ -138290,9 +138281,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *741 - organization: *722 - repository: *723 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -138372,8 +138363,8 @@ x-webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139188,11 +139179,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139205,7 +139196,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *228 + type: *229 title: description: Title of the issue type: string @@ -139286,8 +139277,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -139366,8 +139357,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140176,11 +140167,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140196,7 +140187,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -140274,9 +140265,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *747 - organization: *722 - repository: *723 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -141139,11 +141130,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141244,7 +141235,7 @@ x-webhooks: required: - login - id - type: *228 + type: *229 required: - id - number @@ -141724,8 +141715,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142509,11 +142500,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142529,7 +142520,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -142637,8 +142628,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -142718,9 +142709,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *720 - installation: *721 - issue: &748 + enterprise: *721 + installation: *722 + issue: &749 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143506,11 +143497,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143526,7 +143517,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -143626,8 +143617,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -143706,8 +143697,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144520,11 +144511,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144618,9 +144609,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *228 - organization: *722 - repository: *723 + type: *229 + organization: *723 + repository: *724 sender: *4 required: - action @@ -145489,11 +145480,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145509,7 +145500,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -146088,11 +146079,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *720 - installation: *721 - issue: *748 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *749 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146172,12 +146163,12 @@ x-webhooks: type: string enum: - typed - enterprise: *720 - installation: *721 - issue: *749 - type: *228 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + type: *229 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146258,7 +146249,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &778 + assignee: &779 title: User type: object nullable: true @@ -146328,11 +146319,11 @@ x-webhooks: required: - login - id - enterprise: *720 - installation: *721 - issue: *749 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146411,12 +146402,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - issue: *749 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -146496,8 +146487,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147310,11 +147301,11 @@ x-webhooks: properties: *78 required: *79 nullable: true - sub_issues_summary: *654 - issue_dependencies_summary: *655 + sub_issues_summary: *655 + issue_dependencies_summary: *656 issue_field_values: type: array - items: *656 + items: *657 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147330,7 +147321,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *228 + type: *229 updated_at: type: string format: date-time @@ -147408,8 +147399,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147489,11 +147480,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *720 - installation: *721 - issue: *748 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *749 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147572,12 +147563,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *720 - installation: *721 - issue: *749 - type: *228 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + issue: *750 + type: *229 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147657,11 +147648,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147739,11 +147730,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147853,11 +147844,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - label: *741 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + label: *742 + organization: *723 + repository: *724 sender: *4 required: - action @@ -147939,9 +147930,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: &750 + enterprise: *721 + installation: *722 + marketplace_purchase: &751 title: Marketplace Purchase type: object required: @@ -148024,8 +148015,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: &751 + organization: *723 + previous_marketplace_purchase: &752 title: Marketplace Purchase type: object properties: @@ -148105,7 +148096,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *724 sender: *4 required: - action @@ -148185,10 +148176,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *750 - organization: *722 + enterprise: *721 + installation: *722 + marketplace_purchase: *751 + organization: *723 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148271,7 +148262,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *724 sender: *4 required: - action @@ -148353,10 +148344,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *750 - organization: *722 + enterprise: *721 + installation: *722 + marketplace_purchase: *751 + organization: *723 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148438,7 +148429,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *724 sender: *4 required: - action @@ -148519,8 +148510,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 marketplace_purchase: title: Marketplace Purchase type: object @@ -148602,9 +148593,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: *751 - repository: *723 + organization: *723 + previous_marketplace_purchase: *752 + repository: *724 sender: *4 required: - action @@ -148684,12 +148675,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *750 - organization: *722 - previous_marketplace_purchase: *751 - repository: *723 + enterprise: *721 + installation: *722 + marketplace_purchase: *751 + organization: *723 + previous_marketplace_purchase: *752 + repository: *724 sender: *4 required: - action @@ -148791,11 +148782,11 @@ x-webhooks: type: string required: - to - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 sender: *4 required: - action @@ -148895,11 +148886,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 sender: *4 required: - action @@ -148978,11 +148969,11 @@ x-webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149060,11 +149051,11 @@ x-webhooks: type: string enum: - added - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149140,7 +149131,7 @@ x-webhooks: required: - login - id - team: &752 + team: &753 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149363,11 +149354,11 @@ x-webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *742 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + member: *743 + organization: *723 + repository: *724 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149444,7 +149435,7 @@ x-webhooks: required: - login - id - team: *752 + team: *753 required: - action - scope @@ -149526,8 +149517,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *721 - merge_group: &754 + installation: *722 + merge_group: &755 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149546,15 +149537,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *753 + head_commit: *754 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149640,10 +149631,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *721 - merge_group: *754 - organization: *722 - repository: *723 + installation: *722 + merge_group: *755 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149716,7 +149707,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *721 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149825,16 +149816,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *721 - organization: *722 + installation: *722 + organization: *723 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -149915,11 +149906,11 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - milestone: *747 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -149998,9 +149989,9 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - milestone: &757 + enterprise: *721 + installation: *722 + milestone: &758 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150137,8 +150128,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150217,11 +150208,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - milestone: *747 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150331,11 +150322,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - milestone: *747 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *748 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150415,11 +150406,11 @@ x-webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - milestone: *757 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + milestone: *758 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150498,11 +150489,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *742 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *743 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150581,11 +150572,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *742 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *743 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150664,9 +150655,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - membership: &758 + enterprise: *721 + installation: *722 + membership: &759 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150773,8 +150764,8 @@ x-webhooks: - role - organization_url - user - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150852,11 +150843,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *720 - installation: *721 - membership: *758 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + membership: *759 + organization: *723 + repository: *724 sender: *4 required: - action @@ -150935,8 +150926,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151052,10 +151043,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 - user: *742 + user: *743 required: - action - invitation @@ -151133,11 +151124,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *720 - installation: *721 - membership: *758 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + membership: *759 + organization: *723 + repository: *724 sender: *4 required: - action @@ -151224,11 +151215,11 @@ x-webhooks: properties: from: type: string - enterprise: *720 - installation: *721 - membership: *758 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + membership: *759 + organization: *723 + repository: *724 sender: *4 required: - action @@ -151305,9 +151296,9 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 package: description: Information about the package. type: object @@ -151806,7 +151797,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &759 + items: &760 title: Ruby Gems metadata type: object properties: @@ -151901,7 +151892,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -151977,9 +151968,9 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 package: description: Information about the package. type: object @@ -152332,7 +152323,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *760 source_url: type: string format: uri @@ -152402,7 +152393,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -152578,12 +152569,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *720 + enterprise: *721 id: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - id @@ -152660,7 +152651,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &760 + personal_access_token_request: &761 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152806,10 +152797,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *720 - organization: *722 + enterprise: *721 + organization: *723 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -152886,11 +152877,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *760 - enterprise: *720 - organization: *722 + personal_access_token_request: *761 + enterprise: *721 + organization: *723 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -152966,11 +152957,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *760 - enterprise: *720 - organization: *722 + personal_access_token_request: *761 + enterprise: *721 + organization: *723 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -153045,11 +153036,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *760 - organization: *722 - enterprise: *720 + personal_access_token_request: *761 + organization: *723 + enterprise: *721 sender: *4 - installation: *721 + installation: *722 required: - action - personal_access_token_request @@ -153154,7 +153145,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *761 + last_response: *762 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153186,8 +153177,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 zen: description: Random string of GitHub zen. @@ -153432,10 +153423,10 @@ x-webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: &762 + enterprise: *721 + installation: *722 + organization: *723 + project_card: &763 title: Project Card type: object properties: @@ -153554,7 +153545,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *723 + repository: *724 sender: *4 required: - action @@ -153635,11 +153626,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_card: *762 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_card: *763 + repository: *724 sender: *4 required: - action @@ -153719,9 +153710,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 project_card: title: Project Card type: object @@ -153849,8 +153840,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -153944,11 +153935,11 @@ x-webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: *762 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_card: *763 + repository: *724 sender: *4 required: - action @@ -154042,9 +154033,9 @@ x-webhooks: - from required: - column_id - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 project_card: allOf: - title: Project Card @@ -154234,7 +154225,7 @@ x-webhooks: type: string required: - after_id - repository: *723 + repository: *724 sender: *4 required: - action @@ -154314,10 +154305,10 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - organization: *722 - project: &764 + enterprise: *721 + installation: *722 + organization: *723 + project: &765 title: Project type: object properties: @@ -154441,7 +154432,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *723 + repository: *724 sender: *4 required: - action @@ -154521,10 +154512,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_column: &763 + enterprise: *721 + installation: *722 + organization: *723 + project_column: &764 title: Project Column type: object properties: @@ -154563,7 +154554,7 @@ x-webhooks: - name - created_at - updated_at - repository: *723 + repository: *724 sender: *4 required: - action @@ -154642,18 +154633,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project_column: *763 + enterprise: *721 + installation: *722 + organization: *723 + project_column: *764 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -154743,11 +154734,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project_column: *763 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_column: *764 + repository: *724 sender: *4 required: - action @@ -154827,11 +154818,11 @@ x-webhooks: type: string enum: - moved - enterprise: *720 - installation: *721 - organization: *722 - project_column: *763 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project_column: *764 + repository: *724 sender: *4 required: - action @@ -154911,11 +154902,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project: *764 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 + repository: *724 sender: *4 required: - action @@ -154995,18 +154986,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project: *764 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *755 - required: *756 + properties: *756 + required: *757 nullable: true sender: *4 required: @@ -155108,11 +155099,11 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project: *764 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 + repository: *724 sender: *4 required: - action @@ -155191,11 +155182,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - organization: *722 - project: *764 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + project: *765 + repository: *724 sender: *4 required: - action @@ -155276,9 +155267,9 @@ x-webhooks: type: string enum: - closed - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155359,9 +155350,9 @@ x-webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155442,9 +155433,9 @@ x-webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155561,9 +155552,9 @@ x-webhooks: type: string to: type: string - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -155646,7 +155637,7 @@ x-webhooks: type: string enum: - archived - changes: &768 + changes: &769 type: object properties: archived_at: @@ -155660,9 +155651,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *721 - organization: *722 - projects_v2_item: &765 + installation: *722 + organization: *723 + projects_v2_item: &766 title: Projects v2 Item description: An item belonging to a project type: object @@ -155680,7 +155671,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *269 + content_type: *270 creator: *4 created_at: type: string @@ -155797,9 +155788,9 @@ x-webhooks: nullable: true to: type: string - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -155881,9 +155872,9 @@ x-webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -155964,9 +155955,9 @@ x-webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156072,7 +156063,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &766 + - &767 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156094,7 +156085,7 @@ x-webhooks: required: - id - name - - &767 + - &768 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156128,8 +156119,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *766 - *767 + - *768 required: - field_value - type: object @@ -156145,9 +156136,9 @@ x-webhooks: nullable: true required: - body - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156242,9 +156233,9 @@ x-webhooks: to: type: string nullable: true - installation: *721 - organization: *722 - projects_v2_item: *765 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156327,10 +156318,10 @@ x-webhooks: type: string enum: - restored - changes: *768 - installation: *721 - organization: *722 - projects_v2_item: *765 + changes: *769 + installation: *722 + organization: *723 + projects_v2_item: *766 sender: *4 required: - action @@ -156412,9 +156403,9 @@ x-webhooks: type: string enum: - reopened - installation: *721 - organization: *722 - projects_v2: *262 + installation: *722 + organization: *723 + projects_v2: *263 sender: *4 required: - action @@ -156495,14 +156486,14 @@ x-webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_status_update: &771 + installation: *722 + organization: *723 + projects_v2_status_update: &772 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *769 - required: *770 + properties: *770 + required: *771 sender: *4 required: - action @@ -156583,9 +156574,9 @@ x-webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_status_update: *771 + installation: *722 + organization: *723 + projects_v2_status_update: *772 sender: *4 required: - action @@ -156721,9 +156712,9 @@ x-webhooks: type: string format: date nullable: true - installation: *721 - organization: *722 - projects_v2_status_update: *771 + installation: *722 + organization: *723 + projects_v2_status_update: *772 sender: *4 required: - action @@ -156794,10 +156785,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - repository @@ -156874,13 +156865,13 @@ x-webhooks: type: string enum: - assigned - assignee: *742 - enterprise: *720 - installation: *721 - number: &772 + assignee: *743 + enterprise: *721 + installation: *722 + number: &773 description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -159185,7 +159176,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -159267,11 +159258,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -161571,7 +161562,7 @@ x-webhooks: - draft reason: type: string - repository: *723 + repository: *724 sender: *4 required: - action @@ -161653,11 +161644,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -163957,7 +163948,7 @@ x-webhooks: - draft reason: type: string - repository: *723 + repository: *724 sender: *4 required: - action @@ -164039,13 +164030,13 @@ x-webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: &773 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: &774 allOf: - - *576 + - *578 - type: object properties: allow_auto_merge: @@ -164107,7 +164098,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *723 + repository: *724 sender: *4 required: - action @@ -164188,12 +164179,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -164273,11 +164264,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *720 - milestone: *560 - number: *772 - organization: *722 - pull_request: &774 + enterprise: *721 + milestone: *562 + number: *773 + organization: *723 + pull_request: &775 title: Pull Request type: object properties: @@ -166562,7 +166553,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -166641,11 +166632,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -168949,7 +168940,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *723 + repository: *724 sender: *4 required: - action @@ -169073,12 +169064,12 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -169158,11 +169149,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -171451,7 +171442,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -171531,11 +171522,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 - label: *741 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + label: *742 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -173839,7 +173830,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -173920,10 +173911,10 @@ x-webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -176225,7 +176216,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -176305,12 +176296,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *720 - milestone: *560 - number: *772 - organization: *722 - pull_request: *774 - repository: *723 + enterprise: *721 + milestone: *562 + number: *773 + organization: *723 + pull_request: *775 + repository: *724 sender: *4 required: - action @@ -176389,12 +176380,12 @@ x-webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -176475,12 +176466,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -176560,12 +176551,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - number: *772 - organization: *722 - pull_request: *773 - repository: *723 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 + pull_request: *774 + repository: *724 sender: *4 required: - action @@ -176931,9 +176922,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: type: object properties: @@ -179125,7 +179116,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *724 sender: *4 required: - action @@ -179205,7 +179196,7 @@ x-webhooks: type: string enum: - deleted - comment: &776 + comment: &777 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179490,9 +179481,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: type: object properties: @@ -181672,7 +181663,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *724 sender: *4 required: - action @@ -181752,11 +181743,11 @@ x-webhooks: type: string enum: - edited - changes: *775 - comment: *776 - enterprise: *720 - installation: *721 - organization: *722 + changes: *776 + comment: *777 + enterprise: *721 + installation: *722 + organization: *723 pull_request: type: object properties: @@ -183939,7 +183930,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *724 sender: *4 required: - action @@ -184020,9 +184011,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -186217,7 +186208,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *724 review: description: The review that was affected. type: object @@ -186464,9 +186455,9 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -188520,8 +188511,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: &777 + repository: *724 + review: &778 description: The review that was affected. type: object properties: @@ -188754,12 +188745,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -191064,7 +191055,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_reviewer: title: User type: object @@ -191148,12 +191139,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -193465,7 +193456,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193657,12 +193648,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -195969,7 +195960,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_reviewer: title: User type: object @@ -196054,12 +196045,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *721 + installation: *722 number: description: The pull request number. type: integer - organization: *722 + organization: *723 pull_request: title: Pull Request type: object @@ -198357,7 +198348,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 requested_team: title: Team description: Groups of organization members that gives permissions @@ -198538,9 +198529,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -200737,8 +200728,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: *777 + repository: *724 + review: *778 sender: *4 required: - action @@ -200818,9 +200809,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -202912,7 +202903,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *724 sender: *4 thread: type: object @@ -203299,9 +203290,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 pull_request: title: Simple Pull Request type: object @@ -205379,7 +205370,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *724 sender: *4 thread: type: object @@ -205769,10 +205760,10 @@ x-webhooks: type: string before: type: string - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -208065,7 +208056,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -208147,11 +208138,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *778 - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + assignee: *779 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -210456,7 +210447,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -210535,11 +210526,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - label: *741 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + label: *742 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -212834,7 +212825,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -212915,10 +212906,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 - number: *772 - organization: *722 + enterprise: *721 + installation: *722 + number: *773 + organization: *723 pull_request: title: Pull Request type: object @@ -215205,7 +215196,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *724 sender: *4 required: - action @@ -215405,7 +215396,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *720 + enterprise: *721 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -215497,8 +215488,8 @@ x-webhooks: - url - author - committer - installation: *721 - organization: *722 + installation: *722 + organization: *723 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -216084,9 +216075,9 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 registry_package: type: object properties: @@ -216532,7 +216523,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *759 + items: *760 summary: type: string tag_name: @@ -216586,7 +216577,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -216664,9 +216655,9 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 registry_package: type: object properties: @@ -216974,7 +216965,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *760 summary: type: string tag_name: @@ -217023,7 +217014,7 @@ x-webhooks: - owner - package_version - registry - repository: *723 + repository: *724 sender: *4 required: - action @@ -217100,10 +217091,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - release: &779 + enterprise: *721 + installation: *722 + organization: *723 + release: &780 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -217421,7 +217412,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *723 + repository: *724 sender: *4 required: - action @@ -217498,11 +217489,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - release: *779 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *780 + repository: *724 sender: *4 required: - action @@ -217619,11 +217610,11 @@ x-webhooks: type: boolean required: - to - enterprise: *720 - installation: *721 - organization: *722 - release: *779 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *780 + repository: *724 sender: *4 required: - action @@ -217701,9 +217692,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -218025,7 +218016,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *723 + repository: *724 sender: *4 required: - action @@ -218101,10 +218092,10 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - release: &780 + enterprise: *721 + installation: *722 + organization: *723 + release: &781 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218423,7 +218414,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *723 + repository: *724 sender: *4 required: - action @@ -218499,11 +218490,11 @@ x-webhooks: type: string enum: - released - enterprise: *720 - installation: *721 - organization: *722 - release: *779 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *780 + repository: *724 sender: *4 required: - action @@ -218579,11 +218570,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *720 - installation: *721 - organization: *722 - release: *780 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + release: *781 + repository: *724 sender: *4 required: - action @@ -218659,11 +218650,11 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *640 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_advisory: *642 sender: *4 required: - action @@ -218739,11 +218730,11 @@ x-webhooks: type: string enum: - reported - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *640 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_advisory: *642 sender: *4 required: - action @@ -218819,10 +218810,10 @@ x-webhooks: type: string enum: - archived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -218899,10 +218890,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -218980,10 +218971,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219067,10 +219058,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219182,10 +219173,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219257,10 +219248,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 status: type: string @@ -219341,10 +219332,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219421,10 +219412,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219518,10 +219509,10 @@ x-webhooks: - name required: - repository - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -219601,11 +219592,11 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *310 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_ruleset: *311 sender: *4 required: - action @@ -219683,11 +219674,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *310 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_ruleset: *311 sender: *4 required: - action @@ -219765,11 +219756,11 @@ x-webhooks: type: string enum: - edited - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *310 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + repository_ruleset: *311 changes: type: object properties: @@ -219788,16 +219779,16 @@ x-webhooks: properties: added: type: array - items: *284 + items: *285 deleted: type: array - items: *284 + items: *285 updated: type: array items: type: object properties: - condition: *284 + condition: *285 changes: type: object properties: @@ -219830,16 +219821,16 @@ x-webhooks: properties: added: type: array - items: *596 + items: *598 deleted: type: array - items: *596 + items: *598 updated: type: array items: type: object properties: - rule: *596 + rule: *598 changes: type: object properties: @@ -220073,10 +220064,10 @@ x-webhooks: - from required: - owner - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220154,10 +220145,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220235,7 +220226,7 @@ x-webhooks: type: string enum: - create - alert: &781 + alert: &782 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -220357,10 +220348,10 @@ x-webhooks: enum: - auto_dismissed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220566,10 +220557,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220647,11 +220638,11 @@ x-webhooks: type: string enum: - reopen - alert: *781 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *782 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220850,10 +220841,10 @@ x-webhooks: enum: - fixed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -220931,7 +220922,7 @@ x-webhooks: type: string enum: - assigned - alert: &782 + alert: &783 type: object properties: number: *171 @@ -221050,10 +221041,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221131,11 +221122,11 @@ x-webhooks: type: string enum: - created - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221216,11 +221207,11 @@ x-webhooks: type: string enum: - created - alert: *782 - installation: *721 - location: *783 - organization: *722 - repository: *723 + alert: *783 + installation: *722 + location: *784 + organization: *723 + repository: *724 sender: *4 required: - location @@ -221458,11 +221449,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221540,11 +221531,11 @@ x-webhooks: type: string enum: - reopened - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221622,11 +221613,11 @@ x-webhooks: type: string enum: - resolved - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221704,12 +221695,12 @@ x-webhooks: type: string enum: - unassigned - alert: *782 + alert: *783 assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221787,11 +221778,11 @@ x-webhooks: type: string enum: - validated - alert: *782 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *783 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -221917,10 +221908,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *723 - enterprise: *720 - installation: *721 - organization: *722 + repository: *724 + enterprise: *721 + installation: *722 + organization: *723 sender: *4 required: - action @@ -221998,11 +221989,11 @@ x-webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: &784 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + security_advisory: &785 description: The details of the security advisory, including summary, description, and severity. type: object @@ -222185,11 +222176,11 @@ x-webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: *784 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 + security_advisory: *785 sender: *4 required: - action @@ -222262,10 +222253,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -222449,11 +222440,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *283 - enterprise: *720 - installation: *721 - organization: *722 - repository: *330 + security_and_analysis: *284 + enterprise: *721 + installation: *722 + organization: *723 + repository: *332 sender: *4 required: - changes @@ -222531,12 +222522,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: &785 + sponsorship: &786 type: object properties: created_at: @@ -222837,12 +222828,12 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - sponsorship @@ -222930,12 +222921,12 @@ x-webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - changes @@ -223012,17 +223003,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &786 + effective_date: &787 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - sponsorship @@ -223096,7 +223087,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &787 + changes: &788 type: object properties: tier: @@ -223140,13 +223131,13 @@ x-webhooks: - from required: - tier - effective_date: *786 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + effective_date: *787 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - changes @@ -223223,13 +223214,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *787 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + changes: *788 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - sponsorship: *785 + sponsorship: *786 required: - action - changes @@ -223303,10 +223294,10 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223389,10 +223380,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223812,15 +223803,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *720 + enterprise: *721 id: description: The unique identifier of the status. type: integer - installation: *721 + installation: *722 name: type: string - organization: *722 - repository: *723 + organization: *723 + repository: *724 sender: *4 sha: description: The Commit SHA. @@ -223935,9 +223926,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224027,9 +224018,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224119,9 +224110,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224211,9 +224202,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *721 - organization: *722 - repository: *723 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -224290,12 +224281,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - team: &788 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -224518,9 +224509,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -224978,7 +224969,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -225054,9 +225045,9 @@ x-webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -225514,7 +225505,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -225591,9 +225582,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -226051,7 +226042,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -226195,9 +226186,9 @@ x-webhooks: - from required: - permissions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -226655,7 +226646,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - changes @@ -226733,9 +226724,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *721 + installation: *722 + organization: *723 repository: title: Repository description: A git repository @@ -227193,7 +227184,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *788 + team: *789 required: - action - team @@ -227269,10 +227260,10 @@ x-webhooks: type: string enum: - started - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 required: - action @@ -227345,16 +227336,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *720 + enterprise: *721 inputs: type: object nullable: true additionalProperties: true - installation: *721 - organization: *722 + installation: *722 + organization: *723 ref: type: string - repository: *723 + repository: *724 sender: *4 workflow: type: string @@ -227436,10 +227427,10 @@ x-webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: allOf: @@ -227676,7 +227667,7 @@ x-webhooks: type: string required: - conclusion - deployment: *488 + deployment: *490 required: - action - repository @@ -227755,10 +227746,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: allOf: @@ -228018,7 +228009,7 @@ x-webhooks: required: - status - steps - deployment: *488 + deployment: *490 required: - action - repository @@ -228097,10 +228088,10 @@ x-webhooks: type: string enum: - queued - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: type: object @@ -228235,7 +228226,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *490 required: - action - repository @@ -228314,10 +228305,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 workflow_job: type: object @@ -228453,7 +228444,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *490 required: - action - repository @@ -228533,12 +228524,12 @@ x-webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Workflow Run type: object @@ -229537,12 +229528,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Workflow Run type: object @@ -230526,12 +230517,12 @@ x-webhooks: type: string enum: - requested - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *721 + installation: *722 + organization: *723 + repository: *724 sender: *4 - workflow: *737 + workflow: *738 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 0ea8674d42..b7f7f5dfa4 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -17481,6 +17481,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -17878,6 +17887,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18165,6 +18184,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -18642,6 +18670,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19058,6 +19095,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19424,6 +19470,16 @@ ], "default": "disabled" }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -19702,6 +19758,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -20534,6 +20599,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -21427,6 +21501,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -22913,6 +22995,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -23098,6 +23202,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -90381,20 +90486,22 @@ "type": "string", "description": "The stage of the deployment.", "minLength": 1, - "maxLength": 64 + "maxLength": 128 }, "physical_environment": { "type": "string", "description": "The physical region of the deployment.", - "maxLength": 64 + "maxLength": 128 }, "cluster": { "type": "string", - "description": "The deployment cluster." + "description": "The deployment cluster.", + "maxLength": 128 }, "deployment_name": { "type": "string", - "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n" + "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a cluster, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\n", + "maxLength": 256 }, "tags": { "type": "object", @@ -90594,7 +90701,7 @@ "schema": { "type": "string", "minLength": 1, - "maxLength": 64, + "maxLength": 128, "pattern": "^[a-zA-Z0-9._-]+$" } } @@ -90610,12 +90717,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", @@ -90657,7 +90764,7 @@ "type": "string", "description": "The unique identifier for the deployment represented by the new record. To accommodate differing\ncontainers and namespaces within a record set, the following format is recommended:\n{namespaceName}-{deploymentName}-{containerName}.\nThe deployment_name must be unique across all entries in the deployments array.\n", "minLength": 1, - "maxLength": 128 + "maxLength": 256 }, "github_repository": { "type": "string", @@ -97349,6 +97456,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -97803,6 +97919,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -98090,6 +98215,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -98462,6 +98596,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99141,6 +99284,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99561,6 +99713,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -99839,6 +100000,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -100537,6 +100707,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -108416,6 +108595,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "runtime_risk", "in": "query", @@ -109910,6 +110097,28 @@ "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], "repository": { "id": 217723378, "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", @@ -110095,6 +110304,7 @@ "dismissed_reason": null, "dismissed_comment": null, "fixed_at": null, + "assignees": [], "repository": { "id": 664700648, "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", @@ -110698,7 +110908,7 @@ }, "selected_repository_ids": { "type": "array", - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. Use integers when possible, as strings are supported only to maintain backwards compatibility and may be removed in the future.", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", "items": { "anyOf": [ { @@ -193262,6 +193472,75 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -197934,6 +198213,75 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -209070,6 +209418,9 @@ "responses": { "204": { "description": "Response" + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -209370,6 +209721,9 @@ } } } + }, + "422": { + "description": "Unprocessable entity if you attempt to modify an enterprise team at the organization level." } }, "x-github": { @@ -291760,6 +292114,15 @@ "not_set" ] }, + "secret_scanning_extended_metadata": { + "type": "string", + "description": "The enablement status of secret scanning extended metadata", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, "private_vulnerability_reporting": { "type": "string", "description": "The enablement status of private vulnerability reporting", @@ -316489,6 +316852,33 @@ } } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "examples": { + "response-if-content-is-a-file-github-object": { + "summary": "Content is a file using the object media type" + }, + "response-if-content-is-a-directory-github-object": { + "summary": "Content is a directory using the object media type" + }, + "response-if-content-is-a-file": { + "summary": "Content is a file" + }, + "response-if-content-is-a-directory": { + "summary": "Content is a directory" + }, + "response-if-content-is-a-symlink": { + "summary": "Content is a symlink" + }, + "response-if-content-is-a-submodule": { + "summary": "Content is a submodule" + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -316656,7 +317046,7 @@ ] }, "examples": { - "response-if-content-is-a-file": { + "response-if-content-is-a-file-github-object": { "summary": "Response if content is a file", "value": { "type": "file", @@ -316677,7 +317067,7 @@ } } }, - "response-if-content-is-a-directory": { + "response-if-content-is-a-directory-github-object": { "summary": "Response if content is a directory and the application/vnd.github.v3.object media type is requested", "value": { "type": "dir", @@ -318840,6 +319230,14 @@ ] } }, + { + "name": "assignee", + "in": "query", + "description": "Filter alerts by assignees.\nProvide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`) to return alerts assigned to any of the specified users.\nUse `*` to list alerts with at least one assignee or `none` to list alerts with no assignees.", + "schema": { + "type": "string" + } + }, { "name": "scope", "in": "query", @@ -319905,7 +320303,29 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] }, { "number": 1, @@ -320023,7 +320443,8 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [] } ] } @@ -321208,7 +321629,29 @@ "dismissed_by": null, "dismissed_reason": null, "dismissed_comment": null, - "fixed_at": null + "fixed_at": null, + "assignees": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] } } } @@ -321351,10 +321794,26 @@ "type": "string", "description": "An optional comment associated with dismissing the alert.", "maxLength": 280 + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this Dependabot Alert.\nPass one or more user logins to _replace_ the set of assignees on this alert.\nSend an empty array (`[]`) to clear all assignees from the alert.", + "items": { + "type": "string" + } } }, - "required": [ - "state" + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "assignees" + ] + } ], "additionalProperties": false }, @@ -322357,7 +322816,8 @@ }, "dismissed_reason": "tolerable_risk", "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null + "fixed_at": null, + "assignees": [] } } } @@ -511920,6 +512380,75 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -516458,6 +516987,75 @@ } } }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, "500": { "description": "Internal Error", "content": { @@ -538708,482 +539306,29 @@ } ], "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "activity", - "subcategory": "watching" - } - } - }, - "/repos/{owner}/{repo}/tags": { - "get": { - "summary": "List repository tags", - "description": "", - "tags": [ - "repos" - ], - "operationId": "repos/list-tags", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#list-repository-tags" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag", - "description": "Tag", - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "v0.1" - }, - "commit": { - "type": "object", - "properties": { - "sha": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "zipball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/zipball/v0.1" - }, - "tarball_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/tarball/v0.1" - }, - "node_id": { - "type": "string" - } - }, - "required": [ - "name", - "node_id", - "commit", - "zipball_url", - "tarball_url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "name": "v0.1", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", - "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", - "node_id": "MDQ6VXNlcjE=" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" - } - } - }, - "/repos/{owner}/{repo}/tags/protection": { - "get": { - "summary": "Closing down - List tag protection states for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)\" endpoint instead.\n\nThis returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/list-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 2, - "pattern": "v1.*" - } - ] - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - }, - "post": { - "summary": "Closing down - Create a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)\" endpoint instead.\n\nThis creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", - "tags": [ - "repos" - ], - "operationId": "repos/create-tag-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "pattern": { - "type": "string", - "description": "An optional glob pattern to match against when enforcing tag protection." - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "pattern": "v1.*" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 2 - }, - "created_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "example": "2011-01-26T19:01:12Z" - }, - "enabled": { - "type": "boolean", - "example": true - }, - "pattern": { - "type": "string", - "example": "v1.*" - } - }, - "required": [ - "pattern" - ] - }, - "examples": { - "default": { - "value": { - "enabled": true - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "enabledForGitHubApps": false, + "category": "activity", + "subcategory": "watching" + } } }, - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { - "delete": { - "summary": "Closing down - Delete a tag protection state for a repository", - "description": "> [!WARNING]\n> **Closing down notice:** This operation is closing down and will be removed after August 30, 2024. Use the \"[Repository Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)\" endpoint instead.\n\nThis deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", + "/repos/{owner}/{repo}/tags": { + "get": { + "summary": "List repository tags", + "description": "", "tags": [ "repos" ], - "operationId": "repos/delete-tag-protection", + "operationId": "repos/list-tags", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository" + "url": "https://docs.github.com/rest/repos/repos#list-repository-tags" }, "parameters": [ { @@ -539205,67 +539350,102 @@ } }, { - "name": "tag_protection_id", - "description": "The unique identifier of the tag protection.", - "in": "path", - "required": true, + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", "schema": { - "type": "integer" + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 } } ], "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" + "type": "array", + "items": { + "title": "Tag", + "description": "Tag", + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "v0.1" + }, + "commit": { + "type": "object", + "properties": { + "sha": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "zipball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/zipball/v0.1" + }, + "tarball_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/tarball/v0.1" + }, + "node_id": { + "type": "string" + } }, - "status": { - "type": "string" - } + "required": [ + "name", + "node_id", + "commit", + "zipball_url", + "tarball_url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "name": "v0.1", + "commit": { + "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", + "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" + }, + "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", + "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", + "node_id": "MDQ6VXNlcjE=" + } + ] } } } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } @@ -539275,11 +539455,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "subcategory": "repos" + } } }, "/repos/{owner}/{repo}/tarball/{ref}": { @@ -762573,7 +762750,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -765048,7 +765225,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "dependabot_alert", "schema": { "type": "string" } @@ -767523,7 +767700{"code":"deadline_exceeded","msg":"operation timed out"}