From 916d3db3485788629d94d3a91c01a06a6c7e16ca Mon Sep 17 00:00:00 2001 From: github-openapi-bot Date: Wed, 4 Jun 2025 17:15:34 -0700 Subject: [PATCH] Update OpenAPI 3.0 Descriptions --- .../api.github.com.2022-11-28.json | 951 +- .../api.github.com.2022-11-28.yaml | 808 +- .../api.github.com/api.github.com.json | 951 +- .../api.github.com/api.github.com.yaml | 808 +- .../api.github.com.2022-11-28.deref.json | 1489 ++- .../api.github.com.2022-11-28.deref.yaml | 10261 ++++++++-------- .../dereferenced/api.github.com.deref.json | 1489 ++- .../dereferenced/api.github.com.deref.yaml | 10261 ++++++++-------- .../dereferenced/ghec.2022-11-28.deref.json | 1505 ++- .../dereferenced/ghec.2022-11-28.deref.yaml | 9915 +++++++-------- .../ghec/dereferenced/ghec.deref.json | 1505 ++- .../ghec/dereferenced/ghec.deref.yaml | 9915 +++++++-------- descriptions/ghec/ghec.2022-11-28.json | 951 +- descriptions/ghec/ghec.2022-11-28.yaml | 808 +- descriptions/ghec/ghec.json | 951 +- descriptions/ghec/ghec.yaml | 808 +- 16 files changed, 31242 insertions(+), 22134 deletions(-) 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 ba71abed70..99f74f1a79 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 @@ -6310,6 +6310,29 @@ "parameters": [ { "$ref": "#/components/parameters/org" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -6364,7 +6387,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -99525,6 +99548,330 @@ "used_in_tests" ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -99639,6 +99986,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -102603,6 +102957,305 @@ "description" ] }, + "nullable-simple-repository": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "nullable": true + }, "dependabot-repository-access-details": { "title": "Dependabot Repository Access Details", "description": "Information about repositories that Dependabot is able to access in an organization", @@ -102621,7 +103274,7 @@ "accessible_repositories": { "type": "array", "items": { - "$ref": "#/components/schemas/simple-repository" + "$ref": "#/components/schemas/nullable-simple-repository" } } }, @@ -104955,6 +105608,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -104966,6 +105622,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -104997,7 +105657,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -125218,6 +125877,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -125226,285 +125892,6 @@ "type": "string", "nullable": true }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "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.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "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.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "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.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "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.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { 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 d85c2d5770..a39e58650a 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 @@ -4464,6 +4464,23 @@ paths: url: https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - "$ref": "#/components/parameters/org" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -4504,7 +4521,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -72420,6 +72437,264 @@ components: - wont_fix - revoked - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true organization-secret-scanning-alert: type: object properties: @@ -72513,6 +72788,12 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. actor: title: Actor description: Actor @@ -74769,6 +75050,279 @@ components: - public_members_url - avatar_url - description + nullable-simple-repository: + title: Simple Repository + description: A GitHub repository. + type: object + properties: + id: + type: integer + format: int64 + example: 1296269 + description: A unique identifier of the repository. + node_id: + type: string + example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + description: The GraphQL identifier of the repository. + name: + type: string + example: Hello-World + description: The name of the repository. + full_name: + type: string + example: octocat/Hello-World + description: The full, globally unique, name of the repository. + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + description: Whether the repository is private. + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World + description: The URL to view the repository on GitHub.com. + description: + type: string + example: This your first repo! + nullable: true + description: The repository description. + fork: + type: boolean + description: Whether the repository is a fork. + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World + description: The URL to get more information about the repository from the + GitHub API. + archive_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + description: A template for the API URL to download the repository as an + archive. + assignees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + description: A template for the API URL to list the available assignees + for issues in the repository. + blobs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + description: A template for the API URL to create or retrieve a raw Git + blob in the repository. + branches_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + description: A template for the API URL to get information about branches + in the repository. + collaborators_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + description: A template for the API URL to get information about collaborators + of the repository. + comments_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/comments{/number} + description: A template for the API URL to get information about comments + on the repository. + commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + description: A template for the API URL to get information about commits + on the repository. + compare_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + description: A template for the API URL to compare two commits or refs. + contents_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + description: A template for the API URL to get the contents of the repository. + contributors_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/contributors + description: A template for the API URL to list the contributors to the + repository. + deployments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/deployments + description: The API URL to list the deployments of the repository. + downloads_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/downloads + description: The API URL to list the downloads on the repository. + events_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/events + description: The API URL to list the events of the repository. + forks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/forks + description: The API URL to list the forks of the repository. + git_commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + description: A template for the API URL to get information about Git commits + of the repository. + git_refs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + description: A template for the API URL to get information about Git refs + of the repository. + git_tags_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + description: A template for the API URL to get information about Git tags + of the repository. + issue_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + description: A template for the API URL to get information about issue comments + on the repository. + issue_events_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + description: A template for the API URL to get information about issue events + on the repository. + issues_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues{/number} + description: A template for the API URL to get information about issues + on the repository. + keys_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + description: A template for the API URL to get information about deploy + keys on the repository. + labels_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/labels{/name} + description: A template for the API URL to get information about labels + of the repository. + languages_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/languages + description: The API URL to get information about the languages of the repository. + merges_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/merges + description: The API URL to merge branches in the repository. + milestones_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + description: A template for the API URL to get information about milestones + of the repository. + notifications_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + description: A template for the API URL to get information about notifications + on the repository. + pulls_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + description: A template for the API URL to get information about pull requests + on the repository. + releases_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/releases{/id} + description: A template for the API URL to get information about releases + on the repository. + stargazers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/stargazers + description: The API URL to list the stargazers on the repository. + statuses_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + description: A template for the API URL to get information about statuses + of a commit. + subscribers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscribers + description: The API URL to list the subscribers on the repository. + subscription_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscription + description: The API URL to subscribe to notifications for this repository. + tags_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/tags + description: The API URL to get information about tags on the repository. + teams_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/teams + description: The API URL to list the teams on the repository. + trees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + description: A template for the API URL to create or retrieve a raw Git + tree of the repository. + hooks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/hooks + description: The API URL to list the hooks on the repository. + required: + - archive_url + - assignees_url + - blobs_url + - branches_url + - collaborators_url + - comments_url + - commits_url + - compare_url + - contents_url + - contributors_url + - deployments_url + - description + - downloads_url + - events_url + - fork + - forks_url + - full_name + - git_commits_url + - git_refs_url + - git_tags_url + - hooks_url + - html_url + - id + - node_id + - issue_comment_url + - issue_events_url + - issues_url + - keys_url + - labels_url + - languages_url + - merges_url + - milestones_url + - name + - notifications_url + - owner + - private + - pulls_url + - releases_url + - stargazers_url + - statuses_url + - subscribers_url + - subscription_url + - tags_url + - teams_url + - trees_url + - url + nullable: true dependabot-repository-access-details: title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access @@ -74786,7 +75340,7 @@ components: accessible_repositories: type: array items: - "$ref": "#/components/schemas/simple-repository" + "$ref": "#/components/schemas/nullable-simple-repository" additionalProperties: false billing-usage-report: type: object @@ -76710,6 +77264,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -76718,6 +77274,9 @@ components: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -76742,7 +77301,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -92332,249 +92890,17 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: string nullable: true - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index ba71abed70..99f74f1a79 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -6310,6 +6310,29 @@ "parameters": [ { "$ref": "#/components/parameters/org" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -6364,7 +6387,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -99525,6 +99548,330 @@ "used_in_tests" ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -99639,6 +99986,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -102603,6 +102957,305 @@ "description" ] }, + "nullable-simple-repository": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "nullable": true + }, "dependabot-repository-access-details": { "title": "Dependabot Repository Access Details", "description": "Information about repositories that Dependabot is able to access in an organization", @@ -102621,7 +103274,7 @@ "accessible_repositories": { "type": "array", "items": { - "$ref": "#/components/schemas/simple-repository" + "$ref": "#/components/schemas/nullable-simple-repository" } } }, @@ -104955,6 +105608,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -104966,6 +105622,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -104997,7 +105657,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -125218,6 +125877,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -125226,285 +125892,6 @@ "type": "string", "nullable": true }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "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.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "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.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "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.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "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.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index d85c2d5770..a39e58650a 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -4464,6 +4464,23 @@ paths: url: https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - "$ref": "#/components/parameters/org" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -4504,7 +4521,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -72420,6 +72437,264 @@ components: - wont_fix - revoked - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true organization-secret-scanning-alert: type: object properties: @@ -72513,6 +72788,12 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. actor: title: Actor description: Actor @@ -74769,6 +75050,279 @@ components: - public_members_url - avatar_url - description + nullable-simple-repository: + title: Simple Repository + description: A GitHub repository. + type: object + properties: + id: + type: integer + format: int64 + example: 1296269 + description: A unique identifier of the repository. + node_id: + type: string + example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + description: The GraphQL identifier of the repository. + name: + type: string + example: Hello-World + description: The name of the repository. + full_name: + type: string + example: octocat/Hello-World + description: The full, globally unique, name of the repository. + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + description: Whether the repository is private. + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World + description: The URL to view the repository on GitHub.com. + description: + type: string + example: This your first repo! + nullable: true + description: The repository description. + fork: + type: boolean + description: Whether the repository is a fork. + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World + description: The URL to get more information about the repository from the + GitHub API. + archive_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + description: A template for the API URL to download the repository as an + archive. + assignees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + description: A template for the API URL to list the available assignees + for issues in the repository. + blobs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + description: A template for the API URL to create or retrieve a raw Git + blob in the repository. + branches_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + description: A template for the API URL to get information about branches + in the repository. + collaborators_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + description: A template for the API URL to get information about collaborators + of the repository. + comments_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/comments{/number} + description: A template for the API URL to get information about comments + on the repository. + commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + description: A template for the API URL to get information about commits + on the repository. + compare_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + description: A template for the API URL to compare two commits or refs. + contents_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + description: A template for the API URL to get the contents of the repository. + contributors_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/contributors + description: A template for the API URL to list the contributors to the + repository. + deployments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/deployments + description: The API URL to list the deployments of the repository. + downloads_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/downloads + description: The API URL to list the downloads on the repository. + events_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/events + description: The API URL to list the events of the repository. + forks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/forks + description: The API URL to list the forks of the repository. + git_commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + description: A template for the API URL to get information about Git commits + of the repository. + git_refs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + description: A template for the API URL to get information about Git refs + of the repository. + git_tags_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + description: A template for the API URL to get information about Git tags + of the repository. + issue_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + description: A template for the API URL to get information about issue comments + on the repository. + issue_events_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + description: A template for the API URL to get information about issue events + on the repository. + issues_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues{/number} + description: A template for the API URL to get information about issues + on the repository. + keys_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + description: A template for the API URL to get information about deploy + keys on the repository. + labels_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/labels{/name} + description: A template for the API URL to get information about labels + of the repository. + languages_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/languages + description: The API URL to get information about the languages of the repository. + merges_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/merges + description: The API URL to merge branches in the repository. + milestones_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + description: A template for the API URL to get information about milestones + of the repository. + notifications_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + description: A template for the API URL to get information about notifications + on the repository. + pulls_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + description: A template for the API URL to get information about pull requests + on the repository. + releases_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/releases{/id} + description: A template for the API URL to get information about releases + on the repository. + stargazers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/stargazers + description: The API URL to list the stargazers on the repository. + statuses_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + description: A template for the API URL to get information about statuses + of a commit. + subscribers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscribers + description: The API URL to list the subscribers on the repository. + subscription_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscription + description: The API URL to subscribe to notifications for this repository. + tags_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/tags + description: The API URL to get information about tags on the repository. + teams_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/teams + description: The API URL to list the teams on the repository. + trees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + description: A template for the API URL to create or retrieve a raw Git + tree of the repository. + hooks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/hooks + description: The API URL to list the hooks on the repository. + required: + - archive_url + - assignees_url + - blobs_url + - branches_url + - collaborators_url + - comments_url + - commits_url + - compare_url + - contents_url + - contributors_url + - deployments_url + - description + - downloads_url + - events_url + - fork + - forks_url + - full_name + - git_commits_url + - git_refs_url + - git_tags_url + - hooks_url + - html_url + - id + - node_id + - issue_comment_url + - issue_events_url + - issues_url + - keys_url + - labels_url + - languages_url + - merges_url + - milestones_url + - name + - notifications_url + - owner + - private + - pulls_url + - releases_url + - stargazers_url + - statuses_url + - subscribers_url + - subscription_url + - tags_url + - teams_url + - trees_url + - url + nullable: true dependabot-repository-access-details: title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access @@ -74786,7 +75340,7 @@ components: accessible_repositories: type: array items: - "$ref": "#/components/schemas/simple-repository" + "$ref": "#/components/schemas/nullable-simple-repository" additionalProperties: false billing-usage-report: type: object @@ -76710,6 +77264,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -76718,6 +77274,9 @@ components: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -76742,7 +77301,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -92332,249 +92890,17 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: string nullable: true - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: 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 8673583a3c..7acd022678 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 @@ -23044,6 +23044,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -50161,6 +50450,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -50602,7 +50914,8 @@ "teams_url", "trees_url", "url" - ] + ], + "nullable": true } } }, @@ -50779,7 +51092,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -79292,6 +79605,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -79303,6 +79619,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -79334,7 +79654,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -103357,6 +103676,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -103368,6 +103690,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -103399,7 +103725,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -137592,6 +137917,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -420417,6 +421031,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -421133,6 +422036,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -421802,6 +422994,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, 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 fe1ca41cc1..07649fbf97 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 @@ -851,7 +851,7 @@ paths: - subscriptions_url - type - url - type: &258 + type: &260 type: string description: The type of credit the user is receiving. enum: @@ -984,7 +984,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &99 + schema: &101 title: Validation Error Simple description: Validation Error Simple type: object @@ -1017,7 +1017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &586 + - &602 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1573,7 +1573,7 @@ paths: schema: type: integer default: 30 - - &171 + - &173 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 @@ -1589,7 +1589,7 @@ paths: application/json: schema: type: array - items: &172 + items: &174 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1669,7 +1669,7 @@ paths: - installation_id - repository_id examples: - default: &173 + default: &175 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1728,7 +1728,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &98 + schema: &100 title: Validation Error description: Validation Error type: object @@ -1797,7 +1797,7 @@ paths: description: Response content: application/json: - schema: &174 + schema: &176 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1911,7 +1911,7 @@ paths: - request - response examples: - default: &175 + default: &177 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2838,7 +2838,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &236 + properties: &238 id: description: Unique identifier of the repository example: 42 @@ -3276,7 +3276,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &237 + required: &239 - archive_url - assignees_url - blobs_url @@ -5063,7 +5063,7 @@ paths: responses: '202': *39 '422': *7 - '500': &95 + '500': &97 description: Internal Error content: application/json: @@ -7548,7 +7548,7 @@ paths: description: Response content: application/json: - schema: &144 + schema: &146 type: array description: A list of default code security configurations items: @@ -7564,7 +7564,7 @@ paths: default configuration: *43 examples: - default: &145 + default: &147 value: - default_for_new_repos: public configuration: @@ -7875,7 +7875,7 @@ paths: - *42 - *45 responses: - '204': &146 + '204': &148 description: A header with no content is returned. '400': *14 '403': *29 @@ -8002,7 +8002,7 @@ paths: default: value: default_for_new_repos: all - configuration: &143 + configuration: &145 value: id: 1325 target_type: organization @@ -8085,7 +8085,7 @@ paths: application/json: schema: type: array - items: &147 + items: &149 type: object description: Repositories associated with a code security configuration and attachment status @@ -8107,7 +8107,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: + properties: &94 id: type: integer format: int64 @@ -8334,7 +8334,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: + required: &95 - archive_url - assignees_url - blobs_url @@ -8386,7 +8386,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &148 + repository: &150 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8480,7 +8480,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &153 + - &155 name: state in: query description: |- @@ -8489,7 +8489,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &154 + - &156 name: severity in: query description: |- @@ -8498,7 +8498,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &155 + - &157 name: ecosystem in: query description: |- @@ -8507,14 +8507,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &156 + - &158 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &157 + - &159 name: epss_percentage in: query description: |- @@ -8526,7 +8526,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 - - &158 + - &160 name: has in: query description: |- @@ -8540,7 +8540,7 @@ paths: type: string enum: - patch - - &159 + - &161 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8550,7 +8550,7 @@ paths: enum: - development - runtime - - &160 + - &162 name: sort in: query description: |- @@ -8568,7 +8568,7 @@ paths: - *48 - *40 - *41 - - &161 + - &163 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8581,7 +8581,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &162 + - &164 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8601,7 +8601,7 @@ paths: application/json: schema: type: array - items: &163 + items: &165 type: object description: A Dependabot alert. properties: @@ -8667,7 +8667,7 @@ paths: - unknown - direct - transitive - security_advisory: &431 + security_advisory: &433 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8886,13 +8886,13 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &137 + updated_at: &139 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &139 + dismissed_at: &141 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8922,14 +8922,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &138 + fixed_at: &140 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &432 + auto_dismissed_at: &434 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8955,7 +8955,7 @@ paths: - repository additionalProperties: false examples: - default: &164 + default: &166 value: - number: 2 state: dismissed @@ -9302,7 +9302,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &248 + - &250 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9313,7 +9313,7 @@ paths: enum: - open - resolved - - &249 + - &251 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9323,7 +9323,7 @@ paths: required: false schema: type: string - - &250 + - &252 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9332,7 +9332,7 @@ paths: required: false schema: type: string - - &251 + - &253 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. @@ -9348,7 +9348,7 @@ paths: - *17 - *40 - *41 - - &252 + - &254 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9357,7 +9357,7 @@ paths: required: false schema: type: string - - &253 + - &255 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9366,7 +9366,7 @@ paths: schema: type: boolean default: false - - &254 + - &256 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9375,7 +9375,7 @@ paths: schema: type: boolean default: false - - &255 + - &257 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9391,7 +9391,7 @@ paths: application/json: schema: type: array - items: &256 + items: &258 type: object properties: number: *54 @@ -9410,14 +9410,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &578 + state: &580 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: &579 + resolution: &581 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9518,8 +9518,281 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &582 + - &584 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &585 + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &586 + description: Represents an 'issue_title' secret scanning location + type. This location type shows that a secret was detected + in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &587 + description: Represents an 'issue_body' secret scanning location + type. This location type shows that a secret was detected + in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &588 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &589 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &590 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &591 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &592 + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &593 + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &594 + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &595 + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &596 + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: - default: &257 + default: &259 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9855,7 +10128,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &480 + properties: &482 id: type: integer format: int64 @@ -9966,7 +10239,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &416 + properties: &418 url: type: string format: uri @@ -10036,7 +10309,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &417 + required: &419 - closed_issues - creator - description @@ -10115,7 +10388,7 @@ paths: timeline_url: type: string format: uri - type: &193 + type: &195 title: Issue Type description: The type of issue. type: object @@ -10240,7 +10513,7 @@ paths: - total - completed - percent_completed - required: &481 + required: &483 - assignee - closed_at - comments @@ -10262,7 +10535,7 @@ paths: - author_association - created_at - updated_at - comment: &478 + comment: &480 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10829,7 +11102,7 @@ paths: url: type: string format: uri - user: &609 + user: &625 title: Public User description: Public User type: object @@ -12699,7 +12972,7 @@ paths: - closed - all default: open - - &196 + - &198 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -12750,7 +13023,7 @@ paths: type: array items: *77 examples: - default: &197 + default: &199 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14134,14 +14407,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &281 + - &283 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &282 + - &284 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14212,7 +14485,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &293 + '301': &295 description: Moved permanently content: application/json: @@ -14234,7 +14507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &510 + - &512 name: all description: If `true`, show notifications marked as read. in: query @@ -14242,7 +14515,7 @@ paths: schema: type: boolean default: false - - &511 + - &513 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14252,7 +14525,7 @@ paths: type: boolean default: false - *67 - - &512 + - &514 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: @@ -14284,11 +14557,11 @@ paths: properties: id: type: string - repository: &120 + repository: &122 title: Minimal Repository description: Minimal Repository type: object - properties: &166 + properties: &168 id: type: integer format: int64 @@ -14564,7 +14837,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &238 + security_and_analysis: &240 nullable: true type: object properties: @@ -14628,7 +14901,7 @@ paths: enum: - enabled - disabled - required: &167 + required: &169 - archive_url - assignees_url - blobs_url @@ -14716,7 +14989,7 @@ paths: - url - subscription_url examples: - default: &513 + default: &515 value: - id: '1' repository: @@ -15258,11 +15531,11 @@ paths: application/json: schema: type: array - items: &203 + items: &205 title: Organization Simple description: A GitHub organization. type: object - properties: &150 + properties: &152 login: type: string example: github @@ -15303,7 +15576,7 @@ paths: type: string example: A great organization nullable: true - required: &151 + required: &153 - login - url - id @@ -15317,7 +15590,7 @@ paths: - avatar_url - description examples: - default: &627 + default: &643 value: - login: github id: 1 @@ -15357,13 +15630,30 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - - &94 + - &96 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -15386,7 +15676,13 @@ paths: nullable: true accessible_repositories: type: array - items: *53 + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *94 + required: *95 + nullable: true additionalProperties: false examples: default: @@ -15482,14 +15778,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - - *94 + - *96 requestBody: required: true content: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -15534,7 +15830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *94 + - *96 requestBody: required: true content: @@ -15581,8 +15877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *94 - - &650 + - *96 + - &666 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -15591,7 +15887,7 @@ paths: required: false schema: type: integer - - &651 + - &667 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 @@ -15600,7 +15896,7 @@ paths: required: false schema: type: integer - - &652 + - &668 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -15609,7 +15905,7 @@ paths: required: false schema: type: integer - - &653 + - &669 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -15692,7 +15988,7 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *95 + '500': *97 '503': *65 x-github: githubCloudOnly: false @@ -15719,13 +16015,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &96 + schema: &98 title: Organization Full description: Organization Full type: object @@ -16014,7 +16310,7 @@ paths: - updated_at - archived_at examples: - default-response: &97 + default-response: &99 value: login: github id: 1 @@ -16105,7 +16401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *94 + - *96 requestBody: required: false content: @@ -16321,17 +16617,17 @@ paths: description: Response content: application/json: - schema: *96 + schema: *98 examples: - default: *97 + default: *99 '422': description: Validation failed content: application/json: schema: oneOf: - - *98 - - *99 + - *100 + - *101 '409': *47 x-github: githubCloudOnly: false @@ -16355,7 +16651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *94 + - *96 responses: '202': *39 '404': *6 @@ -16380,7 +16676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -16427,7 +16723,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -16445,7 +16741,7 @@ paths: type: integer repository_cache_usages: type: array - items: &298 + items: &300 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16500,7 +16796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -16518,7 +16814,7 @@ paths: type: integer runners: type: array - items: &100 + items: &102 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -16568,7 +16864,7 @@ paths: - source - version nullable: true - machine_size_details: &103 + machine_size_details: &105 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -16660,7 +16956,7 @@ paths: - public_ip_enabled - platform examples: - default: &119 + default: &121 value: total_count: 2 runners: @@ -16720,7 +17016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -16787,9 +17083,9 @@ paths: description: Response content: application/json: - schema: *100 + schema: *102 examples: - default: &104 + default: &106 value: id: 5 name: My hosted ubuntu runner @@ -16828,7 +17124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -16844,7 +17140,7 @@ paths: type: integer images: type: array - items: &101 + items: &103 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -16880,7 +17176,7 @@ paths: - display_name - source examples: - default: &102 + default: &104 value: id: ubuntu-20.04 platform: linux-x64 @@ -16904,7 +17200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -16920,9 +17216,9 @@ paths: type: integer images: type: array - items: *101 + items: *103 examples: - default: *102 + default: *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16939,7 +17235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -16992,7 +17288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -17008,7 +17304,7 @@ paths: type: integer machine_specs: type: array - items: *103 + items: *105 examples: default: value: @@ -17033,7 +17329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -17077,8 +17373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *94 - - &105 + - *96 + - &107 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -17090,9 +17386,9 @@ paths: description: Response content: application/json: - schema: *100 + schema: *102 examples: - default: *104 + default: *106 headers: Link: *58 x-github: @@ -17112,8 +17408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *94 - - *105 + - *96 + - *107 requestBody: required: true content: @@ -17151,9 +17447,9 @@ paths: description: Response content: application/json: - schema: *100 + schema: *102 examples: - default: *104 + default: *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17169,16 +17465,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *94 - - *105 + - *96 + - *107 responses: '202': description: Response content: application/json: - schema: *100 + schema: *102 examples: - default: *104 + default: *106 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17198,13 +17494,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *94 + - *96 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &106 + schema: &108 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -17218,7 +17514,7 @@ paths: required: - include_claim_keys examples: - default: &107 + default: &109 value: include_claim_keys: - repo @@ -17240,20 +17536,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: application/json: - schema: *106 + schema: *108 examples: - default: *107 + default: *109 responses: '201': description: Empty response content: application/json: - schema: &129 + schema: &131 title: Empty Object description: An object without any properties. type: object @@ -17283,7 +17579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -17292,7 +17588,7 @@ paths: schema: type: object properties: - enabled_repositories: &108 + enabled_repositories: &110 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -17305,7 +17601,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &109 + allowed_actions: &111 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -17313,7 +17609,7 @@ paths: - all - local_only - selected - selected_actions_url: &304 + selected_actions_url: &306 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` @@ -17344,7 +17640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *94 + - *96 responses: '204': description: Response @@ -17355,8 +17651,8 @@ paths: schema: type: object properties: - enabled_repositories: *108 - allowed_actions: *109 + enabled_repositories: *110 + allowed_actions: *111 required: - enabled_repositories examples: @@ -17383,7 +17679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -17403,7 +17699,7 @@ paths: type: array items: *60 examples: - default: &621 + default: &637 value: total_count: 1 repositories: @@ -17543,7 +17839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *94 + - *96 responses: '204': description: Response @@ -17587,8 +17883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *94 - - &110 + - *96 + - &112 name: repository_id description: The unique identifier of the repository. in: path @@ -17616,8 +17912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *94 - - *110 + - *96 + - *112 responses: '204': description: Response @@ -17640,13 +17936,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &111 + schema: &113 type: object properties: github_owned_allowed: @@ -17668,7 +17964,7 @@ paths: items: type: string examples: - default: &112 + default: &114 value: github_owned_allowed: true verified_allowed: false @@ -17693,7 +17989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *94 + - *96 responses: '204': description: Response @@ -17701,9 +17997,9 @@ paths: required: false content: application/json: - schema: *111 + schema: *113 examples: - selected_actions: *112 + selected_actions: *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17725,23 +18021,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &308 + schema: &310 type: object properties: - default_workflow_permissions: &113 + default_workflow_permissions: &115 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &114 + can_approve_pull_request_reviews: &116 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -17749,7 +18045,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &115 + default: &117 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -17774,7 +18070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *94 + - *96 responses: '204': description: Success response @@ -17782,13 +18078,13 @@ paths: required: false content: application/json: - schema: &309 + schema: &311 type: object properties: - default_workflow_permissions: *113 - can_approve_pull_request_reviews: *114 + default_workflow_permissions: *115 + can_approve_pull_request_reviews: *116 examples: - default: *115 + default: *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17808,7 +18104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *94 + - *96 - *17 - *19 - name: visible_to_repository @@ -17833,7 +18129,7 @@ paths: type: number runner_groups: type: array - items: &116 + items: &118 type: object properties: id: @@ -17949,7 +18245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -18021,9 +18317,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *118 examples: - default: &118 + default: &120 value: id: 2 name: octo-runner-group @@ -18058,8 +18354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *94 - - &117 + - *96 + - &119 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -18071,7 +18367,7 @@ paths: description: Response content: application/json: - schema: *116 + schema: *118 examples: default: value: @@ -18107,8 +18403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *94 - - *117 + - *96 + - *119 requestBody: required: true content: @@ -18162,9 +18458,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *118 examples: - default: *118 + default: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18183,8 +18479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *94 - - *117 + - *96 + - *119 responses: '204': description: Response @@ -18207,8 +18503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *117 + - *96 + - *119 - *17 - *19 responses: @@ -18226,9 +18522,9 @@ paths: type: number runners: type: array - items: *100 + items: *102 examples: - default: *119 + default: *121 headers: Link: *58 x-github: @@ -18250,8 +18546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *117 + - *96 + - *119 - *19 - *17 responses: @@ -18269,9 +18565,9 @@ paths: type: number repositories: type: array - items: *120 + items: *122 examples: - default: &612 + default: &628 value: total_count: 1 repositories: @@ -18523,8 +18819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *117 + - *96 + - *119 requestBody: required: true content: @@ -18568,9 +18864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *117 - - *110 + - *96 + - *119 + - *112 responses: '204': description: Response @@ -18592,9 +18888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *117 - - *110 + - *96 + - *119 + - *112 responses: '204': description: Response @@ -18617,8 +18913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *117 + - *96 + - *119 - *17 - *19 responses: @@ -18636,7 +18932,7 @@ paths: type: number runners: type: array - items: &122 + items: &124 title: Self hosted runners description: A self hosted runner type: object @@ -18665,7 +18961,7 @@ paths: type: boolean labels: type: array - items: &125 + items: &127 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -18695,7 +18991,7 @@ paths: - busy - labels examples: - default: &123 + default: &125 value: total_count: 2 runners: @@ -18754,8 +19050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *117 + - *96 + - *119 requestBody: required: true content: @@ -18799,9 +19095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *94 - - *117 - - &121 + - *96 + - *119 + - &123 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -18829,9 +19125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *94 - - *117 - - *121 + - *96 + - *119 + - *123 responses: '204': description: Response @@ -18861,7 +19157,7 @@ paths: in: query schema: type: string - - *94 + - *96 - *17 - *19 responses: @@ -18879,9 +19175,9 @@ paths: type: integer runners: type: array - items: *122 + items: *124 examples: - default: *123 + default: *125 headers: Link: *58 x-github: @@ -18905,7 +19201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -18913,7 +19209,7 @@ paths: application/json: schema: type: array - items: &310 + items: &312 title: Runner Application description: Runner Application type: object @@ -18938,7 +19234,7 @@ paths: - download_url - filename examples: - default: &311 + default: &313 value: - os: osx architecture: x64 @@ -18981,7 +19277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -19024,7 +19320,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &312 + '201': &314 description: Response content: application/json: @@ -19034,7 +19330,7 @@ paths: - runner - encoded_jit_config properties: - runner: *122 + runner: *124 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -19091,13 +19387,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *94 + - *96 responses: '201': description: Response content: application/json: - schema: &124 + schema: &126 title: Authentication Token description: Authentication Token type: object @@ -19135,7 +19431,7 @@ paths: - token - expires_at examples: - default: &313 + default: &315 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -19166,15 +19462,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *94 + - *96 responses: '201': description: Response content: application/json: - schema: *124 + schema: *126 examples: - default: &314 + default: &316 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -19199,16 +19495,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *121 + - *96 + - *123 responses: '200': description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: &315 + default: &317 value: id: 23 name: MBP @@ -19249,8 +19545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *94 - - *121 + - *96 + - *123 responses: '204': description: Response @@ -19276,10 +19572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *121 + - *96 + - *123 responses: - '200': &126 + '200': &128 description: Response content: application/json: @@ -19293,7 +19589,7 @@ paths: type: integer labels: type: array - items: *125 + items: *127 examples: default: value: @@ -19332,8 +19628,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-an-organization parameters: - - *94 - - *121 + - *96 + - *123 requestBody: required: true content: @@ -19357,7 +19653,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -19381,8 +19677,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-an-organization parameters: - - *94 - - *121 + - *96 + - *123 requestBody: required: true content: @@ -19407,7 +19703,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -19431,10 +19727,10 @@ 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-an-organization parameters: - - *94 - - *121 + - *96 + - *123 responses: - '200': &316 + '200': &318 description: Response content: application/json: @@ -19448,7 +19744,7 @@ paths: type: integer labels: type: array - items: *125 + items: *127 examples: default: value: @@ -19489,9 +19785,9 @@ 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-an-organization parameters: - - *94 - - *121 - - &317 + - *96 + - *123 + - &319 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19499,7 +19795,7 @@ paths: schema: type: string responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -19524,7 +19820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *94 + - *96 - *17 - *19 responses: @@ -19542,7 +19838,7 @@ paths: type: integer secrets: type: array - items: &127 + items: &129 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -19615,13 +19911,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &329 + schema: &331 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19650,7 +19946,7 @@ paths: - key_id - key examples: - default: &330 + default: &332 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19675,8 +19971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *94 - - &128 + - *96 + - &130 name: secret_name description: The name of the secret. in: path @@ -19688,7 +19984,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *129 examples: default: value: @@ -19718,8 +20014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -19776,7 +20072,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -19802,8 +20098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 responses: '204': description: Response @@ -19829,8 +20125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - *19 - *17 responses: @@ -19848,9 +20144,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *122 examples: - default: &132 + default: &134 value: total_count: 1 repositories: @@ -19942,8 +20238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -19995,8 +20291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -20029,8 +20325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -20062,8 +20358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *94 - - &303 + - *96 + - &305 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)." @@ -20087,7 +20383,7 @@ paths: type: integer variables: type: array - items: &130 + items: &132 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -20172,7 +20468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *94 + - *96 requestBody: required: true content: @@ -20220,7 +20516,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -20245,8 +20541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *94 - - &131 + - *96 + - &133 name: name description: The name of the variable. in: path @@ -20258,7 +20554,7 @@ paths: description: Response content: application/json: - schema: *130 + schema: *132 examples: default: value: @@ -20288,8 +20584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 requestBody: required: true content: @@ -20351,8 +20647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 responses: '204': description: Response @@ -20378,8 +20674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 - *19 - *17 responses: @@ -20397,9 +20693,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *122 examples: - default: *132 + default: *134 '409': description: Response when the visibility of the variable is not set to `selected` @@ -20425,8 +20721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 requestBody: required: true content: @@ -20475,8 +20771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 - name: repository_id in: path required: true @@ -20510,8 +20806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 - name: repository_id in: path required: true @@ -20547,7 +20843,7 @@ paths: - *17 - *40 - *41 - - *94 + - *96 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -20598,7 +20894,7 @@ paths: bundle_url: type: string examples: - default: &343 + default: &345 value: attestations: - bundle: @@ -20705,7 +21001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -20717,7 +21013,7 @@ paths: type: array items: *4 examples: - default: &198 + default: &200 value: - login: octocat id: 1 @@ -20755,8 +21051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *94 - - &133 + - *96 + - &135 name: username description: The handle for the GitHub user account. in: path @@ -20787,8 +21083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -20808,8 +21104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -20834,7 +21130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *94 + - *96 - *19 - *17 - *48 @@ -20842,7 +21138,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &134 + schema: &136 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -20868,7 +21164,7 @@ paths: application/json: schema: type: array - items: &135 + items: &137 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -20899,7 +21195,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &152 + items: &154 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -20958,7 +21254,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &211 + properties: &213 id: description: Unique identifier of the team type: integer @@ -21014,7 +21310,7 @@ paths: to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &212 + required: &214 - id - node_id - url @@ -21055,7 +21351,7 @@ paths: type: string format: date-time nullable: true - state: *134 + state: *136 contact_link: description: The contact link of the campaign. type: string @@ -21176,7 +21472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -21270,9 +21566,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: &136 + default: &138 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -21343,7 +21639,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *94 + - *96 - name: campaign_number description: The campaign number. in: path @@ -21355,9 +21651,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: *136 + default: *138 '404': *6 '422': description: Unprocessable Entity @@ -21385,7 +21681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *94 + - *96 - name: campaign_number description: The campaign number. in: path @@ -21434,7 +21730,7 @@ paths: type: string format: uri nullable: true - state: *134 + state: *136 examples: default: value: @@ -21444,9 +21740,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: *136 + default: *138 '400': description: Bad Request content: @@ -21479,7 +21775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *94 + - *96 - name: campaign_number description: The campaign number. in: path @@ -21512,18 +21808,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *94 - - &369 + - *96 + - &371 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`, but not both. in: query required: false - schema: &140 + schema: &142 type: string description: The name of the tool used to generate the code scanning analysis. - - &370 + - &372 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 @@ -21531,7 +21827,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &141 + schema: &143 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -21546,7 +21842,7 @@ paths: be returned. in: query required: false - schema: &372 + schema: &374 type: string description: State of a code scanning alert. enum: @@ -21569,7 +21865,7 @@ paths: be returned. in: query required: false - schema: &373 + schema: &375 type: string description: Severity of a code scanning alert. enum: @@ -21592,16 +21888,16 @@ paths: properties: number: *54 created_at: *55 - updated_at: *137 + updated_at: *139 url: *56 html_url: *57 - instances_url: &374 + instances_url: &376 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &142 + state: &144 type: string description: State of a code scanning alert. nullable: true @@ -21609,7 +21905,7 @@ paths: - open - dismissed - fixed - fixed_at: *138 + fixed_at: *140 dismissed_by: title: Simple User description: A GitHub user. @@ -21617,8 +21913,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *139 - dismissed_reason: &375 + dismissed_at: *141 + dismissed_reason: &377 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -21627,13 +21923,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &376 + dismissed_comment: &378 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &377 + rule: &379 type: object properties: id: @@ -21686,25 +21982,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &378 + tool: &380 type: object properties: - name: *140 + name: *142 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *141 - most_recent_instance: &379 + guid: *143 + most_recent_instance: &381 type: object properties: - ref: &371 + ref: &373 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &389 + analysis_key: &391 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -21715,13 +22011,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &390 + category: &392 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *142 + state: *144 commit_sha: type: string message: @@ -22036,7 +22332,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *94 + - *96 - name: target_type in: query description: The target type of the code security configuration @@ -22147,7 +22443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *94 + - *96 requestBody: required: true content: @@ -22351,7 +22647,7 @@ paths: application/json: schema: *43 examples: - default: *143 + default: *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22373,15 +22669,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: *145 + default: *147 '304': *37 '403': *29 '404': *6 @@ -22407,7 +22703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *94 + - *96 requestBody: required: true content: @@ -22430,7 +22726,7 @@ paths: - 32 - 91 responses: - '204': *146 + '204': *148 '400': *14 '403': *29 '404': *6 @@ -22456,7 +22752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *94 + - *96 - *45 responses: '200': @@ -22465,7 +22761,7 @@ paths: application/json: schema: *43 examples: - default: *143 + default: *145 '304': *37 '403': *29 '404': *6 @@ -22489,7 +22785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *94 + - *96 - *45 requestBody: required: true @@ -22728,10 +23024,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *94 + - *96 - *45 responses: - '204': *146 + '204': *148 '400': *14 '403': *29 '404': *6 @@ -22759,7 +23055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *94 + - *96 - *45 requestBody: required: true @@ -22823,7 +23119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *94 + - *96 - *45 requestBody: required: true @@ -22869,7 +23165,7 @@ paths: default: value: default_for_new_repos: all - configuration: *143 + configuration: *145 '403': *29 '404': *6 x-github: @@ -22893,7 +23189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *94 + - *96 - *45 - name: per_page description: The number of results per page (max 100). For more information, @@ -22922,13 +23218,13 @@ paths: application/json: schema: type: array - items: *147 + items: *149 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *148 + repository: *150 '403': *29 '404': *6 x-github: @@ -22952,7 +23248,7 @@ paths: parameters: - *17 - *19 - - *94 + - *96 responses: '200': description: Response @@ -22968,7 +23264,7 @@ paths: type: integer codespaces: type: array - items: &199 + items: &201 type: object title: Codespace description: A codespace. @@ -22993,12 +23289,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *120 + repository: *122 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &402 + properties: &404 name: type: string description: The name of the machine. @@ -23040,7 +23336,7 @@ paths: - ready - in_progress nullable: true - required: &403 + required: &405 - name - display_name - operating_system @@ -23245,7 +23541,7 @@ paths: - pulls_url - recent_folders examples: - default: &200 + default: &202 value: total_count: 3 codespaces: @@ -23655,7 +23951,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -23677,7 +23973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *94 + - *96 deprecated: true requestBody: required: true @@ -23721,7 +24017,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23744,7 +24040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *94 + - *96 deprecated: true requestBody: required: true @@ -23776,7 +24072,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23799,7 +24095,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *94 + - *96 requestBody: required: true content: @@ -23830,7 +24126,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23851,7 +24147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *94 + - *96 - *17 - *19 responses: @@ -23869,7 +24165,7 @@ paths: type: integer secrets: type: array - items: &149 + items: &151 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -23908,7 +24204,7 @@ paths: - updated_at - visibility examples: - default: &404 + default: &406 value: total_count: 2 secrets: @@ -23940,13 +24236,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &405 + schema: &407 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -23975,7 +24271,7 @@ paths: - key_id - key examples: - default: &406 + default: &408 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23998,16 +24294,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 responses: '200': description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: &408 + default: &410 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -24034,8 +24330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -24090,7 +24386,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -24116,8 +24412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 responses: '204': description: Response @@ -24142,8 +24438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - *19 - *17 responses: @@ -24161,9 +24457,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *122 examples: - default: *132 + default: *134 '404': *6 x-github: githubCloudOnly: false @@ -24185,8 +24481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -24236,8 +24532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -24270,8 +24566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -24310,7 +24606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *94 + - *96 responses: '200': description: OK @@ -24419,7 +24715,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -24451,7 +24747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *94 + - *96 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -24474,7 +24770,7 @@ paths: currently being billed. seats: type: array - items: &202 + items: &204 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -24491,14 +24787,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *150 - required: *151 + properties: *152 + required: *153 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *152 + - *154 - title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -24508,6 +24804,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -24516,6 +24814,9 @@ paths: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -24540,7 +24841,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -24662,7 +24962,7 @@ paths: site_admin: false headers: Link: *58 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -24695,7 +24995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *94 + - *96 requestBody: content: application/json: @@ -24737,7 +25037,7 @@ paths: default: value: seats_created: 5 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -24773,7 +25073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *94 + - *96 requestBody: content: application/json: @@ -24815,7 +25115,7 @@ paths: default: value: seats_cancelled: 5 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -24853,7 +25153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *94 + - *96 requestBody: content: application/json: @@ -24894,7 +25194,7 @@ paths: default: value: seats_created: 5 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -24930,7 +25230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *94 + - *96 requestBody: content: application/json: @@ -24972,7 +25272,7 @@ paths: default: value: seats_cancelled: 5 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -25011,7 +25311,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *94 + - *96 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -25043,7 +25343,7 @@ paths: application/json: schema: type: array - items: &263 + items: &265 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -25350,7 +25650,7 @@ paths: - date additionalProperties: true examples: - default: &264 + default: &266 value: - date: '2024-06-24' total_active_users: 24 @@ -25449,10 +25749,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *95 + '500': *97 '403': *29 '404': *6 - '422': &265 + '422': &267 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -25479,20 +25779,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *94 - - *153 - - *154 + - *96 - *155 - *156 - *157 - *158 - *159 - *160 + - *161 + - *162 - *48 - *40 - *41 - - *161 - - *162 + - *163 + - *164 - *17 responses: '200': @@ -25501,9 +25801,9 @@ paths: application/json: schema: type: array - items: *163 + items: *165 examples: - default: *164 + default: *166 '304': *37 '400': *14 '403': *29 @@ -25529,7 +25829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *94 + - *96 - *17 - *19 responses: @@ -25547,7 +25847,7 @@ paths: type: integer secrets: type: array - items: &165 + items: &167 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -25618,13 +25918,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &435 + schema: &437 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -25641,7 +25941,7 @@ paths: - key_id - key examples: - default: &436 + default: &438 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25664,14 +25964,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 responses: '200': description: Response content: application/json: - schema: *165 + schema: *167 examples: default: value: @@ -25699,8 +25999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -25755,7 +26055,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -25779,8 +26079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 responses: '204': description: Response @@ -25804,8 +26104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - *19 - *17 responses: @@ -25823,9 +26123,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *122 examples: - default: *132 + default: *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25846,8 +26146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -25897,8 +26197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -25929,8 +26229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -25960,7 +26260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -25968,7 +26268,7 @@ paths: application/json: schema: type: array - items: &214 + items: &216 title: Package description: A software package type: object @@ -26018,8 +26318,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *166 - required: *167 + properties: *168 + required: *169 nullable: true created_at: type: string @@ -26038,7 +26338,7 @@ paths: - created_at - updated_at examples: - default: &215 + default: &217 value: - id: 197 name: hello_docker @@ -26116,7 +26416,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *94 + - *96 - *17 - *19 responses: @@ -26195,7 +26495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *94 + - *96 - *17 - *19 responses: @@ -26205,7 +26505,7 @@ paths: application/json: schema: type: array - items: &190 + items: &192 title: Organization Invitation description: Organization Invitation type: object @@ -26252,7 +26552,7 @@ paths: - invitation_teams_url - node_id examples: - default: &191 + default: &193 value: - id: 1 login: monalisa @@ -26309,7 +26609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *94 + - *96 - *17 - *19 responses: @@ -26319,7 +26619,7 @@ paths: application/json: schema: type: array - items: &168 + items: &170 title: Org Hook description: Org Hook type: object @@ -26430,7 +26730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *94 + - *96 requestBody: required: true content: @@ -26490,9 +26790,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: - default: &169 + default: &171 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -26539,8 +26839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *94 - - &170 + - *96 + - &172 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. @@ -26553,9 +26853,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: - default: *169 + default: *171 '404': *6 x-github: githubCloudOnly: false @@ -26582,8 +26882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 requestBody: required: false content: @@ -26628,7 +26928,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -26669,8 +26969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 responses: '204': description: Response @@ -26697,8 +26997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *94 - - *170 + - *96 + - *172 responses: '200': description: Response @@ -26728,8 +27028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *94 - - *170 + - *96 + - *172 requestBody: required: false content: @@ -26779,10 +27079,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 - *17 - - *171 + - *173 responses: '200': description: Response @@ -26790,9 +27090,9 @@ paths: application/json: schema: type: array - items: *172 + items: *174 examples: - default: *173 + default: *175 '400': *14 '422': *15 x-github: @@ -26817,17 +27117,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 - *16 responses: '200': description: Response content: application/json: - schema: *174 + schema: *176 examples: - default: *175 + default: *177 '400': *14 '422': *15 x-github: @@ -26852,8 +27152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 - *16 responses: '202': *39 @@ -26882,8 +27182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 responses: '204': description: Response @@ -26905,8 +27205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *94 - - &180 + - *96 + - &182 name: actor_type in: path description: The type of the actor @@ -26919,14 +27219,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &181 + - &183 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &176 + - &178 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`.' @@ -26934,7 +27234,7 @@ paths: required: true schema: type: string - - &177 + - &179 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) @@ -27027,13 +27327,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *94 - - *176 - - *177 + - *96 + - *178 + - *179 - *19 - *17 - *48 - - &186 + - &188 name: sort description: The property to sort the results by. in: query @@ -27111,15 +27411,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *94 - - *176 - - *177 + - *96 + - *178 + - *179 responses: '200': description: Response content: application/json: - schema: &178 + schema: &180 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -27135,7 +27435,7 @@ paths: type: integer format: int64 examples: - default: &179 + default: &181 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -27155,24 +27455,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *94 - - &182 + - *96 + - &184 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *176 - - *177 + - *178 + - *179 responses: '200': description: Response content: application/json: - schema: *178 + schema: *180 examples: - default: *179 + default: *181 x-github: enabledForGitHubApps: true category: orgs @@ -27190,19 +27490,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *94 - - *176 - - *177 - - *180 - - *181 + - *96 + - *178 + - *179 + - *182 + - *183 responses: '200': description: Response content: application/json: - schema: *178 + schema: *180 examples: - default: *179 + default: *181 x-github: enabledForGitHubApps: true category: orgs @@ -27219,10 +27519,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *94 - - *176 - - *177 - - &183 + - *96 + - *178 + - *179 + - &185 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -27235,7 +27535,7 @@ paths: description: Response content: application/json: - schema: &184 + schema: &186 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -27251,7 +27551,7 @@ paths: type: integer format: int64 examples: - default: &185 + default: &187 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -27287,19 +27587,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *94 - - *182 - - *176 - - *177 - - *183 + - *96 + - *184 + - *178 + - *179 + - *185 responses: '200': description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: *185 + default: *187 x-github: enabledForGitHubApps: true category: orgs @@ -27316,20 +27616,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *94 - - *180 - - *181 - - *176 - - *177 + - *96 + - *182 - *183 + - *178 + - *179 + - *185 responses: '200': description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: *185 + default: *187 x-github: enabledForGitHubApps: true category: orgs @@ -27346,14 +27646,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *94 - - *182 - - *176 - - *177 + - *96 + - *184 + - *178 + - *179 - *19 - *17 - *48 - - *186 + - *188 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -27426,7 +27726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *94 + - *96 responses: '200': description: Response @@ -27434,7 +27734,7 @@ paths: application/json: schema: *22 examples: - default: &474 + default: &476 value: id: 1 account: @@ -27503,7 +27803,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -27592,7 +27892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -27600,12 +27900,12 @@ paths: application/json: schema: anyOf: - - &188 + - &190 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &187 + limit: &189 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -27630,7 +27930,7 @@ paths: properties: {} additionalProperties: false examples: - default: &189 + default: &191 value: limit: collaborators_only origin: organization @@ -27654,18 +27954,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: application/json: - schema: &475 + schema: &477 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *187 + limit: *189 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -27689,9 +27989,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *189 + default: *191 '422': *15 x-github: githubCloudOnly: false @@ -27709,7 +28009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *94 + - *96 responses: '204': description: Response @@ -27733,7 +28033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *94 + - *96 - *17 - *19 - name: role @@ -27767,9 +28067,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *58 '404': *6 @@ -27792,7 +28092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *94 + - *96 requestBody: required: false content: @@ -27846,7 +28146,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *192 examples: default: value: @@ -27900,8 +28200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *94 - - &192 + - *96 + - &194 name: invitation_id description: The unique identifier of the invitation. in: path @@ -27931,8 +28231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *94 - - *192 + - *96 + - *194 - *17 - *19 responses: @@ -27942,9 +28242,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: &213 + default: &215 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -27979,7 +28279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -27987,7 +28287,7 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: default: value: @@ -28025,7 +28325,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -28072,9 +28372,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: &194 + default: &196 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -28106,8 +28406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *94 - - &195 + - *96 + - &197 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -28160,9 +28460,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *194 + default: *196 '404': *6 '422': *7 x-github: @@ -28186,8 +28486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *94 - - *195 + - *96 + - *197 responses: '204': description: Response @@ -28220,7 +28520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *94 + - *96 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -28250,7 +28550,7 @@ paths: - closed - all default: open - - *196 + - *198 - name: type description: Can be the name of an issue type. in: query @@ -28281,7 +28581,7 @@ paths: type: array items: *77 examples: - default: *197 + default: *199 headers: Link: *58 '404': *6 @@ -28303,7 +28603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *94 + - *96 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -28341,7 +28641,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '422': *15 @@ -28361,8 +28661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response if requester is an organization member and user is @@ -28393,8 +28693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -28420,8 +28720,8 @@ paths: parameters: - *17 - *19 - - *94 - - *133 + - *96 + - *135 responses: '200': description: Response @@ -28437,11 +28737,11 @@ paths: type: integer codespaces: type: array - items: *199 + items: *201 examples: - default: *200 + default: *202 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -28464,9 +28764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *94 - - *133 - - &201 + - *96 + - *135 + - &203 name: codespace_name in: path required: true @@ -28476,7 +28776,7 @@ paths: responses: '202': *39 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -28499,17 +28799,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *94 - - *133 - - *201 + - *96 + - *135 + - *203 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: &401 + default: &403 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -28651,7 +28951,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -28682,14 +28982,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -28732,7 +29032,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -28757,14 +29057,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '200': description: Response content: application/json: - schema: &204 + schema: &206 title: Org Membership description: Org Membership type: object @@ -28793,7 +29093,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *203 + organization: *205 user: title: Simple User description: A GitHub user. @@ -28816,7 +29116,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &205 + response-if-user-has-an-active-admin-membership-with-organization: &207 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -28884,8 +29184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 requestBody: required: false content: @@ -28913,9 +29213,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *206 examples: - response-if-user-already-had-membership-with-organization: *205 + response-if-user-already-had-membership-with-organization: *207 '422': *15 '403': *29 x-github: @@ -28936,8 +29236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -28962,7 +29262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *94 + - *96 - *17 - *19 - name: exclude @@ -28983,7 +29283,7 @@ paths: application/json: schema: type: array - items: &206 + items: &208 title: Migration description: A migration. type: object @@ -29236,7 +29536,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *94 + - *96 requestBody: required: true content: @@ -29312,7 +29612,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: default: value: @@ -29490,8 +29790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *94 - - &207 + - *96 + - &209 name: migration_id description: The unique identifier of the migration. in: path @@ -29518,7 +29818,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *206 + schema: *208 examples: default: value: @@ -29687,8 +29987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *94 - - *207 + - *96 + - *209 responses: '302': description: Response @@ -29709,8 +30009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *94 - - *207 + - *96 + - *209 responses: '204': description: Response @@ -29733,9 +30033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *94 - - *207 - - &626 + - *96 + - *209 + - &642 name: repo_name description: repo_name parameter in: path @@ -29762,8 +30062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *94 - - *207 + - *96 + - *209 - *17 - *19 responses: @@ -29773,9 +30073,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: &220 + default: &222 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -29912,7 +30212,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response - list of organization roles @@ -29928,7 +30228,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &210 + items: &212 title: Organization Role description: Organization roles type: object @@ -30075,8 +30375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *94 - - &208 + - *96 + - &210 name: team_slug description: The slug of the team name. in: path @@ -30107,9 +30407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *94 - - *208 - - &209 + - *96 + - *210 + - &211 name: role_id description: The unique identifier of the role. in: path @@ -30144,9 +30444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *94 - - *208 - - *209 + - *96 + - *210 + - *211 responses: '204': description: Response @@ -30171,8 +30471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -30197,9 +30497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *94 - - *133 - - *209 + - *96 + - *135 + - *211 responses: '204': description: Response @@ -30229,9 +30529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *94 - - *133 - - *209 + - *96 + - *135 + - *211 responses: '204': description: Response @@ -30259,14 +30559,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *94 - - *209 + - *96 + - *211 responses: '200': description: Response content: application/json: - schema: *210 + schema: *212 examples: default: value: @@ -30316,8 +30616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *94 - - *209 + - *96 + - *211 - *17 - *19 responses: @@ -30395,8 +30695,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *211 - required: *212 + properties: *213 + required: *214 nullable: true required: - id @@ -30411,7 +30711,7 @@ paths: - slug - parent examples: - default: *213 + default: *215 headers: Link: *58 '404': @@ -30440,8 +30740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *94 - - *209 + - *96 + - *211 - *17 - *19 responses: @@ -30469,13 +30769,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &259 + items: &261 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *211 - required: *212 + properties: *213 + required: *214 name: nullable: true type: string @@ -30570,7 +30870,7 @@ paths: - type - url examples: - default: *198 + default: *200 headers: Link: *58 '404': @@ -30594,7 +30894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *94 + - *96 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -30621,7 +30921,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -30646,8 +30946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *94 - - *133 + - *96 + - *135 requestBody: required: false content: @@ -30704,8 +31004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -30762,8 +31062,8 @@ paths: - docker - nuget - container - - *94 - - &628 + - *96 + - &644 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30799,12 +31099,12 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: - default: *215 + default: *217 '403': *29 '401': *25 - '400': &630 + '400': &646 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -30826,7 +31126,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &216 + - &218 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 @@ -30844,20 +31144,20 @@ paths: - docker - nuget - container - - &217 + - &219 name: package_name description: The name of the package. in: path required: true schema: type: string - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -30909,9 +31209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *216 - - *217 - - *94 + - *218 + - *219 + - *96 responses: '204': description: Response @@ -30943,9 +31243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *216 - - *217 - - *94 + - *218 + - *219 + - *96 - name: token description: package token schema: @@ -30977,9 +31277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *216 - - *217 - - *94 + - *218 + - *219 + - *96 - *19 - *17 - name: state @@ -30999,7 +31299,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 title: Package Version description: A version of a software package type: object @@ -31124,10 +31424,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *216 - - *217 - - *94 - - &219 + - *218 + - *219 + - *96 + - &221 name: package_version_id description: Unique identifier of the package version. in: path @@ -31139,7 +31439,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -31175,10 +31475,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *216 - - *217 - - *94 + - *218 - *219 + - *96 + - *221 responses: '204': description: Response @@ -31210,10 +31510,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *216 - - *217 - - *94 + - *218 - *219 + - *96 + - *221 responses: '204': description: Response @@ -31240,10 +31540,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *94 + - *96 - *17 - *19 - - &221 + - &223 name: sort description: The property by which to sort the results. in: query @@ -31254,7 +31554,7 @@ paths: - created_at default: created_at - *48 - - &222 + - &224 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -31265,7 +31565,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &223 + - &225 name: repository description: The name of the repository to use to filter the results. in: query @@ -31273,7 +31573,7 @@ paths: schema: type: string example: Hello-World - - &224 + - &226 name: permission description: The permission to use to filter the results. in: query @@ -31281,7 +31581,7 @@ paths: schema: type: string example: issues_read - - &225 + - &227 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) @@ -31291,7 +31591,7 @@ paths: schema: type: string format: date-time - - &226 + - &228 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) @@ -31301,7 +31601,7 @@ paths: schema: type: string format: date-time - - &227 + - &229 name: token_id description: The ID of the token in: query @@ -31313,7 +31613,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *95 + '500': *97 '422': *15 '404': *6 '403': *29 @@ -31465,7 +31765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *94 + - *96 requestBody: required: true content: @@ -31506,7 +31806,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *95 + '500': *97 '422': *15 '404': *6 '403': *29 @@ -31531,7 +31831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *94 + - *96 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -31567,11 +31867,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *95 + '500': *97 '422': *15 '404': *6 '403': *29 - '204': *146 + '204': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31592,7 +31892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *94 + - *96 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -31603,7 +31903,7 @@ paths: - *17 - *19 responses: - '500': *95 + '500': *97 '404': *6 '403': *29 '200': @@ -31612,9 +31912,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -31637,19 +31937,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *94 + - *96 - *17 - *19 - - *221 - - *48 - - *222 - *223 + - *48 - *224 - *225 - *226 - *227 + - *228 + - *229 responses: - '500': *95 + '500': *97 '422': *15 '404': *6 '403': *29 @@ -31796,7 +32096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *94 + - *96 requestBody: required: true content: @@ -31831,7 +32131,7 @@ paths: - 1296269 - 1296280 responses: - '500': *95 + '500': *97 '404': *6 '202': *39 '403': *29 @@ -31856,7 +32156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *94 + - *96 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -31884,9 +32184,9 @@ paths: value: action: revoke responses: - '500': *95 + '500': *97 '404': *6 - '204': *146 + '204': *148 '403': *29 '422': *15 x-github: @@ -31908,7 +32208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *94 + - *96 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -31918,7 +32218,7 @@ paths: - *17 - *19 responses: - '500': *95 + '500': *97 '404': *6 '403': *29 '200': @@ -31927,9 +32227,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -31953,7 +32253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -31971,7 +32271,7 @@ paths: type: integer configurations: type: array - items: &228 + items: &230 title: Organization private registry description: Private registry configuration for an organization type: object @@ -32047,7 +32347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -32181,7 +32481,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &229 + org-private-registry-with-selected-visibility: &231 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -32222,7 +32522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -32270,16 +32570,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *94 - - *128 + - *96 + - *130 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *228 + schema: *230 examples: - default: *229 + default: *231 '404': *6 x-github: githubCloudOnly: false @@ -32300,8 +32600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -32380,8 +32680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *94 - - *128 + - *96 + - *130 responses: '204': description: Response @@ -32406,7 +32706,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-organization-projects parameters: - - *94 + - *96 - name: state description: Indicates the state of the projects to return. in: query @@ -32427,7 +32727,7 @@ paths: application/json: schema: type: array - items: &230 + items: &232 title: Project description: Projects are a way to organize columns and cards of work. @@ -32574,7 +32874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-an-organization-project parameters: - - *94 + - *96 requestBody: required: true content: @@ -32600,7 +32900,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: default: value: @@ -32638,7 +32938,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &290 + '410': &292 description: Gone content: application/json: @@ -32665,7 +32965,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -32673,7 +32973,7 @@ paths: application/json: schema: type: array - items: &231 + items: &233 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -32739,7 +33039,7 @@ paths: - property_name - value_type examples: - default: &232 + default: &234 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -32787,7 +33087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -32798,7 +33098,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *231 + items: *233 minItems: 1 maxItems: 100 required: @@ -32828,9 +33128,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *232 + default: *234 '403': *29 '404': *6 x-github: @@ -32851,8 +33151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *94 - - &233 + - *96 + - &235 name: custom_property_name description: The custom property name in: path @@ -32864,9 +33164,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: &234 + default: &236 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -32900,8 +33200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *94 - - *233 + - *96 + - *235 requestBody: required: true content: @@ -32970,9 +33270,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *234 + default: *236 '403': *29 '404': *6 x-github: @@ -32995,10 +33295,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *94 - - *233 + - *96 + - *235 responses: - '204': *146 + '204': *148 '403': *29 '404': *6 x-github: @@ -33019,7 +33319,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *94 + - *96 - *17 - *19 - name: repository_query @@ -33057,7 +33357,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &235 + items: &237 title: Custom Property Value description: Custom property name and associated value type: object @@ -33124,7 +33424,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *94 + - *96 requestBody: required: true content: @@ -33144,7 +33444,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *235 + items: *237 required: - repository_names - properties @@ -33185,7 +33485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *94 + - *96 - *17 - *19 responses: @@ -33197,7 +33497,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -33216,8 +33516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response if user is a public member @@ -33241,8 +33541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -33263,8 +33563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -33288,7 +33588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *94 + - *96 - name: type description: Specifies the types of repositories you want returned. in: query @@ -33334,9 +33634,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -33357,7 +33657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *94 + - *96 requestBody: required: true content: @@ -33538,7 +33838,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &294 title: Full Repository description: Full Repository type: object @@ -33815,8 +34115,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *236 - required: *237 + properties: *238 + required: *239 nullable: true temp_clone_token: type: string @@ -33931,7 +34231,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &423 + properties: &425 url: type: string format: uri @@ -33947,12 +34247,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &424 + required: &426 - url - key - name - html_url - security_and_analysis: *238 + security_and_analysis: *240 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -34036,7 +34336,7 @@ paths: - network_count - subscribers_count examples: - default: &294 + default: &296 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34554,10 +34854,10 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *96 - *17 - *19 - - &563 + - &565 name: targets description: | A comma-separated list of rule targets to filter by. @@ -34575,7 +34875,7 @@ paths: application/json: schema: type: array - items: &245 + items: &247 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -34610,7 +34910,7 @@ paths: source: type: string description: The name of the source - enforcement: &241 + enforcement: &243 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -34623,7 +34923,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &242 + items: &244 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -34688,7 +34988,7 @@ paths: conditions: nullable: true anyOf: - - &239 + - &241 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -34712,7 +35012,7 @@ paths: match. items: type: string - - &243 + - &245 title: Organization ruleset conditions type: object description: |- @@ -34726,7 +35026,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *239 + - *241 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -34760,7 +35060,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *239 + - *241 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -34782,7 +35082,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *239 + - *241 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -34795,7 +35095,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &240 + items: &242 title: Repository ruleset property targeting definition type: object @@ -34828,17 +35128,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *240 + items: *242 required: - repository_property rules: type: array - items: &244 + items: &246 title: Repository Rule type: object description: A repository rule. oneOf: - - &541 + - &543 title: creation description: Only allow users with bypass permission to create matching refs. @@ -34850,7 +35150,7 @@ paths: type: string enum: - creation - - &542 + - &544 title: update description: Only allow users with bypass permission to update matching refs. @@ -34871,7 +35171,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &544 + - &546 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -34883,7 +35183,7 @@ paths: type: string enum: - deletion - - &545 + - &547 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -34895,7 +35195,7 @@ paths: type: string enum: - required_linear_history - - &546 + - &548 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -34973,7 +35273,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &547 + - &549 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -34997,7 +35297,7 @@ paths: type: string required: - required_deployment_environments - - &548 + - &550 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -35009,7 +35309,7 @@ paths: type: string enum: - required_signatures - - &549 + - &551 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -35071,7 +35371,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &550 + - &552 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -35119,7 +35419,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &551 + - &553 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -35131,7 +35431,7 @@ paths: type: string enum: - non_fast_forward - - &552 + - &554 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -35167,7 +35467,7 @@ paths: required: - operator - pattern - - &553 + - &555 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -35203,7 +35503,7 @@ paths: required: - operator - pattern - - &554 + - &556 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -35239,7 +35539,7 @@ paths: required: - operator - pattern - - &555 + - &557 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -35275,7 +35575,7 @@ paths: required: - operator - pattern - - &556 + - &558 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -35311,7 +35611,7 @@ paths: required: - operator - pattern - - &557 + - &559 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -35336,7 +35636,7 @@ paths: type: string required: - restricted_file_paths - - &558 + - &560 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -35360,7 +35660,7 @@ paths: maximum: 256 required: - max_file_path_length - - &559 + - &561 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -35383,7 +35683,7 @@ paths: type: string required: - restricted_file_extensions - - &560 + - &562 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -35408,7 +35708,7 @@ paths: maximum: 100 required: - max_file_size - - &561 + - &563 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -35458,7 +35758,7 @@ paths: - repository_id required: - workflows - - &562 + - &564 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -35555,7 +35855,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *97 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -35571,7 +35871,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *96 requestBody: description: Request body required: true @@ -35592,16 +35892,16 @@ paths: - push - repository default: branch - enforcement: *241 + enforcement: *243 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *242 - conditions: *243 + items: *244 + conditions: *245 rules: type: array description: An array of rules within the ruleset. - items: *244 + items: *246 required: - name - enforcement @@ -35639,9 +35939,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: &246 + default: &248 value: id: 21 name: super cool ruleset @@ -35681,7 +35981,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *97 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -35695,8 +35995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *94 - - &564 + - *96 + - &566 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 @@ -35711,7 +36011,7 @@ paths: in: query schema: type: string - - &565 + - &567 name: time_period description: |- The time period to filter by. @@ -35727,14 +36027,14 @@ paths: - week - month default: day - - &566 + - &568 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 - - &567 + - &569 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -35754,7 +36054,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &570 title: Rule Suites description: Response type: array @@ -35809,7 +36109,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &569 + default: &571 value: - id: 21 actor_id: 12 @@ -35833,7 +36133,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35852,8 +36152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *94 - - &570 + - *96 + - &572 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -35869,7 +36169,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &573 title: Rule Suite description: Response type: object @@ -35968,7 +36268,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &572 + default: &574 value: id: 21 actor_id: 12 @@ -36003,7 +36303,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36029,7 +36329,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *96 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36041,11 +36341,11 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *246 + default: *248 '404': *6 - '500': *95 + '500': *97 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -36061,7 +36361,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *96 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36087,16 +36387,16 @@ paths: - tag - push - repository - enforcement: *241 + enforcement: *243 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *242 - conditions: *243 + items: *244 + conditions: *245 rules: description: An array of rules within the ruleset. type: array - items: *244 + items: *246 examples: default: value: @@ -36131,11 +36431,11 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *246 + default: *248 '404': *6 - '500': *95 + '500': *97 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -36151,7 +36451,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *96 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36162,7 +36462,7 @@ paths: '204': description: Response '404': *6 - '500': *95 + '500': *97 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -36174,7 +36474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *94 + - *96 - *17 - *19 - name: ruleset_id @@ -36190,7 +36490,7 @@ paths: application/json: schema: type: array - items: &247 + items: &249 title: Ruleset version type: object description: The historical version of a ruleset @@ -36214,7 +36514,7 @@ paths: type: string format: date-time examples: - default: &574 + default: &576 value: - version_id: 3 actor: @@ -36232,7 +36532,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36249,7 +36549,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *94 + - *96 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36267,9 +36567,9 @@ paths: description: Response content: application/json: - schema: &575 + schema: &577 allOf: - - *247 + - *249 - type: object required: - state @@ -36316,7 +36616,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36338,15 +36638,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *94 - - *248 - - *249 + - *96 - *250 - *251 + - *252 + - *253 - *48 - *19 - *17 - - &576 + - &578 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 @@ -36356,7 +36656,7 @@ paths: required: false schema: type: string - - &577 + - &579 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 @@ -36366,10 +36666,10 @@ paths: required: false schema: type: string - - *252 - - *253 - *254 - *255 + - *256 + - *257 responses: '200': description: Response @@ -36377,9 +36677,9 @@ paths: application/json: schema: type: array - items: *256 + items: *258 examples: - default: *257 + default: *259 headers: Link: *58 '404': *6 @@ -36405,7 +36705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *94 + - *96 - *48 - name: sort description: The property to sort the results by. @@ -36449,7 +36749,7 @@ paths: application/json: schema: type: array - items: &584 + items: &600 description: A repository security advisory. type: object properties: @@ -36669,7 +36969,7 @@ paths: login: type: string description: The username of the user credited. - type: *258 + type: *260 credits_detailed: type: array nullable: true @@ -36679,7 +36979,7 @@ paths: type: object properties: user: *4 - type: *258 + type: *260 state: type: string description: The state of the user's acceptance of the @@ -36703,7 +37003,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *152 + items: *154 private_fork: readOnly: true nullable: true @@ -36740,7 +37040,7 @@ paths: - private_fork additionalProperties: false examples: - default: &585 + default: &601 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -37119,7 +37419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *94 + - *96 responses: '200': description: Response @@ -37127,9 +37427,9 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: - default: *213 + default: *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37152,8 +37452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *94 - - *208 + - *96 + - *210 responses: '204': description: Response @@ -37178,8 +37478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *94 - - *208 + - *96 + - *210 responses: '204': description: Response @@ -37208,13 +37508,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &644 + schema: &660 type: object properties: total_minutes_used: @@ -37284,7 +37584,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &645 + default: &661 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37314,13 +37614,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &646 + schema: &662 type: object properties: total_gigabytes_bandwidth_used: @@ -37338,7 +37638,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &647 + default: &663 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -37364,13 +37664,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &648 + schema: &664 type: object properties: days_left_in_billing_cycle: @@ -37388,7 +37688,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &649 + default: &665 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -37412,7 +37712,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -37430,7 +37730,7 @@ paths: type: integer network_configurations: type: array - items: &260 + items: &262 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -37508,7 +37808,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -37550,9 +37850,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: &261 + default: &263 value: id: 123456789ABCDEF name: My network configuration @@ -37580,8 +37880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 - - &262 + - *96 + - &264 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -37593,9 +37893,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: *261 + default: *263 headers: Link: *58 x-github: @@ -37616,8 +37916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 - - *262 + - *96 + - *264 requestBody: required: true content: @@ -37656,9 +37956,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: *261 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37677,8 +37977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *94 - - *262 + - *96 + - *264 responses: '204': description: Response @@ -37701,7 +38001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *94 + - *96 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -37785,8 +38085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *94 - - *208 + - *96 + - *210 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -37818,13 +38118,13 @@ paths: application/json: schema: type: array - items: *263 + items: *265 examples: - default: *264 - '500': *95 + default: *266 + '500': *97 '403': *29 '404': *6 - '422': *265 + '422': *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37842,7 +38142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *94 + - *96 - *17 - *19 responses: @@ -37852,9 +38152,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 headers: Link: *58 '403': *29 @@ -37876,7 +38176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *94 + - *96 requestBody: required: true content: @@ -37948,7 +38248,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &268 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38011,8 +38311,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *211 - required: *212 + properties: *213 + required: *214 nullable: true members_count: type: integer @@ -38258,7 +38558,7 @@ paths: - repos_count - organization examples: - default: &267 + default: &269 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38328,16 +38628,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *94 - - *208 + - *96 + - *210 responses: '200': description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '404': *6 x-github: githubCloudOnly: false @@ -38358,8 +38658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *94 - - *208 + - *96 + - *210 requestBody: required: false content: @@ -38421,16 +38721,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '201': description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '404': *6 '422': *15 '403': *29 @@ -38455,8 +38755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *94 - - *208 + - *96 + - *210 responses: '204': description: Response @@ -38482,8 +38782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *94 - - *208 + - *96 + - *210 - *48 - *17 - *19 @@ -38500,7 +38800,7 @@ paths: application/json: schema: type: array - items: &268 + items: &270 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -38599,7 +38899,7 @@ paths: - updated_at - url examples: - default: &599 + default: &615 value: - author: login: octocat @@ -38673,8 +38973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *94 - - *208 + - *96 + - *210 requestBody: required: true content: @@ -38708,9 +39008,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: &269 + default: &271 value: author: login: octocat @@ -38782,9 +39082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *94 - - *208 - - &270 + - *96 + - *210 + - &272 name: discussion_number description: The number that identifies the discussion. in: path @@ -38796,9 +39096,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *269 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38820,9 +39120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 requestBody: required: false content: @@ -38845,9 +39145,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: &600 + default: &616 value: author: login: octocat @@ -38917,9 +39217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 responses: '204': description: Response @@ -38945,9 +39245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 - *48 - *17 - *19 @@ -38958,7 +39258,7 @@ paths: application/json: schema: type: array - items: &271 + items: &273 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39030,7 +39330,7 @@ paths: - updated_at - url examples: - default: &601 + default: &617 value: - author: login: octocat @@ -39098,9 +39398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 requestBody: required: true content: @@ -39122,9 +39422,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: &272 + default: &274 value: author: login: octocat @@ -39190,10 +39490,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *94 - - *208 - - *270 - - &273 + - *96 + - *210 + - *272 + - &275 name: comment_number description: The number that identifies the comment. in: path @@ -39205,9 +39505,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39229,10 +39529,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *94 - - *208 - - *270 - - *273 + - *96 + - *210 + - *272 + - *275 requestBody: required: true content: @@ -39254,9 +39554,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: &602 + default: &618 value: author: login: octocat @@ -39320,10 +39620,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *94 - - *208 - - *270 - - *273 + - *96 + - *210 + - *272 + - *275 responses: '204': description: Response @@ -39349,10 +39649,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *94 - - *208 - - *270 - - *273 + - *96 + - *210 + - *272 + - *275 - 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 team discussion comment. @@ -39378,7 +39678,7 @@ paths: application/json: schema: type: array - items: &274 + items: &276 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39421,7 +39721,7 @@ paths: - content - created_at examples: - default: &276 + default: &278 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39471,10 +39771,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *94 - - *208 - - *270 - - *273 + - *96 + - *210 + - *272 + - *275 requestBody: required: true content: @@ -39507,9 +39807,9 @@ paths: team discussion comment content: application/json: - schema: *274 + schema: *276 examples: - default: &275 + default: &277 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39538,9 +39838,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39563,11 +39863,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *94 - - *208 - - *270 - - *273 - - &277 + - *96 + - *210 + - *272 + - *275 + - &279 name: reaction_id description: The unique identifier of the reaction. in: path @@ -39599,9 +39899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 - 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 team discussion. @@ -39627,9 +39927,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 x-github: @@ -39655,9 +39955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 requestBody: required: true content: @@ -39689,16 +39989,16 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39721,10 +40021,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *94 - - *208 - - *270 - - *277 + - *96 + - *210 + - *272 + - *279 responses: '204': description: Response @@ -39748,8 +40048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *94 - - *208 + - *96 + - *210 - *17 - *19 responses: @@ -39759,9 +40059,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *58 x-github: @@ -39783,8 +40083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *94 - - *208 + - *96 + - *210 - name: role description: Filters members returned by their role in the team. in: query @@ -39807,7 +40107,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -39837,15 +40137,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *94 - - *208 - - *133 + - *96 + - *210 + - *135 responses: '200': description: Response content: application/json: - schema: &278 + schema: &280 title: Team Membership description: Team Membership type: object @@ -39872,7 +40172,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &603 + response-if-user-is-a-team-maintainer: &619 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39908,9 +40208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *94 - - *208 - - *133 + - *96 + - *210 + - *135 requestBody: required: false content: @@ -39935,9 +40235,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *280 examples: - response-if-users-membership-with-team-is-now-pending: &604 + response-if-users-membership-with-team-is-now-pending: &620 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -39972,9 +40272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *94 - - *208 - - *133 + - *96 + - *210 + - *135 responses: '204': description: Response @@ -39999,8 +40299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *94 - - *208 + - *96 + - *210 - *17 - *19 responses: @@ -40010,7 +40310,7 @@ paths: application/json: schema: type: array - items: &279 + items: &281 title: Team Project description: A team's access to a project. type: object @@ -40078,7 +40378,7 @@ paths: - updated_at - permissions examples: - default: &605 + default: &621 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40141,9 +40441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *94 - - *208 - - &280 + - *96 + - *210 + - &282 name: project_id description: The unique identifier of the project. in: path @@ -40155,9 +40455,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: &606 + default: &622 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40219,9 +40519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *94 - - *208 - - *280 + - *96 + - *210 + - *282 requestBody: required: false content: @@ -40287,9 +40587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *94 - - *208 - - *280 + - *96 + - *210 + - *282 responses: '204': description: Response @@ -40316,8 +40616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *94 - - *208 + - *96 + - *210 - *17 - *19 responses: @@ -40327,9 +40627,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -40358,16 +40658,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *94 - - *208 - - *281 - - *282 + - *96 + - *210 + - *283 + - *284 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &607 + schema: &623 title: Team Repository description: A team's access to a repository. type: object @@ -40936,10 +41236,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *94 - - *208 - - *281 - - *282 + - *96 + - *210 + - *283 + - *284 requestBody: required: false content: @@ -40984,10 +41284,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *94 - - *208 - - *281 - - *282 + - *96 + - *210 + - *283 + - *284 responses: '204': description: Response @@ -41011,8 +41311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *94 - - *208 + - *96 + - *210 - *17 - *19 responses: @@ -41022,9 +41322,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - response-if-child-teams-exist: &608 + response-if-child-teams-exist: &624 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41077,7 +41377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *94 + - *96 - name: security_product in: path description: The security feature to enable or disable. @@ -41151,7 +41451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &283 + - &285 name: card_id description: The unique identifier of the card. in: path @@ -41163,7 +41463,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &286 title: Project Card description: Project cards represent a scope of work. type: object @@ -41230,7 +41530,7 @@ paths: - created_at - updated_at examples: - default: &285 + default: &287 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41286,7 +41586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *283 + - *285 requestBody: required: false content: @@ -41313,9 +41613,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 '304': *37 '403': *29 '401': *25 @@ -41342,7 +41642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *283 + - *285 responses: '204': description: Response @@ -41386,7 +41686,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *283 + - *285 requestBody: required: true content: @@ -41497,7 +41797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &286 + - &288 name: column_id description: The unique identifier of the column. in: path @@ -41509,7 +41809,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &289 title: Project Column description: Project columns contain cards of work. type: object @@ -41555,7 +41855,7 @@ paths: - created_at - updated_at examples: - default: &288 + default: &290 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -41590,7 +41890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *286 + - *288 requestBody: required: true content: @@ -41614,9 +41914,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: - default: *288 + default: *290 '304': *37 '403': *29 '401': *25 @@ -41641,7 +41941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *286 + - *288 responses: '204': description: Response @@ -41670,7 +41970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *286 + - *288 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -41691,7 +41991,7 @@ paths: application/json: schema: type: array - items: *284 + items: *286 examples: default: value: @@ -41750,7 +42050,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *286 + - *288 requestBody: required: true content: @@ -41790,9 +42090,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 '304': *37 '403': *29 '401': *25 @@ -41802,8 +42102,8 @@ paths: application/json: schema: oneOf: - - *98 - - *99 + - *100 + - *101 '503': description: Response content: @@ -41848,7 +42148,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *286 + - *288 requestBody: required: true content: @@ -41908,15 +42208,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *280 + - *282 responses: '200': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: &289 + default: &291 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -41973,7 +42273,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *280 + - *282 requestBody: required: false content: @@ -42019,9 +42319,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *289 + default: *291 '404': description: Not Found if the authenticated user does not have access to the project @@ -42042,7 +42342,7 @@ paths: items: type: string '401': *25 - '410': *290 + '410': *292 '422': *7 x-github: githubCloudOnly: false @@ -42065,7 +42365,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *280 + - *282 responses: '204': description: Delete Success @@ -42086,7 +42386,7 @@ paths: items: type: string '401': *25 - '410': *290 + '410': *292 '404': *6 x-github: githubCloudOnly: false @@ -42110,7 +42410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *280 + - *282 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -42137,7 +42437,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '404': *6 @@ -42167,8 +42467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *280 - - *133 + - *282 + - *135 requestBody: required: false content: @@ -42220,8 +42520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *280 - - *133 + - *282 + - *135 responses: '204': description: Response @@ -42252,8 +42552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *280 - - *133 + - *282 + - *135 responses: '200': description: Response @@ -42326,7 +42626,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *280 + - *282 - *17 - *19 responses: @@ -42336,7 +42636,7 @@ paths: application/json: schema: type: array - items: *287 + items: *289 examples: default: value: @@ -42374,7 +42674,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *280 + - *282 requestBody: required: true content: @@ -42397,7 +42697,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: default: value: @@ -42461,7 +42761,7 @@ paths: resources: type: object properties: - core: &291 + core: &293 title: Rate Limit type: object properties: @@ -42478,20 +42778,20 @@ paths: - remaining - reset - used - graphql: *291 - search: *291 - code_search: *291 - source_import: *291 - integration_manifest: *291 - code_scanning_upload: *291 - actions_runner_registration: *291 - scim: *291 - dependency_snapshots: *291 - code_scanning_autofix: *291 + graphql: *293 + search: *293 + code_search: *293 + source_import: *293 + integration_manifest: *293 + code_scanning_upload: *293 + actions_runner_registration: *293 + scim: *293 + dependency_snapshots: *293 + code_scanning_autofix: *293 required: - core - search - rate: *291 + rate: *293 required: - rate - resources @@ -42595,14 +42895,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *292 + schema: *294 examples: default-response: summary: Default response @@ -43103,7 +43403,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *293 + '301': *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43121,8 +43421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -43366,10 +43666,10 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *294 - '307': &295 + default: *296 + '307': &297 description: Temporary Redirect content: application/json: @@ -43398,8 +43698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -43421,7 +43721,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *295 + '307': *297 '404': *6 '409': *47 x-github: @@ -43445,11 +43745,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 - - &321 + - &323 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -43472,7 +43772,7 @@ paths: type: integer artifacts: type: array - items: &296 + items: &298 title: Artifact description: An artifact type: object @@ -43550,7 +43850,7 @@ paths: - expires_at - updated_at examples: - default: &322 + default: &324 value: total_count: 2 artifacts: @@ -43611,9 +43911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *281 - - *282 - - &297 + - *283 + - *284 + - &299 name: artifact_id description: The unique identifier of the artifact. in: path @@ -43625,7 +43925,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: default: value: @@ -43663,9 +43963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *281 - - *282 - - *297 + - *283 + - *284 + - *299 responses: '204': description: Response @@ -43689,9 +43989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *281 - - *282 - - *297 + - *283 + - *284 + - *299 - name: archive_format in: path required: true @@ -43705,7 +44005,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': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43728,14 +44028,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -43761,11 +44061,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 - - &299 + - &301 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 @@ -43799,7 +44099,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &302 title: Repository actions caches description: Repository actions caches type: object @@ -43841,7 +44141,7 @@ paths: - total_count - actions_caches examples: - default: &301 + default: &303 value: total_count: 1 actions_caches: @@ -43873,23 +44173,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: - - *281 - - *282 + - *283 + - *284 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *299 + - *301 responses: '200': description: Response content: application/json: - schema: *300 + schema: *302 examples: - default: *301 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43909,8 +44209,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: - - *281 - - *282 + - *283 + - *284 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -43941,9 +44241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *281 - - *282 - - &302 + - *283 + - *284 + - &304 name: job_id description: The unique identifier of the job. in: path @@ -43955,7 +44255,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &327 title: Job description: Information of a job execution in a workflow run type: object @@ -44262,9 +44562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *281 - - *282 - - *302 + - *283 + - *284 + - *304 responses: '302': description: Response @@ -44292,9 +44592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *281 - - *282 - - *302 + - *283 + - *284 + - *304 requestBody: required: false content: @@ -44315,7 +44615,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -44339,8 +44639,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Status response @@ -44390,8 +44690,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: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -44425,7 +44725,7 @@ paths: description: Empty response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -44454,8 +44754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -44473,7 +44773,7 @@ paths: type: integer secrets: type: array - items: &327 + items: &329 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -44493,7 +44793,7 @@ paths: - created_at - updated_at examples: - default: &328 + default: &330 value: total_count: 2 secrets: @@ -44526,9 +44826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *281 - - *282 - - *303 + - *283 + - *284 + - *305 - *19 responses: '200': @@ -44545,7 +44845,7 @@ paths: type: integer variables: type: array - items: &331 + items: &333 title: Actions Variable type: object properties: @@ -44575,7 +44875,7 @@ paths: - created_at - updated_at examples: - default: &332 + default: &334 value: total_count: 2 variables: @@ -44608,8 +44908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -44618,11 +44918,11 @@ paths: schema: type: object properties: - enabled: &305 + enabled: &307 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *109 - selected_actions_url: *304 + allowed_actions: *111 + selected_actions_url: *306 required: - enabled examples: @@ -44649,8 +44949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -44661,8 +44961,8 @@ paths: schema: type: object properties: - enabled: *305 - allowed_actions: *109 + enabled: *307 + allowed_actions: *111 required: - enabled examples: @@ -44691,14 +44991,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: &306 + schema: &308 type: object properties: access_level: @@ -44715,7 +45015,7 @@ paths: required: - access_level examples: - default: &307 + default: &309 value: access_level: organization x-github: @@ -44739,15 +45039,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: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: application/json: - schema: *306 + schema: *308 examples: - default: *307 + default: *309 responses: '204': description: Response @@ -44771,16 +45071,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *112 + default: *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -44799,8 +45099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -44808,9 +45108,9 @@ paths: required: false content: application/json: - schema: *111 + schema: *113 examples: - selected_actions: *112 + selected_actions: *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -44832,16 +45132,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *115 + default: *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44862,8 +45162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Success response @@ -44874,9 +45174,9 @@ paths: required: true content: application/json: - schema: *309 + schema: *311 examples: - default: *115 + default: *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44903,8 +45203,8 @@ paths: in: query schema: type: string - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -44922,9 +45222,9 @@ paths: type: integer runners: type: array - items: *122 + items: *124 examples: - default: *123 + default: *125 headers: Link: *58 x-github: @@ -44948,8 +45248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -44957,9 +45257,9 @@ paths: application/json: schema: type: array - items: *310 + items: *312 examples: - default: *311 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44981,8 +45281,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: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -45025,7 +45325,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *312 + '201': *314 '404': *6 '422': *7 '409': *47 @@ -45056,16 +45356,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '201': description: Response content: application/json: - schema: *124 + schema: *126 examples: - default: *313 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45093,16 +45393,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '201': description: Response content: application/json: - schema: *124 + schema: *126 examples: - default: *314 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45124,17 +45424,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 responses: '200': description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *315 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45155,9 +45455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 responses: '204': description: Response @@ -45183,11 +45483,11 @@ 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: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 responses: - '200': *126 + '200': *128 '404': *6 x-github: githubCloudOnly: false @@ -45209,9 +45509,9 @@ 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: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 requestBody: required: true content: @@ -45235,7 +45535,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -45259,9 +45559,9 @@ 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: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 requestBody: required: true content: @@ -45286,7 +45586,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -45310,11 +45610,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: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 responses: - '200': *316 + '200': *318 '404': *6 x-github: githubCloudOnly: false @@ -45341,12 +45641,12 @@ 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: - - *281 - - *282 - - *121 - - *317 + - *283 + - *284 + - *123 + - *319 responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -45372,9 +45672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *281 - - *282 - - &335 + - *283 + - *284 + - &337 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. @@ -45382,7 +45682,7 @@ paths: required: false schema: type: string - - &336 + - &338 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -45390,7 +45690,7 @@ paths: required: false schema: type: string - - &337 + - &339 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -45399,7 +45699,7 @@ paths: required: false schema: type: string - - &338 + - &340 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 @@ -45426,7 +45726,7 @@ paths: - pending - *17 - *19 - - &339 + - &341 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)." @@ -45435,7 +45735,7 @@ paths: schema: type: string format: date-time - - &318 + - &320 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -45444,13 +45744,13 @@ paths: schema: type: boolean default: false - - &340 + - &342 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &341 + - &343 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -45473,7 +45773,7 @@ paths: type: integer workflow_runs: type: array - items: &319 + items: &321 title: Workflow Run description: An invocation of a workflow type: object @@ -45568,7 +45868,7 @@ paths: that triggered the run. type: array nullable: true - items: &360 + items: &362 title: Pull Request Minimal type: object properties: @@ -45687,7 +45987,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &364 + properties: &366 id: type: string description: SHA for the commit @@ -45738,7 +46038,7 @@ paths: - name - email nullable: true - required: &365 + required: &367 - id - tree_id - message @@ -45746,8 +46046,8 @@ paths: - author - committer nullable: true - repository: *120 - head_repository: *120 + repository: *122 + head_repository: *122 head_repository_id: type: integer example: 5 @@ -45785,7 +46085,7 @@ paths: - workflow_url - pull_requests examples: - default: &342 + default: &344 value: total_count: 1 workflow_runs: @@ -46021,24 +46321,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *281 - - *282 - - &320 + - *283 + - *284 + - &322 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *318 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: &323 + default: &325 value: id: 30433642 name: Build @@ -46279,9 +46579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '204': description: Response @@ -46304,9 +46604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '200': description: Response @@ -46425,15 +46725,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '201': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -46460,12 +46760,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 - *17 - *19 - - *321 + - *323 responses: '200': description: Response @@ -46481,9 +46781,9 @@ paths: type: integer artifacts: type: array - items: *296 + items: *298 examples: - default: *322 + default: *324 headers: Link: *58 x-github: @@ -46507,25 +46807,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *281 - - *282 - - *320 - - &324 + - *283 + - *284 + - *322 + - &326 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *318 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *323 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46548,10 +46848,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *281 - - *282 - - *320 - - *324 + - *283 + - *284 + - *322 + - *326 - *17 - *19 responses: @@ -46569,9 +46869,9 @@ paths: type: integer jobs: type: array - items: *325 + items: *327 examples: - default: &326 + default: &328 value: total_count: 1 jobs: @@ -46684,10 +46984,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *281 - - *282 - - *320 - - *324 + - *283 + - *284 + - *322 + - *326 responses: '302': description: Response @@ -46715,15 +47015,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '202': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -46750,9 +47050,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: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 requestBody: required: true content: @@ -46819,15 +47119,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '202': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -46854,9 +47154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 - 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 @@ -46886,9 +47186,9 @@ paths: type: integer jobs: type: array - items: *325 + items: *327 examples: - default: *326 + default: *328 headers: Link: *58 x-github: @@ -46913,9 +47213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '302': description: Response @@ -46942,14 +47242,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '204': description: Response '403': *29 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46971,9 +47271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '200': description: Response @@ -47033,7 +47333,7 @@ paths: items: type: object properties: - type: &444 + type: &446 type: string description: The type of reviewer. enum: @@ -47043,7 +47343,7 @@ paths: reviewer: anyOf: - *4 - - *152 + - *154 required: - environment - wait_timer @@ -47118,9 +47418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 requestBody: required: true content: @@ -47167,7 +47467,7 @@ paths: application/json: schema: type: array - items: &439 + items: &441 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -47273,7 +47573,7 @@ paths: - created_at - updated_at examples: - default: &440 + default: &442 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -47329,9 +47629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 requestBody: required: false content: @@ -47352,7 +47652,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -47375,9 +47675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 requestBody: required: false content: @@ -47398,7 +47698,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -47430,9 +47730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '200': description: Response @@ -47569,8 +47869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -47588,9 +47888,9 @@ paths: type: integer secrets: type: array - items: *327 + items: *329 examples: - default: *328 + default: *330 headers: Link: *58 x-github: @@ -47615,16 +47915,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47646,17 +47946,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: &457 + default: &459 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47682,9 +47982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 requestBody: required: true content: @@ -47715,7 +48015,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -47741,9 +48041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '204': description: Response @@ -47768,9 +48068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *281 - - *282 - - *303 + - *283 + - *284 + - *305 - *19 responses: '200': @@ -47787,9 +48087,9 @@ paths: type: integer variables: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 headers: Link: *58 x-github: @@ -47812,8 +48112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -47840,7 +48140,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -47865,17 +48165,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *281 - - *282 - - *131 + - *283 + - *284 + - *133 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: &458 + default: &460 value: name: USERNAME value: octocat @@ -47901,9 +48201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *281 - - *282 - - *131 + - *283 + - *284 + - *133 requestBody: required: true content: @@ -47945,9 +48245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *281 - - *282 - - *131 + - *283 + - *284 + - *133 responses: '204': description: Response @@ -47972,8 +48272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -47991,7 +48291,7 @@ paths: type: integer workflows: type: array - items: &333 + items: &335 title: Workflow description: A GitHub Actions workflow type: object @@ -48098,9 +48398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *281 - - *282 - - &334 + - *283 + - *284 + - &336 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48115,7 +48415,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -48148,9 +48448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *281 - - *282 - - *334 + - *283 + - *284 + - *336 responses: '204': description: Response @@ -48175,9 +48475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *281 - - *282 - - *334 + - *283 + - *284 + - *336 responses: '204': description: Response @@ -48228,9 +48528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *281 - - *282 - - *334 + - *283 + - *284 + - *336 responses: '204': description: Response @@ -48257,19 +48557,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *281 - - *282 - - *334 - - *335 + - *283 + - *284 - *336 - *337 - *338 - - *17 - - *19 - *339 - - *318 - *340 + - *17 + - *19 - *341 + - *320 + - *342 + - *343 responses: '200': description: Response @@ -48285,9 +48585,9 @@ paths: type: integer workflow_runs: type: array - items: *319 + items: *321 examples: - default: *342 + default: *344 headers: Link: *58 x-github: @@ -48319,9 +48619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *281 - - *282 - - *334 + - *283 + - *284 + - *336 responses: '200': description: Response @@ -48382,8 +48682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *281 - - *282 + - *283 + - *284 - *48 - *17 - *40 @@ -48547,8 +48847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -48560,7 +48860,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '404': *6 @@ -48585,8 +48885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *281 - - *282 + - *283 + - *284 - name: assignee in: path required: true @@ -48622,8 +48922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -48735,8 +49035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *40 - *41 @@ -48790,7 +49090,7 @@ paths: bundle_url: type: string examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48810,8 +49110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -48819,7 +49119,7 @@ paths: application/json: schema: type: array - items: &344 + items: &346 title: Autolink reference description: An autolink reference. type: object @@ -48869,8 +49169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -48909,9 +49209,9 @@ paths: description: response content: application/json: - schema: *344 + schema: *346 examples: - default: &345 + default: &347 value: id: 1 key_prefix: TICKET- @@ -48942,9 +49242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *281 - - *282 - - &346 + - *283 + - *284 + - &348 name: autolink_id description: The unique identifier of the autolink. in: path @@ -48956,9 +49256,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 '404': *6 x-github: githubCloudOnly: false @@ -48978,9 +49278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *281 - - *282 - - *346 + - *283 + - *284 + - *348 responses: '204': description: Response @@ -49004,8 +49304,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response if Dependabot is enabled @@ -49053,8 +49353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -49075,8 +49375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -49096,8 +49396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *281 - - *282 + - *283 + - *284 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49135,7 +49435,7 @@ paths: - url protected: type: boolean - protection: &348 + protection: &350 title: Branch Protection description: Branch Protection type: object @@ -49177,7 +49477,7 @@ paths: required: - contexts - checks - enforce_admins: &351 + enforce_admins: &353 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -49192,7 +49492,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &353 + required_pull_request_reviews: &355 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -49213,7 +49513,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *152 + items: *154 apps: description: The list of apps with review dismissal access. @@ -49242,7 +49542,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *152 + items: *154 apps: description: The list of apps allowed to bypass pull request requirements. @@ -49268,7 +49568,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &350 + restrictions: &352 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -49575,9 +49875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *281 - - *282 - - &349 + - *283 + - *284 + - &351 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). @@ -49591,14 +49891,14 @@ paths: description: Response content: application/json: - schema: &359 + schema: &361 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &412 + commit: &414 title: Commit description: Commit type: object @@ -49632,7 +49932,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &347 + properties: &349 name: type: string example: '"Chris Wanstrath"' @@ -49647,7 +49947,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true message: type: string @@ -49668,7 +49968,7 @@ paths: required: - sha - url - verification: &464 + verification: &466 title: Verification type: object properties: @@ -49702,12 +50002,12 @@ paths: nullable: true oneOf: - *4 - - *129 + - *131 committer: nullable: true oneOf: - *4 - - *129 + - *131 parents: type: array items: @@ -49738,7 +50038,7 @@ paths: type: integer files: type: array - items: &427 + items: &429 title: Diff Entry description: Diff Entry type: object @@ -49821,7 +50121,7 @@ paths: - self protected: type: boolean - protection: *348 + protection: *350 protection_url: type: string format: uri @@ -49928,7 +50228,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *293 + '301': *295 '404': *6 x-github: githubCloudOnly: false @@ -49950,15 +50250,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *348 + schema: *350 examples: default: value: @@ -50152,9 +50452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -50409,7 +50709,7 @@ paths: url: type: string format: uri - required_status_checks: &356 + required_status_checks: &358 title: Status Check Policy description: Status Check Policy type: object @@ -50485,7 +50785,7 @@ paths: items: *4 teams: type: array - items: *152 + items: *154 apps: type: array items: *5 @@ -50503,7 +50803,7 @@ paths: items: *4 teams: type: array - items: *152 + items: *154 apps: type: array items: *5 @@ -50561,7 +50861,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *350 + restrictions: *352 required_conversation_resolution: type: object properties: @@ -50673,9 +50973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -50700,17 +51000,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: &352 + default: &354 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -50732,17 +51032,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50761,9 +51061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -50788,17 +51088,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: &354 + default: &356 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -50894,9 +51194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -50994,9 +51294,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -51017,9 +51317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -51046,17 +51346,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: &355 + default: &357 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51079,17 +51379,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *355 + default: *357 '404': *6 x-github: githubCloudOnly: false @@ -51109,9 +51409,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -51136,17 +51436,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: &357 + default: &359 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -51172,9 +51472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -51226,9 +51526,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 '404': *6 '422': *15 x-github: @@ -51250,9 +51550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -51276,9 +51576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response @@ -51312,9 +51612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -51381,9 +51681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -51447,9 +51747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: content: application/json: @@ -51515,15 +51815,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *350 + schema: *352 examples: default: value: @@ -51614,9 +51914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -51639,9 +51939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response @@ -51651,7 +51951,7 @@ paths: type: array items: *5 examples: - default: &358 + default: &360 value: - id: 1 slug: octoapp @@ -51708,9 +52008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -51744,7 +52044,7 @@ paths: type: array items: *5 examples: - default: *358 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -51765,9 +52065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -51801,7 +52101,7 @@ paths: type: array items: *5 examples: - default: *358 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -51822,9 +52122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -51858,7 +52158,7 @@ paths: type: array items: *5 examples: - default: *358 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -51880,9 +52180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response @@ -51890,9 +52190,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 '404': *6 x-github: githubCloudOnly: false @@ -51912,9 +52212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -51950,9 +52250,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -51973,9 +52273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -52011,9 +52311,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -52034,9 +52334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: content: application/json: @@ -52071,9 +52371,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -52095,9 +52395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response @@ -52107,7 +52407,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 '404': *6 x-github: githubCloudOnly: false @@ -52131,9 +52431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -52166,7 +52466,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -52191,9 +52491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -52226,7 +52526,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -52251,9 +52551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -52286,7 +52586,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -52313,9 +52613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -52337,7 +52637,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: default: value: @@ -52453,8 +52753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -52733,7 +53033,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 title: CheckRun description: A check performed on the code of a given code change type: object @@ -52852,8 +53152,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *360 - deployment: &662 + items: *362 + deployment: &678 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53133,9 +53433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *281 - - *282 - - &362 + - *283 + - *284 + - &364 name: check_run_id description: The unique identifier of the check run. in: path @@ -53147,9 +53447,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: &363 + default: &365 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -53249,9 +53549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *281 - - *282 - - *362 + - *283 + - *284 + - *364 requestBody: required: true content: @@ -53491,9 +53791,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: *363 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53513,9 +53813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *281 - - *282 - - *362 + - *283 + - *284 + - *364 - *17 - *19 responses: @@ -53610,15 +53910,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *281 - - *282 - - *362 + - *283 + - *284 + - *364 responses: '201': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -53656,8 +53956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -53679,7 +53979,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &366 + schema: &368 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -53743,7 +54043,7 @@ paths: nullable: true pull_requests: type: array - items: *360 + items: *362 nullable: true app: title: GitHub app @@ -53756,7 +54056,7 @@ paths: nullable: true properties: *61 required: *62 - repository: *120 + repository: *122 created_at: type: string format: date-time @@ -53765,12 +54065,12 @@ paths: type: string format: date-time nullable: true - head_commit: &688 + head_commit: &704 title: Simple Commit description: A commit. type: object - properties: *364 - required: *365 + properties: *366 + required: *367 latest_check_runs_count: type: integer check_runs_url: @@ -53798,7 +54098,7 @@ paths: - check_runs_url - pull_requests examples: - default: &367 + default: &369 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54089,9 +54389,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54110,8 +54410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -54172,7 +54472,7 @@ paths: required: - app_id - setting - repository: *120 + repository: *122 examples: default: value: @@ -54420,9 +54720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *281 - - *282 - - &368 + - *283 + - *284 + - &370 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -54434,9 +54734,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54459,17 +54759,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *281 - - *282 - - *368 - - &420 + - *283 + - *284 + - *370 + - &422 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &421 + - &423 name: status description: Returns check runs with the specified `status`. in: query @@ -54508,9 +54808,9 @@ paths: type: integer check_runs: type: array - items: *361 + items: *363 examples: - default: &422 + default: &424 value: total_count: 1 check_runs: @@ -54612,15 +54912,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *281 - - *282 - - *368 + - *283 + - *284 + - *370 responses: '201': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -54647,21 +54947,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *281 - - *282 - - *369 - - *370 + - *283 + - *284 + - *371 + - *372 - *19 - *17 - - &387 + - &389 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: *371 - - &388 + schema: *373 + - &390 name: pr description: The number of the pull request for the results you want to list. in: query @@ -54686,13 +54986,13 @@ paths: be returned. in: query required: false - schema: *372 + schema: *374 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *373 + schema: *375 responses: '200': description: Response @@ -54705,12 +55005,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *137 + updated_at: *139 url: *56 html_url: *57 - instances_url: *374 - state: *142 - fixed_at: *138 + instances_url: *376 + state: *144 + fixed_at: *140 dismissed_by: title: Simple User description: A GitHub user. @@ -54718,12 +55018,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *139 - dismissed_reason: *375 - dismissed_comment: *376 - rule: *377 - tool: *378 - most_recent_instance: *379 + dismissed_at: *141 + dismissed_reason: *377 + dismissed_comment: *378 + rule: *379 + tool: *380 + most_recent_instance: *381 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -54846,7 +55146,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &380 + '403': &382 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -54873,9 +55173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *281 - - *282 - - &381 + - *283 + - *284 + - &383 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -54889,17 +55189,17 @@ paths: description: Response content: application/json: - schema: &382 + schema: &384 type: object properties: number: *54 created_at: *55 - updated_at: *137 + updated_at: *139 url: *56 html_url: *57 - instances_url: *374 - state: *142 - fixed_at: *138 + instances_url: *376 + state: *144 + fixed_at: *140 dismissed_by: title: Simple User description: A GitHub user. @@ -54907,9 +55207,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *139 - dismissed_reason: *375 - dismissed_comment: *376 + dismissed_at: *141 + dismissed_reason: *377 + dismissed_comment: *378 rule: type: object properties: @@ -54963,8 +55263,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *378 - most_recent_instance: *379 + tool: *380 + most_recent_instance: *381 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -55060,7 +55360,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -55080,9 +55380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 requestBody: required: true content: @@ -55097,8 +55397,8 @@ paths: enum: - open - dismissed - dismissed_reason: *375 - dismissed_comment: *376 + dismissed_reason: *377 + dismissed_comment: *378 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -55117,7 +55417,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *384 examples: default: value: @@ -55193,7 +55493,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &386 + '403': &388 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -55220,15 +55520,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: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 responses: '200': description: Response content: application/json: - schema: &383 + schema: &385 type: object properties: status: @@ -55254,13 +55554,13 @@ paths: - description - started_at examples: - default: &384 + default: &386 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &385 + '400': &387 description: Bad Request content: application/json: @@ -55271,7 +55571,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': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -55296,29 +55596,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: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 responses: '200': description: OK content: application/json: - schema: *383 + schema: *385 examples: - default: *384 + default: *386 '202': description: Accepted content: application/json: - schema: *383 + schema: *385 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *385 + '400': *387 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -55350,9 +55650,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: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 requestBody: required: false content: @@ -55397,8 +55697,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *385 - '403': *386 + '400': *387 + '403': *388 '404': *6 '422': description: Unprocessable Entity @@ -55422,13 +55722,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 - *19 - *17 - - *387 - - *388 + - *389 + - *390 responses: '200': description: Response @@ -55436,7 +55736,7 @@ paths: application/json: schema: type: array - items: *379 + items: *381 examples: default: value: @@ -55475,7 +55775,7 @@ paths: end_column: 50 classifications: - source - '403': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -55509,25 +55809,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *281 - - *282 - - *369 - - *370 + - *283 + - *284 + - *371 + - *372 - *19 - *17 - - *388 + - *390 - 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: *371 + schema: *373 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &391 + schema: &393 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -55548,23 +55848,23 @@ paths: application/json: schema: type: array - items: &392 + items: &394 type: object properties: - ref: *371 - commit_sha: &400 + ref: *373 + commit_sha: &402 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: *389 + analysis_key: *391 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *390 + category: *392 error: type: string example: error reading field xyz @@ -55588,8 +55888,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *391 - tool: *378 + sarif_id: *393 + tool: *380 deletable: type: boolean warning: @@ -55650,7 +55950,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -55686,8 +55986,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: - - *281 - - *282 + - *283 + - *284 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55700,7 +56000,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: response: summary: application/json response @@ -55754,7 +56054,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *380 + '403': *382 '404': *6 '422': description: Response if analysis could not be processed @@ -55841,8 +56141,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: - - *281 - - *282 + - *283 + - *284 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55895,7 +56195,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': *386 + '403': *388 '404': *6 '503': *65 x-github: @@ -55917,8 +56217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -55926,7 +56226,7 @@ paths: application/json: schema: type: array - items: &393 + items: &395 title: CodeQL Database description: A CodeQL database. type: object @@ -56037,7 +56337,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': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -56066,8 +56366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - name: language in: path description: The language of the CodeQL database. @@ -56079,7 +56379,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -56111,9 +56411,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': &429 + '302': &431 description: Found - '403': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -56135,8 +56435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *281 - - *282 + - *283 + - *284 - name: language in: path description: The language of the CodeQL database. @@ -56146,7 +56446,7 @@ paths: responses: '204': description: Response - '403': *386 + '403': *388 '404': *6 '503': *65 x-github: @@ -56174,8 +56474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -56184,7 +56484,7 @@ paths: type: object additionalProperties: false properties: - language: &394 + language: &396 type: string description: The language targeted by the CodeQL query enum: @@ -56263,7 +56563,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &398 + schema: &400 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -56273,7 +56573,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *394 + query_language: *396 query_pack_url: type: string description: The download url for the query pack. @@ -56320,7 +56620,7 @@ paths: items: type: object properties: - repository: &395 + repository: &397 title: Repository Identifier description: Repository Identifier type: object @@ -56356,7 +56656,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &399 + analysis_status: &401 type: string description: The new status of the CodeQL variant analysis repository task. @@ -56388,7 +56688,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &396 + access_mismatch_repos: &398 type: object properties: repository_count: @@ -56402,7 +56702,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: *395 + items: *397 required: - repository_count - repositories @@ -56424,8 +56724,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *396 - over_limit_repos: *396 + no_codeql_db_repos: *398 + over_limit_repos: *398 required: - access_mismatch_repos - not_found_repos @@ -56441,7 +56741,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &397 + value: &399 summary: Default response value: id: 1 @@ -56593,10 +56893,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *397 + value: *399 repository_lists: summary: Response for a successful variant analysis submission - value: *397 + value: *399 '404': *6 '422': description: Unable to process variant analysis submission @@ -56624,8 +56924,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: - - *281 - - *282 + - *283 + - *284 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -56637,9 +56937,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *397 + default: *399 '404': *6 '503': *65 x-github: @@ -56662,7 +56962,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: - - *281 + - *283 - name: repo in: path description: The name of the controller repository. @@ -56697,7 +56997,7 @@ paths: type: object properties: repository: *53 - analysis_status: *399 + analysis_status: *401 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -56822,8 +57122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -56908,7 +57208,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -56929,8 +57229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -56997,7 +57297,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -57022,7 +57322,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *386 + '403': *388 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -57087,8 +57387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -57096,7 +57396,7 @@ paths: schema: type: object properties: - commit_sha: *400 + commit_sha: *402 ref: type: string description: |- @@ -57154,7 +57454,7 @@ paths: schema: type: object properties: - id: *391 + id: *393 url: type: string description: The REST API URL for checking the status of the upload. @@ -57168,7 +57468,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': *386 + '403': *388 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -57191,8 +57491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *281 - - *282 + - *283 + - *284 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -57238,7 +57538,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': *380 + '403': *382 '404': description: Not Found if the sarif id does not match any upload '503': *65 @@ -57263,8 +57563,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -57320,7 +57620,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *146 + '204': *148 '304': *37 '403': *29 '404': *6 @@ -57345,8 +57645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *281 - - *282 + - *283 + - *284 - 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 @@ -57466,8 +57766,8 @@ paths: parameters: - *17 - *19 - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -57483,7 +57783,7 @@ paths: type: integer codespaces: type: array - items: *199 + items: *201 examples: default: value: @@ -57759,7 +58059,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -57781,8 +58081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -57845,17 +58145,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '400': *14 '401': *25 '403': *29 @@ -57884,8 +58184,8 @@ paths: parameters: - *17 - *19 - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -57925,7 +58225,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *95 + '500': *97 '400': *14 '401': *25 '403': *29 @@ -57949,8 +58249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -57985,14 +58285,14 @@ paths: type: integer machines: type: array - items: &615 + items: &631 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *402 - required: *403 + properties: *404 + required: *405 examples: - default: &616 + default: &632 value: total_count: 2 machines: @@ -58009,7 +58309,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -58032,8 +58332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *281 - - *282 + - *283 + - *284 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -58117,8 +58417,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: - - *281 - - *282 + - *283 + - *284 - 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 @@ -58184,8 +58484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -58203,7 +58503,7 @@ paths: type: integer secrets: type: array - items: &407 + items: &409 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -58223,7 +58523,7 @@ paths: - created_at - updated_at examples: - default: *404 + default: *406 headers: Link: *58 x-github: @@ -58246,16 +58546,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58275,17 +58575,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '200': description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: *408 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58305,9 +58605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 requestBody: required: true content: @@ -58335,7 +58635,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -58359,9 +58659,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '204': description: Response @@ -58389,8 +58689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *281 - - *282 + - *283 + - *284 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -58432,7 +58732,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &409 + properties: &411 login: type: string example: octocat @@ -58525,7 +58825,7 @@ paths: user_view_type: type: string example: public - required: &410 + required: &412 - avatar_url - events_url - followers_url @@ -58599,9 +58899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *281 - - *282 - - *133 + - *283 + - *284 + - *135 responses: '204': description: Response if user is a collaborator @@ -58647,9 +58947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *281 - - *282 - - *133 + - *283 + - *284 + - *135 requestBody: required: false content: @@ -58675,7 +58975,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &477 + schema: &479 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -58686,7 +58986,7 @@ paths: example: 42 type: integer format: int64 - repository: *120 + repository: *122 invitee: title: Simple User description: A GitHub user. @@ -58864,7 +59164,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *98 + schema: *100 '403': *29 x-github: triggersNotification: true @@ -58904,9 +59204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *281 - - *282 - - *133 + - *283 + - *284 + - *135 responses: '204': description: No Content when collaborator was removed from the repository. @@ -58937,9 +59237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *281 - - *282 - - *133 + - *283 + - *284 + - *135 responses: '200': description: if user has admin permissions @@ -58959,8 +59259,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *409 - required: *410 + properties: *411 + required: *412 nullable: true required: - permission @@ -59015,8 +59315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -59026,7 +59326,7 @@ paths: application/json: schema: type: array - items: &411 + items: &413 title: Commit Comment description: Commit Comment type: object @@ -59084,7 +59384,7 @@ paths: - created_at - updated_at examples: - default: &414 + default: &416 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59143,17 +59443,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: &415 + default: &417 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59210,8 +59510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -59234,7 +59534,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: default: value: @@ -59285,8 +59585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '204': @@ -59308,8 +59608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -59336,9 +59636,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 '404': *6 @@ -59359,8 +59659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -59393,16 +59693,16 @@ paths: description: Reaction exists content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Reaction created content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -59424,10 +59724,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *281 - - *282 + - *283 + - *284 - *76 - - *277 + - *279 responses: '204': description: Response @@ -59476,8 +59776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *281 - - *282 + - *283 + - *284 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -59533,9 +59833,9 @@ paths: application/json: schema: type: array - items: *412 + items: *414 examples: - default: &528 + default: &530 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59606,7 +59906,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *58 - '500': *95 + '500': *97 '400': *14 '404': *6 '409': *47 @@ -59629,9 +59929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *281 - - *282 - - &413 + - *283 + - *284 + - &415 name: commit_sha description: The SHA of the commit. in: path @@ -59703,9 +60003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *281 - - *282 - - *413 + - *283 + - *284 + - *415 - *17 - *19 responses: @@ -59715,9 +60015,9 @@ paths: application/json: schema: type: array - items: *411 + items: *413 examples: - default: *414 + default: *416 headers: Link: *58 x-github: @@ -59745,9 +60045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *281 - - *282 - - *413 + - *283 + - *284 + - *415 requestBody: required: true content: @@ -59782,9 +60082,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *415 + default: *417 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59812,9 +60112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *281 - - *282 - - *413 + - *283 + - *284 + - *415 - *17 - *19 responses: @@ -59824,7 +60124,7 @@ paths: application/json: schema: type: array - items: &519 + items: &521 title: Pull Request Simple description: Pull Request Simple type: object @@ -59930,8 +60230,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *416 - required: *417 + properties: *418 + required: *419 nullable: true active_lock_reason: type: string @@ -59976,7 +60276,7 @@ paths: nullable: true requested_teams: type: array - items: *152 + items: *154 nullable: true head: type: object @@ -60027,7 +60327,7 @@ paths: _links: type: object properties: - comments: &418 + comments: &420 title: Link description: Hypermedia Link type: object @@ -60036,13 +60336,13 @@ paths: type: string required: - href - commits: *418 - statuses: *418 - html: *418 - issue: *418 - review_comments: *418 - review_comment: *418 - self: *418 + commits: *420 + statuses: *420 + html: *420 + issue: *420 + review_comments: *420 + review_comment: *420 + self: *420 required: - comments - commits @@ -60053,7 +60353,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: &521 + auto_merge: &523 title: Auto merge description: The status of auto merging a pull request. type: object @@ -60116,7 +60416,7 @@ paths: - author_association - auto_merge examples: - default: &520 + default: &522 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -60653,11 +60953,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *281 - - *282 + - *283 + - *284 - *19 - *17 - - &419 + - &421 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)" @@ -60672,9 +60972,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *414 examples: - default: &506 + default: &508 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60760,7 +61060,7 @@ paths: ..... '422': *15 '404': *6 - '500': *95 + '500': *97 '503': *65 '409': *47 x-github: @@ -60787,11 +61087,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *281 - - *282 - - *419 - - *420 + - *283 + - *284 - *421 + - *422 + - *423 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -60825,9 +61125,9 @@ paths: type: integer check_runs: type: array - items: *361 + items: *363 examples: - default: *422 + default: *424 headers: Link: *58 x-github: @@ -60852,9 +61152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *281 - - *282 - - *419 + - *283 + - *284 + - *421 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -60862,7 +61162,7 @@ paths: schema: type: integer example: 1 - - *420 + - *422 - *17 - *19 responses: @@ -60880,7 +61180,7 @@ paths: type: integer check_suites: type: array - items: *366 + items: *368 examples: default: value: @@ -61080,9 +61380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *281 - - *282 - - *419 + - *283 + - *284 + - *421 - *17 - *19 responses: @@ -61149,7 +61449,7 @@ paths: type: string total_count: type: integer - repository: *120 + repository: *122 commit_url: type: string format: uri @@ -61280,9 +61580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *281 - - *282 - - *419 + - *283 + - *284 + - *421 - *17 - *19 responses: @@ -61292,7 +61592,7 @@ paths: application/json: schema: type: array - items: &589 + items: &605 title: Status description: The status of a commit. type: object @@ -61373,7 +61673,7 @@ paths: site_admin: false headers: Link: *58 - '301': *293 + '301': *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61401,8 +61701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -61431,20 +61731,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *423 - required: *424 + properties: *425 + required: *426 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &425 + properties: &427 url: type: string format: uri html_url: type: string format: uri - required: &426 + required: &428 - url - html_url nullable: true @@ -61458,26 +61758,26 @@ paths: contributing: title: Community Health File type: object - properties: *425 - required: *426 + properties: *427 + required: *428 nullable: true readme: title: Community Health File type: object - properties: *425 - required: *426 + properties: *427 + required: *428 nullable: true issue_template: title: Community Health File type: object - properties: *425 - required: *426 + properties: *427 + required: *428 nullable: true pull_request_template: title: Community Health File type: object - properties: *425 - required: *426 + properties: *427 + required: *428 nullable: true required: - code_of_conduct @@ -61604,8 +61904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *281 - - *282 + - *283 + - *284 - *19 - *17 - name: basehead @@ -61648,8 +61948,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *412 - merge_base_commit: *412 + base_commit: *414 + merge_base_commit: *414 status: type: string enum: @@ -61669,10 +61969,10 @@ paths: example: 6 commits: type: array - items: *412 + items: *414 files: type: array - items: *427 + items: *429 required: - url - html_url @@ -61915,7 +62215,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *95 + '500': *97 '503': *65 x-github: githubCloudOnly: false @@ -61958,8 +62258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *281 - - *282 + - *283 + - *284 - name: path description: path parameter in: path @@ -62102,7 +62402,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &428 + response-if-content-is-a-file: &430 summary: Response if content is a file value: type: file @@ -62234,7 +62534,7 @@ paths: - size - type - url - - &533 + - &535 title: Content File description: Content File type: object @@ -62435,7 +62735,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *428 + response-if-content-is-a-file: *430 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -62504,7 +62804,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *429 + '302': *431 '304': *37 x-github: githubCloudOnly: false @@ -62527,8 +62827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *281 - - *282 + - *283 + - *284 - name: path description: path parameter in: path @@ -62621,7 +62921,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &432 title: File Commit description: File Commit type: object @@ -62773,7 +63073,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: example-for-creating-a-file: value: @@ -62827,7 +63127,7 @@ paths: schema: oneOf: - *3 - - &459 + - &461 description: Repository rule violation was detected type: object properties: @@ -62848,7 +63148,7 @@ paths: items: type: object properties: - placeholder_id: &581 + placeholder_id: &597 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -62880,8 +63180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *281 - - *282 + - *283 + - *284 - name: path description: path parameter in: path @@ -62942,7 +63242,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: default: value: @@ -62997,8 +63297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *281 - - *282 + - *283 + - *284 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -63121,22 +63421,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *281 - - *282 - - *153 - - *154 + - *283 + - *284 - *155 - *156 + - *157 + - *158 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *157 - - *158 - *159 - *160 + - *161 + - *162 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -63156,8 +63456,8 @@ paths: default: 30 - *40 - *41 - - *161 - - *162 + - *163 + - *164 responses: '200': description: Response @@ -63165,7 +63465,7 @@ paths: application/json: schema: type: array - items: &433 + items: &435 type: object description: A Dependabot alert. properties: @@ -63211,13 +63511,13 @@ paths: - unknown - direct - transitive - security_advisory: *431 + security_advisory: *433 security_vulnerability: *52 url: *56 html_url: *57 created_at: *55 - updated_at: *137 - dismissed_at: *139 + updated_at: *139 + dismissed_at: *141 dismissed_by: title: Simple User description: A GitHub user. @@ -63241,8 +63541,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *138 - auto_dismissed_at: *432 + fixed_at: *140 + auto_dismissed_at: *434 required: - number - state @@ -63472,9 +63772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *281 - - *282 - - &434 + - *283 + - *284 + - &436 name: alert_number in: path description: |- @@ -63489,7 +63789,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: default: value: @@ -63602,9 +63902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *281 - - *282 - - *434 + - *283 + - *284 + - *436 requestBody: required: true content: @@ -63649,7 +63949,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: default: value: @@ -63778,8 +64078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -63797,7 +64097,7 @@ paths: type: integer secrets: type: array - items: &437 + items: &439 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -63850,16 +64150,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63879,15 +64179,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '200': description: Response content: application/json: - schema: *437 + schema: *439 examples: default: value: @@ -63913,9 +64213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 requestBody: required: true content: @@ -63943,7 +64243,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -63967,9 +64267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '204': description: Response @@ -63991,8 +64291,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: - - *281 - - *282 + - *283 + - *284 - 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 @@ -64152,8 +64452,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -64392,8 +64692,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: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -64468,7 +64768,7 @@ paths: - version - url additionalProperties: false - metadata: &438 + metadata: &440 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -64501,7 +64801,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *438 + metadata: *440 resolved: type: object description: A collection of resolved package dependencies. @@ -64514,7 +64814,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *438 + metadata: *440 relationship: type: string description: A notation of whether a dependency is requested @@ -64643,8 +64943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *281 - - *282 + - *283 + - *284 - name: sha description: The SHA recorded at creation time. in: query @@ -64684,9 +64984,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *440 + default: *442 headers: Link: *58 x-github: @@ -64752,8 +65052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -64834,7 +65134,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: simple-example: summary: Simple example @@ -64907,9 +65207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *281 - - *282 - - &441 + - *283 + - *284 + - &443 name: deployment_id description: deployment_id parameter in: path @@ -64921,7 +65221,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -64986,9 +65286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *281 - - *282 - - *441 + - *283 + - *284 + - *443 responses: '204': description: Response @@ -65010,9 +65310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *281 - - *282 - - *441 + - *283 + - *284 + - *443 - *17 - *19 responses: @@ -65022,7 +65322,7 @@ paths: application/json: schema: type: array - items: &442 + items: &444 title: Deployment Status description: The status of a deployment. type: object @@ -65183,9 +65483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *281 - - *282 - - *441 + - *283 + - *284 + - *443 requestBody: required: true content: @@ -65260,9 +65560,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: &443 + default: &445 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -65318,9 +65618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *281 - - *282 - - *441 + - *283 + - *284 + - *443 - name: status_id in: path required: true @@ -65331,9 +65631,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *443 + default: *445 '404': *6 x-github: githubCloudOnly: false @@ -65358,8 +65658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -65416,8 +65716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -65434,7 +65734,7 @@ paths: type: integer environments: type: array - items: &445 + items: &447 title: Environment description: Details of a deployment environment type: object @@ -65486,7 +65786,7 @@ paths: type: type: string example: wait_timer - wait_timer: &447 + wait_timer: &449 type: integer example: 30 description: The amount of time to delay a job after @@ -65523,11 +65823,11 @@ paths: items: type: object properties: - type: *444 + type: *446 reviewer: anyOf: - *4 - - *152 + - *154 required: - id - node_id @@ -65547,7 +65847,7 @@ paths: - id - node_id - type - deployment_branch_policy: &448 + deployment_branch_policy: &450 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -65663,9 +65963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *281 - - *282 - - &446 + - *283 + - *284 + - &448 name: environment_name in: path required: true @@ -65678,9 +65978,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: &449 + default: &451 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -65764,9 +66064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 requestBody: required: false content: @@ -65775,7 +66075,7 @@ paths: type: object nullable: true properties: - wait_timer: *447 + wait_timer: *449 prevent_self_review: type: boolean example: false @@ -65792,13 +66092,13 @@ paths: items: type: object properties: - type: *444 + type: *446 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *448 + deployment_branch_policy: *450 additionalProperties: false examples: default: @@ -65818,9 +66118,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *449 + default: *451 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -65844,9 +66144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 responses: '204': description: Default response @@ -65871,9 +66171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 - *17 - *19 responses: @@ -65891,7 +66191,7 @@ paths: example: 2 branch_policies: type: array - items: &450 + items: &452 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -65948,9 +66248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 requestBody: required: true content: @@ -65996,9 +66296,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - example-wildcard: &451 + example-wildcard: &453 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -66040,10 +66340,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *281 - - *282 - - *446 - - &452 + - *283 + - *284 + - *448 + - &454 name: branch_policy_id in: path required: true @@ -66055,9 +66355,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66076,10 +66376,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *281 - - *282 - - *446 - - *452 + - *283 + - *284 + - *448 + - *454 requestBody: required: true content: @@ -66107,9 +66407,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66128,10 +66428,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *281 - - *282 - - *446 - - *452 + - *283 + - *284 + - *448 + - *454 responses: '204': description: Response @@ -66156,9 +66456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *446 - - *282 - - *281 + - *448 + - *284 + - *283 responses: '200': description: List of deployment protection rules @@ -66174,7 +66474,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &453 + items: &455 title: Deployment protection rule description: Deployment protection rule type: object @@ -66193,7 +66493,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &454 + app: &456 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -66292,9 +66592,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: - - *446 - - *282 - - *281 + - *448 + - *284 + - *283 requestBody: content: application/json: @@ -66315,9 +66615,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *453 + schema: *455 examples: - default: &455 + default: &457 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -66352,9 +66652,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: - - *446 - - *282 - - *281 + - *448 + - *284 + - *283 - *19 - *17 responses: @@ -66373,7 +66673,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *454 + items: *456 examples: default: value: @@ -66408,10 +66708,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *281 - - *282 - - *446 - - &456 + - *283 + - *284 + - *448 + - &458 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -66423,9 +66723,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66446,10 +66746,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *446 - - *282 - - *281 - - *456 + - *448 + - *284 + - *283 + - *458 responses: '204': description: Response @@ -66475,9 +66775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 - *17 - *19 responses: @@ -66495,9 +66795,9 @@ paths: type: integer secrets: type: array - items: *327 + items: *329 examples: - default: *328 + default: *330 headers: Link: *58 x-github: @@ -66522,17 +66822,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 responses: '200': description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66554,18 +66854,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *281 - - *282 - - *446 - - *128 + - *283 + - *284 + - *448 + - *130 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: *457 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66587,10 +66887,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *281 - - *282 - - *446 - - *128 + - *283 + - *284 + - *448 + - *130 requestBody: required: true content: @@ -66621,7 +66921,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -66647,10 +66947,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *281 - - *282 - - *446 - - *128 + - *283 + - *284 + - *448 + - *130 responses: '204': description: Default response @@ -66675,10 +66975,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *281 - - *282 - - *446 - - *303 + - *283 + - *284 + - *448 + - *305 - *19 responses: '200': @@ -66695,9 +66995,9 @@ paths: type: integer variables: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 headers: Link: *58 x-github: @@ -66720,9 +67020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 requestBody: required: true content: @@ -66749,7 +67049,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -66774,18 +67074,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *281 - - *282 - - *446 - - *131 + - *283 + - *284 + - *448 + - *133 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *458 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66806,10 +67106,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *281 - - *282 - - *131 - - *446 + - *283 + - *284 + - *133 + - *448 requestBody: required: true content: @@ -66851,10 +67151,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *281 - - *282 - - *131 - - *446 + - *283 + - *284 + - *133 + - *448 responses: '204': description: Response @@ -66876,8 +67176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -66954,8 +67254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *281 - - *282 + - *283 + - *284 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -66977,7 +67277,7 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: default: value: @@ -67114,8 +67414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -67147,9 +67447,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *294 + default: *296 '400': *14 '422': *15 '403': *29 @@ -67170,8 +67470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -67230,8 +67530,8 @@ paths: application/json: schema: oneOf: - - *98 - - *459 + - *100 + - *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67256,8 +67556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *281 - - *282 + - *283 + - *284 - name: file_sha in: path required: true @@ -67356,8 +67656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -67466,7 +67766,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &462 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -67680,15 +67980,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *281 - - *282 - - *413 + - *283 + - *284 + - *415 responses: '200': description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -67744,9 +68044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *281 - - *282 - - &461 + - *283 + - *284 + - &463 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. @@ -67763,7 +68063,7 @@ paths: application/json: schema: type: array - items: &462 + items: &464 title: Git Reference description: Git references within a repository type: object @@ -67838,17 +68138,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *281 - - *282 - - *461 + - *283 + - *284 + - *463 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: &463 + default: &465 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -67877,8 +68177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -67907,9 +68207,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *463 + default: *465 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -67935,9 +68235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *281 - - *282 - - *461 + - *283 + - *284 + - *463 requestBody: required: true content: @@ -67966,9 +68266,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *463 + default: *465 '422': *15 '409': *47 x-github: @@ -67986,9 +68286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *281 - - *282 - - *461 + - *283 + - *284 + - *463 responses: '204': description: Response @@ -68043,8 +68343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -68111,7 +68411,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &467 title: Git Tag description: Metadata for a Git tag type: object @@ -68162,7 +68462,7 @@ paths: - sha - type - url - verification: *464 + verification: *466 required: - sha - url @@ -68172,7 +68472,7 @@ paths: - tag - message examples: - default: &466 + default: &468 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -68245,8 +68545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *281 - - *282 + - *283 + - *284 - name: tag_sha in: path required: true @@ -68257,9 +68557,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '404': *6 '409': *47 x-github: @@ -68283,8 +68583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -68357,7 +68657,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &469 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -68453,8 +68753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *281 - - *282 + - *283 + - *284 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -68477,7 +68777,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: default-response: summary: Default response @@ -68536,8 +68836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -68547,7 +68847,7 @@ paths: application/json: schema: type: array - items: &468 + items: &470 title: Webhook description: Webhooks for repositories. type: object @@ -68601,7 +68901,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &696 + last_response: &712 title: Hook Response type: object properties: @@ -68675,8 +68975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -68728,9 +69028,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *470 examples: - default: &469 + default: &471 value: type: Repository id: 12345678 @@ -68778,17 +69078,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 responses: '200': description: Response content: application/json: - schema: *468 + schema: *470 examples: - default: *469 + default: *471 '404': *6 x-github: githubCloudOnly: false @@ -68808,9 +69108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 requestBody: required: true content: @@ -68855,9 +69155,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *470 examples: - default: *469 + default: *471 '422': *15 '404': *6 x-github: @@ -68878,9 +69178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 responses: '204': description: Response @@ -68904,9 +69204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 responses: '200': description: Response @@ -68933,9 +69233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 requestBody: required: false content: @@ -68979,11 +69279,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 - *17 - - *171 + - *173 responses: '200': description: Response @@ -68991,9 +69291,9 @@ paths: application/json: schema: type: array - items: *172 + items: *174 examples: - default: *173 + default: *175 '400': *14 '422': *15 x-github: @@ -69012,18 +69312,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 - *16 responses: '200': description: Response content: application/json: - schema: *174 + schema: *176 examples: - default: *175 + default: *177 '400': *14 '422': *15 x-github: @@ -69042,9 +69342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 - *16 responses: '202': *39 @@ -69067,9 +69367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 responses: '204': description: Response @@ -69094,9 +69394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 responses: '204': description: Response @@ -69154,14 +69454,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: &470 + schema: &472 title: Import description: A repository import from an external source. type: object @@ -69260,7 +69560,7 @@ paths: - html_url - authors_url examples: - default: &473 + default: &475 value: vcs: subversion use_lfs: true @@ -69276,7 +69576,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': &471 + '503': &473 description: Unavailable due to service under maintenance. content: application/json: @@ -69305,8 +69605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -69354,7 +69654,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: default: value: @@ -69379,7 +69679,7 @@ paths: type: string '422': *15 '404': *6 - '503': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69407,8 +69707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -69457,7 +69757,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: example-1: summary: Example 1 @@ -69505,7 +69805,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': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69528,12 +69828,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response - '503': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69559,9 +69859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *281 - - *282 - - &639 + - *283 + - *284 + - &655 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -69575,7 +69875,7 @@ paths: application/json: schema: type: array - items: &472 + items: &474 title: Porter Author description: Porter Author type: object @@ -69629,7 +69929,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': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69654,8 +69954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *281 - - *282 + - *283 + - *284 - name: author_id in: path required: true @@ -69685,7 +69985,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: default: value: @@ -69698,7 +69998,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69722,8 +70022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -69764,7 +70064,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69792,8 +70092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -69820,11 +70120,11 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *473 + default: *475 '422': *15 - '503': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69847,8 +70147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -69856,8 +70156,8 @@ paths: application/json: schema: *22 examples: - default: *474 - '301': *293 + default: *476 + '301': *295 '404': *6 x-github: githubCloudOnly: false @@ -69877,8 +70177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -69886,12 +70186,12 @@ paths: application/json: schema: anyOf: - - *188 + - *190 - type: object properties: {} additionalProperties: false examples: - default: &476 + default: &478 value: limit: collaborators_only origin: repository @@ -69916,13 +70216,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: application/json: - schema: *475 + schema: *477 examples: default: summary: Example request body @@ -69934,9 +70234,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *476 + default: *478 '409': description: Response x-github: @@ -69958,8 +70258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -69982,8 +70282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -69993,9 +70293,9 @@ paths: application/json: schema: type: array - items: *477 + items: *479 examples: - default: &632 + default: &648 value: - id: 1 repository: @@ -70126,9 +70426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *281 - - *282 - - *192 + - *283 + - *284 + - *194 requestBody: required: false content: @@ -70157,7 +70457,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -70288,9 +70588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *281 - - *282 - - *192 + - *283 + - *284 + - *194 responses: '204': description: Response @@ -70321,8 +70621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *281 - - *282 + - *283 + - *284 - 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 @@ -70370,7 +70670,7 @@ paths: required: false schema: type: string - - *196 + - *198 - name: sort description: What to sort results by. in: query @@ -70395,7 +70695,7 @@ paths: type: array items: *77 examples: - default: &488 + default: &490 value: - id: 1 node_id: MDU6SXNzdWUx @@ -70543,7 +70843,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *293 + '301': *295 '422': *15 '404': *6 x-github: @@ -70572,8 +70872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -70657,7 +70957,7 @@ paths: application/json: schema: *77 examples: - default: &483 + default: &485 value: id: 1 node_id: MDU6SXNzdWUx @@ -70813,7 +71113,7 @@ paths: '422': *15 '503': *65 '404': *6 - '410': *290 + '410': *292 x-github: triggersNotification: true githubCloudOnly: false @@ -70841,8 +71141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -70863,9 +71163,9 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: - default: &485 + default: &487 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70923,17 +71223,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: &479 + default: &481 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70987,8 +71287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -71011,9 +71311,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 '422': *15 x-github: githubCloudOnly: false @@ -71031,8 +71331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '204': @@ -71053,8 +71353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -71081,9 +71381,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 '404': *6 @@ -71104,8 +71404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -71138,16 +71438,16 @@ paths: description: Reaction exists content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Reaction created content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -71169,10 +71469,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *281 - - *282 + - *283 + - *284 - *76 - - *277 + - *279 responses: '204': description: Response @@ -71192,8 +71492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -71203,7 +71503,7 @@ paths: application/json: schema: type: array - items: &482 + items: &484 title: Issue Event description: Issue Event type: object @@ -71246,8 +71546,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *480 - required: *481 + properties: *482 + required: *483 nullable: true label: title: Issue Event Label @@ -71291,7 +71591,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *152 + requested_team: *154 dismissed_review: title: Issue Event Dismissed Review type: object @@ -71554,8 +71854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *281 - - *282 + - *283 + - *284 - name: event_id in: path required: true @@ -71566,7 +71866,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -71759,7 +72059,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *290 + '410': *292 '403': *29 x-github: githubCloudOnly: false @@ -71793,9 +72093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *281 - - *282 - - &484 + - *283 + - *284 + - &486 name: issue_number description: The number that identifies the issue. in: path @@ -71809,10 +72109,10 @@ paths: application/json: schema: *77 examples: - default: *483 - '301': *293 + default: *485 + '301': *295 '404': *6 - '410': *290 + '410': *292 '304': *37 x-github: githubCloudOnly: false @@ -71837,9 +72137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: false content: @@ -71944,13 +72244,13 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 '422': *15 '503': *65 '403': *29 - '301': *293 + '301': *295 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71968,9 +72268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: false content: @@ -71998,7 +72298,7 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72014,9 +72314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: content: application/json: @@ -72043,7 +72343,7 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72065,9 +72365,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: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - name: assignee in: path required: true @@ -72107,9 +72407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - *67 - *17 - *19 @@ -72120,13 +72420,13 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: - default: *485 + default: *487 headers: Link: *58 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72155,9 +72455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: true content: @@ -72179,16 +72479,16 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *290 + '410': *292 '422': *15 '404': *6 x-github: @@ -72208,9 +72508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - *17 - *19 responses: @@ -72224,7 +72524,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &489 + - &491 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -72278,7 +72578,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &492 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -72414,7 +72714,7 @@ paths: - performed_via_github_app - assignee - assigner - - &491 + - &493 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -72465,7 +72765,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &494 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -72516,7 +72816,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &495 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -72570,7 +72870,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &496 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -72604,7 +72904,7 @@ paths: properties: *61 required: *62 review_requester: *4 - requested_team: *152 + requested_team: *154 requested_reviewer: *4 required: - review_requester @@ -72617,7 +72917,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &495 + - &497 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -72651,7 +72951,7 @@ paths: properties: *61 required: *62 review_requester: *4 - requested_team: *152 + requested_team: *154 requested_reviewer: *4 required: - review_requester @@ -72664,7 +72964,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &498 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -72724,7 +73024,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &497 + - &499 title: Locked Issue Event description: Locked Issue Event type: object @@ -72772,7 +73072,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &498 + - &500 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -72838,7 +73138,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &501 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -72904,7 +73204,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &500 + - &502 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -72970,7 +73270,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &503 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -73061,7 +73361,7 @@ paths: color: red headers: Link: *58 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73078,9 +73378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - *17 - *19 responses: @@ -73090,7 +73390,7 @@ paths: application/json: schema: type: array - items: &486 + items: &488 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -73137,7 +73437,7 @@ paths: - color - default examples: - default: &487 + default: &489 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73155,9 +73455,9 @@ paths: default: false headers: Link: *58 - '301': *293 + '301': *295 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73174,9 +73474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: false content: @@ -73235,12 +73535,12 @@ paths: application/json: schema: type: array - items: *486 + items: *488 examples: - default: *487 - '301': *293 + default: *489 + '301': *295 '404': *6 - '410': *290 + '410': *292 '422': *15 x-github: githubCloudOnly: false @@ -73257,9 +73557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: false content: @@ -73319,12 +73619,12 @@ paths: application/json: schema: type: array - items: *486 + items: *488 examples: - default: *487 - '301': *293 + default: *489 + '301': *295 '404': *6 - '410': *290 + '410': *292 '422': *15 x-github: githubCloudOnly: false @@ -73341,15 +73641,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 responses: '204': description: Response - '301': *293 + '301': *295 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73368,9 +73668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - name: name in: path required: true @@ -73383,7 +73683,7 @@ paths: application/json: schema: type: array - items: *486 + items: *488 examples: default: value: @@ -73394,9 +73694,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *293 + '301': *295 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73416,9 +73716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: false content: @@ -73446,7 +73746,7 @@ paths: '204': description: Response '403': *29 - '410': *290 + '410': *292 '404': *6 '422': *15 x-github: @@ -73464,9 +73764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 responses: '204': description: Response @@ -73488,9 +73788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - 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. @@ -73516,13 +73816,13 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73540,9 +73840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: true content: @@ -73574,16 +73874,16 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -73605,10 +73905,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *281 - - *282 - - *484 - - *277 + - *283 + - *284 + - *486 + - *279 responses: '204': description: Response @@ -73637,9 +73937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: true content: @@ -73663,7 +73963,7 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -73696,9 +73996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - *17 - *19 responses: @@ -73710,11 +74010,11 @@ paths: type: array items: *77 examples: - default: *488 + default: *490 headers: Link: *58 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73742,9 +74042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: true content: @@ -73773,14 +74073,14 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *290 + '410': *292 '422': *15 '404': *6 x-github: @@ -73800,9 +74100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: true content: @@ -73835,7 +74135,7 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 '403': *29 '404': *6 '422': *7 @@ -73857,9 +74157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - *17 - *19 responses: @@ -73874,8 +74174,6 @@ paths: description: Timeline Event type: object anyOf: - - *489 - - *490 - *491 - *492 - *493 @@ -73887,6 +74185,8 @@ paths: - *499 - *500 - *501 + - *502 + - *503 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -74191,7 +74491,7 @@ paths: type: string comments: type: array - items: &522 + items: &524 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -74400,7 +74700,7 @@ paths: type: string comments: type: array - items: *411 + items: *413 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -74689,7 +74989,7 @@ paths: headers: Link: *58 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74706,8 +75006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -74717,7 +75017,7 @@ paths: application/json: schema: type: array - items: &502 + items: &504 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -74782,8 +75082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -74819,9 +75119,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: &503 + default: &505 value: id: 1 key: ssh-rsa AAA... @@ -74855,9 +75155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *281 - - *282 - - &504 + - *283 + - *284 + - &506 name: key_id description: The unique identifier of the key. in: path @@ -74869,9 +75169,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: *503 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -74889,9 +75189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *281 - - *282 - - *504 + - *283 + - *284 + - *506 responses: '204': description: Response @@ -74911,8 +75211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -74922,9 +75222,9 @@ paths: application/json: schema: type: array - items: *486 + items: *488 examples: - default: *487 + default: *489 headers: Link: *58 '404': *6 @@ -74945,8 +75245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -74982,9 +75282,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: &505 + default: &507 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75016,8 +75316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *281 - - *282 + - *283 + - *284 - name: name in: path required: true @@ -75028,9 +75328,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: *505 + default: *507 '404': *6 x-github: githubCloudOnly: false @@ -75047,8 +75347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *281 - - *282 + - *283 + - *284 - name: name in: path required: true @@ -75087,7 +75387,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: default: value: @@ -75113,8 +75413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *281 - - *282 + - *283 + - *284 - name: name in: path required: true @@ -75140,8 +75440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -75180,9 +75480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *281 - - *282 - - *387 + - *283 + - *284 + - *389 responses: '200': description: Response @@ -75327,8 +75627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -75393,8 +75693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -75428,9 +75728,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *412 + schema: *414 examples: - default: *506 + default: *508 '204': description: Response when already merged '404': @@ -75455,8 +75755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *281 - - *282 + - *283 + - *284 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -75497,12 +75797,12 @@ paths: application/json: schema: type: array - items: &507 + items: &509 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *416 - required: *417 + properties: *418 + required: *419 examples: default: value: @@ -75558,8 +75858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -75599,9 +75899,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &508 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -75660,9 +75960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *281 - - *282 - - &509 + - *283 + - *284 + - &511 name: milestone_number description: The number that identifies the milestone. in: path @@ -75674,9 +75974,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -75693,9 +75993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *281 - - *282 - - *509 + - *283 + - *284 + - *511 requestBody: required: false content: @@ -75733,9 +76033,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75751,9 +76051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *281 - - *282 - - *509 + - *283 + - *284 + - *511 responses: '204': description: Response @@ -75774,9 +76074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *281 - - *282 - - *509 + - *283 + - *284 + - *511 - *17 - *19 responses: @@ -75786,9 +76086,9 @@ paths: application/json: schema: type: array - items: *486 + items: *488 examples: - default: *487 + default: *489 headers: Link: *58 x-github: @@ -75807,12 +76107,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *281 - - *282 - - *510 - - *511 - - *67 + - *283 + - *284 - *512 + - *513 + - *67 + - *514 - *17 - *19 responses: @@ -75824,7 +76124,7 @@ paths: type: array items: *90 examples: - default: *513 + default: *515 headers: Link: *58 x-github: @@ -75848,8 +76148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -75907,14 +76207,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: &514 + schema: &516 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -76039,7 +76339,7 @@ paths: - custom_404 - public examples: - default: &515 + default: &517 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -76080,8 +76380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -76135,9 +76435,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: *515 + default: *517 '422': *15 '409': *47 x-github: @@ -76160,8 +76460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -76260,8 +76560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -76287,8 +76587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -76298,7 +76598,7 @@ paths: application/json: schema: type: array - items: &516 + items: &518 title: Page Build description: Page Build type: object @@ -76392,8 +76692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *281 - - *282 + - *283 + - *284 responses: '201': description: Response @@ -76438,16 +76738,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: &517 + default: &519 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -76495,8 +76795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *281 - - *282 + - *283 + - *284 - name: build_id in: path required: true @@ -76507,9 +76807,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76529,8 +76829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -76635,9 +76935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *281 - - *282 - - &518 + - *283 + - *284 + - &520 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -76695,11 +76995,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *281 - - *282 - - *518 + - *283 + - *284 + - *520 responses: - '204': *146 + '204': *148 '404': *6 x-github: githubCloudOnly: false @@ -76724,8 +77024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -76956,7 +77256,7 @@ paths: description: Empty response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -76983,8 +77283,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Private vulnerability reporting status @@ -77021,10 +77321,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: - '204': *146 + '204': *148 '422': *14 x-github: githubCloudOnly: false @@ -77043,10 +77343,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: - '204': *146 + '204': *148 '422': *14 x-github: githubCloudOnly: false @@ -77067,8 +77367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *281 - - *282 + - *283 + - *284 - name: state description: Indicates the state of the projects to return. in: query @@ -77089,7 +77389,7 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: default: value: @@ -77129,7 +77429,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *290 + '410': *292 '422': *7 x-github: githubCloudOnly: false @@ -77152,8 +77452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -77179,13 +77479,13 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *289 + default: *291 '401': *25 '403': *29 '404': *6 - '410': *290 + '410': *292 '422': *7 x-github: githubCloudOnly: false @@ -77208,8 +77508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -77217,7 +77517,7 @@ paths: application/json: schema: type: array - items: *235 + items: *237 examples: default: value: @@ -77248,8 +77548,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: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -77261,7 +77561,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *235 + items: *237 required: - properties examples: @@ -77311,8 +77611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *281 - - *282 + - *283 + - *284 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -77372,9 +77672,9 @@ paths: application/json: schema: type: array - items: *519 + items: *521 examples: - default: *520 + default: *522 headers: Link: *58 '304': *37 @@ -77406,8 +77706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -77472,7 +77772,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &526 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -77583,8 +77883,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *416 - required: *417 + properties: *418 + required: *419 nullable: true active_lock_reason: type: string @@ -77629,7 +77929,7 @@ paths: nullable: true requested_teams: type: array - items: *259 + items: *261 nullable: true head: type: object @@ -77668,14 +77968,14 @@ paths: _links: type: object properties: - comments: *418 - commits: *418 - statuses: *418 - html: *418 - issue: *418 - review_comments: *418 - review_comment: *418 - self: *418 + comments: *420 + commits: *420 + statuses: *420 + html: *420 + issue: *420 + review_comments: *420 + review_comment: *420 + self: *420 required: - comments - commits @@ -77686,7 +77986,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: *521 + auto_merge: *523 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -77778,7 +78078,7 @@ paths: - merged_by - review_comments examples: - default: &525 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78305,8 +78605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - name: sort in: query required: false @@ -78335,9 +78635,9 @@ paths: application/json: schema: type: array - items: *522 + items: *524 examples: - default: &527 + default: &529 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78414,17 +78714,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '200': description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: &523 + default: &525 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78499,8 +78799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -78523,9 +78823,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: *523 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78541,8 +78841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '204': @@ -78564,8 +78864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78592,9 +78892,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 '404': *6 @@ -78615,8 +78915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -78649,16 +78949,16 @@ paths: description: Reaction exists content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Reaction created content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -78680,10 +78980,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *281 - - *282 + - *283 + - *284 - *76 - - *277 + - *279 responses: '204': description: Response @@ -78726,9 +79026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *281 - - *282 - - &526 + - *283 + - *284 + - &528 name: pull_number description: The number that identifies the pull request. in: path @@ -78741,9 +79041,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *524 + schema: *526 examples: - default: *525 + default: *527 '304': *37 '404': *6 '406': @@ -78751,7 +79051,7 @@ paths: content: application/json: schema: *3 - '500': *95 + '500': *97 '503': *65 x-github: githubCloudOnly: false @@ -78778,9 +79078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: false content: @@ -78822,9 +79122,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: *525 + default: *527 '422': *15 '403': *29 x-github: @@ -78846,9 +79146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: true content: @@ -78908,17 +79208,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '401': *25 '403': *29 '404': *6 @@ -78948,9 +79248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -78971,9 +79271,9 @@ paths: application/json: schema: type: array - items: *522 + items: *524 examples: - default: *527 + default: *529 headers: Link: *58 x-github: @@ -79006,9 +79306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: true content: @@ -79113,7 +79413,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: example-for-a-multi-line-comment: value: @@ -79201,9 +79501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 - *76 requestBody: required: true @@ -79226,7 +79526,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -79312,9 +79612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 - *17 - *19 responses: @@ -79324,9 +79624,9 @@ paths: application/json: schema: type: array - items: *412 + items: *414 examples: - default: *528 + default: *530 headers: Link: *58 x-github: @@ -79356,9 +79656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 - *17 - *19 responses: @@ -79368,7 +79668,7 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: default: value: @@ -79386,7 +79686,7 @@ paths: headers: Link: *58 '422': *15 - '500': *95 + '500': *97 '503': *65 x-github: githubCloudOnly: false @@ -79406,9 +79706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 responses: '204': description: Response if pull request has been merged @@ -79431,9 +79731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: false content: @@ -79544,9 +79844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 responses: '200': description: Response @@ -79562,7 +79862,7 @@ paths: items: *4 teams: type: array - items: *152 + items: *154 required: - users - teams @@ -79621,9 +79921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: false content: @@ -79660,7 +79960,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: default: value: @@ -80196,9 +80496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: true content: @@ -80232,7 +80532,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: default: value: @@ -80737,9 +81037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 - *17 - *19 responses: @@ -80749,7 +81049,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -80900,9 +81200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: false content: @@ -80988,9 +81288,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: &531 + default: &533 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81053,10 +81353,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 - - &530 + - *283 + - *284 + - *528 + - &532 name: review_id description: The unique identifier of the review. in: path @@ -81068,9 +81368,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: &532 + default: &534 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81129,10 +81429,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 - - *530 + - *283 + - *284 + - *528 + - *532 requestBody: required: true content: @@ -81155,7 +81455,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -81217,18 +81517,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 - - *530 + - *283 + - *284 + - *528 + - *532 responses: '200': description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *531 + default: *533 '422': *7 '404': *6 x-github: @@ -81255,10 +81555,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *281 - - *282 - - *526 - - *530 + - *283 + - *284 + - *528 + - *532 - *17 - *19 responses: @@ -81341,9 +81641,9 @@ paths: _links: type: object properties: - self: *418 - html: *418 - pull_request: *418 + self: *420 + html: *420 + pull_request: *420 required: - self - html @@ -81486,10 +81786,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 - - *530 + - *283 + - *284 + - *528 + - *532 requestBody: required: true content: @@ -81517,7 +81817,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -81580,10 +81880,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 - - *530 + - *283 + - *284 + - *528 + - *532 requestBody: required: true content: @@ -81618,9 +81918,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *532 + default: *534 '404': *6 '422': *7 '403': *29 @@ -81642,9 +81942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: false content: @@ -81707,8 +82007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *281 - - *282 + - *283 + - *284 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -81721,9 +82021,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: - default: &534 + default: &536 value: type: file encoding: base64 @@ -81765,8 +82065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *281 - - *282 + - *283 + - *284 - name: dir description: The alternate path to look for a README file in: path @@ -81786,9 +82086,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: - default: *534 + default: *536 '404': *6 '422': *15 x-github: @@ -81810,8 +82110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -81821,7 +82121,7 @@ paths: application/json: schema: type: array - items: &535 + items: &537 title: Release description: A release. type: object @@ -81884,7 +82184,7 @@ paths: author: *4 assets: type: array - items: &536 + items: &538 title: Release Asset description: Data related to a release. type: object @@ -82070,8 +82370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -82147,9 +82447,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: &539 + default: &541 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -82253,9 +82553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *281 - - *282 - - &537 + - *283 + - *284 + - &539 name: asset_id description: The unique identifier of the asset. in: path @@ -82267,9 +82567,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: &538 + default: &540 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 @@ -82304,7 +82604,7 @@ paths: type: User site_admin: false '404': *6 - '302': *429 + '302': *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82320,9 +82620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *281 - - *282 - - *537 + - *283 + - *284 + - *539 requestBody: required: false content: @@ -82350,9 +82650,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *538 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82368,9 +82668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *281 - - *282 - - *537 + - *283 + - *284 + - *539 responses: '204': description: Response @@ -82394,8 +82694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -82480,16 +82780,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *539 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82506,8 +82806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *281 - - *282 + - *283 + - *284 - name: tag description: tag parameter in: path @@ -82520,9 +82820,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *539 + default: *541 '404': *6 x-github: githubCloudOnly: false @@ -82544,9 +82844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *281 - - *282 - - &540 + - *283 + - *284 + - &542 name: release_id description: The unique identifier of the release. in: path @@ -82560,9 +82860,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: *535 + schema: *537 examples: - default: *539 + default: *541 '401': description: Unauthorized x-github: @@ -82580,9 +82880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 requestBody: required: false content: @@ -82646,9 +82946,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *539 + default: *541 '404': description: Not Found if the discussion category name is invalid content: @@ -82669,9 +82969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 responses: '204': description: Response @@ -82691,9 +82991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 - *17 - *19 responses: @@ -82703,7 +83003,7 @@ paths: application/json: schema: type: array - items: *536 + items: *538 examples: default: value: @@ -82784,9 +83084,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: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 - name: name in: query required: true @@ -82812,7 +83112,7 @@ paths: description: Response for successful upload content: application/json: - schema: *536 + schema: *538 examples: response-for-successful-upload: value: @@ -82867,9 +83167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 - 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. @@ -82893,9 +83193,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 '404': *6 @@ -82916,9 +83216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 requestBody: required: true content: @@ -82948,16 +83248,16 @@ paths: description: Reaction exists content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Reaction created content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -82979,10 +83279,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *281 - - *282 - - *540 - - *277 + - *283 + - *284 + - *542 + - *279 responses: '204': description: Response @@ -83006,9 +83306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 - *17 - *19 responses: @@ -83024,8 +83324,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *541 - - &543 + - *543 + - &545 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83044,66 +83344,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *542 - - *543 - allOf: - *544 - - *543 - - allOf: - *545 - - *543 - allOf: - *546 - - *543 + - *545 - allOf: - *547 - - *543 + - *545 - allOf: - *548 - - *543 + - *545 - allOf: - *549 - - *543 + - *545 - allOf: - *550 - - *543 + - *545 - allOf: - *551 - - *543 + - *545 - allOf: - *552 - - *543 + - *545 - allOf: - *553 - - *543 + - *545 - allOf: - *554 - - *543 + - *545 - allOf: - *555 - - *543 + - *545 - allOf: - *556 - - *543 + - *545 - allOf: - *557 - - *543 + - *545 - allOf: - *558 - - *543 + - *545 - allOf: - *559 - - *543 + - *545 - allOf: - *560 - - *543 + - *545 - allOf: - *561 - - *543 + - *545 - allOf: - *562 - - *543 + - *545 + - allOf: + - *563 + - *545 + - allOf: + - *564 + - *545 examples: default: value: @@ -83142,8 +83442,8 @@ paths: category: repos subcategory: rules parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 - name: includes_parents @@ -83154,7 +83454,7 @@ paths: schema: type: boolean default: true - - *563 + - *565 responses: '200': description: Response @@ -83162,7 +83462,7 @@ paths: application/json: schema: type: array - items: *245 + items: *247 examples: default: value: @@ -83193,7 +83493,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *97 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -83209,8 +83509,8 @@ paths: category: repos subcategory: rules parameters: - - *281 - - *282 + - *283 + - *284 requestBody: description: Request body required: true @@ -83230,16 +83530,16 @@ paths: - tag - push default: branch - enforcement: *241 + enforcement: *243 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *242 - conditions: *239 + items: *244 + conditions: *241 rules: type: array description: An array of rules within the ruleset. - items: *244 + items: *246 required: - name - enforcement @@ -83270,9 +83570,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: &573 + default: &575 value: id: 42 name: super cool ruleset @@ -83305,7 +83605,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *95 + '500': *97 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -83319,12 +83619,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *281 - - *282 - - *564 - - *565 + - *283 + - *284 - *566 - *567 + - *568 + - *569 - *17 - *19 responses: @@ -83332,11 +83632,11 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: - default: *569 + default: *571 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83355,19 +83655,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *281 - - *282 - - *570 + - *283 + - *284 + - *572 responses: '200': description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83393,8 +83693,8 @@ paths: category: repos subcategory: rules parameters: - - *281 - - *282 + - *283 + - *284 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83414,11 +83714,11 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *573 + default: *575 '404': *6 - '500': *95 + '500': *97 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -83434,8 +83734,8 @@ paths: category: repos subcategory: rules parameters: - - *281 - - *282 + - *283 + - *284 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83460,16 +83760,16 @@ paths: - branch - tag - push - enforcement: *241 + enforcement: *243 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *242 - conditions: *239 + items: *244 + conditions: *241 rules: description: An array of rules within the ruleset. type: array - items: *244 + items: *246 examples: default: value: @@ -83497,11 +83797,11 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *573 + default: *575 '404': *6 - '500': *95 + '500': *97 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -83517,8 +83817,8 @@ paths: category: repos subcategory: rules parameters: - - *281 - - *282 + - *283 + - *284 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83529,7 +83829,7 @@ paths: '204': description: Response '404': *6 - '500': *95 + '500': *97 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -83541,8 +83841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 - name: ruleset_id @@ -83558,11 +83858,11 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *574 + default: *576 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83579,8 +83879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *281 - - *282 + - *283 + - *284 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83598,7 +83898,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: default: value: @@ -83631,7 +83931,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83653,21 +83953,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *281 - - *282 - - *248 - - *249 + - *283 + - *284 - *250 - *251 + - *252 + - *253 - *48 - *19 - *17 - - *576 - - *577 - - *252 - - *253 + - *578 + - *579 - *254 - *255 + - *256 + - *257 responses: '200': description: Response @@ -83675,7 +83975,7 @@ paths: application/json: schema: type: array - items: &580 + items: &583 type: object properties: number: *54 @@ -83694,8 +83994,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *578 - resolution: *579 + state: *580 + resolution: *581 resolved_at: type: string format: date-time @@ -83785,6 +84085,18 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: *582 + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: value: @@ -83913,16 +84225,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *281 - - *282 - - *381 - - *255 + - *283 + - *284 + - *383 + - *257 responses: '200': description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -83974,9 +84286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 requestBody: required: true content: @@ -83984,8 +84296,8 @@ paths: schema: type: object properties: - state: *578 - resolution: *579 + state: *580 + resolution: *581 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -84003,7 +84315,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -84078,9 +84390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 - *19 - *17 responses: @@ -84091,7 +84403,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &717 + items: &733 type: object properties: type: @@ -84117,254 +84429,19 @@ paths: example: commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *584 + - *585 + - *586 + - *587 + - *588 + - *589 + - *590 + - *591 + - *592 + - *593 + - *594 + - *595 + - *596 examples: default: value: @@ -84450,8 +84527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -84459,14 +84536,14 @@ paths: schema: type: object properties: - reason: &582 + reason: &598 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *581 + placeholder_id: *597 required: - reason - placeholder_id @@ -84483,7 +84560,7 @@ paths: schema: type: object properties: - reason: *582 + reason: *598 expire_at: type: string format: date-time @@ -84526,8 +84603,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: - - *281 - - *282 + - *283 + - *284 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -84542,7 +84619,7 @@ paths: properties: incremental_scans: type: array - items: &583 + items: &599 description: Information on a single scan performed by secret scanning on the repository type: object @@ -84568,15 +84645,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *583 + items: *599 backfill_scans: type: array - items: *583 + items: *599 custom_pattern_backfill_scans: type: array items: allOf: - - *583 + - *599 - type: object properties: pattern_name: @@ -84646,8 +84723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *281 - - *282 + - *283 + - *284 - *48 - name: sort description: The property to sort the results by. @@ -84691,9 +84768,9 @@ paths: application/json: schema: type: array - items: *584 + items: *600 examples: - default: *585 + default: *601 '400': *14 '404': *6 x-github: @@ -84716,8 +84793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -84790,7 +84867,7 @@ paths: login: type: string description: The username of the user credited. - type: *258 + type: *260 required: - login - type @@ -84877,9 +84954,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *600 examples: - default: &587 + default: &603 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -85112,8 +85189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -85217,7 +85294,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *600 examples: default: value: @@ -85364,17 +85441,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *281 - - *282 - - *586 + - *283 + - *284 + - *602 responses: '200': description: Response content: application/json: - schema: *584 + schema: *600 examples: - default: *587 + default: *603 '403': *29 '404': *6 x-github: @@ -85398,9 +85475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *281 - - *282 - - *586 + - *283 + - *284 + - *602 requestBody: required: true content: @@ -85473,7 +85550,7 @@ paths: login: type: string description: The username of the user credited. - type: *258 + type: *260 required: - login - type @@ -85559,17 +85636,17 @@ paths: description: Response content: application/json: - schema: *584 + schema: *600 examples: - default: *587 - add_credit: *587 + default: *603 + add_credit: *603 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *98 + schema: *100 examples: invalid_state_transition: value: @@ -85600,9 +85677,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: - - *281 - - *282 - - *586 + - *283 + - *284 + - *602 responses: '202': *39 '400': *14 @@ -85629,17 +85706,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *281 - - *282 - - *586 + - *283 + - *284 + - *602 responses: '202': description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *294 + default: *296 '400': *14 '422': *15 '403': *29 @@ -85665,8 +85742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -85765,8 +85842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -85775,7 +85852,7 @@ paths: application/json: schema: type: array - items: &588 + items: &604 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -85788,7 +85865,7 @@ paths: - 1124 - -435 '202': *39 - '204': *146 + '204': *148 '422': description: Repository contains more than 10,000 commits x-github: @@ -85808,8 +85885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -85858,7 +85935,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *146 + '204': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85885,8 +85962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -85960,7 +86037,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *146 + '204': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85982,8 +86059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86137,8 +86214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86148,7 +86225,7 @@ paths: application/json: schema: type: array - items: *588 + items: *604 examples: default: value: @@ -86161,7 +86238,7 @@ paths: - - 0 - 2 - 21 - '204': *146 + '204': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86181,8 +86258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *281 - - *282 + - *283 + - *284 - name: sha in: path required: true @@ -86236,7 +86313,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *605 examples: default: value: @@ -86290,8 +86367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -86303,7 +86380,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -86323,14 +86400,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &590 + schema: &606 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86398,8 +86475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -86425,7 +86502,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *606 examples: default: value: @@ -86452,8 +86529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -86473,8 +86550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -86553,8 +86630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -86562,7 +86639,7 @@ paths: application/json: schema: type: array - items: &591 + items: &607 title: Tag protection description: Tag protection type: object @@ -86614,8 +86691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -86638,7 +86715,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *607 examples: default: value: @@ -86669,8 +86746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -86707,8 +86784,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *281 - - *282 + - *283 + - *284 - name: ref in: path required: true @@ -86744,8 +86821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -86755,9 +86832,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 headers: Link: *58 '404': *6 @@ -86777,8 +86854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *281 - - *282 + - *283 + - *284 - *19 - *17 responses: @@ -86786,7 +86863,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &608 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -86798,7 +86875,7 @@ paths: required: - names examples: - default: &593 + default: &609 value: names: - octocat @@ -86821,8 +86898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -86853,9 +86930,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *608 examples: - default: *593 + default: *609 '404': *6 '422': *7 x-github: @@ -86876,9 +86953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *281 - - *282 - - &594 + - *283 + - *284 + - &610 name: per description: The time frame to display results for. in: query @@ -86907,7 +86984,7 @@ paths: example: 128 clones: type: array - items: &595 + items: &611 title: Traffic type: object properties: @@ -86994,8 +87071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -87085,8 +87162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -87146,9 +87223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *281 - - *282 - - *594 + - *283 + - *284 + - *610 responses: '200': description: Response @@ -87167,7 +87244,7 @@ paths: example: 3782 views: type: array - items: *595 + items: *611 required: - uniques - count @@ -87244,8 +87321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -87281,7 +87358,7 @@ paths: description: Response content: application/json: - schema: *120 + schema: *122 examples: default: value: @@ -87519,8 +87596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -87543,8 +87620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -87566,8 +87643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -87593,8 +87670,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *281 - - *282 + - *283 + - *284 - name: ref in: path required: true @@ -87686,9 +87763,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *294 + default: *296 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87729,7 +87806,7 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: default: value: @@ -87918,7 +87995,7 @@ paths: html_url: type: string format: uri - repository: *120 + repository: *122 score: type: number file_size: @@ -87936,7 +88013,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &596 + text_matches: &612 title: Search Result Text Matches type: array items: @@ -88098,7 +88175,7 @@ paths: enum: - author-date - committer-date - - &597 + - &613 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 @@ -88169,7 +88246,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true comment_count: type: integer @@ -88189,7 +88266,7 @@ paths: url: type: string format: uri - verification: *464 + verification: *466 required: - author - committer @@ -88208,7 +88285,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true parents: type: array @@ -88221,12 +88298,12 @@ paths: type: string sha: type: string - repository: *120 + repository: *122 score: type: number node_id: type: string - text_matches: *596 + text_matches: *612 required: - sha - node_id @@ -88408,7 +88485,7 @@ paths: - interactions - created - updated - - *597 + - *613 - *17 - *19 - name: advanced_search @@ -88535,8 +88612,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *416 - required: *417 + properties: *418 + required: *419 nullable: true comments: type: integer @@ -88550,7 +88627,7 @@ paths: type: string format: date-time nullable: true - text_matches: *596 + text_matches: *612 pull_request: type: object properties: @@ -88594,7 +88671,7 @@ paths: timeline_url: type: string format: uri - type: *193 + type: *195 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -88778,7 +88855,7 @@ paths: enum: - created - updated - - *597 + - *613 - *17 - *19 responses: @@ -88822,7 +88899,7 @@ paths: nullable: true score: type: number - text_matches: *596 + text_matches: *612 required: - id - node_id @@ -88907,7 +88984,7 @@ paths: - forks - help-wanted-issues - updated - - *597 + - *613 - *17 - *19 responses: @@ -89146,7 +89223,7 @@ paths: - admin - pull - push - text_matches: *596 + text_matches: *612 temp_clone_token: type: string allow_merge_commit: @@ -89446,7 +89523,7 @@ paths: type: string format: uri nullable: true - text_matches: *596 + text_matches: *612 related: type: array nullable: true @@ -89637,7 +89714,7 @@ paths: - followers - repositories - joined - - *597 + - *613 - *17 - *19 responses: @@ -89741,7 +89818,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *596 + text_matches: *612 blog: type: string nullable: true @@ -89820,7 +89897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &598 + - &614 name: team_id description: The unique identifier of the team. in: path @@ -89832,9 +89909,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '404': *6 x-github: githubCloudOnly: false @@ -89861,7 +89938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *598 + - *614 requestBody: required: true content: @@ -89924,16 +90001,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '201': description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '404': *6 '422': *15 '403': *29 @@ -89961,7 +90038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *598 + - *614 responses: '204': description: Response @@ -89992,7 +90069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *598 + - *614 - *48 - *17 - *19 @@ -90003,9 +90080,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *599 + default: *615 headers: Link: *58 x-github: @@ -90034,7 +90111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *598 + - *614 requestBody: required: true content: @@ -90068,9 +90145,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *269 + default: *271 x-github: triggersNotification: true githubCloudOnly: false @@ -90097,16 +90174,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *598 - - *270 + - *614 + - *272 responses: '200': description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *269 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90131,8 +90208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *598 - - *270 + - *614 + - *272 requestBody: required: false content: @@ -90155,9 +90232,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *600 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90182,8 +90259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *598 - - *270 + - *614 + - *272 responses: '204': description: Response @@ -90212,8 +90289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *598 - - *270 + - *614 + - *272 - *48 - *17 - *19 @@ -90224,9 +90301,9 @@ paths: application/json: schema: type: array - items: *271 + items: *273 examples: - default: *601 + default: *617 headers: Link: *58 x-github: @@ -90255,8 +90332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *598 - - *270 + - *614 + - *272 requestBody: required: true content: @@ -90278,9 +90355,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: triggersNotification: true githubCloudOnly: false @@ -90307,17 +90384,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *598 - - *270 - - *273 + - *614 + - *272 + - *275 responses: '200': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90342,9 +90419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *598 - - *270 - - *273 + - *614 + - *272 + - *275 requestBody: required: true content: @@ -90366,9 +90443,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *602 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90393,9 +90470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *598 - - *270 - - *273 + - *614 + - *272 + - *275 responses: '204': description: Response @@ -90424,9 +90501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *598 - - *270 - - *273 + - *614 + - *272 + - *275 - 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 team discussion comment. @@ -90452,9 +90529,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 x-github: @@ -90483,9 +90560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *598 - - *270 - - *273 + - *614 + - *272 + - *275 requestBody: required: true content: @@ -90517,9 +90594,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90545,8 +90622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *598 - - *270 + - *614 + - *272 - 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 team discussion. @@ -90572,9 +90649,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 x-github: @@ -90603,8 +90680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *598 - - *270 + - *614 + - *272 requestBody: required: true content: @@ -90636,9 +90713,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90662,7 +90739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *598 + - *614 - *17 - *19 responses: @@ -90672,9 +90749,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *58 x-github: @@ -90700,7 +90777,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *598 + - *614 - name: role description: Filters members returned by their role in the team. in: query @@ -90723,7 +90800,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '404': *6 @@ -90751,8 +90828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *598 - - *133 + - *614 + - *135 responses: '204': description: if user is a member @@ -90788,8 +90865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *598 - - *133 + - *614 + - *135 responses: '204': description: Response @@ -90828,8 +90905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *598 - - *133 + - *614 + - *135 responses: '204': description: Response @@ -90865,16 +90942,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *598 - - *133 + - *614 + - *135 responses: '200': description: Response content: application/json: - schema: *278 + schema: *280 examples: - response-if-user-is-a-team-maintainer: *603 + response-if-user-is-a-team-maintainer: *619 '404': *6 x-github: githubCloudOnly: false @@ -90907,8 +90984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *598 - - *133 + - *614 + - *135 requestBody: required: false content: @@ -90933,9 +91010,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *280 examples: - response-if-users-membership-with-team-is-now-pending: *604 + response-if-users-membership-with-team-is-now-pending: *620 '403': description: Forbidden if team synchronization is set up '422': @@ -90969,8 +91046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *598 - - *133 + - *614 + - *135 responses: '204': description: Response @@ -90998,7 +91075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *598 + - *614 - *17 - *19 responses: @@ -91008,9 +91085,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *605 + default: *621 headers: Link: *58 '404': *6 @@ -91036,16 +91113,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *598 - - *280 + - *614 + - *282 responses: '200': description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *606 + default: *622 '404': description: Not Found if project is not managed by this team x-github: @@ -91069,8 +91146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *598 - - *280 + - *614 + - *282 requestBody: required: false content: @@ -91137,8 +91214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *598 - - *280 + - *614 + - *282 responses: '204': description: Response @@ -91165,7 +91242,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *598 + - *614 - *17 - *19 responses: @@ -91175,9 +91252,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 '404': *6 @@ -91207,15 +91284,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *598 - - *281 - - *282 + - *614 + - *283 + - *284 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *607 + schema: *623 examples: alternative-response-with-extra-repository-information: value: @@ -91366,9 +91443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *598 - - *281 - - *282 + - *614 + - *283 + - *284 requestBody: required: false content: @@ -91418,9 +91495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *598 - - *281 - - *282 + - *614 + - *283 + - *284 responses: '204': description: Response @@ -91445,7 +91522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *598 + - *614 - *17 - *19 responses: @@ -91455,9 +91532,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - response-if-child-teams-exist: *608 + response-if-child-teams-exist: *624 headers: Link: *58 '404': *6 @@ -91490,7 +91567,7 @@ paths: application/json: schema: oneOf: - - &610 + - &626 title: Private User description: Private User type: object @@ -91693,7 +91770,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *609 + - *625 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -91846,7 +91923,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *626 examples: default: value: @@ -91925,7 +92002,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 '304': *37 '404': *6 '403': *29 @@ -91948,7 +92025,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *133 + - *135 responses: '204': description: If the user is blocked @@ -91976,7 +92053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *133 + - *135 responses: '204': description: Response @@ -92000,7 +92077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *133 + - *135 responses: '204': description: Response @@ -92049,11 +92126,11 @@ paths: type: integer codespaces: type: array - items: *199 + items: *201 examples: - default: *200 + default: *202 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -92190,17 +92267,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '401': *25 '403': *29 '404': *6 @@ -92244,7 +92321,7 @@ paths: type: integer secrets: type: array - items: &611 + items: &627 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -92284,7 +92361,7 @@ paths: - visibility - selected_repositories_url examples: - default: *404 + default: *406 headers: Link: *58 x-github: @@ -92354,13 +92431,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *128 + - *130 responses: '200': description: Response content: application/json: - schema: *611 + schema: *627 examples: default: value: @@ -92390,7 +92467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *128 + - *130 requestBody: required: true content: @@ -92435,7 +92512,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -92463,7 +92540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *128 + - *130 responses: '204': description: Response @@ -92488,7 +92565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *128 + - *130 responses: '200': description: Response @@ -92504,13 +92581,13 @@ paths: type: integer repositories: type: array - items: *120 + items: *122 examples: - default: *612 + default: *628 '401': *25 '403': *29 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92531,7 +92608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *128 + - *130 requestBody: required: true content: @@ -92563,7 +92640,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92585,7 +92662,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *128 + - *130 - name: repository_id in: path required: true @@ -92597,7 +92674,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92618,7 +92695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *128 + - *130 - name: repository_id in: path required: true @@ -92630,7 +92707,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92650,17 +92727,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -92684,7 +92761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 requestBody: required: false content: @@ -92714,9 +92791,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '401': *25 '403': *29 '404': *6 @@ -92738,11 +92815,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 responses: '202': *39 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -92767,13 +92844,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 responses: '202': description: Response content: application/json: - schema: &613 + schema: &629 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -92814,7 +92891,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &614 + default: &630 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -92822,7 +92899,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -92846,7 +92923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *201 + - *203 - name: export_id in: path required: true @@ -92859,9 +92936,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *629 examples: - default: *614 + default: *630 '404': *6 x-github: githubCloudOnly: false @@ -92882,7 +92959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *201 + - *203 responses: '200': description: Response @@ -92898,11 +92975,11 @@ paths: type: integer machines: type: array - items: *615 + items: *631 examples: - default: *616 + default: *632 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -92929,7 +93006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *201 + - *203 requestBody: required: true content: @@ -92979,13 +93056,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *292 + repository: *294 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *402 - required: *403 + properties: *404 + required: *405 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -93759,17 +93836,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '304': *37 - '500': *95 + '500': *97 '400': *14 '401': *25 '402': @@ -93799,16 +93876,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *401 - '500': *95 + default: *403 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -93837,9 +93914,9 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: - default: &629 + default: &645 value: - id: 197 name: hello_docker @@ -93940,7 +94017,7 @@ paths: application/json: schema: type: array - items: &617 + items: &633 title: Email description: Email type: object @@ -94005,9 +94082,9 @@ paths: application/json: schema: type: array - items: *617 + items: *633 examples: - default: &631 + default: &647 value: - email: octocat@github.com verified: true @@ -94082,7 +94159,7 @@ paths: application/json: schema: type: array - items: *617 + items: *633 examples: default: value: @@ -94192,7 +94269,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '304': *37 @@ -94225,7 +94302,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '304': *37 @@ -94247,7 +94324,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *133 + - *135 responses: '204': description: if the person is followed by the authenticated user @@ -94277,7 +94354,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *133 + - *135 responses: '204': description: Response @@ -94302,7 +94379,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *133 + - *135 responses: '204': description: Response @@ -94338,7 +94415,7 @@ paths: application/json: schema: type: array - items: &618 + items: &634 title: GPG Key description: A unique encryption key type: object @@ -94469,7 +94546,7 @@ paths: - subkeys - revoked examples: - default: &642 + default: &658 value: - id: 3 name: Octocat's GPG Key @@ -94554,9 +94631,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *634 examples: - default: &619 + default: &635 value: id: 3 name: Octocat's GPG Key @@ -94613,7 +94690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &620 + - &636 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -94625,9 +94702,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *634 examples: - default: *619 + default: *635 '404': *6 '304': *37 '403': *29 @@ -94650,7 +94727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *620 + - *636 responses: '204': description: Response @@ -94841,7 +94918,7 @@ paths: type: array items: *60 examples: - default: *621 + default: *637 headers: Link: *58 '404': *6 @@ -94866,7 +94943,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *110 + - *112 responses: '204': description: Response @@ -94892,7 +94969,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *110 + - *112 responses: '204': description: Response @@ -94926,12 +95003,12 @@ paths: application/json: schema: anyOf: - - *188 + - *190 - type: object properties: {} additionalProperties: false examples: - default: *189 + default: *191 '204': description: Response when there are no restrictions x-github: @@ -94955,7 +95032,7 @@ paths: required: true content: application/json: - schema: *475 + schema: *477 examples: default: value: @@ -94966,7 +95043,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *190 examples: default: value: @@ -95047,7 +95124,7 @@ paths: - closed - all default: open - - *196 + - *198 - name: sort description: What to sort results by. in: query @@ -95072,7 +95149,7 @@ paths: type: array items: *77 examples: - default: *197 + default: *199 headers: Link: *58 '404': *6 @@ -95105,7 +95182,7 @@ paths: application/json: schema: type: array - items: &622 + items: &638 title: Key description: Key type: object @@ -95202,9 +95279,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *638 examples: - default: &623 + default: &639 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95237,15 +95314,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *504 + - *506 responses: '200': description: Response content: application/json: - schema: *622 + schema: *638 examples: - default: *623 + default: *639 '404': *6 '304': *37 '403': *29 @@ -95268,7 +95345,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *504 + - *506 responses: '204': description: Response @@ -95301,7 +95378,7 @@ paths: application/json: schema: type: array - items: &624 + items: &640 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -95369,7 +95446,7 @@ paths: - account - plan examples: - default: &625 + default: &641 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -95431,9 +95508,9 @@ paths: application/json: schema: type: array - items: *624 + items: *640 examples: - default: *625 + default: *641 headers: Link: *58 '304': *37 @@ -95473,7 +95550,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -95575,13 +95652,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: *204 + schema: *206 examples: default: value: @@ -95639,7 +95716,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *94 + - *96 requestBody: required: true content: @@ -95664,7 +95741,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *206 examples: default: value: @@ -95732,7 +95809,7 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: default: value: @@ -95985,7 +96062,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: default: value: @@ -96165,7 +96242,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *207 + - *209 - name: exclude in: query required: false @@ -96178,7 +96255,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: default: value: @@ -96372,7 +96449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *207 + - *209 responses: '302': description: Response @@ -96398,7 +96475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *207 + - *209 responses: '204': description: Response @@ -96427,8 +96504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *207 - - *626 + - *209 + - *642 responses: '204': description: Response @@ -96452,7 +96529,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *207 + - *209 - *17 - *19 responses: @@ -96462,9 +96539,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 '404': *6 @@ -96499,9 +96576,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *627 + default: *643 headers: Link: *58 '304': *37 @@ -96543,7 +96620,7 @@ paths: - docker - nuget - container - - *628 + - *644 - *19 - *17 responses: @@ -96553,10 +96630,10 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: - default: *629 - '400': *630 + default: *645 + '400': *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96576,16 +96653,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 + - *219 responses: '200': description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: &643 + default: &659 value: id: 40201 name: octo-name @@ -96698,8 +96775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 + - *219 responses: '204': description: Response @@ -96729,8 +96806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 + - *219 - name: token description: package token schema: @@ -96762,8 +96839,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: - - *216 - - *217 + - *218 + - *219 - *19 - *17 - name: state @@ -96783,7 +96860,7 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: default: value: @@ -96832,15 +96909,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 - *219 + - *221 responses: '200': description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -96876,9 +96953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 - *219 + - *221 responses: '204': description: Response @@ -96908,9 +96985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 - *219 + - *221 responses: '204': description: Response @@ -96966,7 +97043,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: default: value: @@ -97038,9 +97115,9 @@ paths: application/json: schema: type: array - items: *617 + items: *633 examples: - default: *631 + default: *647 headers: Link: *58 '304': *37 @@ -97153,7 +97230,7 @@ paths: type: array items: *60 examples: - default: &638 + default: &654 summary: Default response value: - id: 1296269 @@ -97457,9 +97534,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *294 + default: *296 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97497,9 +97574,9 @@ paths: application/json: schema: type: array - items: *477 + items: *479 examples: - default: *632 + default: *648 headers: Link: *58 '304': *37 @@ -97522,7 +97599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *192 + - *194 responses: '204': description: Response @@ -97545,7 +97622,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *192 + - *194 responses: '204': description: Response @@ -97578,7 +97655,7 @@ paths: application/json: schema: type: array - items: &633 + items: &649 title: Social account description: Social media account type: object @@ -97593,7 +97670,7 @@ paths: - provider - url examples: - default: &634 + default: &650 value: - provider: twitter url: https://twitter.com/github @@ -97655,9 +97732,9 @@ paths: application/json: schema: type: array - items: *633 + items: *649 examples: - default: *634 + default: *650 '422': *15 '304': *37 '404': *6 @@ -97744,7 +97821,7 @@ paths: application/json: schema: type: array - items: &635 + items: &651 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -97764,7 +97841,7 @@ paths: - title - created_at examples: - default: &654 + default: &670 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97830,9 +97907,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *651 examples: - default: &636 + default: &652 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97863,7 +97940,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: - - &637 + - &653 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -97875,9 +97952,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *651 examples: - default: *636 + default: *652 '404': *6 '304': *37 '403': *29 @@ -97900,7 +97977,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: - - *637 + - *653 responses: '204': description: Response @@ -97929,7 +98006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &655 + - &671 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 @@ -97954,11 +98031,11 @@ paths: type: array items: *60 examples: - default-response: *638 + default-response: *654 application/vnd.github.v3.star+json: schema: type: array - items: &656 + items: &672 title: Starred Repository description: Starred Repository type: object @@ -98114,8 +98191,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: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response if this repository is starred by you @@ -98143,8 +98220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -98168,8 +98245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -98202,9 +98279,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 '304': *37 @@ -98241,7 +98318,7 @@ paths: application/json: schema: type: array - items: *266 + items: *268 examples: default: value: @@ -98327,10 +98404,10 @@ paths: application/json: schema: oneOf: - - *610 - - *609 + - *626 + - *625 examples: - default-response: &640 + default-response: &656 summary: Default response value: login: octocat @@ -98365,7 +98442,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &641 + response-with-git-hub-plan-information: &657 summary: Response with GitHub plan information value: login: octocat @@ -98425,7 +98502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *639 + - *655 - *17 responses: '200': @@ -98436,7 +98513,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: example: ; rel="next" @@ -98466,7 +98543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *133 + - *135 responses: '200': description: Response @@ -98474,11 +98551,11 @@ paths: application/json: schema: oneOf: - - *610 - - *609 + - *626 + - *625 examples: - default-response: *640 - response-with-git-hub-plan-information: *641 + default-response: *656 + response-with-git-hub-plan-information: *657 '404': *6 x-github: githubCloudOnly: false @@ -98504,7 +98581,7 @@ paths: - *17 - *40 - *41 - - *133 + - *135 - name: subject_digest description: Subject Digest in: path @@ -98554,12 +98631,12 @@ paths: bundle_url: type: string examples: - default: *343 + default: *345 '201': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -98585,7 +98662,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *133 + - *135 responses: '200': description: Response @@ -98593,9 +98670,9 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: - default: *629 + default: *645 '403': *29 '401': *25 x-github: @@ -98618,7 +98695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -98699,8 +98776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *133 - - *94 + - *135 + - *96 - *17 - *19 responses: @@ -98789,7 +98866,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -98866,7 +98943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -98878,7 +98955,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -98897,7 +98974,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *133 + - *135 - *17 - *19 responses: @@ -98909,7 +98986,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -98928,7 +99005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *133 + - *135 - name: target_user in: path required: true @@ -98955,7 +99032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *133 + - *135 - *67 - *17 - *19 @@ -98989,7 +99066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -98999,9 +99076,9 @@ paths: application/json: schema: type: array - items: *618 + items: *634 examples: - default: *642 + default: *658 headers: Link: *58 x-github: @@ -99025,7 +99102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *133 + - *135 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -99097,7 +99174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *133 + - *135 responses: '200': description: Response @@ -99105,7 +99182,7 @@ paths: application/json: schema: *22 examples: - default: *474 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99123,7 +99200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -99171,7 +99248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -99181,9 +99258,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *627 + default: *643 headers: Link: *58 x-github: @@ -99222,8 +99299,8 @@ paths: - docker - nuget - container - - *628 - - *133 + - *644 + - *135 - *19 - *17 responses: @@ -99233,12 +99310,12 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: - default: *629 + default: *645 '403': *29 '401': *25 - '400': *630 + '400': *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99258,17 +99335,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *216 - - *217 - - *133 + - *218 + - *219 + - *135 responses: '200': description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *643 + default: *659 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99289,9 +99366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *216 - - *217 - - *133 + - *218 + - *219 + - *135 responses: '204': description: Response @@ -99323,9 +99400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *216 - - *217 - - *133 + - *218 + - *219 + - *135 - name: token description: package token schema: @@ -99357,9 +99434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *216 - - *217 - - *133 + - *218 + - *219 + - *135 responses: '200': description: Response @@ -99367,7 +99444,7 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: default: value: @@ -99425,16 +99502,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *216 - - *217 + - *218 - *219 - - *133 + - *221 + - *135 responses: '200': description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -99469,10 +99546,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *216 - - *217 - - *133 + - *218 - *219 + - *135 + - *221 responses: '204': description: Response @@ -99504,10 +99581,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *216 - - *217 - - *133 + - *218 - *219 + - *135 + - *221 responses: '204': description: Response @@ -99533,7 +99610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-user-projects parameters: - - *133 + - *135 - name: state description: Indicates the state of the projects to return. in: query @@ -99554,7 +99631,7 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: default: value: @@ -99616,7 +99693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -99705,7 +99782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -99792,7 +99869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *133 + - *135 - name: type description: Limit results to repositories of the specified type. in: query @@ -99835,9 +99912,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -99861,15 +99938,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *133 + - *135 responses: '200': description: Response content: application/json: - schema: *644 + schema: *660 examples: - default: *645 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99891,15 +99968,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *133 + - *135 responses: '200': description: Response content: application/json: - schema: *646 + schema: *662 examples: - default: *647 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99921,15 +99998,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *133 + - *135 responses: '200': description: Response content: application/json: - schema: *648 + schema: *664 examples: - default: *649 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99949,11 +100026,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *133 - - *650 - - *651 - - *652 - - *653 + - *135 + - *666 + - *667 + - *668 + - *669 responses: '200': description: Response when getting a billing usage report @@ -100023,7 +100100,7 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *95 + '500': *97 '503': *65 x-github: githubCloudOnly: false @@ -100042,7 +100119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -100052,9 +100129,9 @@ paths: application/json: schema: type: array - items: *633 + items: *649 examples: - default: *634 + default: *650 headers: Link: *58 x-github: @@ -100074,7 +100151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -100084,9 +100161,9 @@ paths: application/json: schema: type: array - items: *635 + items: *651 examples: - default: *654 + default: *670 headers: Link: *58 x-github: @@ -100110,8 +100187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *133 - - *655 + - *135 + - *671 - *48 - *17 - *19 @@ -100123,11 +100200,11 @@ paths: schema: anyOf: - type: array - items: *656 + items: *672 - type: array items: *60 examples: - default-response: *638 + default-response: *654 headers: Link: *58 x-github: @@ -100146,7 +100223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -100156,9 +100233,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -100286,7 +100363,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &657 + enterprise: &673 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -100344,7 +100421,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &658 + installation: &674 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -100363,7 +100440,7 @@ x-webhooks: required: - id - node_id - organization: &659 + organization: &675 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -100423,13 +100500,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &660 + repository: &676 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: &690 + properties: &706 id: description: Unique identifier of the repository example: 42 @@ -101112,7 +101189,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &691 + required: &707 - archive_url - assignees_url - blobs_url @@ -101263,10 +101340,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -101342,11 +101419,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: &661 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: &677 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) @@ -101569,11 +101646,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: *661 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: *677 sender: *4 required: - action @@ -101756,11 +101833,11 @@ x-webhooks: - everyone required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: *661 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: *677 sender: *4 required: - action @@ -101844,7 +101921,7 @@ x-webhooks: type: string enum: - completed - check_run: &663 + check_run: &679 title: CheckRun description: A check performed on the code of a given code change type: object @@ -101907,8 +101984,8 @@ x-webhooks: type: string pull_requests: type: array - items: *360 - repository: *120 + items: *362 + repository: *122 status: example: completed type: string @@ -101945,7 +102022,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *662 + deployment: *678 details_url: example: https://example.com type: string @@ -101995,7 +102072,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *360 + items: *362 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -102030,9 +102107,9 @@ x-webhooks: - output - app - pull_requests - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -102425,10 +102502,10 @@ x-webhooks: type: string enum: - created - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *679 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -102824,10 +102901,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *679 + installation: *674 + organization: *675 + repository: *676 requested_action: description: The action requested by the user. type: object @@ -103232,10 +103309,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *679 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -104212,10 +104289,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -104885,10 +104962,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -105552,10 +105629,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -105718,7 +105795,7 @@ x-webhooks: required: - login - id - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105863,20 +105940,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &664 + commit_oid: &680 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: *657 - installation: *658 - organization: *659 - ref: &665 + enterprise: *673 + installation: *674 + organization: *675 + ref: &681 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: *660 + repository: *676 sender: *4 required: - action @@ -106038,7 +106115,7 @@ x-webhooks: required: - login - id - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -106268,12 +106345,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *680 + enterprise: *673 + installation: *674 + organization: *675 + ref: *681 + repository: *676 sender: *4 required: - action @@ -106368,7 +106445,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106536,12 +106613,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *680 + enterprise: *673 + installation: *674 + organization: *675 + ref: *681 + repository: *676 sender: *4 required: - action @@ -106704,7 +106781,7 @@ x-webhooks: required: - login - id - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -106870,12 +106947,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *680 + enterprise: *673 + installation: *674 + organization: *675 + ref: *681 + repository: *676 sender: *4 required: - action @@ -106972,7 +107049,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -107140,16 +107217,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 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: *660 + repository: *676 sender: *4 required: - action @@ -107243,7 +107320,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -107383,12 +107460,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *680 + enterprise: *673 + installation: *674 + organization: *675 + ref: *681 + repository: *676 sender: *4 required: - action @@ -107645,10 +107722,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -107728,18 +107805,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *659 - pusher_type: &666 + organization: *675 + pusher_type: &682 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &667 + ref: &683 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -107749,7 +107826,7 @@ x-webhooks: enum: - tag - branch - repository: *660 + repository: *676 sender: *4 required: - ref @@ -107831,10 +107908,10 @@ x-webhooks: type: string enum: - created - definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + definition: *233 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -107919,9 +107996,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -107998,10 +108075,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + definition: *233 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -108078,10 +108155,10 @@ x-webhooks: type: string enum: - updated - definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + definition: *233 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -108158,19 +108235,19 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - repository: *660 - organization: *659 + enterprise: *673 + installation: *674 + repository: *676 + organization: *675 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *235 + items: *237 old_property_values: type: array description: The old custom property values for the repository. - items: *235 + items: *237 required: - action - repository @@ -108246,18 +108323,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - pusher_type: *666 - ref: *667 + enterprise: *673 + installation: *674 + organization: *675 + pusher_type: *682 + ref: *683 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *660 + repository: *676 sender: *4 required: - ref @@ -108341,11 +108418,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108429,11 +108506,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108517,11 +108594,11 @@ x-webhooks: type: string enum: - created - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108603,11 +108680,11 @@ x-webhooks: type: string enum: - dismissed - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108689,11 +108766,11 @@ x-webhooks: type: string enum: - fixed - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108776,11 +108853,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108862,11 +108939,11 @@ x-webhooks: type: string enum: - reopened - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108943,9 +109020,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - key: &668 + enterprise: *673 + installation: *674 + key: &684 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -108981,8 +109058,8 @@ x-webhooks: - verified - created_at - read_only - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -109059,11 +109136,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - key: *668 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + key: *684 + organization: *675 + repository: *676 sender: *4 required: - action @@ -109624,12 +109701,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: &672 + workflow: &688 title: Workflow type: object nullable: true @@ -110355,13 +110432,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *439 + deployment: *441 pull_requests: type: array - items: *524 - repository: *660 - organization: *659 - installation: *658 + items: *526 + repository: *676 + organization: *675 + installation: *674 sender: *4 responses: '200': @@ -110432,7 +110509,7 @@ x-webhooks: type: string enum: - approved - approver: &669 + approver: &685 type: object properties: avatar_url: @@ -110475,11 +110552,11 @@ x-webhooks: type: string comment: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - reviewers: &670 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + reviewers: &686 type: array items: type: object @@ -110558,7 +110635,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &671 + workflow_job_run: &687 type: object properties: conclusion: @@ -111289,18 +111366,18 @@ x-webhooks: type: string enum: - rejected - approver: *669 + approver: *685 comment: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - reviewers: *670 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + reviewers: *686 sender: *4 since: type: string - workflow_job_run: *671 + workflow_job_run: *687 workflow_job_runs: type: array items: @@ -112004,13 +112081,13 @@ x-webhooks: type: string enum: - requested - enterprise: *657 + enterprise: *673 environment: type: string - installation: *658 - organization: *659 - repository: *660 - requestor: &677 + installation: *674 + organization: *675 + repository: *676 + requestor: &693 title: User type: object nullable: true @@ -113909,12 +113986,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *672 + workflow: *688 workflow_run: title: Deployment Workflow Run type: object @@ -114594,7 +114671,7 @@ x-webhooks: type: string enum: - answered - answer: &675 + answer: &691 type: object properties: author_association: @@ -114751,7 +114828,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &673 + discussion: &689 title: Discussion description: A Discussion in a repository. type: object @@ -115037,7 +115114,7 @@ x-webhooks: - id labels: type: array - items: *486 + items: *488 required: - repository_url - category @@ -115059,10 +115136,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115189,11 +115266,11 @@ x-webhooks: - from required: - category - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115276,11 +115353,11 @@ x-webhooks: type: string enum: - closed - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115362,7 +115439,7 @@ x-webhooks: type: string enum: - created - comment: &674 + comment: &690 type: object properties: author_association: @@ -115519,11 +115596,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115606,12 +115683,12 @@ x-webhooks: type: string enum: - deleted - comment: *674 - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + comment: *690 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115706,12 +115783,12 @@ x-webhooks: - from required: - body - comment: *674 - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + comment: *690 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115795,11 +115872,11 @@ x-webhooks: type: string enum: - created - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115881,11 +115958,11 @@ x-webhooks: type: string enum: - deleted - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115985,11 +116062,11 @@ x-webhooks: type: string required: - from - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116071,10 +116148,10 @@ x-webhooks: type: string enum: - labeled - discussion: *673 - enterprise: *657 - installation: *658 - label: &676 + discussion: *689 + enterprise: *673 + installation: *674 + label: &692 title: Label type: object properties: @@ -116106,8 +116183,8 @@ x-webhooks: - color - default - description - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116190,11 +116267,11 @@ x-webhooks: type: string enum: - locked - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116276,11 +116353,11 @@ x-webhooks: type: string enum: - pinned - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116362,11 +116439,11 @@ x-webhooks: type: string enum: - reopened - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116451,16 +116528,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *673 - new_repository: *660 + new_discussion: *689 + new_repository: *676 required: - new_discussion - new_repository - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116543,10 +116620,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *673 - old_answer: *675 - organization: *659 - repository: *660 + discussion: *689 + old_answer: *691 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116628,12 +116705,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *673 - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116716,11 +116793,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116802,11 +116879,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116879,7 +116956,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *657 + enterprise: *673 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -117539,9 +117616,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - forkee @@ -117687,9 +117764,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pages: description: The pages that were updated. type: array @@ -117726,7 +117803,7 @@ x-webhooks: - action - sha - html_url - repository: *660 + repository: *676 sender: *4 required: - pages @@ -117802,10 +117879,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories: &678 + organization: *675 + repositories: &694 description: An array of repository objects that the installation can access. type: array @@ -117831,8 +117908,8 @@ x-webhooks: - name - full_name - private - repository: *660 - requester: *677 + repository: *676 + requester: *693 sender: *4 required: - action @@ -117907,11 +117984,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *675 + repositories: *694 + repository: *676 requester: nullable: true sender: *4 @@ -117987,11 +118064,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *675 + repositories: *694 + repository: *676 requester: nullable: true sender: *4 @@ -118067,10 +118144,10 @@ x-webhooks: type: string enum: - added - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories_added: &679 + organization: *675 + repositories_added: &695 description: An array of repository objects, which were added to the installation. type: array @@ -118116,15 +118193,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *660 - repository_selection: &680 + repository: *676 + repository_selection: &696 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *677 + requester: *693 sender: *4 required: - action @@ -118203,10 +118280,10 @@ x-webhooks: type: string enum: - removed - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories_added: *679 + organization: *675 + repositories_added: *695 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -118233,9 +118310,9 @@ x-webhooks: - name - full_name - private - repository: *660 - repository_selection: *680 - requester: *677 + repository: *676 + repository_selection: *696 + requester: *693 sender: *4 required: - action @@ -118314,11 +118391,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *675 + repositories: *694 + repository: *676 requester: nullable: true sender: *4 @@ -118496,10 +118573,10 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 target_type: type: string @@ -118578,11 +118655,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *675 + repositories: *694 + repository: *676 requester: nullable: true sender: *4 @@ -118834,8 +118911,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119658,7 +119735,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -119991,8 +120068,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -120072,7 +120149,7 @@ x-webhooks: type: string enum: - deleted - comment: &681 + comment: &697 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -120237,8 +120314,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121057,7 +121134,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -121392,8 +121469,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -121473,7 +121550,7 @@ x-webhooks: type: string enum: - edited - changes: &709 + changes: &725 description: The changes to the comment. type: object properties: @@ -121485,9 +121562,9 @@ x-webhooks: type: string required: - from - comment: *681 - enterprise: *657 - installation: *658 + comment: *697 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122309,7 +122386,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -122642,8 +122719,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122725,10 +122802,10 @@ x-webhooks: type: string enum: - assigned - assignee: *677 - enterprise: *657 - installation: *658 - issue: &684 + assignee: *693 + enterprise: *673 + installation: *674 + issue: &700 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123546,7 +123623,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -123647,8 +123724,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123728,8 +123805,8 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -124552,7 +124629,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -124788,8 +124865,8 @@ x-webhooks: required: - state - closed_at - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -124868,8 +124945,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125683,7 +125760,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -125783,8 +125860,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -125863,8 +125940,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126700,7 +126777,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -126779,7 +126856,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &682 + milestone: &698 title: Milestone description: A collection of related issues and pull requests. type: object @@ -126917,8 +126994,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -127017,8 +127094,8 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127833,7 +127910,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *193 + type: *195 title: description: Title of the issue type: string @@ -127937,9 +128014,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *676 - organization: *659 - repository: *660 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -128019,8 +128096,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128834,7 +128911,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *193 + type: *195 title: description: Title of the issue type: string @@ -128938,9 +129015,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *676 - organization: *659 - repository: *660 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -129020,8 +129097,8 @@ x-webhooks: type: string enum: - locked - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129859,7 +129936,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *193 + type: *195 title: description: Title of the issue type: string @@ -129940,8 +130017,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -130020,8 +130097,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130856,7 +130933,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -130934,9 +131011,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *682 - organization: *659 - repository: *660 + milestone: *698 + organization: *675 + repository: *676 sender: *4 required: - action @@ -131910,7 +131987,7 @@ x-webhooks: required: - login - id - type: *193 + type: *195 required: - id - number @@ -132379,8 +132456,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133198,7 +133275,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -133298,8 +133375,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -133379,9 +133456,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *657 - installation: *658 - issue: &683 + enterprise: *673 + installation: *674 + issue: &699 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -134193,7 +134270,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -134293,8 +134370,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -134373,8 +134450,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135291,9 +135368,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *193 - organization: *659 - repository: *660 + type: *195 + organization: *675 + repository: *676 sender: *4 required: - action @@ -136188,7 +136265,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -136756,11 +136833,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *657 - installation: *658 - issue: *683 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -136840,12 +136917,12 @@ x-webhooks: type: string enum: - typed - enterprise: *657 - installation: *658 - issue: *684 - type: *193 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *700 + type: *195 + organization: *675 + repository: *676 sender: *4 required: - action @@ -136926,7 +137003,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &712 + assignee: &728 title: User type: object nullable: true @@ -136996,11 +137073,11 @@ x-webhooks: required: - login - id - enterprise: *657 - installation: *658 - issue: *684 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *700 + organization: *675 + repository: *676 sender: *4 required: - action @@ -137079,12 +137156,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *657 - installation: *658 - issue: *684 - label: *676 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *700 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -137164,8 +137241,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138004,7 +138081,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -138082,8 +138159,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138163,11 +138240,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *657 - installation: *658 - issue: *683 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138246,12 +138323,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *657 - installation: *658 - issue: *684 - type: *193 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *700 + type: *195 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138331,11 +138408,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138413,11 +138490,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138527,11 +138604,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138613,9 +138690,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: &685 + enterprise: *673 + installation: *674 + marketplace_purchase: &701 title: Marketplace Purchase type: object required: @@ -138698,8 +138775,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *659 - previous_marketplace_purchase: &686 + organization: *675 + previous_marketplace_purchase: &702 title: Marketplace Purchase type: object properties: @@ -138779,7 +138856,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *676 sender: *4 required: - action @@ -138859,10 +138936,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 + enterprise: *673 + installation: *674 + marketplace_purchase: *701 + organization: *675 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138945,7 +139022,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *676 sender: *4 required: - action @@ -139027,10 +139104,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 + enterprise: *673 + installation: *674 + marketplace_purchase: *701 + organization: *675 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -139112,7 +139189,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *676 sender: *4 required: - action @@ -139193,8 +139270,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 marketplace_purchase: title: Marketplace Purchase type: object @@ -139276,9 +139353,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *659 - previous_marketplace_purchase: *686 - repository: *660 + organization: *675 + previous_marketplace_purchase: *702 + repository: *676 sender: *4 required: - action @@ -139358,12 +139435,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 - previous_marketplace_purchase: *686 - repository: *660 + enterprise: *673 + installation: *674 + marketplace_purchase: *701 + organization: *675 + previous_marketplace_purchase: *702 + repository: *676 sender: *4 required: - action @@ -139465,11 +139542,11 @@ x-webhooks: type: string required: - to - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + member: *693 + organization: *675 + repository: *676 sender: *4 required: - action @@ -139569,11 +139646,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + member: *693 + organization: *675 + repository: *676 sender: *4 required: - action @@ -139652,11 +139729,11 @@ x-webhooks: type: string enum: - removed - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + member: *693 + organization: *675 + repository: *676 sender: *4 required: - action @@ -139734,11 +139811,11 @@ x-webhooks: type: string enum: - added - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + member: *693 + organization: *675 + repository: *676 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139814,7 +139891,7 @@ x-webhooks: required: - login - id - team: &687 + team: &703 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -140004,11 +140081,11 @@ x-webhooks: type: string enum: - removed - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + member: *693 + organization: *675 + repository: *676 scope: description: The scope of the membership. Currently, can only be `team`. @@ -140085,7 +140162,7 @@ x-webhooks: required: - login - id - team: *687 + team: *703 required: - action - scope @@ -140167,8 +140244,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *658 - merge_group: &689 + installation: *674 + merge_group: &705 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -140187,15 +140264,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *688 + head_commit: *704 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140281,10 +140358,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *658 - merge_group: *689 - organization: *659 - repository: *660 + installation: *674 + merge_group: *705 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140357,7 +140434,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 + enterprise: *673 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -140465,16 +140542,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *658 - organization: *659 + installation: *674 + organization: *675 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: *690 - required: *691 + properties: *706 + required: *707 nullable: true sender: *4 required: @@ -140555,11 +140632,11 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + milestone: *698 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140638,9 +140715,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - milestone: &692 + enterprise: *673 + installation: *674 + milestone: &708 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140777,8 +140854,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140857,11 +140934,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + milestone: *698 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140971,11 +141048,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + milestone: *698 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141055,11 +141132,11 @@ x-webhooks: type: string enum: - opened - enterprise: *657 - installation: *658 - milestone: *692 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + milestone: *708 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141138,11 +141215,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *677 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + blocked_user: *693 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141221,11 +141298,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *677 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + blocked_user: *693 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141304,9 +141381,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - membership: &693 + enterprise: *673 + installation: *674 + membership: &709 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -141398,8 +141475,8 @@ x-webhooks: - role - organization_url - user - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141477,11 +141554,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + membership: *709 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141560,8 +141637,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -141677,10 +141754,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 - user: *677 + user: *693 required: - action - invitation @@ -141758,11 +141835,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + membership: *709 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141849,11 +141926,11 @@ x-webhooks: properties: from: type: string - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + membership: *709 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141929,9 +142006,9 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 package: description: Information about the package. type: object @@ -142430,7 +142507,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &694 + items: &710 title: Ruby Gems metadata type: object properties: @@ -142525,7 +142602,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *676 sender: *4 required: - action @@ -142601,9 +142678,9 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 package: description: Information about the package. type: object @@ -142956,7 +143033,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *710 source_url: type: string format: uri @@ -143026,7 +143103,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *676 sender: *4 required: - action @@ -143203,12 +143280,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *657 + enterprise: *673 id: type: integer - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - id @@ -143285,7 +143362,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &695 + personal_access_token_request: &711 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -143431,10 +143508,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *657 - organization: *659 + enterprise: *673 + organization: *675 sender: *4 - installation: *658 + installation: *674 required: - action - personal_access_token_request @@ -143511,11 +143588,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *695 - enterprise: *657 - organization: *659 + personal_access_token_request: *711 + enterprise: *673 + organization: *675 sender: *4 - installation: *658 + installation: *674 required: - action - personal_access_token_request @@ -143591,11 +143668,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *695 - enterprise: *657 - organization: *659 + personal_access_token_request: *711 + enterprise: *673 + organization: *675 sender: *4 - installation: *658 + installation: *674 required: - action - personal_access_token_request @@ -143670,11 +143747,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *695 - organization: *659 - enterprise: *657 + personal_access_token_request: *711 + organization: *675 + enterprise: *673 sender: *4 - installation: *658 + installation: *674 required: - action - personal_access_token_request @@ -143779,7 +143856,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *696 + last_response: *712 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -143811,8 +143888,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 zen: description: Random string of GitHub zen. @@ -144057,10 +144134,10 @@ x-webhooks: - from required: - note - enterprise: *657 - installation: *658 - organization: *659 - project_card: &697 + enterprise: *673 + installation: *674 + organization: *675 + project_card: &713 title: Project Card type: object properties: @@ -144179,7 +144256,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *676 sender: *4 required: - action @@ -144260,11 +144337,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project_card: *697 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project_card: *713 + repository: *676 sender: *4 required: - action @@ -144344,9 +144421,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 project_card: title: Project Card type: object @@ -144474,8 +144551,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: *690 - required: *691 + properties: *706 + required: *707 nullable: true sender: *4 required: @@ -144569,11 +144646,11 @@ x-webhooks: - from required: - note - enterprise: *657 - installation: *658 - organization: *659 - project_card: *697 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project_card: *713 + repository: *676 sender: *4 required: - action @@ -144667,9 +144744,9 @@ x-webhooks: - from required: - column_id - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 project_card: allOf: - title: Project Card @@ -144859,7 +144936,7 @@ x-webhooks: type: string required: - after_id - repository: *660 + repository: *676 sender: *4 required: - action @@ -144939,10 +145016,10 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - organization: *659 - project: &699 + enterprise: *673 + installation: *674 + organization: *675 + project: &715 title: Project type: object properties: @@ -145066,7 +145143,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *676 sender: *4 required: - action @@ -145146,10 +145223,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project_column: &698 + enterprise: *673 + installation: *674 + organization: *675 + project_column: &714 title: Project Column type: object properties: @@ -145188,7 +145265,7 @@ x-webhooks: - name - created_at - updated_at - repository: *660 + repository: *676 sender: *4 required: - action @@ -145267,18 +145344,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *714 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: *690 - required: *691 + properties: *706 + required: *707 nullable: true sender: *4 required: @@ -145368,11 +145445,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *714 + repository: *676 sender: *4 required: - action @@ -145452,11 +145529,11 @@ x-webhooks: type: string enum: - moved - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *714 + repository: *676 sender: *4 required: - action @@ -145536,11 +145613,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project: *715 + repository: *676 sender: *4 required: - action @@ -145620,18 +145697,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - project: *699 + enterprise: *673 + installation: *674 + organization: *675 + project: *715 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: *690 - required: *691 + properties: *706 + required: *707 nullable: true sender: *4 required: @@ -145733,11 +145810,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project: *715 + repository: *676 sender: *4 required: - action @@ -145816,11 +145893,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project: *715 + repository: *676 sender: *4 required: - action @@ -145901,9 +145978,9 @@ x-webhooks: type: string enum: - closed - installation: *658 - organization: *659 - projects_v2: &700 + installation: *674 + organization: *675 + projects_v2: &716 title: Projects v2 Project description: A projects v2 project type: object @@ -146046,9 +146123,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2: *700 + installation: *674 + organization: *675 + projects_v2: *716 sender: *4 required: - action @@ -146129,9 +146206,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2: *700 + installation: *674 + organization: *675 + projects_v2: *716 sender: *4 required: - action @@ -146248,9 +146325,9 @@ x-webhooks: type: string to: type: string - installation: *658 - organization: *659 - projects_v2: *700 + installation: *674 + organization: *675 + projects_v2: *716 sender: *4 required: - action @@ -146333,7 +146410,7 @@ x-webhooks: type: string enum: - archived - changes: &704 + changes: &720 type: object properties: archived_at: @@ -146347,9 +146424,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *658 - organization: *659 - projects_v2_item: &701 + installation: *674 + organization: *675 + projects_v2_item: &717 title: Projects v2 Item description: An item belonging to a project type: object @@ -146483,9 +146560,9 @@ x-webhooks: nullable: true to: type: string - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -146567,9 +146644,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -146650,9 +146727,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -146758,7 +146835,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &702 + - &718 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -146776,7 +146853,7 @@ x-webhooks: required: - id - name - - &703 + - &719 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -146799,8 +146876,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *702 - - *703 + - *718 + - *719 required: - field_value - type: object @@ -146816,9 +146893,9 @@ x-webhooks: nullable: true required: - body - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -146913,9 +146990,9 @@ x-webhooks: to: type: string nullable: true - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -146998,10 +147075,10 @@ x-webhooks: type: string enum: - restored - changes: *704 - installation: *658 - organization: *659 - projects_v2_item: *701 + changes: *720 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -147083,9 +147160,9 @@ x-webhooks: type: string enum: - reopened - installation: *658 - organization: *659 - projects_v2: *700 + installation: *674 + organization: *675 + projects_v2: *716 sender: *4 required: - action @@ -147166,9 +147243,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2_status_update: &705 + installation: *674 + organization: *675 + projects_v2_status_update: &721 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -147295,9 +147372,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2_status_update: *705 + installation: *674 + organization: *675 + projects_v2_status_update: *721 sender: *4 required: - action @@ -147433,9 +147510,9 @@ x-webhooks: type: string format: date nullable: true - installation: *658 - organization: *659 - projects_v2_status_update: *705 + installation: *674 + organization: *675 + projects_v2_status_update: *721 sender: *4 required: - action @@ -147506,10 +147583,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - repository @@ -147586,13 +147663,13 @@ x-webhooks: type: string enum: - assigned - assignee: *677 - enterprise: *657 - installation: *658 - number: &706 + assignee: *693 + enterprise: *673 + installation: *674 + number: &722 description: The pull request number. type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -149875,7 +149952,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -149957,11 +150034,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -152239,7 +152316,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *676 sender: *4 required: - action @@ -152321,11 +152398,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -154603,7 +154680,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *676 sender: *4 required: - action @@ -154685,13 +154762,13 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: &707 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: &723 allOf: - - *524 + - *526 - type: object properties: allow_auto_merge: @@ -154753,7 +154830,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *660 + repository: *676 sender: *4 required: - action @@ -154834,12 +154911,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: *723 + repository: *676 sender: *4 required: - action @@ -154919,11 +154996,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *657 - milestone: *507 - number: *706 - organization: *659 - pull_request: &708 + enterprise: *673 + milestone: *509 + number: *722 + organization: *675 + pull_request: &724 title: Pull Request type: object properties: @@ -157186,7 +157263,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -157265,11 +157342,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -159551,7 +159628,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *660 + repository: *676 sender: *4 required: - action @@ -159675,12 +159752,12 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: *723 + repository: *676 sender: *4 required: - action @@ -159760,11 +159837,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -162031,7 +162108,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -162111,11 +162188,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *657 - installation: *658 - label: *676 - number: *706 - organization: *659 + enterprise: *673 + installation: *674 + label: *692 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -164397,7 +164474,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -164478,10 +164555,10 @@ x-webhooks: type: string enum: - locked - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -166761,7 +166838,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -166841,12 +166918,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *657 - milestone: *507 - number: *706 - organization: *659 - pull_request: *708 - repository: *660 + enterprise: *673 + milestone: *509 + number: *722 + organization: *675 + pull_request: *724 + repository: *676 sender: *4 required: - action @@ -166925,12 +167002,12 @@ x-webhooks: type: string enum: - opened - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: *723 + repository: *676 sender: *4 required: - action @@ -167011,12 +167088,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: *723 + repository: *676 sender: *4 required: - action @@ -167096,12 +167173,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: *723 + repository: *676 sender: *4 required: - action @@ -167467,9 +167544,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -169639,7 +169716,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *676 sender: *4 required: - action @@ -169719,7 +169796,7 @@ x-webhooks: type: string enum: - deleted - comment: &710 + comment: &726 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -170004,9 +170081,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -172164,7 +172241,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *676 sender: *4 required: - action @@ -172244,11 +172321,11 @@ x-webhooks: type: string enum: - edited - changes: *709 - comment: *710 - enterprise: *657 - installation: *658 - organization: *659 + changes: *725 + comment: *726 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -174409,7 +174486,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *676 sender: *4 required: - action @@ -174490,9 +174567,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -176665,7 +176742,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *676 review: description: The review that was affected. type: object @@ -176908,9 +176985,9 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -178964,8 +179041,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 - review: &711 + repository: *676 + review: &727 description: The review that was affected. type: object properties: @@ -179194,12 +179271,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -181482,7 +181559,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 requested_reviewer: title: User type: object @@ -181566,12 +181643,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -183861,7 +183938,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184053,12 +184130,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -186343,7 +186420,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 requested_reviewer: title: User type: object @@ -186428,12 +186505,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -188709,7 +188786,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188890,9 +188967,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -191067,8 +191144,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 - review: *711 + repository: *676 + review: *727 sender: *4 required: - action @@ -191148,9 +191225,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -193220,7 +193297,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *676 sender: *4 thread: type: object @@ -193603,9 +193680,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -195661,7 +195738,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *676 sender: *4 thread: type: object @@ -196047,10 +196124,10 @@ x-webhooks: type: string before: type: string - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -198321,7 +198398,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -198403,11 +198480,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *712 - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + assignee: *728 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -200690,7 +200767,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -200769,11 +200846,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *657 - installation: *658 - label: *676 - number: *706 - organization: *659 + enterprise: *673 + installation: *674 + label: *692 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -203046,7 +203123,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -203127,10 +203204,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -205395,7 +205472,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -205595,7 +205672,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *657 + enterprise: *673 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -205687,8 +205764,8 @@ x-webhooks: - url - author - committer - installation: *658 - organization: *659 + installation: *674 + organization: *675 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -206263,9 +206340,9 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 registry_package: type: object properties: @@ -206711,7 +206788,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *694 + items: *710 summary: type: string tag_name: @@ -206765,7 +206842,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *676 sender: *4 required: - action @@ -206843,9 +206920,9 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 registry_package: type: object properties: @@ -207153,7 +207230,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *710 summary: type: string tag_name: @@ -207202,7 +207279,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *676 sender: *4 required: - action @@ -207279,10 +207356,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - release: &713 + enterprise: *673 + installation: *674 + organization: *675 + release: &729 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207591,7 +207668,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *660 + repository: *676 sender: *4 required: - action @@ -207668,11 +207745,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + release: *729 + repository: *676 sender: *4 required: - action @@ -207789,11 +207866,11 @@ x-webhooks: type: boolean required: - to - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + release: *729 + repository: *676 sender: *4 required: - action @@ -207871,9 +207948,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -208186,7 +208263,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *676 sender: *4 required: - action @@ -208262,10 +208339,10 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - release: &714 + enterprise: *673 + installation: *674 + organization: *675 + release: &730 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208575,7 +208652,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *676 sender: *4 required: - action @@ -208651,11 +208728,11 @@ x-webhooks: type: string enum: - released - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + release: *729 + repository: *676 sender: *4 required: - action @@ -208731,11 +208808,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *657 - installation: *658 - organization: *659 - release: *714 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + release: *730 + repository: *676 sender: *4 required: - action @@ -208811,11 +208888,11 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_advisory: *584 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_advisory: *600 sender: *4 required: - action @@ -208891,11 +208968,11 @@ x-webhooks: type: string enum: - reported - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_advisory: *584 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_advisory: *600 sender: *4 required: - action @@ -208971,10 +209048,10 @@ x-webhooks: type: string enum: - archived - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209051,10 +209128,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209132,10 +209209,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209219,10 +209296,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209334,10 +209411,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209409,10 +209486,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 status: type: string @@ -209493,10 +209570,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209573,10 +209650,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209670,10 +209747,10 @@ x-webhooks: - name required: - repository - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209753,11 +209830,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_ruleset: *245 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *247 sender: *4 required: - action @@ -209835,11 +209912,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_ruleset: *245 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *247 sender: *4 required: - action @@ -209917,11 +209994,11 @@ x-webhooks: type: string enum: - edited - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_ruleset: *245 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *247 changes: type: object properties: @@ -209940,16 +210017,16 @@ x-webhooks: properties: added: type: array - items: *239 + items: *241 deleted: type: array - items: *239 + items: *241 updated: type: array items: type: object properties: - condition: *239 + condition: *241 changes: type: object properties: @@ -209982,16 +210059,16 @@ x-webhooks: properties: added: type: array - items: *244 + items: *246 deleted: type: array - items: *244 + items: *246 updated: type: array items: type: object properties: - rule: *244 + rule: *246 changes: type: object properties: @@ -210225,10 +210302,10 @@ x-webhooks: - from required: - owner - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -210306,10 +210383,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -210387,7 +210464,7 @@ x-webhooks: type: string enum: - create - alert: &715 + alert: &731 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -210508,10 +210585,10 @@ x-webhooks: type: string enum: - open - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -210717,10 +210794,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -210798,11 +210875,11 @@ x-webhooks: type: string enum: - reopen - alert: *715 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *731 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211001,10 +211078,10 @@ x-webhooks: enum: - fixed - open - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211082,7 +211159,7 @@ x-webhooks: type: string enum: - created - alert: &716 + alert: &732 type: object properties: number: *54 @@ -211193,10 +211270,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211277,11 +211354,11 @@ x-webhooks: type: string enum: - created - alert: *716 - installation: *658 - location: *717 - organization: *659 - repository: *660 + alert: *732 + installation: *674 + location: *733 + organization: *675 + repository: *676 sender: *4 required: - location @@ -211519,11 +211596,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *732 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211601,11 +211678,11 @@ x-webhooks: type: string enum: - reopened - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *732 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211683,11 +211760,11 @@ x-webhooks: type: string enum: - resolved - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *732 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211765,11 +211842,11 @@ x-webhooks: type: string enum: - validated - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *732 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211895,10 +211972,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *660 - enterprise: *657 - installation: *658 - organization: *659 + repository: *676 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -211976,11 +212053,11 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - security_advisory: &718 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + security_advisory: &734 description: The details of the security advisory, including summary, description, and severity. type: object @@ -212163,11 +212240,11 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - security_advisory: *718 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + security_advisory: *734 sender: *4 required: - action @@ -212240,10 +212317,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -212427,11 +212504,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *238 - enterprise: *657 - installation: *658 - organization: *659 - repository: *292 + security_and_analysis: *240 + enterprise: *673 + installation: *674 + organization: *675 + repository: *294 sender: *4 required: - changes @@ -212509,12 +212586,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: &719 + sponsorship: &735 type: object properties: created_at: @@ -212815,12 +212892,12 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *719 + sponsorship: *735 required: - action - sponsorship @@ -212908,12 +212985,12 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *719 + sponsorship: *735 required: - action - changes @@ -212990,17 +213067,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &720 + effective_date: &736 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: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *719 + sponsorship: *735 required: - action - sponsorship @@ -213074,7 +213151,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &721 + changes: &737 type: object properties: tier: @@ -213118,13 +213195,13 @@ x-webhooks: - from required: - tier - effective_date: *720 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + effective_date: *736 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *719 + sponsorship: *735 required: - action - changes @@ -213201,13 +213278,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *721 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + changes: *737 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *719 + sponsorship: *735 required: - action - changes @@ -213281,10 +213358,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213367,10 +213444,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213790,15 +213867,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *657 + enterprise: *673 id: description: The unique identifier of the status. type: integer - installation: *658 + installation: *674 name: type: string - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 sha: description: The Commit SHA. @@ -213913,9 +213990,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -214005,9 +214082,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -214097,9 +214174,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -214189,9 +214266,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -214268,12 +214345,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - team: &722 + team: &738 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -214463,9 +214540,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -214923,7 +215000,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *738 required: - action - team @@ -214999,9 +215076,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -215459,7 +215536,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *738 required: - action - team @@ -215536,9 +215613,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -215996,7 +216073,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *738 required: - action - team @@ -216140,9 +216217,9 @@ x-webhooks: - from required: - permissions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -216600,7 +216677,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *738 required: - action - changes @@ -216678,9 +216755,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -217138,7 +217215,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *738 required: - action - team @@ -217214,10 +217291,10 @@ x-webhooks: type: string enum: - started - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -217290,16 +217367,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *657 + enterprise: *673 inputs: type: object nullable: true additionalProperties: true - installation: *658 - organization: *659 + installation: *674 + organization: *675 ref: type: string - repository: *660 + repository: *676 sender: *4 workflow: type: string @@ -217381,10 +217458,10 @@ x-webhooks: type: string enum: - completed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: allOf: @@ -217621,7 +217698,7 @@ x-webhooks: type: string required: - conclusion - deployment: *439 + deployment: *441 required: - action - repository @@ -217700,10 +217777,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: allOf: @@ -217963,7 +218040,7 @@ x-webhooks: required: - status - steps - deployment: *439 + deployment: *441 required: - action - repository @@ -218042,10 +218119,10 @@ x-webhooks: type: string enum: - queued - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: type: object @@ -218180,7 +218257,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *439 + deployment: *441 required: - action - repository @@ -218259,10 +218336,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: type: object @@ -218398,7 +218475,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *439 + deployment: *441 required: - action - repository @@ -218478,12 +218555,12 @@ x-webhooks: type: string enum: - completed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *672 + workflow: *688 workflow_run: title: Workflow Run type: object @@ -219482,12 +219559,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *672 + workflow: *688 workflow_run: title: Workflow Run type: object @@ -220471,12 +220548,12 @@ x-webhooks: type: string enum: - requested - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *672 + workflow: *688 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 8673583a3c..7acd022678 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -23044,6 +23044,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -50161,6 +50450,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -50602,7 +50914,8 @@ "teams_url", "trees_url", "url" - ] + ], + "nullable": true } } }, @@ -50779,7 +51092,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -79292,6 +79605,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -79303,6 +79619,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -79334,7 +79654,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -103357,6 +103676,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -103368,6 +103690,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -103399,7 +103725,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -137592,6 +137917,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -420417,6 +421031,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -421133,6 +422036,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -421802,6 +422994,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index fe1ca41cc1..07649fbf97 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -851,7 +851,7 @@ paths: - subscriptions_url - type - url - type: &258 + type: &260 type: string description: The type of credit the user is receiving. enum: @@ -984,7 +984,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &99 + schema: &101 title: Validation Error Simple description: Validation Error Simple type: object @@ -1017,7 +1017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &586 + - &602 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1573,7 +1573,7 @@ paths: schema: type: integer default: 30 - - &171 + - &173 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 @@ -1589,7 +1589,7 @@ paths: application/json: schema: type: array - items: &172 + items: &174 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1669,7 +1669,7 @@ paths: - installation_id - repository_id examples: - default: &173 + default: &175 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1728,7 +1728,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &98 + schema: &100 title: Validation Error description: Validation Error type: object @@ -1797,7 +1797,7 @@ paths: description: Response content: application/json: - schema: &174 + schema: &176 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1911,7 +1911,7 @@ paths: - request - response examples: - default: &175 + default: &177 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2838,7 +2838,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &236 + properties: &238 id: description: Unique identifier of the repository example: 42 @@ -3276,7 +3276,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &237 + required: &239 - archive_url - assignees_url - blobs_url @@ -5063,7 +5063,7 @@ paths: responses: '202': *39 '422': *7 - '500': &95 + '500': &97 description: Internal Error content: application/json: @@ -7548,7 +7548,7 @@ paths: description: Response content: application/json: - schema: &144 + schema: &146 type: array description: A list of default code security configurations items: @@ -7564,7 +7564,7 @@ paths: default configuration: *43 examples: - default: &145 + default: &147 value: - default_for_new_repos: public configuration: @@ -7875,7 +7875,7 @@ paths: - *42 - *45 responses: - '204': &146 + '204': &148 description: A header with no content is returned. '400': *14 '403': *29 @@ -8002,7 +8002,7 @@ paths: default: value: default_for_new_repos: all - configuration: &143 + configuration: &145 value: id: 1325 target_type: organization @@ -8085,7 +8085,7 @@ paths: application/json: schema: type: array - items: &147 + items: &149 type: object description: Repositories associated with a code security configuration and attachment status @@ -8107,7 +8107,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: + properties: &94 id: type: integer format: int64 @@ -8334,7 +8334,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: + required: &95 - archive_url - assignees_url - blobs_url @@ -8386,7 +8386,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &148 + repository: &150 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8480,7 +8480,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &153 + - &155 name: state in: query description: |- @@ -8489,7 +8489,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &154 + - &156 name: severity in: query description: |- @@ -8498,7 +8498,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &155 + - &157 name: ecosystem in: query description: |- @@ -8507,14 +8507,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &156 + - &158 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &157 + - &159 name: epss_percentage in: query description: |- @@ -8526,7 +8526,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 - - &158 + - &160 name: has in: query description: |- @@ -8540,7 +8540,7 @@ paths: type: string enum: - patch - - &159 + - &161 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8550,7 +8550,7 @@ paths: enum: - development - runtime - - &160 + - &162 name: sort in: query description: |- @@ -8568,7 +8568,7 @@ paths: - *48 - *40 - *41 - - &161 + - &163 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8581,7 +8581,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &162 + - &164 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8601,7 +8601,7 @@ paths: application/json: schema: type: array - items: &163 + items: &165 type: object description: A Dependabot alert. properties: @@ -8667,7 +8667,7 @@ paths: - unknown - direct - transitive - security_advisory: &431 + security_advisory: &433 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8886,13 +8886,13 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &137 + updated_at: &139 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &139 + dismissed_at: &141 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8922,14 +8922,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &138 + fixed_at: &140 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &432 + auto_dismissed_at: &434 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8955,7 +8955,7 @@ paths: - repository additionalProperties: false examples: - default: &164 + default: &166 value: - number: 2 state: dismissed @@ -9302,7 +9302,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &248 + - &250 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9313,7 +9313,7 @@ paths: enum: - open - resolved - - &249 + - &251 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9323,7 +9323,7 @@ paths: required: false schema: type: string - - &250 + - &252 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9332,7 +9332,7 @@ paths: required: false schema: type: string - - &251 + - &253 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. @@ -9348,7 +9348,7 @@ paths: - *17 - *40 - *41 - - &252 + - &254 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9357,7 +9357,7 @@ paths: required: false schema: type: string - - &253 + - &255 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9366,7 +9366,7 @@ paths: schema: type: boolean default: false - - &254 + - &256 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9375,7 +9375,7 @@ paths: schema: type: boolean default: false - - &255 + - &257 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9391,7 +9391,7 @@ paths: application/json: schema: type: array - items: &256 + items: &258 type: object properties: number: *54 @@ -9410,14 +9410,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &578 + state: &580 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: &579 + resolution: &581 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9518,8 +9518,281 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &582 + - &584 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &585 + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &586 + description: Represents an 'issue_title' secret scanning location + type. This location type shows that a secret was detected + in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &587 + description: Represents an 'issue_body' secret scanning location + type. This location type shows that a secret was detected + in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &588 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &589 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &590 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &591 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &592 + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &593 + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &594 + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &595 + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &596 + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: - default: &257 + default: &259 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9855,7 +10128,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &480 + properties: &482 id: type: integer format: int64 @@ -9966,7 +10239,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &416 + properties: &418 url: type: string format: uri @@ -10036,7 +10309,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &417 + required: &419 - closed_issues - creator - description @@ -10115,7 +10388,7 @@ paths: timeline_url: type: string format: uri - type: &193 + type: &195 title: Issue Type description: The type of issue. type: object @@ -10240,7 +10513,7 @@ paths: - total - completed - percent_completed - required: &481 + required: &483 - assignee - closed_at - comments @@ -10262,7 +10535,7 @@ paths: - author_association - created_at - updated_at - comment: &478 + comment: &480 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10829,7 +11102,7 @@ paths: url: type: string format: uri - user: &609 + user: &625 title: Public User description: Public User type: object @@ -12699,7 +12972,7 @@ paths: - closed - all default: open - - &196 + - &198 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -12750,7 +13023,7 @@ paths: type: array items: *77 examples: - default: &197 + default: &199 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14134,14 +14407,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &281 + - &283 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &282 + - &284 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14212,7 +14485,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &293 + '301': &295 description: Moved permanently content: application/json: @@ -14234,7 +14507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &510 + - &512 name: all description: If `true`, show notifications marked as read. in: query @@ -14242,7 +14515,7 @@ paths: schema: type: boolean default: false - - &511 + - &513 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14252,7 +14525,7 @@ paths: type: boolean default: false - *67 - - &512 + - &514 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: @@ -14284,11 +14557,11 @@ paths: properties: id: type: string - repository: &120 + repository: &122 title: Minimal Repository description: Minimal Repository type: object - properties: &166 + properties: &168 id: type: integer format: int64 @@ -14564,7 +14837,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &238 + security_and_analysis: &240 nullable: true type: object properties: @@ -14628,7 +14901,7 @@ paths: enum: - enabled - disabled - required: &167 + required: &169 - archive_url - assignees_url - blobs_url @@ -14716,7 +14989,7 @@ paths: - url - subscription_url examples: - default: &513 + default: &515 value: - id: '1' repository: @@ -15258,11 +15531,11 @@ paths: application/json: schema: type: array - items: &203 + items: &205 title: Organization Simple description: A GitHub organization. type: object - properties: &150 + properties: &152 login: type: string example: github @@ -15303,7 +15576,7 @@ paths: type: string example: A great organization nullable: true - required: &151 + required: &153 - login - url - id @@ -15317,7 +15590,7 @@ paths: - avatar_url - description examples: - default: &627 + default: &643 value: - login: github id: 1 @@ -15357,13 +15630,30 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - - &94 + - &96 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -15386,7 +15676,13 @@ paths: nullable: true accessible_repositories: type: array - items: *53 + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *94 + required: *95 + nullable: true additionalProperties: false examples: default: @@ -15482,14 +15778,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - - *94 + - *96 requestBody: required: true content: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -15534,7 +15830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *94 + - *96 requestBody: required: true content: @@ -15581,8 +15877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *94 - - &650 + - *96 + - &666 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -15591,7 +15887,7 @@ paths: required: false schema: type: integer - - &651 + - &667 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 @@ -15600,7 +15896,7 @@ paths: required: false schema: type: integer - - &652 + - &668 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -15609,7 +15905,7 @@ paths: required: false schema: type: integer - - &653 + - &669 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -15692,7 +15988,7 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *95 + '500': *97 '503': *65 x-github: githubCloudOnly: false @@ -15719,13 +16015,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &96 + schema: &98 title: Organization Full description: Organization Full type: object @@ -16014,7 +16310,7 @@ paths: - updated_at - archived_at examples: - default-response: &97 + default-response: &99 value: login: github id: 1 @@ -16105,7 +16401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *94 + - *96 requestBody: required: false content: @@ -16321,17 +16617,17 @@ paths: description: Response content: application/json: - schema: *96 + schema: *98 examples: - default: *97 + default: *99 '422': description: Validation failed content: application/json: schema: oneOf: - - *98 - - *99 + - *100 + - *101 '409': *47 x-github: githubCloudOnly: false @@ -16355,7 +16651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *94 + - *96 responses: '202': *39 '404': *6 @@ -16380,7 +16676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -16427,7 +16723,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -16445,7 +16741,7 @@ paths: type: integer repository_cache_usages: type: array - items: &298 + items: &300 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16500,7 +16796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -16518,7 +16814,7 @@ paths: type: integer runners: type: array - items: &100 + items: &102 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -16568,7 +16864,7 @@ paths: - source - version nullable: true - machine_size_details: &103 + machine_size_details: &105 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -16660,7 +16956,7 @@ paths: - public_ip_enabled - platform examples: - default: &119 + default: &121 value: total_count: 2 runners: @@ -16720,7 +17016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -16787,9 +17083,9 @@ paths: description: Response content: application/json: - schema: *100 + schema: *102 examples: - default: &104 + default: &106 value: id: 5 name: My hosted ubuntu runner @@ -16828,7 +17124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -16844,7 +17140,7 @@ paths: type: integer images: type: array - items: &101 + items: &103 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -16880,7 +17176,7 @@ paths: - display_name - source examples: - default: &102 + default: &104 value: id: ubuntu-20.04 platform: linux-x64 @@ -16904,7 +17200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -16920,9 +17216,9 @@ paths: type: integer images: type: array - items: *101 + items: *103 examples: - default: *102 + default: *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16939,7 +17235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -16992,7 +17288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -17008,7 +17304,7 @@ paths: type: integer machine_specs: type: array - items: *103 + items: *105 examples: default: value: @@ -17033,7 +17329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -17077,8 +17373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *94 - - &105 + - *96 + - &107 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -17090,9 +17386,9 @@ paths: description: Response content: application/json: - schema: *100 + schema: *102 examples: - default: *104 + default: *106 headers: Link: *58 x-github: @@ -17112,8 +17408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *94 - - *105 + - *96 + - *107 requestBody: required: true content: @@ -17151,9 +17447,9 @@ paths: description: Response content: application/json: - schema: *100 + schema: *102 examples: - default: *104 + default: *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17169,16 +17465,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *94 - - *105 + - *96 + - *107 responses: '202': description: Response content: application/json: - schema: *100 + schema: *102 examples: - default: *104 + default: *106 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17198,13 +17494,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *94 + - *96 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &106 + schema: &108 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -17218,7 +17514,7 @@ paths: required: - include_claim_keys examples: - default: &107 + default: &109 value: include_claim_keys: - repo @@ -17240,20 +17536,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: application/json: - schema: *106 + schema: *108 examples: - default: *107 + default: *109 responses: '201': description: Empty response content: application/json: - schema: &129 + schema: &131 title: Empty Object description: An object without any properties. type: object @@ -17283,7 +17579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -17292,7 +17588,7 @@ paths: schema: type: object properties: - enabled_repositories: &108 + enabled_repositories: &110 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -17305,7 +17601,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &109 + allowed_actions: &111 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -17313,7 +17609,7 @@ paths: - all - local_only - selected - selected_actions_url: &304 + selected_actions_url: &306 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` @@ -17344,7 +17640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *94 + - *96 responses: '204': description: Response @@ -17355,8 +17651,8 @@ paths: schema: type: object properties: - enabled_repositories: *108 - allowed_actions: *109 + enabled_repositories: *110 + allowed_actions: *111 required: - enabled_repositories examples: @@ -17383,7 +17679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -17403,7 +17699,7 @@ paths: type: array items: *60 examples: - default: &621 + default: &637 value: total_count: 1 repositories: @@ -17543,7 +17839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *94 + - *96 responses: '204': description: Response @@ -17587,8 +17883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *94 - - &110 + - *96 + - &112 name: repository_id description: The unique identifier of the repository. in: path @@ -17616,8 +17912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *94 - - *110 + - *96 + - *112 responses: '204': description: Response @@ -17640,13 +17936,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &111 + schema: &113 type: object properties: github_owned_allowed: @@ -17668,7 +17964,7 @@ paths: items: type: string examples: - default: &112 + default: &114 value: github_owned_allowed: true verified_allowed: false @@ -17693,7 +17989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *94 + - *96 responses: '204': description: Response @@ -17701,9 +17997,9 @@ paths: required: false content: application/json: - schema: *111 + schema: *113 examples: - selected_actions: *112 + selected_actions: *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17725,23 +18021,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &308 + schema: &310 type: object properties: - default_workflow_permissions: &113 + default_workflow_permissions: &115 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &114 + can_approve_pull_request_reviews: &116 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -17749,7 +18045,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &115 + default: &117 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -17774,7 +18070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *94 + - *96 responses: '204': description: Success response @@ -17782,13 +18078,13 @@ paths: required: false content: application/json: - schema: &309 + schema: &311 type: object properties: - default_workflow_permissions: *113 - can_approve_pull_request_reviews: *114 + default_workflow_permissions: *115 + can_approve_pull_request_reviews: *116 examples: - default: *115 + default: *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17808,7 +18104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *94 + - *96 - *17 - *19 - name: visible_to_repository @@ -17833,7 +18129,7 @@ paths: type: number runner_groups: type: array - items: &116 + items: &118 type: object properties: id: @@ -17949,7 +18245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -18021,9 +18317,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *118 examples: - default: &118 + default: &120 value: id: 2 name: octo-runner-group @@ -18058,8 +18354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *94 - - &117 + - *96 + - &119 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -18071,7 +18367,7 @@ paths: description: Response content: application/json: - schema: *116 + schema: *118 examples: default: value: @@ -18107,8 +18403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *94 - - *117 + - *96 + - *119 requestBody: required: true content: @@ -18162,9 +18458,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *118 examples: - default: *118 + default: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18183,8 +18479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *94 - - *117 + - *96 + - *119 responses: '204': description: Response @@ -18207,8 +18503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *117 + - *96 + - *119 - *17 - *19 responses: @@ -18226,9 +18522,9 @@ paths: type: number runners: type: array - items: *100 + items: *102 examples: - default: *119 + default: *121 headers: Link: *58 x-github: @@ -18250,8 +18546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *117 + - *96 + - *119 - *19 - *17 responses: @@ -18269,9 +18565,9 @@ paths: type: number repositories: type: array - items: *120 + items: *122 examples: - default: &612 + default: &628 value: total_count: 1 repositories: @@ -18523,8 +18819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *117 + - *96 + - *119 requestBody: required: true content: @@ -18568,9 +18864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *117 - - *110 + - *96 + - *119 + - *112 responses: '204': description: Response @@ -18592,9 +18888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *117 - - *110 + - *96 + - *119 + - *112 responses: '204': description: Response @@ -18617,8 +18913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *117 + - *96 + - *119 - *17 - *19 responses: @@ -18636,7 +18932,7 @@ paths: type: number runners: type: array - items: &122 + items: &124 title: Self hosted runners description: A self hosted runner type: object @@ -18665,7 +18961,7 @@ paths: type: boolean labels: type: array - items: &125 + items: &127 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -18695,7 +18991,7 @@ paths: - busy - labels examples: - default: &123 + default: &125 value: total_count: 2 runners: @@ -18754,8 +19050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *117 + - *96 + - *119 requestBody: required: true content: @@ -18799,9 +19095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *94 - - *117 - - &121 + - *96 + - *119 + - &123 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -18829,9 +19125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *94 - - *117 - - *121 + - *96 + - *119 + - *123 responses: '204': description: Response @@ -18861,7 +19157,7 @@ paths: in: query schema: type: string - - *94 + - *96 - *17 - *19 responses: @@ -18879,9 +19175,9 @@ paths: type: integer runners: type: array - items: *122 + items: *124 examples: - default: *123 + default: *125 headers: Link: *58 x-github: @@ -18905,7 +19201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -18913,7 +19209,7 @@ paths: application/json: schema: type: array - items: &310 + items: &312 title: Runner Application description: Runner Application type: object @@ -18938,7 +19234,7 @@ paths: - download_url - filename examples: - default: &311 + default: &313 value: - os: osx architecture: x64 @@ -18981,7 +19277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -19024,7 +19320,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &312 + '201': &314 description: Response content: application/json: @@ -19034,7 +19330,7 @@ paths: - runner - encoded_jit_config properties: - runner: *122 + runner: *124 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -19091,13 +19387,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *94 + - *96 responses: '201': description: Response content: application/json: - schema: &124 + schema: &126 title: Authentication Token description: Authentication Token type: object @@ -19135,7 +19431,7 @@ paths: - token - expires_at examples: - default: &313 + default: &315 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -19166,15 +19462,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *94 + - *96 responses: '201': description: Response content: application/json: - schema: *124 + schema: *126 examples: - default: &314 + default: &316 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -19199,16 +19495,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *121 + - *96 + - *123 responses: '200': description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: &315 + default: &317 value: id: 23 name: MBP @@ -19249,8 +19545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *94 - - *121 + - *96 + - *123 responses: '204': description: Response @@ -19276,10 +19572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *121 + - *96 + - *123 responses: - '200': &126 + '200': &128 description: Response content: application/json: @@ -19293,7 +19589,7 @@ paths: type: integer labels: type: array - items: *125 + items: *127 examples: default: value: @@ -19332,8 +19628,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-an-organization parameters: - - *94 - - *121 + - *96 + - *123 requestBody: required: true content: @@ -19357,7 +19653,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -19381,8 +19677,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-an-organization parameters: - - *94 - - *121 + - *96 + - *123 requestBody: required: true content: @@ -19407,7 +19703,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -19431,10 +19727,10 @@ 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-an-organization parameters: - - *94 - - *121 + - *96 + - *123 responses: - '200': &316 + '200': &318 description: Response content: application/json: @@ -19448,7 +19744,7 @@ paths: type: integer labels: type: array - items: *125 + items: *127 examples: default: value: @@ -19489,9 +19785,9 @@ 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-an-organization parameters: - - *94 - - *121 - - &317 + - *96 + - *123 + - &319 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19499,7 +19795,7 @@ paths: schema: type: string responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -19524,7 +19820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *94 + - *96 - *17 - *19 responses: @@ -19542,7 +19838,7 @@ paths: type: integer secrets: type: array - items: &127 + items: &129 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -19615,13 +19911,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &329 + schema: &331 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19650,7 +19946,7 @@ paths: - key_id - key examples: - default: &330 + default: &332 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19675,8 +19971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *94 - - &128 + - *96 + - &130 name: secret_name description: The name of the secret. in: path @@ -19688,7 +19984,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *129 examples: default: value: @@ -19718,8 +20014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -19776,7 +20072,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -19802,8 +20098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 responses: '204': description: Response @@ -19829,8 +20125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - *19 - *17 responses: @@ -19848,9 +20144,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *122 examples: - default: &132 + default: &134 value: total_count: 1 repositories: @@ -19942,8 +20238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -19995,8 +20291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -20029,8 +20325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -20062,8 +20358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *94 - - &303 + - *96 + - &305 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)." @@ -20087,7 +20383,7 @@ paths: type: integer variables: type: array - items: &130 + items: &132 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -20172,7 +20468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *94 + - *96 requestBody: required: true content: @@ -20220,7 +20516,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -20245,8 +20541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *94 - - &131 + - *96 + - &133 name: name description: The name of the variable. in: path @@ -20258,7 +20554,7 @@ paths: description: Response content: application/json: - schema: *130 + schema: *132 examples: default: value: @@ -20288,8 +20584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 requestBody: required: true content: @@ -20351,8 +20647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 responses: '204': description: Response @@ -20378,8 +20674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 - *19 - *17 responses: @@ -20397,9 +20693,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *122 examples: - default: *132 + default: *134 '409': description: Response when the visibility of the variable is not set to `selected` @@ -20425,8 +20721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 requestBody: required: true content: @@ -20475,8 +20771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 - name: repository_id in: path required: true @@ -20510,8 +20806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *94 - - *131 + - *96 + - *133 - name: repository_id in: path required: true @@ -20547,7 +20843,7 @@ paths: - *17 - *40 - *41 - - *94 + - *96 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -20598,7 +20894,7 @@ paths: bundle_url: type: string examples: - default: &343 + default: &345 value: attestations: - bundle: @@ -20705,7 +21001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -20717,7 +21013,7 @@ paths: type: array items: *4 examples: - default: &198 + default: &200 value: - login: octocat id: 1 @@ -20755,8 +21051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *94 - - &133 + - *96 + - &135 name: username description: The handle for the GitHub user account. in: path @@ -20787,8 +21083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -20808,8 +21104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -20834,7 +21130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *94 + - *96 - *19 - *17 - *48 @@ -20842,7 +21138,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &134 + schema: &136 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -20868,7 +21164,7 @@ paths: application/json: schema: type: array - items: &135 + items: &137 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -20899,7 +21195,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &152 + items: &154 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -20958,7 +21254,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &211 + properties: &213 id: description: Unique identifier of the team type: integer @@ -21014,7 +21310,7 @@ paths: to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &212 + required: &214 - id - node_id - url @@ -21055,7 +21351,7 @@ paths: type: string format: date-time nullable: true - state: *134 + state: *136 contact_link: description: The contact link of the campaign. type: string @@ -21176,7 +21472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -21270,9 +21566,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: &136 + default: &138 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -21343,7 +21639,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *94 + - *96 - name: campaign_number description: The campaign number. in: path @@ -21355,9 +21651,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: *136 + default: *138 '404': *6 '422': description: Unprocessable Entity @@ -21385,7 +21681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *94 + - *96 - name: campaign_number description: The campaign number. in: path @@ -21434,7 +21730,7 @@ paths: type: string format: uri nullable: true - state: *134 + state: *136 examples: default: value: @@ -21444,9 +21740,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: *136 + default: *138 '400': description: Bad Request content: @@ -21479,7 +21775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *94 + - *96 - name: campaign_number description: The campaign number. in: path @@ -21512,18 +21808,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *94 - - &369 + - *96 + - &371 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`, but not both. in: query required: false - schema: &140 + schema: &142 type: string description: The name of the tool used to generate the code scanning analysis. - - &370 + - &372 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 @@ -21531,7 +21827,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &141 + schema: &143 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -21546,7 +21842,7 @@ paths: be returned. in: query required: false - schema: &372 + schema: &374 type: string description: State of a code scanning alert. enum: @@ -21569,7 +21865,7 @@ paths: be returned. in: query required: false - schema: &373 + schema: &375 type: string description: Severity of a code scanning alert. enum: @@ -21592,16 +21888,16 @@ paths: properties: number: *54 created_at: *55 - updated_at: *137 + updated_at: *139 url: *56 html_url: *57 - instances_url: &374 + instances_url: &376 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &142 + state: &144 type: string description: State of a code scanning alert. nullable: true @@ -21609,7 +21905,7 @@ paths: - open - dismissed - fixed - fixed_at: *138 + fixed_at: *140 dismissed_by: title: Simple User description: A GitHub user. @@ -21617,8 +21913,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *139 - dismissed_reason: &375 + dismissed_at: *141 + dismissed_reason: &377 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -21627,13 +21923,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &376 + dismissed_comment: &378 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &377 + rule: &379 type: object properties: id: @@ -21686,25 +21982,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &378 + tool: &380 type: object properties: - name: *140 + name: *142 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *141 - most_recent_instance: &379 + guid: *143 + most_recent_instance: &381 type: object properties: - ref: &371 + ref: &373 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &389 + analysis_key: &391 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -21715,13 +22011,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &390 + category: &392 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *142 + state: *144 commit_sha: type: string message: @@ -22036,7 +22332,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *94 + - *96 - name: target_type in: query description: The target type of the code security configuration @@ -22147,7 +22443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *94 + - *96 requestBody: required: true content: @@ -22351,7 +22647,7 @@ paths: application/json: schema: *43 examples: - default: *143 + default: *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22373,15 +22669,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: *145 + default: *147 '304': *37 '403': *29 '404': *6 @@ -22407,7 +22703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *94 + - *96 requestBody: required: true content: @@ -22430,7 +22726,7 @@ paths: - 32 - 91 responses: - '204': *146 + '204': *148 '400': *14 '403': *29 '404': *6 @@ -22456,7 +22752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *94 + - *96 - *45 responses: '200': @@ -22465,7 +22761,7 @@ paths: application/json: schema: *43 examples: - default: *143 + default: *145 '304': *37 '403': *29 '404': *6 @@ -22489,7 +22785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *94 + - *96 - *45 requestBody: required: true @@ -22728,10 +23024,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *94 + - *96 - *45 responses: - '204': *146 + '204': *148 '400': *14 '403': *29 '404': *6 @@ -22759,7 +23055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *94 + - *96 - *45 requestBody: required: true @@ -22823,7 +23119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *94 + - *96 - *45 requestBody: required: true @@ -22869,7 +23165,7 @@ paths: default: value: default_for_new_repos: all - configuration: *143 + configuration: *145 '403': *29 '404': *6 x-github: @@ -22893,7 +23189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *94 + - *96 - *45 - name: per_page description: The number of results per page (max 100). For more information, @@ -22922,13 +23218,13 @@ paths: application/json: schema: type: array - items: *147 + items: *149 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *148 + repository: *150 '403': *29 '404': *6 x-github: @@ -22952,7 +23248,7 @@ paths: parameters: - *17 - *19 - - *94 + - *96 responses: '200': description: Response @@ -22968,7 +23264,7 @@ paths: type: integer codespaces: type: array - items: &199 + items: &201 type: object title: Codespace description: A codespace. @@ -22993,12 +23289,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *120 + repository: *122 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &402 + properties: &404 name: type: string description: The name of the machine. @@ -23040,7 +23336,7 @@ paths: - ready - in_progress nullable: true - required: &403 + required: &405 - name - display_name - operating_system @@ -23245,7 +23541,7 @@ paths: - pulls_url - recent_folders examples: - default: &200 + default: &202 value: total_count: 3 codespaces: @@ -23655,7 +23951,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -23677,7 +23973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *94 + - *96 deprecated: true requestBody: required: true @@ -23721,7 +24017,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23744,7 +24040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *94 + - *96 deprecated: true requestBody: required: true @@ -23776,7 +24072,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23799,7 +24095,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *94 + - *96 requestBody: required: true content: @@ -23830,7 +24126,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23851,7 +24147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *94 + - *96 - *17 - *19 responses: @@ -23869,7 +24165,7 @@ paths: type: integer secrets: type: array - items: &149 + items: &151 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -23908,7 +24204,7 @@ paths: - updated_at - visibility examples: - default: &404 + default: &406 value: total_count: 2 secrets: @@ -23940,13 +24236,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &405 + schema: &407 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -23975,7 +24271,7 @@ paths: - key_id - key examples: - default: &406 + default: &408 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23998,16 +24294,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 responses: '200': description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: &408 + default: &410 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -24034,8 +24330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -24090,7 +24386,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -24116,8 +24412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 responses: '204': description: Response @@ -24142,8 +24438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - *19 - *17 responses: @@ -24161,9 +24457,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *122 examples: - default: *132 + default: *134 '404': *6 x-github: githubCloudOnly: false @@ -24185,8 +24481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -24236,8 +24532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -24270,8 +24566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -24310,7 +24606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *94 + - *96 responses: '200': description: OK @@ -24419,7 +24715,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -24451,7 +24747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *94 + - *96 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -24474,7 +24770,7 @@ paths: currently being billed. seats: type: array - items: &202 + items: &204 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -24491,14 +24787,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *150 - required: *151 + properties: *152 + required: *153 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *152 + - *154 - title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -24508,6 +24804,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -24516,6 +24814,9 @@ paths: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -24540,7 +24841,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -24662,7 +24962,7 @@ paths: site_admin: false headers: Link: *58 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -24695,7 +24995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *94 + - *96 requestBody: content: application/json: @@ -24737,7 +25037,7 @@ paths: default: value: seats_created: 5 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -24773,7 +25073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *94 + - *96 requestBody: content: application/json: @@ -24815,7 +25115,7 @@ paths: default: value: seats_cancelled: 5 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -24853,7 +25153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *94 + - *96 requestBody: content: application/json: @@ -24894,7 +25194,7 @@ paths: default: value: seats_created: 5 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -24930,7 +25230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *94 + - *96 requestBody: content: application/json: @@ -24972,7 +25272,7 @@ paths: default: value: seats_cancelled: 5 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -25011,7 +25311,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *94 + - *96 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -25043,7 +25343,7 @@ paths: application/json: schema: type: array - items: &263 + items: &265 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -25350,7 +25650,7 @@ paths: - date additionalProperties: true examples: - default: &264 + default: &266 value: - date: '2024-06-24' total_active_users: 24 @@ -25449,10 +25749,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *95 + '500': *97 '403': *29 '404': *6 - '422': &265 + '422': &267 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -25479,20 +25779,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *94 - - *153 - - *154 + - *96 - *155 - *156 - *157 - *158 - *159 - *160 + - *161 + - *162 - *48 - *40 - *41 - - *161 - - *162 + - *163 + - *164 - *17 responses: '200': @@ -25501,9 +25801,9 @@ paths: application/json: schema: type: array - items: *163 + items: *165 examples: - default: *164 + default: *166 '304': *37 '400': *14 '403': *29 @@ -25529,7 +25829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *94 + - *96 - *17 - *19 responses: @@ -25547,7 +25847,7 @@ paths: type: integer secrets: type: array - items: &165 + items: &167 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -25618,13 +25918,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &435 + schema: &437 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -25641,7 +25941,7 @@ paths: - key_id - key examples: - default: &436 + default: &438 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25664,14 +25964,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 responses: '200': description: Response content: application/json: - schema: *165 + schema: *167 examples: default: value: @@ -25699,8 +25999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -25755,7 +26055,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -25779,8 +26079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 responses: '204': description: Response @@ -25804,8 +26104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - *19 - *17 responses: @@ -25823,9 +26123,9 @@ paths: type: integer repositories: type: array - items: *120 + items: *122 examples: - default: *132 + default: *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25846,8 +26146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -25897,8 +26197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -25929,8 +26229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *128 + - *96 + - *130 - name: repository_id in: path required: true @@ -25960,7 +26260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -25968,7 +26268,7 @@ paths: application/json: schema: type: array - items: &214 + items: &216 title: Package description: A software package type: object @@ -26018,8 +26318,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *166 - required: *167 + properties: *168 + required: *169 nullable: true created_at: type: string @@ -26038,7 +26338,7 @@ paths: - created_at - updated_at examples: - default: &215 + default: &217 value: - id: 197 name: hello_docker @@ -26116,7 +26416,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *94 + - *96 - *17 - *19 responses: @@ -26195,7 +26495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *94 + - *96 - *17 - *19 responses: @@ -26205,7 +26505,7 @@ paths: application/json: schema: type: array - items: &190 + items: &192 title: Organization Invitation description: Organization Invitation type: object @@ -26252,7 +26552,7 @@ paths: - invitation_teams_url - node_id examples: - default: &191 + default: &193 value: - id: 1 login: monalisa @@ -26309,7 +26609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *94 + - *96 - *17 - *19 responses: @@ -26319,7 +26619,7 @@ paths: application/json: schema: type: array - items: &168 + items: &170 title: Org Hook description: Org Hook type: object @@ -26430,7 +26730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *94 + - *96 requestBody: required: true content: @@ -26490,9 +26790,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: - default: &169 + default: &171 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -26539,8 +26839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *94 - - &170 + - *96 + - &172 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. @@ -26553,9 +26853,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: - default: *169 + default: *171 '404': *6 x-github: githubCloudOnly: false @@ -26582,8 +26882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 requestBody: required: false content: @@ -26628,7 +26928,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -26669,8 +26969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 responses: '204': description: Response @@ -26697,8 +26997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *94 - - *170 + - *96 + - *172 responses: '200': description: Response @@ -26728,8 +27028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *94 - - *170 + - *96 + - *172 requestBody: required: false content: @@ -26779,10 +27079,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 - *17 - - *171 + - *173 responses: '200': description: Response @@ -26790,9 +27090,9 @@ paths: application/json: schema: type: array - items: *172 + items: *174 examples: - default: *173 + default: *175 '400': *14 '422': *15 x-github: @@ -26817,17 +27117,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 - *16 responses: '200': description: Response content: application/json: - schema: *174 + schema: *176 examples: - default: *175 + default: *177 '400': *14 '422': *15 x-github: @@ -26852,8 +27152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 - *16 responses: '202': *39 @@ -26882,8 +27182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *94 - - *170 + - *96 + - *172 responses: '204': description: Response @@ -26905,8 +27205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *94 - - &180 + - *96 + - &182 name: actor_type in: path description: The type of the actor @@ -26919,14 +27219,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &181 + - &183 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &176 + - &178 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`.' @@ -26934,7 +27234,7 @@ paths: required: true schema: type: string - - &177 + - &179 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) @@ -27027,13 +27327,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *94 - - *176 - - *177 + - *96 + - *178 + - *179 - *19 - *17 - *48 - - &186 + - &188 name: sort description: The property to sort the results by. in: query @@ -27111,15 +27411,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *94 - - *176 - - *177 + - *96 + - *178 + - *179 responses: '200': description: Response content: application/json: - schema: &178 + schema: &180 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -27135,7 +27435,7 @@ paths: type: integer format: int64 examples: - default: &179 + default: &181 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -27155,24 +27455,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *94 - - &182 + - *96 + - &184 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *176 - - *177 + - *178 + - *179 responses: '200': description: Response content: application/json: - schema: *178 + schema: *180 examples: - default: *179 + default: *181 x-github: enabledForGitHubApps: true category: orgs @@ -27190,19 +27490,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *94 - - *176 - - *177 - - *180 - - *181 + - *96 + - *178 + - *179 + - *182 + - *183 responses: '200': description: Response content: application/json: - schema: *178 + schema: *180 examples: - default: *179 + default: *181 x-github: enabledForGitHubApps: true category: orgs @@ -27219,10 +27519,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *94 - - *176 - - *177 - - &183 + - *96 + - *178 + - *179 + - &185 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -27235,7 +27535,7 @@ paths: description: Response content: application/json: - schema: &184 + schema: &186 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -27251,7 +27551,7 @@ paths: type: integer format: int64 examples: - default: &185 + default: &187 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -27287,19 +27587,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *94 - - *182 - - *176 - - *177 - - *183 + - *96 + - *184 + - *178 + - *179 + - *185 responses: '200': description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: *185 + default: *187 x-github: enabledForGitHubApps: true category: orgs @@ -27316,20 +27616,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *94 - - *180 - - *181 - - *176 - - *177 + - *96 + - *182 - *183 + - *178 + - *179 + - *185 responses: '200': description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: *185 + default: *187 x-github: enabledForGitHubApps: true category: orgs @@ -27346,14 +27646,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *94 - - *182 - - *176 - - *177 + - *96 + - *184 + - *178 + - *179 - *19 - *17 - *48 - - *186 + - *188 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -27426,7 +27726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *94 + - *96 responses: '200': description: Response @@ -27434,7 +27734,7 @@ paths: application/json: schema: *22 examples: - default: &474 + default: &476 value: id: 1 account: @@ -27503,7 +27803,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -27592,7 +27892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -27600,12 +27900,12 @@ paths: application/json: schema: anyOf: - - &188 + - &190 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &187 + limit: &189 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -27630,7 +27930,7 @@ paths: properties: {} additionalProperties: false examples: - default: &189 + default: &191 value: limit: collaborators_only origin: organization @@ -27654,18 +27954,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: application/json: - schema: &475 + schema: &477 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *187 + limit: *189 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -27689,9 +27989,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *189 + default: *191 '422': *15 x-github: githubCloudOnly: false @@ -27709,7 +28009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *94 + - *96 responses: '204': description: Response @@ -27733,7 +28033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *94 + - *96 - *17 - *19 - name: role @@ -27767,9 +28067,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *58 '404': *6 @@ -27792,7 +28092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *94 + - *96 requestBody: required: false content: @@ -27846,7 +28146,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *192 examples: default: value: @@ -27900,8 +28200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *94 - - &192 + - *96 + - &194 name: invitation_id description: The unique identifier of the invitation. in: path @@ -27931,8 +28231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *94 - - *192 + - *96 + - *194 - *17 - *19 responses: @@ -27942,9 +28242,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: &213 + default: &215 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -27979,7 +28279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -27987,7 +28287,7 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: default: value: @@ -28025,7 +28325,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -28072,9 +28372,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: &194 + default: &196 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -28106,8 +28406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *94 - - &195 + - *96 + - &197 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -28160,9 +28460,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *194 + default: *196 '404': *6 '422': *7 x-github: @@ -28186,8 +28486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *94 - - *195 + - *96 + - *197 responses: '204': description: Response @@ -28220,7 +28520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *94 + - *96 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -28250,7 +28550,7 @@ paths: - closed - all default: open - - *196 + - *198 - name: type description: Can be the name of an issue type. in: query @@ -28281,7 +28581,7 @@ paths: type: array items: *77 examples: - default: *197 + default: *199 headers: Link: *58 '404': *6 @@ -28303,7 +28603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *94 + - *96 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -28341,7 +28641,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '422': *15 @@ -28361,8 +28661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response if requester is an organization member and user is @@ -28393,8 +28693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -28420,8 +28720,8 @@ paths: parameters: - *17 - *19 - - *94 - - *133 + - *96 + - *135 responses: '200': description: Response @@ -28437,11 +28737,11 @@ paths: type: integer codespaces: type: array - items: *199 + items: *201 examples: - default: *200 + default: *202 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -28464,9 +28764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *94 - - *133 - - &201 + - *96 + - *135 + - &203 name: codespace_name in: path required: true @@ -28476,7 +28776,7 @@ paths: responses: '202': *39 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -28499,17 +28799,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *94 - - *133 - - *201 + - *96 + - *135 + - *203 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: &401 + default: &403 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -28651,7 +28951,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -28682,14 +28982,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -28732,7 +29032,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -28757,14 +29057,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '200': description: Response content: application/json: - schema: &204 + schema: &206 title: Org Membership description: Org Membership type: object @@ -28793,7 +29093,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *203 + organization: *205 user: title: Simple User description: A GitHub user. @@ -28816,7 +29116,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &205 + response-if-user-has-an-active-admin-membership-with-organization: &207 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -28884,8 +29184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 requestBody: required: false content: @@ -28913,9 +29213,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *206 examples: - response-if-user-already-had-membership-with-organization: *205 + response-if-user-already-had-membership-with-organization: *207 '422': *15 '403': *29 x-github: @@ -28936,8 +29236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -28962,7 +29262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *94 + - *96 - *17 - *19 - name: exclude @@ -28983,7 +29283,7 @@ paths: application/json: schema: type: array - items: &206 + items: &208 title: Migration description: A migration. type: object @@ -29236,7 +29536,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *94 + - *96 requestBody: required: true content: @@ -29312,7 +29612,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: default: value: @@ -29490,8 +29790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *94 - - &207 + - *96 + - &209 name: migration_id description: The unique identifier of the migration. in: path @@ -29518,7 +29818,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *206 + schema: *208 examples: default: value: @@ -29687,8 +29987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *94 - - *207 + - *96 + - *209 responses: '302': description: Response @@ -29709,8 +30009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *94 - - *207 + - *96 + - *209 responses: '204': description: Response @@ -29733,9 +30033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *94 - - *207 - - &626 + - *96 + - *209 + - &642 name: repo_name description: repo_name parameter in: path @@ -29762,8 +30062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *94 - - *207 + - *96 + - *209 - *17 - *19 responses: @@ -29773,9 +30073,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: &220 + default: &222 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -29912,7 +30212,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response - list of organization roles @@ -29928,7 +30228,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &210 + items: &212 title: Organization Role description: Organization roles type: object @@ -30075,8 +30375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *94 - - &208 + - *96 + - &210 name: team_slug description: The slug of the team name. in: path @@ -30107,9 +30407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *94 - - *208 - - &209 + - *96 + - *210 + - &211 name: role_id description: The unique identifier of the role. in: path @@ -30144,9 +30444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *94 - - *208 - - *209 + - *96 + - *210 + - *211 responses: '204': description: Response @@ -30171,8 +30471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -30197,9 +30497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *94 - - *133 - - *209 + - *96 + - *135 + - *211 responses: '204': description: Response @@ -30229,9 +30529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *94 - - *133 - - *209 + - *96 + - *135 + - *211 responses: '204': description: Response @@ -30259,14 +30559,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *94 - - *209 + - *96 + - *211 responses: '200': description: Response content: application/json: - schema: *210 + schema: *212 examples: default: value: @@ -30316,8 +30616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *94 - - *209 + - *96 + - *211 - *17 - *19 responses: @@ -30395,8 +30695,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *211 - required: *212 + properties: *213 + required: *214 nullable: true required: - id @@ -30411,7 +30711,7 @@ paths: - slug - parent examples: - default: *213 + default: *215 headers: Link: *58 '404': @@ -30440,8 +30740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *94 - - *209 + - *96 + - *211 - *17 - *19 responses: @@ -30469,13 +30769,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &259 + items: &261 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *211 - required: *212 + properties: *213 + required: *214 name: nullable: true type: string @@ -30570,7 +30870,7 @@ paths: - type - url examples: - default: *198 + default: *200 headers: Link: *58 '404': @@ -30594,7 +30894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *94 + - *96 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -30621,7 +30921,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -30646,8 +30946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *94 - - *133 + - *96 + - *135 requestBody: required: false content: @@ -30704,8 +31004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -30762,8 +31062,8 @@ paths: - docker - nuget - container - - *94 - - &628 + - *96 + - &644 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30799,12 +31099,12 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: - default: *215 + default: *217 '403': *29 '401': *25 - '400': &630 + '400': &646 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -30826,7 +31126,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &216 + - &218 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 @@ -30844,20 +31144,20 @@ paths: - docker - nuget - container - - &217 + - &219 name: package_name description: The name of the package. in: path required: true schema: type: string - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -30909,9 +31209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *216 - - *217 - - *94 + - *218 + - *219 + - *96 responses: '204': description: Response @@ -30943,9 +31243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *216 - - *217 - - *94 + - *218 + - *219 + - *96 - name: token description: package token schema: @@ -30977,9 +31277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *216 - - *217 - - *94 + - *218 + - *219 + - *96 - *19 - *17 - name: state @@ -30999,7 +31299,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 title: Package Version description: A version of a software package type: object @@ -31124,10 +31424,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *216 - - *217 - - *94 - - &219 + - *218 + - *219 + - *96 + - &221 name: package_version_id description: Unique identifier of the package version. in: path @@ -31139,7 +31439,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -31175,10 +31475,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *216 - - *217 - - *94 + - *218 - *219 + - *96 + - *221 responses: '204': description: Response @@ -31210,10 +31510,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *216 - - *217 - - *94 + - *218 - *219 + - *96 + - *221 responses: '204': description: Response @@ -31240,10 +31540,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *94 + - *96 - *17 - *19 - - &221 + - &223 name: sort description: The property by which to sort the results. in: query @@ -31254,7 +31554,7 @@ paths: - created_at default: created_at - *48 - - &222 + - &224 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -31265,7 +31565,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &223 + - &225 name: repository description: The name of the repository to use to filter the results. in: query @@ -31273,7 +31573,7 @@ paths: schema: type: string example: Hello-World - - &224 + - &226 name: permission description: The permission to use to filter the results. in: query @@ -31281,7 +31581,7 @@ paths: schema: type: string example: issues_read - - &225 + - &227 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) @@ -31291,7 +31591,7 @@ paths: schema: type: string format: date-time - - &226 + - &228 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) @@ -31301,7 +31601,7 @@ paths: schema: type: string format: date-time - - &227 + - &229 name: token_id description: The ID of the token in: query @@ -31313,7 +31613,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *95 + '500': *97 '422': *15 '404': *6 '403': *29 @@ -31465,7 +31765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *94 + - *96 requestBody: required: true content: @@ -31506,7 +31806,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *95 + '500': *97 '422': *15 '404': *6 '403': *29 @@ -31531,7 +31831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *94 + - *96 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -31567,11 +31867,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *95 + '500': *97 '422': *15 '404': *6 '403': *29 - '204': *146 + '204': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31592,7 +31892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *94 + - *96 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -31603,7 +31903,7 @@ paths: - *17 - *19 responses: - '500': *95 + '500': *97 '404': *6 '403': *29 '200': @@ -31612,9 +31912,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -31637,19 +31937,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *94 + - *96 - *17 - *19 - - *221 - - *48 - - *222 - *223 + - *48 - *224 - *225 - *226 - *227 + - *228 + - *229 responses: - '500': *95 + '500': *97 '422': *15 '404': *6 '403': *29 @@ -31796,7 +32096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *94 + - *96 requestBody: required: true content: @@ -31831,7 +32131,7 @@ paths: - 1296269 - 1296280 responses: - '500': *95 + '500': *97 '404': *6 '202': *39 '403': *29 @@ -31856,7 +32156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *94 + - *96 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -31884,9 +32184,9 @@ paths: value: action: revoke responses: - '500': *95 + '500': *97 '404': *6 - '204': *146 + '204': *148 '403': *29 '422': *15 x-github: @@ -31908,7 +32208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *94 + - *96 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -31918,7 +32218,7 @@ paths: - *17 - *19 responses: - '500': *95 + '500': *97 '404': *6 '403': *29 '200': @@ -31927,9 +32227,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -31953,7 +32253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -31971,7 +32271,7 @@ paths: type: integer configurations: type: array - items: &228 + items: &230 title: Organization private registry description: Private registry configuration for an organization type: object @@ -32047,7 +32347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -32181,7 +32481,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &229 + org-private-registry-with-selected-visibility: &231 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -32222,7 +32522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -32270,16 +32570,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *94 - - *128 + - *96 + - *130 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *228 + schema: *230 examples: - default: *229 + default: *231 '404': *6 x-github: githubCloudOnly: false @@ -32300,8 +32600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *94 - - *128 + - *96 + - *130 requestBody: required: true content: @@ -32380,8 +32680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *94 - - *128 + - *96 + - *130 responses: '204': description: Response @@ -32406,7 +32706,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-organization-projects parameters: - - *94 + - *96 - name: state description: Indicates the state of the projects to return. in: query @@ -32427,7 +32727,7 @@ paths: application/json: schema: type: array - items: &230 + items: &232 title: Project description: Projects are a way to organize columns and cards of work. @@ -32574,7 +32874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-an-organization-project parameters: - - *94 + - *96 requestBody: required: true content: @@ -32600,7 +32900,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: default: value: @@ -32638,7 +32938,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &290 + '410': &292 description: Gone content: application/json: @@ -32665,7 +32965,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response @@ -32673,7 +32973,7 @@ paths: application/json: schema: type: array - items: &231 + items: &233 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -32739,7 +33039,7 @@ paths: - property_name - value_type examples: - default: &232 + default: &234 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -32787,7 +33087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -32798,7 +33098,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *231 + items: *233 minItems: 1 maxItems: 100 required: @@ -32828,9 +33128,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *232 + default: *234 '403': *29 '404': *6 x-github: @@ -32851,8 +33151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *94 - - &233 + - *96 + - &235 name: custom_property_name description: The custom property name in: path @@ -32864,9 +33164,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: &234 + default: &236 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -32900,8 +33200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *94 - - *233 + - *96 + - *235 requestBody: required: true content: @@ -32970,9 +33270,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *234 + default: *236 '403': *29 '404': *6 x-github: @@ -32995,10 +33295,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *94 - - *233 + - *96 + - *235 responses: - '204': *146 + '204': *148 '403': *29 '404': *6 x-github: @@ -33019,7 +33319,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *94 + - *96 - *17 - *19 - name: repository_query @@ -33057,7 +33357,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &235 + items: &237 title: Custom Property Value description: Custom property name and associated value type: object @@ -33124,7 +33424,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *94 + - *96 requestBody: required: true content: @@ -33144,7 +33444,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *235 + items: *237 required: - repository_names - properties @@ -33185,7 +33485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *94 + - *96 - *17 - *19 responses: @@ -33197,7 +33497,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -33216,8 +33516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response if user is a public member @@ -33241,8 +33541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -33263,8 +33563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *94 - - *133 + - *96 + - *135 responses: '204': description: Response @@ -33288,7 +33588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *94 + - *96 - name: type description: Specifies the types of repositories you want returned. in: query @@ -33334,9 +33634,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -33357,7 +33657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *94 + - *96 requestBody: required: true content: @@ -33538,7 +33838,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &294 title: Full Repository description: Full Repository type: object @@ -33815,8 +34115,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *236 - required: *237 + properties: *238 + required: *239 nullable: true temp_clone_token: type: string @@ -33931,7 +34231,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &423 + properties: &425 url: type: string format: uri @@ -33947,12 +34247,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &424 + required: &426 - url - key - name - html_url - security_and_analysis: *238 + security_and_analysis: *240 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -34036,7 +34336,7 @@ paths: - network_count - subscribers_count examples: - default: &294 + default: &296 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34554,10 +34854,10 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *96 - *17 - *19 - - &563 + - &565 name: targets description: | A comma-separated list of rule targets to filter by. @@ -34575,7 +34875,7 @@ paths: application/json: schema: type: array - items: &245 + items: &247 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -34610,7 +34910,7 @@ paths: source: type: string description: The name of the source - enforcement: &241 + enforcement: &243 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -34623,7 +34923,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &242 + items: &244 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -34688,7 +34988,7 @@ paths: conditions: nullable: true anyOf: - - &239 + - &241 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -34712,7 +35012,7 @@ paths: match. items: type: string - - &243 + - &245 title: Organization ruleset conditions type: object description: |- @@ -34726,7 +35026,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *239 + - *241 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -34760,7 +35060,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *239 + - *241 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -34782,7 +35082,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *239 + - *241 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -34795,7 +35095,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &240 + items: &242 title: Repository ruleset property targeting definition type: object @@ -34828,17 +35128,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *240 + items: *242 required: - repository_property rules: type: array - items: &244 + items: &246 title: Repository Rule type: object description: A repository rule. oneOf: - - &541 + - &543 title: creation description: Only allow users with bypass permission to create matching refs. @@ -34850,7 +35150,7 @@ paths: type: string enum: - creation - - &542 + - &544 title: update description: Only allow users with bypass permission to update matching refs. @@ -34871,7 +35171,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &544 + - &546 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -34883,7 +35183,7 @@ paths: type: string enum: - deletion - - &545 + - &547 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -34895,7 +35195,7 @@ paths: type: string enum: - required_linear_history - - &546 + - &548 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -34973,7 +35273,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &547 + - &549 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -34997,7 +35297,7 @@ paths: type: string required: - required_deployment_environments - - &548 + - &550 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -35009,7 +35309,7 @@ paths: type: string enum: - required_signatures - - &549 + - &551 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -35071,7 +35371,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &550 + - &552 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -35119,7 +35419,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &551 + - &553 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -35131,7 +35431,7 @@ paths: type: string enum: - non_fast_forward - - &552 + - &554 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -35167,7 +35467,7 @@ paths: required: - operator - pattern - - &553 + - &555 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -35203,7 +35503,7 @@ paths: required: - operator - pattern - - &554 + - &556 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -35239,7 +35539,7 @@ paths: required: - operator - pattern - - &555 + - &557 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -35275,7 +35575,7 @@ paths: required: - operator - pattern - - &556 + - &558 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -35311,7 +35611,7 @@ paths: required: - operator - pattern - - &557 + - &559 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -35336,7 +35636,7 @@ paths: type: string required: - restricted_file_paths - - &558 + - &560 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -35360,7 +35660,7 @@ paths: maximum: 256 required: - max_file_path_length - - &559 + - &561 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -35383,7 +35683,7 @@ paths: type: string required: - restricted_file_extensions - - &560 + - &562 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -35408,7 +35708,7 @@ paths: maximum: 100 required: - max_file_size - - &561 + - &563 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -35458,7 +35758,7 @@ paths: - repository_id required: - workflows - - &562 + - &564 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -35555,7 +35855,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *97 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -35571,7 +35871,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *96 requestBody: description: Request body required: true @@ -35592,16 +35892,16 @@ paths: - push - repository default: branch - enforcement: *241 + enforcement: *243 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *242 - conditions: *243 + items: *244 + conditions: *245 rules: type: array description: An array of rules within the ruleset. - items: *244 + items: *246 required: - name - enforcement @@ -35639,9 +35939,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: &246 + default: &248 value: id: 21 name: super cool ruleset @@ -35681,7 +35981,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *97 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -35695,8 +35995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *94 - - &564 + - *96 + - &566 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 @@ -35711,7 +36011,7 @@ paths: in: query schema: type: string - - &565 + - &567 name: time_period description: |- The time period to filter by. @@ -35727,14 +36027,14 @@ paths: - week - month default: day - - &566 + - &568 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 - - &567 + - &569 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -35754,7 +36054,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &570 title: Rule Suites description: Response type: array @@ -35809,7 +36109,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &569 + default: &571 value: - id: 21 actor_id: 12 @@ -35833,7 +36133,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35852,8 +36152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *94 - - &570 + - *96 + - &572 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -35869,7 +36169,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &573 title: Rule Suite description: Response type: object @@ -35968,7 +36268,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &572 + default: &574 value: id: 21 actor_id: 12 @@ -36003,7 +36303,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36029,7 +36329,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *96 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36041,11 +36341,11 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *246 + default: *248 '404': *6 - '500': *95 + '500': *97 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -36061,7 +36361,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *96 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36087,16 +36387,16 @@ paths: - tag - push - repository - enforcement: *241 + enforcement: *243 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *242 - conditions: *243 + items: *244 + conditions: *245 rules: description: An array of rules within the ruleset. type: array - items: *244 + items: *246 examples: default: value: @@ -36131,11 +36431,11 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *246 + default: *248 '404': *6 - '500': *95 + '500': *97 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -36151,7 +36451,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *96 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36162,7 +36462,7 @@ paths: '204': description: Response '404': *6 - '500': *95 + '500': *97 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -36174,7 +36474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *94 + - *96 - *17 - *19 - name: ruleset_id @@ -36190,7 +36490,7 @@ paths: application/json: schema: type: array - items: &247 + items: &249 title: Ruleset version type: object description: The historical version of a ruleset @@ -36214,7 +36514,7 @@ paths: type: string format: date-time examples: - default: &574 + default: &576 value: - version_id: 3 actor: @@ -36232,7 +36532,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36249,7 +36549,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *94 + - *96 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36267,9 +36567,9 @@ paths: description: Response content: application/json: - schema: &575 + schema: &577 allOf: - - *247 + - *249 - type: object required: - state @@ -36316,7 +36616,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36338,15 +36638,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *94 - - *248 - - *249 + - *96 - *250 - *251 + - *252 + - *253 - *48 - *19 - *17 - - &576 + - &578 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 @@ -36356,7 +36656,7 @@ paths: required: false schema: type: string - - &577 + - &579 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 @@ -36366,10 +36666,10 @@ paths: required: false schema: type: string - - *252 - - *253 - *254 - *255 + - *256 + - *257 responses: '200': description: Response @@ -36377,9 +36677,9 @@ paths: application/json: schema: type: array - items: *256 + items: *258 examples: - default: *257 + default: *259 headers: Link: *58 '404': *6 @@ -36405,7 +36705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *94 + - *96 - *48 - name: sort description: The property to sort the results by. @@ -36449,7 +36749,7 @@ paths: application/json: schema: type: array - items: &584 + items: &600 description: A repository security advisory. type: object properties: @@ -36669,7 +36969,7 @@ paths: login: type: string description: The username of the user credited. - type: *258 + type: *260 credits_detailed: type: array nullable: true @@ -36679,7 +36979,7 @@ paths: type: object properties: user: *4 - type: *258 + type: *260 state: type: string description: The state of the user's acceptance of the @@ -36703,7 +37003,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *152 + items: *154 private_fork: readOnly: true nullable: true @@ -36740,7 +37040,7 @@ paths: - private_fork additionalProperties: false examples: - default: &585 + default: &601 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -37119,7 +37419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *94 + - *96 responses: '200': description: Response @@ -37127,9 +37427,9 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: - default: *213 + default: *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37152,8 +37452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *94 - - *208 + - *96 + - *210 responses: '204': description: Response @@ -37178,8 +37478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *94 - - *208 + - *96 + - *210 responses: '204': description: Response @@ -37208,13 +37508,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &644 + schema: &660 type: object properties: total_minutes_used: @@ -37284,7 +37584,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &645 + default: &661 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37314,13 +37614,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &646 + schema: &662 type: object properties: total_gigabytes_bandwidth_used: @@ -37338,7 +37638,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &647 + default: &663 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -37364,13 +37664,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: &648 + schema: &664 type: object properties: days_left_in_billing_cycle: @@ -37388,7 +37688,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &649 + default: &665 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -37412,7 +37712,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *94 + - *96 - *17 - *19 responses: @@ -37430,7 +37730,7 @@ paths: type: integer network_configurations: type: array - items: &260 + items: &262 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -37508,7 +37808,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 + - *96 requestBody: required: true content: @@ -37550,9 +37850,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: &261 + default: &263 value: id: 123456789ABCDEF name: My network configuration @@ -37580,8 +37880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 - - &262 + - *96 + - &264 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -37593,9 +37893,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: *261 + default: *263 headers: Link: *58 x-github: @@ -37616,8 +37916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 - - *262 + - *96 + - *264 requestBody: required: true content: @@ -37656,9 +37956,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *262 examples: - default: *261 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37677,8 +37977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *94 - - *262 + - *96 + - *264 responses: '204': description: Response @@ -37701,7 +38001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *94 + - *96 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -37785,8 +38085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *94 - - *208 + - *96 + - *210 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -37818,13 +38118,13 @@ paths: application/json: schema: type: array - items: *263 + items: *265 examples: - default: *264 - '500': *95 + default: *266 + '500': *97 '403': *29 '404': *6 - '422': *265 + '422': *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37842,7 +38142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *94 + - *96 - *17 - *19 responses: @@ -37852,9 +38152,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 headers: Link: *58 '403': *29 @@ -37876,7 +38176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *94 + - *96 requestBody: required: true content: @@ -37948,7 +38248,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &268 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38011,8 +38311,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *211 - required: *212 + properties: *213 + required: *214 nullable: true members_count: type: integer @@ -38258,7 +38558,7 @@ paths: - repos_count - organization examples: - default: &267 + default: &269 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38328,16 +38628,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *94 - - *208 + - *96 + - *210 responses: '200': description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '404': *6 x-github: githubCloudOnly: false @@ -38358,8 +38658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *94 - - *208 + - *96 + - *210 requestBody: required: false content: @@ -38421,16 +38721,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '201': description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '404': *6 '422': *15 '403': *29 @@ -38455,8 +38755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *94 - - *208 + - *96 + - *210 responses: '204': description: Response @@ -38482,8 +38782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *94 - - *208 + - *96 + - *210 - *48 - *17 - *19 @@ -38500,7 +38800,7 @@ paths: application/json: schema: type: array - items: &268 + items: &270 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -38599,7 +38899,7 @@ paths: - updated_at - url examples: - default: &599 + default: &615 value: - author: login: octocat @@ -38673,8 +38973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *94 - - *208 + - *96 + - *210 requestBody: required: true content: @@ -38708,9 +39008,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: &269 + default: &271 value: author: login: octocat @@ -38782,9 +39082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *94 - - *208 - - &270 + - *96 + - *210 + - &272 name: discussion_number description: The number that identifies the discussion. in: path @@ -38796,9 +39096,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *269 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38820,9 +39120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 requestBody: required: false content: @@ -38845,9 +39145,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: &600 + default: &616 value: author: login: octocat @@ -38917,9 +39217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 responses: '204': description: Response @@ -38945,9 +39245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 - *48 - *17 - *19 @@ -38958,7 +39258,7 @@ paths: application/json: schema: type: array - items: &271 + items: &273 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39030,7 +39330,7 @@ paths: - updated_at - url examples: - default: &601 + default: &617 value: - author: login: octocat @@ -39098,9 +39398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 requestBody: required: true content: @@ -39122,9 +39422,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: &272 + default: &274 value: author: login: octocat @@ -39190,10 +39490,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *94 - - *208 - - *270 - - &273 + - *96 + - *210 + - *272 + - &275 name: comment_number description: The number that identifies the comment. in: path @@ -39205,9 +39505,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39229,10 +39529,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *94 - - *208 - - *270 - - *273 + - *96 + - *210 + - *272 + - *275 requestBody: required: true content: @@ -39254,9 +39554,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: &602 + default: &618 value: author: login: octocat @@ -39320,10 +39620,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *94 - - *208 - - *270 - - *273 + - *96 + - *210 + - *272 + - *275 responses: '204': description: Response @@ -39349,10 +39649,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *94 - - *208 - - *270 - - *273 + - *96 + - *210 + - *272 + - *275 - 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 team discussion comment. @@ -39378,7 +39678,7 @@ paths: application/json: schema: type: array - items: &274 + items: &276 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39421,7 +39721,7 @@ paths: - content - created_at examples: - default: &276 + default: &278 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39471,10 +39771,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *94 - - *208 - - *270 - - *273 + - *96 + - *210 + - *272 + - *275 requestBody: required: true content: @@ -39507,9 +39807,9 @@ paths: team discussion comment content: application/json: - schema: *274 + schema: *276 examples: - default: &275 + default: &277 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39538,9 +39838,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39563,11 +39863,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *94 - - *208 - - *270 - - *273 - - &277 + - *96 + - *210 + - *272 + - *275 + - &279 name: reaction_id description: The unique identifier of the reaction. in: path @@ -39599,9 +39899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 - 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 team discussion. @@ -39627,9 +39927,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 x-github: @@ -39655,9 +39955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *94 - - *208 - - *270 + - *96 + - *210 + - *272 requestBody: required: true content: @@ -39689,16 +39989,16 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39721,10 +40021,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *94 - - *208 - - *270 - - *277 + - *96 + - *210 + - *272 + - *279 responses: '204': description: Response @@ -39748,8 +40048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *94 - - *208 + - *96 + - *210 - *17 - *19 responses: @@ -39759,9 +40059,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *58 x-github: @@ -39783,8 +40083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *94 - - *208 + - *96 + - *210 - name: role description: Filters members returned by their role in the team. in: query @@ -39807,7 +40107,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -39837,15 +40137,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *94 - - *208 - - *133 + - *96 + - *210 + - *135 responses: '200': description: Response content: application/json: - schema: &278 + schema: &280 title: Team Membership description: Team Membership type: object @@ -39872,7 +40172,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &603 + response-if-user-is-a-team-maintainer: &619 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39908,9 +40208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *94 - - *208 - - *133 + - *96 + - *210 + - *135 requestBody: required: false content: @@ -39935,9 +40235,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *280 examples: - response-if-users-membership-with-team-is-now-pending: &604 + response-if-users-membership-with-team-is-now-pending: &620 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -39972,9 +40272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *94 - - *208 - - *133 + - *96 + - *210 + - *135 responses: '204': description: Response @@ -39999,8 +40299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *94 - - *208 + - *96 + - *210 - *17 - *19 responses: @@ -40010,7 +40310,7 @@ paths: application/json: schema: type: array - items: &279 + items: &281 title: Team Project description: A team's access to a project. type: object @@ -40078,7 +40378,7 @@ paths: - updated_at - permissions examples: - default: &605 + default: &621 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40141,9 +40441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *94 - - *208 - - &280 + - *96 + - *210 + - &282 name: project_id description: The unique identifier of the project. in: path @@ -40155,9 +40455,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: &606 + default: &622 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40219,9 +40519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *94 - - *208 - - *280 + - *96 + - *210 + - *282 requestBody: required: false content: @@ -40287,9 +40587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *94 - - *208 - - *280 + - *96 + - *210 + - *282 responses: '204': description: Response @@ -40316,8 +40616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *94 - - *208 + - *96 + - *210 - *17 - *19 responses: @@ -40327,9 +40627,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -40358,16 +40658,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *94 - - *208 - - *281 - - *282 + - *96 + - *210 + - *283 + - *284 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &607 + schema: &623 title: Team Repository description: A team's access to a repository. type: object @@ -40936,10 +41236,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *94 - - *208 - - *281 - - *282 + - *96 + - *210 + - *283 + - *284 requestBody: required: false content: @@ -40984,10 +41284,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *94 - - *208 - - *281 - - *282 + - *96 + - *210 + - *283 + - *284 responses: '204': description: Response @@ -41011,8 +41311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *94 - - *208 + - *96 + - *210 - *17 - *19 responses: @@ -41022,9 +41322,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - response-if-child-teams-exist: &608 + response-if-child-teams-exist: &624 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41077,7 +41377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *94 + - *96 - name: security_product in: path description: The security feature to enable or disable. @@ -41151,7 +41451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &283 + - &285 name: card_id description: The unique identifier of the card. in: path @@ -41163,7 +41463,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &286 title: Project Card description: Project cards represent a scope of work. type: object @@ -41230,7 +41530,7 @@ paths: - created_at - updated_at examples: - default: &285 + default: &287 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41286,7 +41586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *283 + - *285 requestBody: required: false content: @@ -41313,9 +41613,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 '304': *37 '403': *29 '401': *25 @@ -41342,7 +41642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *283 + - *285 responses: '204': description: Response @@ -41386,7 +41686,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *283 + - *285 requestBody: required: true content: @@ -41497,7 +41797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &286 + - &288 name: column_id description: The unique identifier of the column. in: path @@ -41509,7 +41809,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &289 title: Project Column description: Project columns contain cards of work. type: object @@ -41555,7 +41855,7 @@ paths: - created_at - updated_at examples: - default: &288 + default: &290 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -41590,7 +41890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *286 + - *288 requestBody: required: true content: @@ -41614,9 +41914,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: - default: *288 + default: *290 '304': *37 '403': *29 '401': *25 @@ -41641,7 +41941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *286 + - *288 responses: '204': description: Response @@ -41670,7 +41970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *286 + - *288 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -41691,7 +41991,7 @@ paths: application/json: schema: type: array - items: *284 + items: *286 examples: default: value: @@ -41750,7 +42050,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *286 + - *288 requestBody: required: true content: @@ -41790,9 +42090,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 '304': *37 '403': *29 '401': *25 @@ -41802,8 +42102,8 @@ paths: application/json: schema: oneOf: - - *98 - - *99 + - *100 + - *101 '503': description: Response content: @@ -41848,7 +42148,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *286 + - *288 requestBody: required: true content: @@ -41908,15 +42208,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *280 + - *282 responses: '200': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: &289 + default: &291 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -41973,7 +42273,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *280 + - *282 requestBody: required: false content: @@ -42019,9 +42319,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *289 + default: *291 '404': description: Not Found if the authenticated user does not have access to the project @@ -42042,7 +42342,7 @@ paths: items: type: string '401': *25 - '410': *290 + '410': *292 '422': *7 x-github: githubCloudOnly: false @@ -42065,7 +42365,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *280 + - *282 responses: '204': description: Delete Success @@ -42086,7 +42386,7 @@ paths: items: type: string '401': *25 - '410': *290 + '410': *292 '404': *6 x-github: githubCloudOnly: false @@ -42110,7 +42410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *280 + - *282 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -42137,7 +42437,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '404': *6 @@ -42167,8 +42467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *280 - - *133 + - *282 + - *135 requestBody: required: false content: @@ -42220,8 +42520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *280 - - *133 + - *282 + - *135 responses: '204': description: Response @@ -42252,8 +42552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *280 - - *133 + - *282 + - *135 responses: '200': description: Response @@ -42326,7 +42626,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *280 + - *282 - *17 - *19 responses: @@ -42336,7 +42636,7 @@ paths: application/json: schema: type: array - items: *287 + items: *289 examples: default: value: @@ -42374,7 +42674,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *280 + - *282 requestBody: required: true content: @@ -42397,7 +42697,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: default: value: @@ -42461,7 +42761,7 @@ paths: resources: type: object properties: - core: &291 + core: &293 title: Rate Limit type: object properties: @@ -42478,20 +42778,20 @@ paths: - remaining - reset - used - graphql: *291 - search: *291 - code_search: *291 - source_import: *291 - integration_manifest: *291 - code_scanning_upload: *291 - actions_runner_registration: *291 - scim: *291 - dependency_snapshots: *291 - code_scanning_autofix: *291 + graphql: *293 + search: *293 + code_search: *293 + source_import: *293 + integration_manifest: *293 + code_scanning_upload: *293 + actions_runner_registration: *293 + scim: *293 + dependency_snapshots: *293 + code_scanning_autofix: *293 required: - core - search - rate: *291 + rate: *293 required: - rate - resources @@ -42595,14 +42895,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *292 + schema: *294 examples: default-response: summary: Default response @@ -43103,7 +43403,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *293 + '301': *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43121,8 +43421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -43366,10 +43666,10 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *294 - '307': &295 + default: *296 + '307': &297 description: Temporary Redirect content: application/json: @@ -43398,8 +43698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -43421,7 +43721,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *295 + '307': *297 '404': *6 '409': *47 x-github: @@ -43445,11 +43745,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 - - &321 + - &323 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -43472,7 +43772,7 @@ paths: type: integer artifacts: type: array - items: &296 + items: &298 title: Artifact description: An artifact type: object @@ -43550,7 +43850,7 @@ paths: - expires_at - updated_at examples: - default: &322 + default: &324 value: total_count: 2 artifacts: @@ -43611,9 +43911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *281 - - *282 - - &297 + - *283 + - *284 + - &299 name: artifact_id description: The unique identifier of the artifact. in: path @@ -43625,7 +43925,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: default: value: @@ -43663,9 +43963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *281 - - *282 - - *297 + - *283 + - *284 + - *299 responses: '204': description: Response @@ -43689,9 +43989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *281 - - *282 - - *297 + - *283 + - *284 + - *299 - name: archive_format in: path required: true @@ -43705,7 +44005,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': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43728,14 +44028,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -43761,11 +44061,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 - - &299 + - &301 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 @@ -43799,7 +44099,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &302 title: Repository actions caches description: Repository actions caches type: object @@ -43841,7 +44141,7 @@ paths: - total_count - actions_caches examples: - default: &301 + default: &303 value: total_count: 1 actions_caches: @@ -43873,23 +44173,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: - - *281 - - *282 + - *283 + - *284 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *299 + - *301 responses: '200': description: Response content: application/json: - schema: *300 + schema: *302 examples: - default: *301 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43909,8 +44209,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: - - *281 - - *282 + - *283 + - *284 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -43941,9 +44241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *281 - - *282 - - &302 + - *283 + - *284 + - &304 name: job_id description: The unique identifier of the job. in: path @@ -43955,7 +44255,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &327 title: Job description: Information of a job execution in a workflow run type: object @@ -44262,9 +44562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *281 - - *282 - - *302 + - *283 + - *284 + - *304 responses: '302': description: Response @@ -44292,9 +44592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *281 - - *282 - - *302 + - *283 + - *284 + - *304 requestBody: required: false content: @@ -44315,7 +44615,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -44339,8 +44639,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Status response @@ -44390,8 +44690,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: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -44425,7 +44725,7 @@ paths: description: Empty response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -44454,8 +44754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -44473,7 +44773,7 @@ paths: type: integer secrets: type: array - items: &327 + items: &329 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -44493,7 +44793,7 @@ paths: - created_at - updated_at examples: - default: &328 + default: &330 value: total_count: 2 secrets: @@ -44526,9 +44826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *281 - - *282 - - *303 + - *283 + - *284 + - *305 - *19 responses: '200': @@ -44545,7 +44845,7 @@ paths: type: integer variables: type: array - items: &331 + items: &333 title: Actions Variable type: object properties: @@ -44575,7 +44875,7 @@ paths: - created_at - updated_at examples: - default: &332 + default: &334 value: total_count: 2 variables: @@ -44608,8 +44908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -44618,11 +44918,11 @@ paths: schema: type: object properties: - enabled: &305 + enabled: &307 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *109 - selected_actions_url: *304 + allowed_actions: *111 + selected_actions_url: *306 required: - enabled examples: @@ -44649,8 +44949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -44661,8 +44961,8 @@ paths: schema: type: object properties: - enabled: *305 - allowed_actions: *109 + enabled: *307 + allowed_actions: *111 required: - enabled examples: @@ -44691,14 +44991,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: &306 + schema: &308 type: object properties: access_level: @@ -44715,7 +45015,7 @@ paths: required: - access_level examples: - default: &307 + default: &309 value: access_level: organization x-github: @@ -44739,15 +45039,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: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: application/json: - schema: *306 + schema: *308 examples: - default: *307 + default: *309 responses: '204': description: Response @@ -44771,16 +45071,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *112 + default: *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -44799,8 +45099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -44808,9 +45108,9 @@ paths: required: false content: application/json: - schema: *111 + schema: *113 examples: - selected_actions: *112 + selected_actions: *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -44832,16 +45132,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *115 + default: *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44862,8 +45162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Success response @@ -44874,9 +45174,9 @@ paths: required: true content: application/json: - schema: *309 + schema: *311 examples: - default: *115 + default: *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44903,8 +45203,8 @@ paths: in: query schema: type: string - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -44922,9 +45222,9 @@ paths: type: integer runners: type: array - items: *122 + items: *124 examples: - default: *123 + default: *125 headers: Link: *58 x-github: @@ -44948,8 +45248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -44957,9 +45257,9 @@ paths: application/json: schema: type: array - items: *310 + items: *312 examples: - default: *311 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44981,8 +45281,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: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -45025,7 +45325,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *312 + '201': *314 '404': *6 '422': *7 '409': *47 @@ -45056,16 +45356,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '201': description: Response content: application/json: - schema: *124 + schema: *126 examples: - default: *313 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45093,16 +45393,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '201': description: Response content: application/json: - schema: *124 + schema: *126 examples: - default: *314 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45124,17 +45424,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 responses: '200': description: Response content: application/json: - schema: *122 + schema: *124 examples: - default: *315 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45155,9 +45455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 responses: '204': description: Response @@ -45183,11 +45483,11 @@ 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: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 responses: - '200': *126 + '200': *128 '404': *6 x-github: githubCloudOnly: false @@ -45209,9 +45509,9 @@ 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: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 requestBody: required: true content: @@ -45235,7 +45535,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -45259,9 +45559,9 @@ 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: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 requestBody: required: true content: @@ -45286,7 +45586,7 @@ paths: - gpu - accelerated responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -45310,11 +45610,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: - - *281 - - *282 - - *121 + - *283 + - *284 + - *123 responses: - '200': *316 + '200': *318 '404': *6 x-github: githubCloudOnly: false @@ -45341,12 +45641,12 @@ 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: - - *281 - - *282 - - *121 - - *317 + - *283 + - *284 + - *123 + - *319 responses: - '200': *126 + '200': *128 '404': *6 '422': *7 x-github: @@ -45372,9 +45672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *281 - - *282 - - &335 + - *283 + - *284 + - &337 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. @@ -45382,7 +45682,7 @@ paths: required: false schema: type: string - - &336 + - &338 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -45390,7 +45690,7 @@ paths: required: false schema: type: string - - &337 + - &339 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -45399,7 +45699,7 @@ paths: required: false schema: type: string - - &338 + - &340 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 @@ -45426,7 +45726,7 @@ paths: - pending - *17 - *19 - - &339 + - &341 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)." @@ -45435,7 +45735,7 @@ paths: schema: type: string format: date-time - - &318 + - &320 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -45444,13 +45744,13 @@ paths: schema: type: boolean default: false - - &340 + - &342 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &341 + - &343 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -45473,7 +45773,7 @@ paths: type: integer workflow_runs: type: array - items: &319 + items: &321 title: Workflow Run description: An invocation of a workflow type: object @@ -45568,7 +45868,7 @@ paths: that triggered the run. type: array nullable: true - items: &360 + items: &362 title: Pull Request Minimal type: object properties: @@ -45687,7 +45987,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &364 + properties: &366 id: type: string description: SHA for the commit @@ -45738,7 +46038,7 @@ paths: - name - email nullable: true - required: &365 + required: &367 - id - tree_id - message @@ -45746,8 +46046,8 @@ paths: - author - committer nullable: true - repository: *120 - head_repository: *120 + repository: *122 + head_repository: *122 head_repository_id: type: integer example: 5 @@ -45785,7 +46085,7 @@ paths: - workflow_url - pull_requests examples: - default: &342 + default: &344 value: total_count: 1 workflow_runs: @@ -46021,24 +46321,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *281 - - *282 - - &320 + - *283 + - *284 + - &322 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *318 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: &323 + default: &325 value: id: 30433642 name: Build @@ -46279,9 +46579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '204': description: Response @@ -46304,9 +46604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '200': description: Response @@ -46425,15 +46725,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '201': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -46460,12 +46760,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 - *17 - *19 - - *321 + - *323 responses: '200': description: Response @@ -46481,9 +46781,9 @@ paths: type: integer artifacts: type: array - items: *296 + items: *298 examples: - default: *322 + default: *324 headers: Link: *58 x-github: @@ -46507,25 +46807,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *281 - - *282 - - *320 - - &324 + - *283 + - *284 + - *322 + - &326 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *318 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *323 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46548,10 +46848,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *281 - - *282 - - *320 - - *324 + - *283 + - *284 + - *322 + - *326 - *17 - *19 responses: @@ -46569,9 +46869,9 @@ paths: type: integer jobs: type: array - items: *325 + items: *327 examples: - default: &326 + default: &328 value: total_count: 1 jobs: @@ -46684,10 +46984,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *281 - - *282 - - *320 - - *324 + - *283 + - *284 + - *322 + - *326 responses: '302': description: Response @@ -46715,15 +47015,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '202': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -46750,9 +47050,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: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 requestBody: required: true content: @@ -46819,15 +47119,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '202': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -46854,9 +47154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 - 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 @@ -46886,9 +47186,9 @@ paths: type: integer jobs: type: array - items: *325 + items: *327 examples: - default: *326 + default: *328 headers: Link: *58 x-github: @@ -46913,9 +47213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '302': description: Response @@ -46942,14 +47242,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '204': description: Response '403': *29 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46971,9 +47271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '200': description: Response @@ -47033,7 +47333,7 @@ paths: items: type: object properties: - type: &444 + type: &446 type: string description: The type of reviewer. enum: @@ -47043,7 +47343,7 @@ paths: reviewer: anyOf: - *4 - - *152 + - *154 required: - environment - wait_timer @@ -47118,9 +47418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 requestBody: required: true content: @@ -47167,7 +47467,7 @@ paths: application/json: schema: type: array - items: &439 + items: &441 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -47273,7 +47573,7 @@ paths: - created_at - updated_at examples: - default: &440 + default: &442 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -47329,9 +47629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 requestBody: required: false content: @@ -47352,7 +47652,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -47375,9 +47675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 requestBody: required: false content: @@ -47398,7 +47698,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -47430,9 +47730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *281 - - *282 - - *320 + - *283 + - *284 + - *322 responses: '200': description: Response @@ -47569,8 +47869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -47588,9 +47888,9 @@ paths: type: integer secrets: type: array - items: *327 + items: *329 examples: - default: *328 + default: *330 headers: Link: *58 x-github: @@ -47615,16 +47915,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47646,17 +47946,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: &457 + default: &459 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47682,9 +47982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 requestBody: required: true content: @@ -47715,7 +48015,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -47741,9 +48041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '204': description: Response @@ -47768,9 +48068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *281 - - *282 - - *303 + - *283 + - *284 + - *305 - *19 responses: '200': @@ -47787,9 +48087,9 @@ paths: type: integer variables: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 headers: Link: *58 x-github: @@ -47812,8 +48112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -47840,7 +48140,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -47865,17 +48165,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *281 - - *282 - - *131 + - *283 + - *284 + - *133 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: &458 + default: &460 value: name: USERNAME value: octocat @@ -47901,9 +48201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *281 - - *282 - - *131 + - *283 + - *284 + - *133 requestBody: required: true content: @@ -47945,9 +48245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *281 - - *282 - - *131 + - *283 + - *284 + - *133 responses: '204': description: Response @@ -47972,8 +48272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -47991,7 +48291,7 @@ paths: type: integer workflows: type: array - items: &333 + items: &335 title: Workflow description: A GitHub Actions workflow type: object @@ -48098,9 +48398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *281 - - *282 - - &334 + - *283 + - *284 + - &336 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48115,7 +48415,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -48148,9 +48448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *281 - - *282 - - *334 + - *283 + - *284 + - *336 responses: '204': description: Response @@ -48175,9 +48475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *281 - - *282 - - *334 + - *283 + - *284 + - *336 responses: '204': description: Response @@ -48228,9 +48528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *281 - - *282 - - *334 + - *283 + - *284 + - *336 responses: '204': description: Response @@ -48257,19 +48557,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *281 - - *282 - - *334 - - *335 + - *283 + - *284 - *336 - *337 - *338 - - *17 - - *19 - *339 - - *318 - *340 + - *17 + - *19 - *341 + - *320 + - *342 + - *343 responses: '200': description: Response @@ -48285,9 +48585,9 @@ paths: type: integer workflow_runs: type: array - items: *319 + items: *321 examples: - default: *342 + default: *344 headers: Link: *58 x-github: @@ -48319,9 +48619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *281 - - *282 - - *334 + - *283 + - *284 + - *336 responses: '200': description: Response @@ -48382,8 +48682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *281 - - *282 + - *283 + - *284 - *48 - *17 - *40 @@ -48547,8 +48847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -48560,7 +48860,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '404': *6 @@ -48585,8 +48885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *281 - - *282 + - *283 + - *284 - name: assignee in: path required: true @@ -48622,8 +48922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -48735,8 +49035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *40 - *41 @@ -48790,7 +49090,7 @@ paths: bundle_url: type: string examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48810,8 +49110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -48819,7 +49119,7 @@ paths: application/json: schema: type: array - items: &344 + items: &346 title: Autolink reference description: An autolink reference. type: object @@ -48869,8 +49169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -48909,9 +49209,9 @@ paths: description: response content: application/json: - schema: *344 + schema: *346 examples: - default: &345 + default: &347 value: id: 1 key_prefix: TICKET- @@ -48942,9 +49242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *281 - - *282 - - &346 + - *283 + - *284 + - &348 name: autolink_id description: The unique identifier of the autolink. in: path @@ -48956,9 +49256,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 '404': *6 x-github: githubCloudOnly: false @@ -48978,9 +49278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *281 - - *282 - - *346 + - *283 + - *284 + - *348 responses: '204': description: Response @@ -49004,8 +49304,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response if Dependabot is enabled @@ -49053,8 +49353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -49075,8 +49375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -49096,8 +49396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *281 - - *282 + - *283 + - *284 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49135,7 +49435,7 @@ paths: - url protected: type: boolean - protection: &348 + protection: &350 title: Branch Protection description: Branch Protection type: object @@ -49177,7 +49477,7 @@ paths: required: - contexts - checks - enforce_admins: &351 + enforce_admins: &353 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -49192,7 +49492,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &353 + required_pull_request_reviews: &355 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -49213,7 +49513,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *152 + items: *154 apps: description: The list of apps with review dismissal access. @@ -49242,7 +49542,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *152 + items: *154 apps: description: The list of apps allowed to bypass pull request requirements. @@ -49268,7 +49568,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &350 + restrictions: &352 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -49575,9 +49875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *281 - - *282 - - &349 + - *283 + - *284 + - &351 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). @@ -49591,14 +49891,14 @@ paths: description: Response content: application/json: - schema: &359 + schema: &361 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &412 + commit: &414 title: Commit description: Commit type: object @@ -49632,7 +49932,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &347 + properties: &349 name: type: string example: '"Chris Wanstrath"' @@ -49647,7 +49947,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true message: type: string @@ -49668,7 +49968,7 @@ paths: required: - sha - url - verification: &464 + verification: &466 title: Verification type: object properties: @@ -49702,12 +50002,12 @@ paths: nullable: true oneOf: - *4 - - *129 + - *131 committer: nullable: true oneOf: - *4 - - *129 + - *131 parents: type: array items: @@ -49738,7 +50038,7 @@ paths: type: integer files: type: array - items: &427 + items: &429 title: Diff Entry description: Diff Entry type: object @@ -49821,7 +50121,7 @@ paths: - self protected: type: boolean - protection: *348 + protection: *350 protection_url: type: string format: uri @@ -49928,7 +50228,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *293 + '301': *295 '404': *6 x-github: githubCloudOnly: false @@ -49950,15 +50250,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *348 + schema: *350 examples: default: value: @@ -50152,9 +50452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -50409,7 +50709,7 @@ paths: url: type: string format: uri - required_status_checks: &356 + required_status_checks: &358 title: Status Check Policy description: Status Check Policy type: object @@ -50485,7 +50785,7 @@ paths: items: *4 teams: type: array - items: *152 + items: *154 apps: type: array items: *5 @@ -50503,7 +50803,7 @@ paths: items: *4 teams: type: array - items: *152 + items: *154 apps: type: array items: *5 @@ -50561,7 +50861,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *350 + restrictions: *352 required_conversation_resolution: type: object properties: @@ -50673,9 +50973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -50700,17 +51000,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: &352 + default: &354 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -50732,17 +51032,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50761,9 +51061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -50788,17 +51088,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: &354 + default: &356 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -50894,9 +51194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -50994,9 +51294,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -51017,9 +51317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -51046,17 +51346,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: &355 + default: &357 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51079,17 +51379,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *355 + default: *357 '404': *6 x-github: githubCloudOnly: false @@ -51109,9 +51409,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -51136,17 +51436,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: &357 + default: &359 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -51172,9 +51472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -51226,9 +51526,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 '404': *6 '422': *15 x-github: @@ -51250,9 +51550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -51276,9 +51576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response @@ -51312,9 +51612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -51381,9 +51681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -51447,9 +51747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: content: application/json: @@ -51515,15 +51815,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response content: application/json: - schema: *350 + schema: *352 examples: default: value: @@ -51614,9 +51914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '204': description: Response @@ -51639,9 +51939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response @@ -51651,7 +51951,7 @@ paths: type: array items: *5 examples: - default: &358 + default: &360 value: - id: 1 slug: octoapp @@ -51708,9 +52008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -51744,7 +52044,7 @@ paths: type: array items: *5 examples: - default: *358 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -51765,9 +52065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -51801,7 +52101,7 @@ paths: type: array items: *5 examples: - default: *358 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -51822,9 +52122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -51858,7 +52158,7 @@ paths: type: array items: *5 examples: - default: *358 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -51880,9 +52180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response @@ -51890,9 +52190,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 '404': *6 x-github: githubCloudOnly: false @@ -51912,9 +52212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -51950,9 +52250,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -51973,9 +52273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: false content: @@ -52011,9 +52311,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -52034,9 +52334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: content: application/json: @@ -52071,9 +52371,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 '422': *15 x-github: githubCloudOnly: false @@ -52095,9 +52395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 responses: '200': description: Response @@ -52107,7 +52407,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 '404': *6 x-github: githubCloudOnly: false @@ -52131,9 +52431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -52166,7 +52466,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -52191,9 +52491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -52226,7 +52526,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -52251,9 +52551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -52286,7 +52586,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -52313,9 +52613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 requestBody: required: true content: @@ -52337,7 +52637,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: default: value: @@ -52453,8 +52753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -52733,7 +53033,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 title: CheckRun description: A check performed on the code of a given code change type: object @@ -52852,8 +53152,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *360 - deployment: &662 + items: *362 + deployment: &678 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53133,9 +53433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *281 - - *282 - - &362 + - *283 + - *284 + - &364 name: check_run_id description: The unique identifier of the check run. in: path @@ -53147,9 +53447,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: &363 + default: &365 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -53249,9 +53549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *281 - - *282 - - *362 + - *283 + - *284 + - *364 requestBody: required: true content: @@ -53491,9 +53791,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: *363 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53513,9 +53813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *281 - - *282 - - *362 + - *283 + - *284 + - *364 - *17 - *19 responses: @@ -53610,15 +53910,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *281 - - *282 - - *362 + - *283 + - *284 + - *364 responses: '201': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -53656,8 +53956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -53679,7 +53979,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &366 + schema: &368 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -53743,7 +54043,7 @@ paths: nullable: true pull_requests: type: array - items: *360 + items: *362 nullable: true app: title: GitHub app @@ -53756,7 +54056,7 @@ paths: nullable: true properties: *61 required: *62 - repository: *120 + repository: *122 created_at: type: string format: date-time @@ -53765,12 +54065,12 @@ paths: type: string format: date-time nullable: true - head_commit: &688 + head_commit: &704 title: Simple Commit description: A commit. type: object - properties: *364 - required: *365 + properties: *366 + required: *367 latest_check_runs_count: type: integer check_runs_url: @@ -53798,7 +54098,7 @@ paths: - check_runs_url - pull_requests examples: - default: &367 + default: &369 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54089,9 +54389,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54110,8 +54410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -54172,7 +54472,7 @@ paths: required: - app_id - setting - repository: *120 + repository: *122 examples: default: value: @@ -54420,9 +54720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *281 - - *282 - - &368 + - *283 + - *284 + - &370 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -54434,9 +54734,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54459,17 +54759,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *281 - - *282 - - *368 - - &420 + - *283 + - *284 + - *370 + - &422 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &421 + - &423 name: status description: Returns check runs with the specified `status`. in: query @@ -54508,9 +54808,9 @@ paths: type: integer check_runs: type: array - items: *361 + items: *363 examples: - default: &422 + default: &424 value: total_count: 1 check_runs: @@ -54612,15 +54912,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *281 - - *282 - - *368 + - *283 + - *284 + - *370 responses: '201': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -54647,21 +54947,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *281 - - *282 - - *369 - - *370 + - *283 + - *284 + - *371 + - *372 - *19 - *17 - - &387 + - &389 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: *371 - - &388 + schema: *373 + - &390 name: pr description: The number of the pull request for the results you want to list. in: query @@ -54686,13 +54986,13 @@ paths: be returned. in: query required: false - schema: *372 + schema: *374 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *373 + schema: *375 responses: '200': description: Response @@ -54705,12 +55005,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *137 + updated_at: *139 url: *56 html_url: *57 - instances_url: *374 - state: *142 - fixed_at: *138 + instances_url: *376 + state: *144 + fixed_at: *140 dismissed_by: title: Simple User description: A GitHub user. @@ -54718,12 +55018,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *139 - dismissed_reason: *375 - dismissed_comment: *376 - rule: *377 - tool: *378 - most_recent_instance: *379 + dismissed_at: *141 + dismissed_reason: *377 + dismissed_comment: *378 + rule: *379 + tool: *380 + most_recent_instance: *381 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -54846,7 +55146,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &380 + '403': &382 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -54873,9 +55173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *281 - - *282 - - &381 + - *283 + - *284 + - &383 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -54889,17 +55189,17 @@ paths: description: Response content: application/json: - schema: &382 + schema: &384 type: object properties: number: *54 created_at: *55 - updated_at: *137 + updated_at: *139 url: *56 html_url: *57 - instances_url: *374 - state: *142 - fixed_at: *138 + instances_url: *376 + state: *144 + fixed_at: *140 dismissed_by: title: Simple User description: A GitHub user. @@ -54907,9 +55207,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *139 - dismissed_reason: *375 - dismissed_comment: *376 + dismissed_at: *141 + dismissed_reason: *377 + dismissed_comment: *378 rule: type: object properties: @@ -54963,8 +55263,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *378 - most_recent_instance: *379 + tool: *380 + most_recent_instance: *381 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -55060,7 +55360,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -55080,9 +55380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 requestBody: required: true content: @@ -55097,8 +55397,8 @@ paths: enum: - open - dismissed - dismissed_reason: *375 - dismissed_comment: *376 + dismissed_reason: *377 + dismissed_comment: *378 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -55117,7 +55417,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *384 examples: default: value: @@ -55193,7 +55493,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &386 + '403': &388 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -55220,15 +55520,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: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 responses: '200': description: Response content: application/json: - schema: &383 + schema: &385 type: object properties: status: @@ -55254,13 +55554,13 @@ paths: - description - started_at examples: - default: &384 + default: &386 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &385 + '400': &387 description: Bad Request content: application/json: @@ -55271,7 +55571,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': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -55296,29 +55596,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: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 responses: '200': description: OK content: application/json: - schema: *383 + schema: *385 examples: - default: *384 + default: *386 '202': description: Accepted content: application/json: - schema: *383 + schema: *385 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *385 + '400': *387 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -55350,9 +55650,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: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 requestBody: required: false content: @@ -55397,8 +55697,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *385 - '403': *386 + '400': *387 + '403': *388 '404': *6 '422': description: Unprocessable Entity @@ -55422,13 +55722,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 - *19 - *17 - - *387 - - *388 + - *389 + - *390 responses: '200': description: Response @@ -55436,7 +55736,7 @@ paths: application/json: schema: type: array - items: *379 + items: *381 examples: default: value: @@ -55475,7 +55775,7 @@ paths: end_column: 50 classifications: - source - '403': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -55509,25 +55809,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *281 - - *282 - - *369 - - *370 + - *283 + - *284 + - *371 + - *372 - *19 - *17 - - *388 + - *390 - 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: *371 + schema: *373 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &391 + schema: &393 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -55548,23 +55848,23 @@ paths: application/json: schema: type: array - items: &392 + items: &394 type: object properties: - ref: *371 - commit_sha: &400 + ref: *373 + commit_sha: &402 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: *389 + analysis_key: *391 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *390 + category: *392 error: type: string example: error reading field xyz @@ -55588,8 +55888,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *391 - tool: *378 + sarif_id: *393 + tool: *380 deletable: type: boolean warning: @@ -55650,7 +55950,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -55686,8 +55986,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: - - *281 - - *282 + - *283 + - *284 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55700,7 +56000,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: response: summary: application/json response @@ -55754,7 +56054,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *380 + '403': *382 '404': *6 '422': description: Response if analysis could not be processed @@ -55841,8 +56141,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: - - *281 - - *282 + - *283 + - *284 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55895,7 +56195,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': *386 + '403': *388 '404': *6 '503': *65 x-github: @@ -55917,8 +56217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -55926,7 +56226,7 @@ paths: application/json: schema: type: array - items: &393 + items: &395 title: CodeQL Database description: A CodeQL database. type: object @@ -56037,7 +56337,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': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -56066,8 +56366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - name: language in: path description: The language of the CodeQL database. @@ -56079,7 +56379,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -56111,9 +56411,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': &429 + '302': &431 description: Found - '403': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -56135,8 +56435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *281 - - *282 + - *283 + - *284 - name: language in: path description: The language of the CodeQL database. @@ -56146,7 +56446,7 @@ paths: responses: '204': description: Response - '403': *386 + '403': *388 '404': *6 '503': *65 x-github: @@ -56174,8 +56474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -56184,7 +56484,7 @@ paths: type: object additionalProperties: false properties: - language: &394 + language: &396 type: string description: The language targeted by the CodeQL query enum: @@ -56263,7 +56563,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &398 + schema: &400 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -56273,7 +56573,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *394 + query_language: *396 query_pack_url: type: string description: The download url for the query pack. @@ -56320,7 +56620,7 @@ paths: items: type: object properties: - repository: &395 + repository: &397 title: Repository Identifier description: Repository Identifier type: object @@ -56356,7 +56656,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &399 + analysis_status: &401 type: string description: The new status of the CodeQL variant analysis repository task. @@ -56388,7 +56688,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &396 + access_mismatch_repos: &398 type: object properties: repository_count: @@ -56402,7 +56702,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: *395 + items: *397 required: - repository_count - repositories @@ -56424,8 +56724,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *396 - over_limit_repos: *396 + no_codeql_db_repos: *398 + over_limit_repos: *398 required: - access_mismatch_repos - not_found_repos @@ -56441,7 +56741,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &397 + value: &399 summary: Default response value: id: 1 @@ -56593,10 +56893,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *397 + value: *399 repository_lists: summary: Response for a successful variant analysis submission - value: *397 + value: *399 '404': *6 '422': description: Unable to process variant analysis submission @@ -56624,8 +56924,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: - - *281 - - *282 + - *283 + - *284 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -56637,9 +56937,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *397 + default: *399 '404': *6 '503': *65 x-github: @@ -56662,7 +56962,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: - - *281 + - *283 - name: repo in: path description: The name of the controller repository. @@ -56697,7 +56997,7 @@ paths: type: object properties: repository: *53 - analysis_status: *399 + analysis_status: *401 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -56822,8 +57122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -56908,7 +57208,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *380 + '403': *382 '404': *6 '503': *65 x-github: @@ -56929,8 +57229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -56997,7 +57297,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -57022,7 +57322,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *386 + '403': *388 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -57087,8 +57387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -57096,7 +57396,7 @@ paths: schema: type: object properties: - commit_sha: *400 + commit_sha: *402 ref: type: string description: |- @@ -57154,7 +57454,7 @@ paths: schema: type: object properties: - id: *391 + id: *393 url: type: string description: The REST API URL for checking the status of the upload. @@ -57168,7 +57468,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': *386 + '403': *388 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -57191,8 +57491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *281 - - *282 + - *283 + - *284 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -57238,7 +57538,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': *380 + '403': *382 '404': description: Not Found if the sarif id does not match any upload '503': *65 @@ -57263,8 +57563,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -57320,7 +57620,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *146 + '204': *148 '304': *37 '403': *29 '404': *6 @@ -57345,8 +57645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *281 - - *282 + - *283 + - *284 - 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 @@ -57466,8 +57766,8 @@ paths: parameters: - *17 - *19 - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -57483,7 +57783,7 @@ paths: type: integer codespaces: type: array - items: *199 + items: *201 examples: default: value: @@ -57759,7 +58059,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -57781,8 +58081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -57845,17 +58145,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '400': *14 '401': *25 '403': *29 @@ -57884,8 +58184,8 @@ paths: parameters: - *17 - *19 - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -57925,7 +58225,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *95 + '500': *97 '400': *14 '401': *25 '403': *29 @@ -57949,8 +58249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -57985,14 +58285,14 @@ paths: type: integer machines: type: array - items: &615 + items: &631 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *402 - required: *403 + properties: *404 + required: *405 examples: - default: &616 + default: &632 value: total_count: 2 machines: @@ -58009,7 +58309,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -58032,8 +58332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *281 - - *282 + - *283 + - *284 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -58117,8 +58417,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: - - *281 - - *282 + - *283 + - *284 - 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 @@ -58184,8 +58484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -58203,7 +58503,7 @@ paths: type: integer secrets: type: array - items: &407 + items: &409 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -58223,7 +58523,7 @@ paths: - created_at - updated_at examples: - default: *404 + default: *406 headers: Link: *58 x-github: @@ -58246,16 +58546,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58275,17 +58575,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '200': description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: *408 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58305,9 +58605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 requestBody: required: true content: @@ -58335,7 +58635,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -58359,9 +58659,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '204': description: Response @@ -58389,8 +58689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *281 - - *282 + - *283 + - *284 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -58432,7 +58732,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &409 + properties: &411 login: type: string example: octocat @@ -58525,7 +58825,7 @@ paths: user_view_type: type: string example: public - required: &410 + required: &412 - avatar_url - events_url - followers_url @@ -58599,9 +58899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *281 - - *282 - - *133 + - *283 + - *284 + - *135 responses: '204': description: Response if user is a collaborator @@ -58647,9 +58947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *281 - - *282 - - *133 + - *283 + - *284 + - *135 requestBody: required: false content: @@ -58675,7 +58975,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &477 + schema: &479 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -58686,7 +58986,7 @@ paths: example: 42 type: integer format: int64 - repository: *120 + repository: *122 invitee: title: Simple User description: A GitHub user. @@ -58864,7 +59164,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *98 + schema: *100 '403': *29 x-github: triggersNotification: true @@ -58904,9 +59204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *281 - - *282 - - *133 + - *283 + - *284 + - *135 responses: '204': description: No Content when collaborator was removed from the repository. @@ -58937,9 +59237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *281 - - *282 - - *133 + - *283 + - *284 + - *135 responses: '200': description: if user has admin permissions @@ -58959,8 +59259,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *409 - required: *410 + properties: *411 + required: *412 nullable: true required: - permission @@ -59015,8 +59315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -59026,7 +59326,7 @@ paths: application/json: schema: type: array - items: &411 + items: &413 title: Commit Comment description: Commit Comment type: object @@ -59084,7 +59384,7 @@ paths: - created_at - updated_at examples: - default: &414 + default: &416 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59143,17 +59443,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: &415 + default: &417 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59210,8 +59510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -59234,7 +59534,7 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: default: value: @@ -59285,8 +59585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '204': @@ -59308,8 +59608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -59336,9 +59636,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 '404': *6 @@ -59359,8 +59659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -59393,16 +59693,16 @@ paths: description: Reaction exists content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Reaction created content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -59424,10 +59724,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *281 - - *282 + - *283 + - *284 - *76 - - *277 + - *279 responses: '204': description: Response @@ -59476,8 +59776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *281 - - *282 + - *283 + - *284 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -59533,9 +59833,9 @@ paths: application/json: schema: type: array - items: *412 + items: *414 examples: - default: &528 + default: &530 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59606,7 +59906,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *58 - '500': *95 + '500': *97 '400': *14 '404': *6 '409': *47 @@ -59629,9 +59929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *281 - - *282 - - &413 + - *283 + - *284 + - &415 name: commit_sha description: The SHA of the commit. in: path @@ -59703,9 +60003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *281 - - *282 - - *413 + - *283 + - *284 + - *415 - *17 - *19 responses: @@ -59715,9 +60015,9 @@ paths: application/json: schema: type: array - items: *411 + items: *413 examples: - default: *414 + default: *416 headers: Link: *58 x-github: @@ -59745,9 +60045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *281 - - *282 - - *413 + - *283 + - *284 + - *415 requestBody: required: true content: @@ -59782,9 +60082,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *415 + default: *417 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59812,9 +60112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *281 - - *282 - - *413 + - *283 + - *284 + - *415 - *17 - *19 responses: @@ -59824,7 +60124,7 @@ paths: application/json: schema: type: array - items: &519 + items: &521 title: Pull Request Simple description: Pull Request Simple type: object @@ -59930,8 +60230,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *416 - required: *417 + properties: *418 + required: *419 nullable: true active_lock_reason: type: string @@ -59976,7 +60276,7 @@ paths: nullable: true requested_teams: type: array - items: *152 + items: *154 nullable: true head: type: object @@ -60027,7 +60327,7 @@ paths: _links: type: object properties: - comments: &418 + comments: &420 title: Link description: Hypermedia Link type: object @@ -60036,13 +60336,13 @@ paths: type: string required: - href - commits: *418 - statuses: *418 - html: *418 - issue: *418 - review_comments: *418 - review_comment: *418 - self: *418 + commits: *420 + statuses: *420 + html: *420 + issue: *420 + review_comments: *420 + review_comment: *420 + self: *420 required: - comments - commits @@ -60053,7 +60353,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: &521 + auto_merge: &523 title: Auto merge description: The status of auto merging a pull request. type: object @@ -60116,7 +60416,7 @@ paths: - author_association - auto_merge examples: - default: &520 + default: &522 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -60653,11 +60953,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *281 - - *282 + - *283 + - *284 - *19 - *17 - - &419 + - &421 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)" @@ -60672,9 +60972,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *414 examples: - default: &506 + default: &508 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60760,7 +61060,7 @@ paths: ..... '422': *15 '404': *6 - '500': *95 + '500': *97 '503': *65 '409': *47 x-github: @@ -60787,11 +61087,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *281 - - *282 - - *419 - - *420 + - *283 + - *284 - *421 + - *422 + - *423 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -60825,9 +61125,9 @@ paths: type: integer check_runs: type: array - items: *361 + items: *363 examples: - default: *422 + default: *424 headers: Link: *58 x-github: @@ -60852,9 +61152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *281 - - *282 - - *419 + - *283 + - *284 + - *421 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -60862,7 +61162,7 @@ paths: schema: type: integer example: 1 - - *420 + - *422 - *17 - *19 responses: @@ -60880,7 +61180,7 @@ paths: type: integer check_suites: type: array - items: *366 + items: *368 examples: default: value: @@ -61080,9 +61380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *281 - - *282 - - *419 + - *283 + - *284 + - *421 - *17 - *19 responses: @@ -61149,7 +61449,7 @@ paths: type: string total_count: type: integer - repository: *120 + repository: *122 commit_url: type: string format: uri @@ -61280,9 +61580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *281 - - *282 - - *419 + - *283 + - *284 + - *421 - *17 - *19 responses: @@ -61292,7 +61592,7 @@ paths: application/json: schema: type: array - items: &589 + items: &605 title: Status description: The status of a commit. type: object @@ -61373,7 +61673,7 @@ paths: site_admin: false headers: Link: *58 - '301': *293 + '301': *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61401,8 +61701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -61431,20 +61731,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *423 - required: *424 + properties: *425 + required: *426 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &425 + properties: &427 url: type: string format: uri html_url: type: string format: uri - required: &426 + required: &428 - url - html_url nullable: true @@ -61458,26 +61758,26 @@ paths: contributing: title: Community Health File type: object - properties: *425 - required: *426 + properties: *427 + required: *428 nullable: true readme: title: Community Health File type: object - properties: *425 - required: *426 + properties: *427 + required: *428 nullable: true issue_template: title: Community Health File type: object - properties: *425 - required: *426 + properties: *427 + required: *428 nullable: true pull_request_template: title: Community Health File type: object - properties: *425 - required: *426 + properties: *427 + required: *428 nullable: true required: - code_of_conduct @@ -61604,8 +61904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *281 - - *282 + - *283 + - *284 - *19 - *17 - name: basehead @@ -61648,8 +61948,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *412 - merge_base_commit: *412 + base_commit: *414 + merge_base_commit: *414 status: type: string enum: @@ -61669,10 +61969,10 @@ paths: example: 6 commits: type: array - items: *412 + items: *414 files: type: array - items: *427 + items: *429 required: - url - html_url @@ -61915,7 +62215,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *95 + '500': *97 '503': *65 x-github: githubCloudOnly: false @@ -61958,8 +62258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *281 - - *282 + - *283 + - *284 - name: path description: path parameter in: path @@ -62102,7 +62402,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &428 + response-if-content-is-a-file: &430 summary: Response if content is a file value: type: file @@ -62234,7 +62534,7 @@ paths: - size - type - url - - &533 + - &535 title: Content File description: Content File type: object @@ -62435,7 +62735,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *428 + response-if-content-is-a-file: *430 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -62504,7 +62804,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *429 + '302': *431 '304': *37 x-github: githubCloudOnly: false @@ -62527,8 +62827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *281 - - *282 + - *283 + - *284 - name: path description: path parameter in: path @@ -62621,7 +62921,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &432 title: File Commit description: File Commit type: object @@ -62773,7 +63073,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: example-for-creating-a-file: value: @@ -62827,7 +63127,7 @@ paths: schema: oneOf: - *3 - - &459 + - &461 description: Repository rule violation was detected type: object properties: @@ -62848,7 +63148,7 @@ paths: items: type: object properties: - placeholder_id: &581 + placeholder_id: &597 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -62880,8 +63180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *281 - - *282 + - *283 + - *284 - name: path description: path parameter in: path @@ -62942,7 +63242,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: default: value: @@ -62997,8 +63297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *281 - - *282 + - *283 + - *284 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -63121,22 +63421,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *281 - - *282 - - *153 - - *154 + - *283 + - *284 - *155 - *156 + - *157 + - *158 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *157 - - *158 - *159 - *160 + - *161 + - *162 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -63156,8 +63456,8 @@ paths: default: 30 - *40 - *41 - - *161 - - *162 + - *163 + - *164 responses: '200': description: Response @@ -63165,7 +63465,7 @@ paths: application/json: schema: type: array - items: &433 + items: &435 type: object description: A Dependabot alert. properties: @@ -63211,13 +63511,13 @@ paths: - unknown - direct - transitive - security_advisory: *431 + security_advisory: *433 security_vulnerability: *52 url: *56 html_url: *57 created_at: *55 - updated_at: *137 - dismissed_at: *139 + updated_at: *139 + dismissed_at: *141 dismissed_by: title: Simple User description: A GitHub user. @@ -63241,8 +63541,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *138 - auto_dismissed_at: *432 + fixed_at: *140 + auto_dismissed_at: *434 required: - number - state @@ -63472,9 +63772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *281 - - *282 - - &434 + - *283 + - *284 + - &436 name: alert_number in: path description: |- @@ -63489,7 +63789,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: default: value: @@ -63602,9 +63902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *281 - - *282 - - *434 + - *283 + - *284 + - *436 requestBody: required: true content: @@ -63649,7 +63949,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: default: value: @@ -63778,8 +64078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -63797,7 +64097,7 @@ paths: type: integer secrets: type: array - items: &437 + items: &439 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -63850,16 +64150,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63879,15 +64179,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '200': description: Response content: application/json: - schema: *437 + schema: *439 examples: default: value: @@ -63913,9 +64213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 requestBody: required: true content: @@ -63943,7 +64243,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -63967,9 +64267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *281 - - *282 - - *128 + - *283 + - *284 + - *130 responses: '204': description: Response @@ -63991,8 +64291,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: - - *281 - - *282 + - *283 + - *284 - 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 @@ -64152,8 +64452,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -64392,8 +64692,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: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -64468,7 +64768,7 @@ paths: - version - url additionalProperties: false - metadata: &438 + metadata: &440 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -64501,7 +64801,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *438 + metadata: *440 resolved: type: object description: A collection of resolved package dependencies. @@ -64514,7 +64814,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *438 + metadata: *440 relationship: type: string description: A notation of whether a dependency is requested @@ -64643,8 +64943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *281 - - *282 + - *283 + - *284 - name: sha description: The SHA recorded at creation time. in: query @@ -64684,9 +64984,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *440 + default: *442 headers: Link: *58 x-github: @@ -64752,8 +65052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -64834,7 +65134,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: simple-example: summary: Simple example @@ -64907,9 +65207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *281 - - *282 - - &441 + - *283 + - *284 + - &443 name: deployment_id description: deployment_id parameter in: path @@ -64921,7 +65221,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -64986,9 +65286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *281 - - *282 - - *441 + - *283 + - *284 + - *443 responses: '204': description: Response @@ -65010,9 +65310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *281 - - *282 - - *441 + - *283 + - *284 + - *443 - *17 - *19 responses: @@ -65022,7 +65322,7 @@ paths: application/json: schema: type: array - items: &442 + items: &444 title: Deployment Status description: The status of a deployment. type: object @@ -65183,9 +65483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *281 - - *282 - - *441 + - *283 + - *284 + - *443 requestBody: required: true content: @@ -65260,9 +65560,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: &443 + default: &445 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -65318,9 +65618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *281 - - *282 - - *441 + - *283 + - *284 + - *443 - name: status_id in: path required: true @@ -65331,9 +65631,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *443 + default: *445 '404': *6 x-github: githubCloudOnly: false @@ -65358,8 +65658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -65416,8 +65716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -65434,7 +65734,7 @@ paths: type: integer environments: type: array - items: &445 + items: &447 title: Environment description: Details of a deployment environment type: object @@ -65486,7 +65786,7 @@ paths: type: type: string example: wait_timer - wait_timer: &447 + wait_timer: &449 type: integer example: 30 description: The amount of time to delay a job after @@ -65523,11 +65823,11 @@ paths: items: type: object properties: - type: *444 + type: *446 reviewer: anyOf: - *4 - - *152 + - *154 required: - id - node_id @@ -65547,7 +65847,7 @@ paths: - id - node_id - type - deployment_branch_policy: &448 + deployment_branch_policy: &450 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -65663,9 +65963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *281 - - *282 - - &446 + - *283 + - *284 + - &448 name: environment_name in: path required: true @@ -65678,9 +65978,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: &449 + default: &451 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -65764,9 +66064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 requestBody: required: false content: @@ -65775,7 +66075,7 @@ paths: type: object nullable: true properties: - wait_timer: *447 + wait_timer: *449 prevent_self_review: type: boolean example: false @@ -65792,13 +66092,13 @@ paths: items: type: object properties: - type: *444 + type: *446 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *448 + deployment_branch_policy: *450 additionalProperties: false examples: default: @@ -65818,9 +66118,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *449 + default: *451 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -65844,9 +66144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 responses: '204': description: Default response @@ -65871,9 +66171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 - *17 - *19 responses: @@ -65891,7 +66191,7 @@ paths: example: 2 branch_policies: type: array - items: &450 + items: &452 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -65948,9 +66248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 requestBody: required: true content: @@ -65996,9 +66296,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - example-wildcard: &451 + example-wildcard: &453 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -66040,10 +66340,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *281 - - *282 - - *446 - - &452 + - *283 + - *284 + - *448 + - &454 name: branch_policy_id in: path required: true @@ -66055,9 +66355,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66076,10 +66376,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *281 - - *282 - - *446 - - *452 + - *283 + - *284 + - *448 + - *454 requestBody: required: true content: @@ -66107,9 +66407,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66128,10 +66428,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *281 - - *282 - - *446 - - *452 + - *283 + - *284 + - *448 + - *454 responses: '204': description: Response @@ -66156,9 +66456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *446 - - *282 - - *281 + - *448 + - *284 + - *283 responses: '200': description: List of deployment protection rules @@ -66174,7 +66474,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &453 + items: &455 title: Deployment protection rule description: Deployment protection rule type: object @@ -66193,7 +66493,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &454 + app: &456 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -66292,9 +66592,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: - - *446 - - *282 - - *281 + - *448 + - *284 + - *283 requestBody: content: application/json: @@ -66315,9 +66615,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *453 + schema: *455 examples: - default: &455 + default: &457 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -66352,9 +66652,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: - - *446 - - *282 - - *281 + - *448 + - *284 + - *283 - *19 - *17 responses: @@ -66373,7 +66673,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *454 + items: *456 examples: default: value: @@ -66408,10 +66708,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *281 - - *282 - - *446 - - &456 + - *283 + - *284 + - *448 + - &458 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -66423,9 +66723,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *455 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66446,10 +66746,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *446 - - *282 - - *281 - - *456 + - *448 + - *284 + - *283 + - *458 responses: '204': description: Response @@ -66475,9 +66775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 - *17 - *19 responses: @@ -66495,9 +66795,9 @@ paths: type: integer secrets: type: array - items: *327 + items: *329 examples: - default: *328 + default: *330 headers: Link: *58 x-github: @@ -66522,17 +66822,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 responses: '200': description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66554,18 +66854,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *281 - - *282 - - *446 - - *128 + - *283 + - *284 + - *448 + - *130 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: *457 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66587,10 +66887,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *281 - - *282 - - *446 - - *128 + - *283 + - *284 + - *448 + - *130 requestBody: required: true content: @@ -66621,7 +66921,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -66647,10 +66947,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *281 - - *282 - - *446 - - *128 + - *283 + - *284 + - *448 + - *130 responses: '204': description: Default response @@ -66675,10 +66975,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *281 - - *282 - - *446 - - *303 + - *283 + - *284 + - *448 + - *305 - *19 responses: '200': @@ -66695,9 +66995,9 @@ paths: type: integer variables: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 headers: Link: *58 x-github: @@ -66720,9 +67020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *281 - - *282 - - *446 + - *283 + - *284 + - *448 requestBody: required: true content: @@ -66749,7 +67049,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -66774,18 +67074,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *281 - - *282 - - *446 - - *131 + - *283 + - *284 + - *448 + - *133 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *458 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66806,10 +67106,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *281 - - *282 - - *131 - - *446 + - *283 + - *284 + - *133 + - *448 requestBody: required: true content: @@ -66851,10 +67151,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *281 - - *282 - - *131 - - *446 + - *283 + - *284 + - *133 + - *448 responses: '204': description: Response @@ -66876,8 +67176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -66954,8 +67254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *281 - - *282 + - *283 + - *284 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -66977,7 +67277,7 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: default: value: @@ -67114,8 +67414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -67147,9 +67447,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *294 + default: *296 '400': *14 '422': *15 '403': *29 @@ -67170,8 +67470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -67230,8 +67530,8 @@ paths: application/json: schema: oneOf: - - *98 - - *459 + - *100 + - *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67256,8 +67556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *281 - - *282 + - *283 + - *284 - name: file_sha in: path required: true @@ -67356,8 +67656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -67466,7 +67766,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &462 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -67680,15 +67980,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *281 - - *282 - - *413 + - *283 + - *284 + - *415 responses: '200': description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -67744,9 +68044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *281 - - *282 - - &461 + - *283 + - *284 + - &463 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. @@ -67763,7 +68063,7 @@ paths: application/json: schema: type: array - items: &462 + items: &464 title: Git Reference description: Git references within a repository type: object @@ -67838,17 +68138,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *281 - - *282 - - *461 + - *283 + - *284 + - *463 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: &463 + default: &465 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -67877,8 +68177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -67907,9 +68207,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *463 + default: *465 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -67935,9 +68235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *281 - - *282 - - *461 + - *283 + - *284 + - *463 requestBody: required: true content: @@ -67966,9 +68266,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *463 + default: *465 '422': *15 '409': *47 x-github: @@ -67986,9 +68286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *281 - - *282 - - *461 + - *283 + - *284 + - *463 responses: '204': description: Response @@ -68043,8 +68343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -68111,7 +68411,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &467 title: Git Tag description: Metadata for a Git tag type: object @@ -68162,7 +68462,7 @@ paths: - sha - type - url - verification: *464 + verification: *466 required: - sha - url @@ -68172,7 +68472,7 @@ paths: - tag - message examples: - default: &466 + default: &468 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -68245,8 +68545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *281 - - *282 + - *283 + - *284 - name: tag_sha in: path required: true @@ -68257,9 +68557,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '404': *6 '409': *47 x-github: @@ -68283,8 +68583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -68357,7 +68657,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &469 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -68453,8 +68753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *281 - - *282 + - *283 + - *284 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -68477,7 +68777,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: default-response: summary: Default response @@ -68536,8 +68836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -68547,7 +68847,7 @@ paths: application/json: schema: type: array - items: &468 + items: &470 title: Webhook description: Webhooks for repositories. type: object @@ -68601,7 +68901,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &696 + last_response: &712 title: Hook Response type: object properties: @@ -68675,8 +68975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -68728,9 +69028,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *470 examples: - default: &469 + default: &471 value: type: Repository id: 12345678 @@ -68778,17 +69078,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 responses: '200': description: Response content: application/json: - schema: *468 + schema: *470 examples: - default: *469 + default: *471 '404': *6 x-github: githubCloudOnly: false @@ -68808,9 +69108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 requestBody: required: true content: @@ -68855,9 +69155,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *470 examples: - default: *469 + default: *471 '422': *15 '404': *6 x-github: @@ -68878,9 +69178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 responses: '204': description: Response @@ -68904,9 +69204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 responses: '200': description: Response @@ -68933,9 +69233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 requestBody: required: false content: @@ -68979,11 +69279,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 - *17 - - *171 + - *173 responses: '200': description: Response @@ -68991,9 +69291,9 @@ paths: application/json: schema: type: array - items: *172 + items: *174 examples: - default: *173 + default: *175 '400': *14 '422': *15 x-github: @@ -69012,18 +69312,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 - *16 responses: '200': description: Response content: application/json: - schema: *174 + schema: *176 examples: - default: *175 + default: *177 '400': *14 '422': *15 x-github: @@ -69042,9 +69342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 - *16 responses: '202': *39 @@ -69067,9 +69367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 responses: '204': description: Response @@ -69094,9 +69394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *281 - - *282 - - *170 + - *283 + - *284 + - *172 responses: '204': description: Response @@ -69154,14 +69454,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: &470 + schema: &472 title: Import description: A repository import from an external source. type: object @@ -69260,7 +69560,7 @@ paths: - html_url - authors_url examples: - default: &473 + default: &475 value: vcs: subversion use_lfs: true @@ -69276,7 +69576,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': &471 + '503': &473 description: Unavailable due to service under maintenance. content: application/json: @@ -69305,8 +69605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -69354,7 +69654,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: default: value: @@ -69379,7 +69679,7 @@ paths: type: string '422': *15 '404': *6 - '503': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69407,8 +69707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -69457,7 +69757,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: example-1: summary: Example 1 @@ -69505,7 +69805,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': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69528,12 +69828,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response - '503': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69559,9 +69859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *281 - - *282 - - &639 + - *283 + - *284 + - &655 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -69575,7 +69875,7 @@ paths: application/json: schema: type: array - items: &472 + items: &474 title: Porter Author description: Porter Author type: object @@ -69629,7 +69929,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': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69654,8 +69954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *281 - - *282 + - *283 + - *284 - name: author_id in: path required: true @@ -69685,7 +69985,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: default: value: @@ -69698,7 +69998,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69722,8 +70022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -69764,7 +70064,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69792,8 +70092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -69820,11 +70120,11 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *473 + default: *475 '422': *15 - '503': *471 + '503': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69847,8 +70147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -69856,8 +70156,8 @@ paths: application/json: schema: *22 examples: - default: *474 - '301': *293 + default: *476 + '301': *295 '404': *6 x-github: githubCloudOnly: false @@ -69877,8 +70177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -69886,12 +70186,12 @@ paths: application/json: schema: anyOf: - - *188 + - *190 - type: object properties: {} additionalProperties: false examples: - default: &476 + default: &478 value: limit: collaborators_only origin: repository @@ -69916,13 +70216,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: application/json: - schema: *475 + schema: *477 examples: default: summary: Example request body @@ -69934,9 +70234,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *476 + default: *478 '409': description: Response x-github: @@ -69958,8 +70258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -69982,8 +70282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -69993,9 +70293,9 @@ paths: application/json: schema: type: array - items: *477 + items: *479 examples: - default: &632 + default: &648 value: - id: 1 repository: @@ -70126,9 +70426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *281 - - *282 - - *192 + - *283 + - *284 + - *194 requestBody: required: false content: @@ -70157,7 +70457,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -70288,9 +70588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *281 - - *282 - - *192 + - *283 + - *284 + - *194 responses: '204': description: Response @@ -70321,8 +70621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *281 - - *282 + - *283 + - *284 - 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 @@ -70370,7 +70670,7 @@ paths: required: false schema: type: string - - *196 + - *198 - name: sort description: What to sort results by. in: query @@ -70395,7 +70695,7 @@ paths: type: array items: *77 examples: - default: &488 + default: &490 value: - id: 1 node_id: MDU6SXNzdWUx @@ -70543,7 +70843,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *293 + '301': *295 '422': *15 '404': *6 x-github: @@ -70572,8 +70872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -70657,7 +70957,7 @@ paths: application/json: schema: *77 examples: - default: &483 + default: &485 value: id: 1 node_id: MDU6SXNzdWUx @@ -70813,7 +71113,7 @@ paths: '422': *15 '503': *65 '404': *6 - '410': *290 + '410': *292 x-github: triggersNotification: true githubCloudOnly: false @@ -70841,8 +71141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -70863,9 +71163,9 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: - default: &485 + default: &487 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70923,17 +71223,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: &479 + default: &481 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70987,8 +71287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -71011,9 +71311,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 '422': *15 x-github: githubCloudOnly: false @@ -71031,8 +71331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '204': @@ -71053,8 +71353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -71081,9 +71381,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 '404': *6 @@ -71104,8 +71404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -71138,16 +71438,16 @@ paths: description: Reaction exists content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Reaction created content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -71169,10 +71469,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *281 - - *282 + - *283 + - *284 - *76 - - *277 + - *279 responses: '204': description: Response @@ -71192,8 +71492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -71203,7 +71503,7 @@ paths: application/json: schema: type: array - items: &482 + items: &484 title: Issue Event description: Issue Event type: object @@ -71246,8 +71546,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *480 - required: *481 + properties: *482 + required: *483 nullable: true label: title: Issue Event Label @@ -71291,7 +71591,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *152 + requested_team: *154 dismissed_review: title: Issue Event Dismissed Review type: object @@ -71554,8 +71854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *281 - - *282 + - *283 + - *284 - name: event_id in: path required: true @@ -71566,7 +71866,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -71759,7 +72059,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *290 + '410': *292 '403': *29 x-github: githubCloudOnly: false @@ -71793,9 +72093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *281 - - *282 - - &484 + - *283 + - *284 + - &486 name: issue_number description: The number that identifies the issue. in: path @@ -71809,10 +72109,10 @@ paths: application/json: schema: *77 examples: - default: *483 - '301': *293 + default: *485 + '301': *295 '404': *6 - '410': *290 + '410': *292 '304': *37 x-github: githubCloudOnly: false @@ -71837,9 +72137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: false content: @@ -71944,13 +72244,13 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 '422': *15 '503': *65 '403': *29 - '301': *293 + '301': *295 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71968,9 +72268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: false content: @@ -71998,7 +72298,7 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72014,9 +72314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: content: application/json: @@ -72043,7 +72343,7 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72065,9 +72365,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: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - name: assignee in: path required: true @@ -72107,9 +72407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - *67 - *17 - *19 @@ -72120,13 +72420,13 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: - default: *485 + default: *487 headers: Link: *58 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72155,9 +72455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: true content: @@ -72179,16 +72479,16 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *290 + '410': *292 '422': *15 '404': *6 x-github: @@ -72208,9 +72508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - *17 - *19 responses: @@ -72224,7 +72524,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &489 + - &491 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -72278,7 +72578,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &492 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -72414,7 +72714,7 @@ paths: - performed_via_github_app - assignee - assigner - - &491 + - &493 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -72465,7 +72765,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &494 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -72516,7 +72816,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &495 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -72570,7 +72870,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &496 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -72604,7 +72904,7 @@ paths: properties: *61 required: *62 review_requester: *4 - requested_team: *152 + requested_team: *154 requested_reviewer: *4 required: - review_requester @@ -72617,7 +72917,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &495 + - &497 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -72651,7 +72951,7 @@ paths: properties: *61 required: *62 review_requester: *4 - requested_team: *152 + requested_team: *154 requested_reviewer: *4 required: - review_requester @@ -72664,7 +72964,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &498 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -72724,7 +73024,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &497 + - &499 title: Locked Issue Event description: Locked Issue Event type: object @@ -72772,7 +73072,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &498 + - &500 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -72838,7 +73138,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &501 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -72904,7 +73204,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &500 + - &502 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -72970,7 +73270,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &503 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -73061,7 +73361,7 @@ paths: color: red headers: Link: *58 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73078,9 +73378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - *17 - *19 responses: @@ -73090,7 +73390,7 @@ paths: application/json: schema: type: array - items: &486 + items: &488 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -73137,7 +73437,7 @@ paths: - color - default examples: - default: &487 + default: &489 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -73155,9 +73455,9 @@ paths: default: false headers: Link: *58 - '301': *293 + '301': *295 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73174,9 +73474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: false content: @@ -73235,12 +73535,12 @@ paths: application/json: schema: type: array - items: *486 + items: *488 examples: - default: *487 - '301': *293 + default: *489 + '301': *295 '404': *6 - '410': *290 + '410': *292 '422': *15 x-github: githubCloudOnly: false @@ -73257,9 +73557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: false content: @@ -73319,12 +73619,12 @@ paths: application/json: schema: type: array - items: *486 + items: *488 examples: - default: *487 - '301': *293 + default: *489 + '301': *295 '404': *6 - '410': *290 + '410': *292 '422': *15 x-github: githubCloudOnly: false @@ -73341,15 +73641,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 responses: '204': description: Response - '301': *293 + '301': *295 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73368,9 +73668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - name: name in: path required: true @@ -73383,7 +73683,7 @@ paths: application/json: schema: type: array - items: *486 + items: *488 examples: default: value: @@ -73394,9 +73694,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *293 + '301': *295 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73416,9 +73716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: false content: @@ -73446,7 +73746,7 @@ paths: '204': description: Response '403': *29 - '410': *290 + '410': *292 '404': *6 '422': *15 x-github: @@ -73464,9 +73764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 responses: '204': description: Response @@ -73488,9 +73788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - 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. @@ -73516,13 +73816,13 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73540,9 +73840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: true content: @@ -73574,16 +73874,16 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -73605,10 +73905,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *281 - - *282 - - *484 - - *277 + - *283 + - *284 + - *486 + - *279 responses: '204': description: Response @@ -73637,9 +73937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: true content: @@ -73663,7 +73963,7 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -73696,9 +73996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - *17 - *19 responses: @@ -73710,11 +74010,11 @@ paths: type: array items: *77 examples: - default: *488 + default: *490 headers: Link: *58 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73742,9 +74042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: true content: @@ -73773,14 +74073,14 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *290 + '410': *292 '422': *15 '404': *6 x-github: @@ -73800,9 +74100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 requestBody: required: true content: @@ -73835,7 +74135,7 @@ paths: application/json: schema: *77 examples: - default: *483 + default: *485 '403': *29 '404': *6 '422': *7 @@ -73857,9 +74157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *281 - - *282 - - *484 + - *283 + - *284 + - *486 - *17 - *19 responses: @@ -73874,8 +74174,6 @@ paths: description: Timeline Event type: object anyOf: - - *489 - - *490 - *491 - *492 - *493 @@ -73887,6 +74185,8 @@ paths: - *499 - *500 - *501 + - *502 + - *503 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -74191,7 +74491,7 @@ paths: type: string comments: type: array - items: &522 + items: &524 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -74400,7 +74700,7 @@ paths: type: string comments: type: array - items: *411 + items: *413 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -74689,7 +74989,7 @@ paths: headers: Link: *58 '404': *6 - '410': *290 + '410': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74706,8 +75006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -74717,7 +75017,7 @@ paths: application/json: schema: type: array - items: &502 + items: &504 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -74782,8 +75082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -74819,9 +75119,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: &503 + default: &505 value: id: 1 key: ssh-rsa AAA... @@ -74855,9 +75155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *281 - - *282 - - &504 + - *283 + - *284 + - &506 name: key_id description: The unique identifier of the key. in: path @@ -74869,9 +75169,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: *503 + default: *505 '404': *6 x-github: githubCloudOnly: false @@ -74889,9 +75189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *281 - - *282 - - *504 + - *283 + - *284 + - *506 responses: '204': description: Response @@ -74911,8 +75211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -74922,9 +75222,9 @@ paths: application/json: schema: type: array - items: *486 + items: *488 examples: - default: *487 + default: *489 headers: Link: *58 '404': *6 @@ -74945,8 +75245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -74982,9 +75282,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: &505 + default: &507 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75016,8 +75316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *281 - - *282 + - *283 + - *284 - name: name in: path required: true @@ -75028,9 +75328,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: *505 + default: *507 '404': *6 x-github: githubCloudOnly: false @@ -75047,8 +75347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *281 - - *282 + - *283 + - *284 - name: name in: path required: true @@ -75087,7 +75387,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: default: value: @@ -75113,8 +75413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *281 - - *282 + - *283 + - *284 - name: name in: path required: true @@ -75140,8 +75440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -75180,9 +75480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *281 - - *282 - - *387 + - *283 + - *284 + - *389 responses: '200': description: Response @@ -75327,8 +75627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -75393,8 +75693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -75428,9 +75728,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *412 + schema: *414 examples: - default: *506 + default: *508 '204': description: Response when already merged '404': @@ -75455,8 +75755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *281 - - *282 + - *283 + - *284 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -75497,12 +75797,12 @@ paths: application/json: schema: type: array - items: &507 + items: &509 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *416 - required: *417 + properties: *418 + required: *419 examples: default: value: @@ -75558,8 +75858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -75599,9 +75899,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &508 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -75660,9 +75960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *281 - - *282 - - &509 + - *283 + - *284 + - &511 name: milestone_number description: The number that identifies the milestone. in: path @@ -75674,9 +75974,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -75693,9 +75993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *281 - - *282 - - *509 + - *283 + - *284 + - *511 requestBody: required: false content: @@ -75733,9 +76033,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75751,9 +76051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *281 - - *282 - - *509 + - *283 + - *284 + - *511 responses: '204': description: Response @@ -75774,9 +76074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *281 - - *282 - - *509 + - *283 + - *284 + - *511 - *17 - *19 responses: @@ -75786,9 +76086,9 @@ paths: application/json: schema: type: array - items: *486 + items: *488 examples: - default: *487 + default: *489 headers: Link: *58 x-github: @@ -75807,12 +76107,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *281 - - *282 - - *510 - - *511 - - *67 + - *283 + - *284 - *512 + - *513 + - *67 + - *514 - *17 - *19 responses: @@ -75824,7 +76124,7 @@ paths: type: array items: *90 examples: - default: *513 + default: *515 headers: Link: *58 x-github: @@ -75848,8 +76148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -75907,14 +76207,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: &514 + schema: &516 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -76039,7 +76339,7 @@ paths: - custom_404 - public examples: - default: &515 + default: &517 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -76080,8 +76380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -76135,9 +76435,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: *515 + default: *517 '422': *15 '409': *47 x-github: @@ -76160,8 +76460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -76260,8 +76560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -76287,8 +76587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -76298,7 +76598,7 @@ paths: application/json: schema: type: array - items: &516 + items: &518 title: Page Build description: Page Build type: object @@ -76392,8 +76692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *281 - - *282 + - *283 + - *284 responses: '201': description: Response @@ -76438,16 +76738,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: &517 + default: &519 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -76495,8 +76795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *281 - - *282 + - *283 + - *284 - name: build_id in: path required: true @@ -76507,9 +76807,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76529,8 +76829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -76635,9 +76935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *281 - - *282 - - &518 + - *283 + - *284 + - &520 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -76695,11 +76995,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *281 - - *282 - - *518 + - *283 + - *284 + - *520 responses: - '204': *146 + '204': *148 '404': *6 x-github: githubCloudOnly: false @@ -76724,8 +77024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -76956,7 +77256,7 @@ paths: description: Empty response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -76983,8 +77283,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: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Private vulnerability reporting status @@ -77021,10 +77321,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: - '204': *146 + '204': *148 '422': *14 x-github: githubCloudOnly: false @@ -77043,10 +77343,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: - '204': *146 + '204': *148 '422': *14 x-github: githubCloudOnly: false @@ -77067,8 +77367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *281 - - *282 + - *283 + - *284 - name: state description: Indicates the state of the projects to return. in: query @@ -77089,7 +77389,7 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: default: value: @@ -77129,7 +77429,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *290 + '410': *292 '422': *7 x-github: githubCloudOnly: false @@ -77152,8 +77452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -77179,13 +77479,13 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *289 + default: *291 '401': *25 '403': *29 '404': *6 - '410': *290 + '410': *292 '422': *7 x-github: githubCloudOnly: false @@ -77208,8 +77508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -77217,7 +77517,7 @@ paths: application/json: schema: type: array - items: *235 + items: *237 examples: default: value: @@ -77248,8 +77548,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: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -77261,7 +77561,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *235 + items: *237 required: - properties examples: @@ -77311,8 +77611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *281 - - *282 + - *283 + - *284 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -77372,9 +77672,9 @@ paths: application/json: schema: type: array - items: *519 + items: *521 examples: - default: *520 + default: *522 headers: Link: *58 '304': *37 @@ -77406,8 +77706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -77472,7 +77772,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &526 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -77583,8 +77883,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *416 - required: *417 + properties: *418 + required: *419 nullable: true active_lock_reason: type: string @@ -77629,7 +77929,7 @@ paths: nullable: true requested_teams: type: array - items: *259 + items: *261 nullable: true head: type: object @@ -77668,14 +77968,14 @@ paths: _links: type: object properties: - comments: *418 - commits: *418 - statuses: *418 - html: *418 - issue: *418 - review_comments: *418 - review_comment: *418 - self: *418 + comments: *420 + commits: *420 + statuses: *420 + html: *420 + issue: *420 + review_comments: *420 + review_comment: *420 + self: *420 required: - comments - commits @@ -77686,7 +77986,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: *521 + auto_merge: *523 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -77778,7 +78078,7 @@ paths: - merged_by - review_comments examples: - default: &525 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78305,8 +78605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - name: sort in: query required: false @@ -78335,9 +78635,9 @@ paths: application/json: schema: type: array - items: *522 + items: *524 examples: - default: &527 + default: &529 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78414,17 +78714,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '200': description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: &523 + default: &525 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78499,8 +78799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -78523,9 +78823,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: *523 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78541,8 +78841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *281 - - *282 + - *283 + - *284 - *76 responses: '204': @@ -78564,8 +78864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78592,9 +78892,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 '404': *6 @@ -78615,8 +78915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *281 - - *282 + - *283 + - *284 - *76 requestBody: required: true @@ -78649,16 +78949,16 @@ paths: description: Reaction exists content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Reaction created content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -78680,10 +78980,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *281 - - *282 + - *283 + - *284 - *76 - - *277 + - *279 responses: '204': description: Response @@ -78726,9 +79026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *281 - - *282 - - &526 + - *283 + - *284 + - &528 name: pull_number description: The number that identifies the pull request. in: path @@ -78741,9 +79041,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *524 + schema: *526 examples: - default: *525 + default: *527 '304': *37 '404': *6 '406': @@ -78751,7 +79051,7 @@ paths: content: application/json: schema: *3 - '500': *95 + '500': *97 '503': *65 x-github: githubCloudOnly: false @@ -78778,9 +79078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: false content: @@ -78822,9 +79122,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: *525 + default: *527 '422': *15 '403': *29 x-github: @@ -78846,9 +79146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: true content: @@ -78908,17 +79208,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '401': *25 '403': *29 '404': *6 @@ -78948,9 +79248,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -78971,9 +79271,9 @@ paths: application/json: schema: type: array - items: *522 + items: *524 examples: - default: *527 + default: *529 headers: Link: *58 x-github: @@ -79006,9 +79306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: true content: @@ -79113,7 +79413,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: example-for-a-multi-line-comment: value: @@ -79201,9 +79501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 - *76 requestBody: required: true @@ -79226,7 +79526,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -79312,9 +79612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 - *17 - *19 responses: @@ -79324,9 +79624,9 @@ paths: application/json: schema: type: array - items: *412 + items: *414 examples: - default: *528 + default: *530 headers: Link: *58 x-github: @@ -79356,9 +79656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 - *17 - *19 responses: @@ -79368,7 +79668,7 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: default: value: @@ -79386,7 +79686,7 @@ paths: headers: Link: *58 '422': *15 - '500': *95 + '500': *97 '503': *65 x-github: githubCloudOnly: false @@ -79406,9 +79706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 responses: '204': description: Response if pull request has been merged @@ -79431,9 +79731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: false content: @@ -79544,9 +79844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 responses: '200': description: Response @@ -79562,7 +79862,7 @@ paths: items: *4 teams: type: array - items: *152 + items: *154 required: - users - teams @@ -79621,9 +79921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: false content: @@ -79660,7 +79960,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: default: value: @@ -80196,9 +80496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: true content: @@ -80232,7 +80532,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: default: value: @@ -80737,9 +81037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 - *17 - *19 responses: @@ -80749,7 +81049,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -80900,9 +81200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: false content: @@ -80988,9 +81288,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: &531 + default: &533 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81053,10 +81353,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 - - &530 + - *283 + - *284 + - *528 + - &532 name: review_id description: The unique identifier of the review. in: path @@ -81068,9 +81368,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: &532 + default: &534 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81129,10 +81429,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 - - *530 + - *283 + - *284 + - *528 + - *532 requestBody: required: true content: @@ -81155,7 +81455,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -81217,18 +81517,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 - - *530 + - *283 + - *284 + - *528 + - *532 responses: '200': description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *531 + default: *533 '422': *7 '404': *6 x-github: @@ -81255,10 +81555,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *281 - - *282 - - *526 - - *530 + - *283 + - *284 + - *528 + - *532 - *17 - *19 responses: @@ -81341,9 +81641,9 @@ paths: _links: type: object properties: - self: *418 - html: *418 - pull_request: *418 + self: *420 + html: *420 + pull_request: *420 required: - self - html @@ -81486,10 +81786,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 - - *530 + - *283 + - *284 + - *528 + - *532 requestBody: required: true content: @@ -81517,7 +81817,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -81580,10 +81880,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *281 - - *282 - - *526 - - *530 + - *283 + - *284 + - *528 + - *532 requestBody: required: true content: @@ -81618,9 +81918,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *532 + default: *534 '404': *6 '422': *7 '403': *29 @@ -81642,9 +81942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *281 - - *282 - - *526 + - *283 + - *284 + - *528 requestBody: required: false content: @@ -81707,8 +82007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *281 - - *282 + - *283 + - *284 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -81721,9 +82021,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: - default: &534 + default: &536 value: type: file encoding: base64 @@ -81765,8 +82065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *281 - - *282 + - *283 + - *284 - name: dir description: The alternate path to look for a README file in: path @@ -81786,9 +82086,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: - default: *534 + default: *536 '404': *6 '422': *15 x-github: @@ -81810,8 +82110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -81821,7 +82121,7 @@ paths: application/json: schema: type: array - items: &535 + items: &537 title: Release description: A release. type: object @@ -81884,7 +82184,7 @@ paths: author: *4 assets: type: array - items: &536 + items: &538 title: Release Asset description: Data related to a release. type: object @@ -82070,8 +82370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -82147,9 +82447,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: &539 + default: &541 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -82253,9 +82553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *281 - - *282 - - &537 + - *283 + - *284 + - &539 name: asset_id description: The unique identifier of the asset. in: path @@ -82267,9 +82567,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: &538 + default: &540 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 @@ -82304,7 +82604,7 @@ paths: type: User site_admin: false '404': *6 - '302': *429 + '302': *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82320,9 +82620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *281 - - *282 - - *537 + - *283 + - *284 + - *539 requestBody: required: false content: @@ -82350,9 +82650,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *538 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82368,9 +82668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *281 - - *282 - - *537 + - *283 + - *284 + - *539 responses: '204': description: Response @@ -82394,8 +82694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -82480,16 +82780,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *539 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82506,8 +82806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *281 - - *282 + - *283 + - *284 - name: tag description: tag parameter in: path @@ -82520,9 +82820,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *539 + default: *541 '404': *6 x-github: githubCloudOnly: false @@ -82544,9 +82844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *281 - - *282 - - &540 + - *283 + - *284 + - &542 name: release_id description: The unique identifier of the release. in: path @@ -82560,9 +82860,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: *535 + schema: *537 examples: - default: *539 + default: *541 '401': description: Unauthorized x-github: @@ -82580,9 +82880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 requestBody: required: false content: @@ -82646,9 +82946,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *539 + default: *541 '404': description: Not Found if the discussion category name is invalid content: @@ -82669,9 +82969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 responses: '204': description: Response @@ -82691,9 +82991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 - *17 - *19 responses: @@ -82703,7 +83003,7 @@ paths: application/json: schema: type: array - items: *536 + items: *538 examples: default: value: @@ -82784,9 +83084,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: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 - name: name in: query required: true @@ -82812,7 +83112,7 @@ paths: description: Response for successful upload content: application/json: - schema: *536 + schema: *538 examples: response-for-successful-upload: value: @@ -82867,9 +83167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 - 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. @@ -82893,9 +83193,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 '404': *6 @@ -82916,9 +83216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *281 - - *282 - - *540 + - *283 + - *284 + - *542 requestBody: required: true content: @@ -82948,16 +83248,16 @@ paths: description: Reaction exists content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '201': description: Reaction created content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '422': *15 x-github: githubCloudOnly: false @@ -82979,10 +83279,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *281 - - *282 - - *540 - - *277 + - *283 + - *284 + - *542 + - *279 responses: '204': description: Response @@ -83006,9 +83306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *281 - - *282 - - *349 + - *283 + - *284 + - *351 - *17 - *19 responses: @@ -83024,8 +83324,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *541 - - &543 + - *543 + - &545 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83044,66 +83344,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *542 - - *543 - allOf: - *544 - - *543 - - allOf: - *545 - - *543 - allOf: - *546 - - *543 + - *545 - allOf: - *547 - - *543 + - *545 - allOf: - *548 - - *543 + - *545 - allOf: - *549 - - *543 + - *545 - allOf: - *550 - - *543 + - *545 - allOf: - *551 - - *543 + - *545 - allOf: - *552 - - *543 + - *545 - allOf: - *553 - - *543 + - *545 - allOf: - *554 - - *543 + - *545 - allOf: - *555 - - *543 + - *545 - allOf: - *556 - - *543 + - *545 - allOf: - *557 - - *543 + - *545 - allOf: - *558 - - *543 + - *545 - allOf: - *559 - - *543 + - *545 - allOf: - *560 - - *543 + - *545 - allOf: - *561 - - *543 + - *545 - allOf: - *562 - - *543 + - *545 + - allOf: + - *563 + - *545 + - allOf: + - *564 + - *545 examples: default: value: @@ -83142,8 +83442,8 @@ paths: category: repos subcategory: rules parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 - name: includes_parents @@ -83154,7 +83454,7 @@ paths: schema: type: boolean default: true - - *563 + - *565 responses: '200': description: Response @@ -83162,7 +83462,7 @@ paths: application/json: schema: type: array - items: *245 + items: *247 examples: default: value: @@ -83193,7 +83493,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *97 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -83209,8 +83509,8 @@ paths: category: repos subcategory: rules parameters: - - *281 - - *282 + - *283 + - *284 requestBody: description: Request body required: true @@ -83230,16 +83530,16 @@ paths: - tag - push default: branch - enforcement: *241 + enforcement: *243 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *242 - conditions: *239 + items: *244 + conditions: *241 rules: type: array description: An array of rules within the ruleset. - items: *244 + items: *246 required: - name - enforcement @@ -83270,9 +83570,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: &573 + default: &575 value: id: 42 name: super cool ruleset @@ -83305,7 +83605,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *95 + '500': *97 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -83319,12 +83619,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *281 - - *282 - - *564 - - *565 + - *283 + - *284 - *566 - *567 + - *568 + - *569 - *17 - *19 responses: @@ -83332,11 +83632,11 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: - default: *569 + default: *571 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83355,19 +83655,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *281 - - *282 - - *570 + - *283 + - *284 + - *572 responses: '200': description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83393,8 +83693,8 @@ paths: category: repos subcategory: rules parameters: - - *281 - - *282 + - *283 + - *284 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83414,11 +83714,11 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *573 + default: *575 '404': *6 - '500': *95 + '500': *97 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -83434,8 +83734,8 @@ paths: category: repos subcategory: rules parameters: - - *281 - - *282 + - *283 + - *284 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83460,16 +83760,16 @@ paths: - branch - tag - push - enforcement: *241 + enforcement: *243 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *242 - conditions: *239 + items: *244 + conditions: *241 rules: description: An array of rules within the ruleset. type: array - items: *244 + items: *246 examples: default: value: @@ -83497,11 +83797,11 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *573 + default: *575 '404': *6 - '500': *95 + '500': *97 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -83517,8 +83817,8 @@ paths: category: repos subcategory: rules parameters: - - *281 - - *282 + - *283 + - *284 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83529,7 +83829,7 @@ paths: '204': description: Response '404': *6 - '500': *95 + '500': *97 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -83541,8 +83841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 - name: ruleset_id @@ -83558,11 +83858,11 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *574 + default: *576 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83579,8 +83879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *281 - - *282 + - *283 + - *284 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83598,7 +83898,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *577 examples: default: value: @@ -83631,7 +83931,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83653,21 +83953,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *281 - - *282 - - *248 - - *249 + - *283 + - *284 - *250 - *251 + - *252 + - *253 - *48 - *19 - *17 - - *576 - - *577 - - *252 - - *253 + - *578 + - *579 - *254 - *255 + - *256 + - *257 responses: '200': description: Response @@ -83675,7 +83975,7 @@ paths: application/json: schema: type: array - items: &580 + items: &583 type: object properties: number: *54 @@ -83694,8 +83994,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *578 - resolution: *579 + state: *580 + resolution: *581 resolved_at: type: string format: date-time @@ -83785,6 +84085,18 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: *582 + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: value: @@ -83913,16 +84225,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *281 - - *282 - - *381 - - *255 + - *283 + - *284 + - *383 + - *257 responses: '200': description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -83974,9 +84286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 requestBody: required: true content: @@ -83984,8 +84296,8 @@ paths: schema: type: object properties: - state: *578 - resolution: *579 + state: *580 + resolution: *581 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -84003,7 +84315,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -84078,9 +84390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *281 - - *282 - - *381 + - *283 + - *284 + - *383 - *19 - *17 responses: @@ -84091,7 +84403,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &717 + items: &733 type: object properties: type: @@ -84117,254 +84429,19 @@ paths: example: commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *584 + - *585 + - *586 + - *587 + - *588 + - *589 + - *590 + - *591 + - *592 + - *593 + - *594 + - *595 + - *596 examples: default: value: @@ -84450,8 +84527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -84459,14 +84536,14 @@ paths: schema: type: object properties: - reason: &582 + reason: &598 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *581 + placeholder_id: *597 required: - reason - placeholder_id @@ -84483,7 +84560,7 @@ paths: schema: type: object properties: - reason: *582 + reason: *598 expire_at: type: string format: date-time @@ -84526,8 +84603,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: - - *281 - - *282 + - *283 + - *284 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -84542,7 +84619,7 @@ paths: properties: incremental_scans: type: array - items: &583 + items: &599 description: Information on a single scan performed by secret scanning on the repository type: object @@ -84568,15 +84645,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *583 + items: *599 backfill_scans: type: array - items: *583 + items: *599 custom_pattern_backfill_scans: type: array items: allOf: - - *583 + - *599 - type: object properties: pattern_name: @@ -84646,8 +84723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *281 - - *282 + - *283 + - *284 - *48 - name: sort description: The property to sort the results by. @@ -84691,9 +84768,9 @@ paths: application/json: schema: type: array - items: *584 + items: *600 examples: - default: *585 + default: *601 '400': *14 '404': *6 x-github: @@ -84716,8 +84793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -84790,7 +84867,7 @@ paths: login: type: string description: The username of the user credited. - type: *258 + type: *260 required: - login - type @@ -84877,9 +84954,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *600 examples: - default: &587 + default: &603 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -85112,8 +85189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -85217,7 +85294,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *600 examples: default: value: @@ -85364,17 +85441,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *281 - - *282 - - *586 + - *283 + - *284 + - *602 responses: '200': description: Response content: application/json: - schema: *584 + schema: *600 examples: - default: *587 + default: *603 '403': *29 '404': *6 x-github: @@ -85398,9 +85475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *281 - - *282 - - *586 + - *283 + - *284 + - *602 requestBody: required: true content: @@ -85473,7 +85550,7 @@ paths: login: type: string description: The username of the user credited. - type: *258 + type: *260 required: - login - type @@ -85559,17 +85636,17 @@ paths: description: Response content: application/json: - schema: *584 + schema: *600 examples: - default: *587 - add_credit: *587 + default: *603 + add_credit: *603 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *98 + schema: *100 examples: invalid_state_transition: value: @@ -85600,9 +85677,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: - - *281 - - *282 - - *586 + - *283 + - *284 + - *602 responses: '202': *39 '400': *14 @@ -85629,17 +85706,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *281 - - *282 - - *586 + - *283 + - *284 + - *602 responses: '202': description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *294 + default: *296 '400': *14 '422': *15 '403': *29 @@ -85665,8 +85742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -85765,8 +85842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -85775,7 +85852,7 @@ paths: application/json: schema: type: array - items: &588 + items: &604 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -85788,7 +85865,7 @@ paths: - 1124 - -435 '202': *39 - '204': *146 + '204': *148 '422': description: Repository contains more than 10,000 commits x-github: @@ -85808,8 +85885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -85858,7 +85935,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *146 + '204': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85885,8 +85962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -85960,7 +86037,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *146 + '204': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85982,8 +86059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86137,8 +86214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86148,7 +86225,7 @@ paths: application/json: schema: type: array - items: *588 + items: *604 examples: default: value: @@ -86161,7 +86238,7 @@ paths: - - 0 - 2 - 21 - '204': *146 + '204': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86181,8 +86258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *281 - - *282 + - *283 + - *284 - name: sha in: path required: true @@ -86236,7 +86313,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *605 examples: default: value: @@ -86290,8 +86367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -86303,7 +86380,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -86323,14 +86400,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &590 + schema: &606 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86398,8 +86475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: false content: @@ -86425,7 +86502,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *606 examples: default: value: @@ -86452,8 +86529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -86473,8 +86550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -86553,8 +86630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -86562,7 +86639,7 @@ paths: application/json: schema: type: array - items: &591 + items: &607 title: Tag protection description: Tag protection type: object @@ -86614,8 +86691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -86638,7 +86715,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *607 examples: default: value: @@ -86669,8 +86746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -86707,8 +86784,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *281 - - *282 + - *283 + - *284 - name: ref in: path required: true @@ -86744,8 +86821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *281 - - *282 + - *283 + - *284 - *17 - *19 responses: @@ -86755,9 +86832,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *213 + default: *215 headers: Link: *58 '404': *6 @@ -86777,8 +86854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *281 - - *282 + - *283 + - *284 - *19 - *17 responses: @@ -86786,7 +86863,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &608 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -86798,7 +86875,7 @@ paths: required: - names examples: - default: &593 + default: &609 value: names: - octocat @@ -86821,8 +86898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -86853,9 +86930,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *608 examples: - default: *593 + default: *609 '404': *6 '422': *7 x-github: @@ -86876,9 +86953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *281 - - *282 - - &594 + - *283 + - *284 + - &610 name: per description: The time frame to display results for. in: query @@ -86907,7 +86984,7 @@ paths: example: 128 clones: type: array - items: &595 + items: &611 title: Traffic type: object properties: @@ -86994,8 +87071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -87085,8 +87162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *281 - - *282 + - *283 + - *284 responses: '200': description: Response @@ -87146,9 +87223,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *281 - - *282 - - *594 + - *283 + - *284 + - *610 responses: '200': description: Response @@ -87167,7 +87244,7 @@ paths: example: 3782 views: type: array - items: *595 + items: *611 required: - uniques - count @@ -87244,8 +87321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *281 - - *282 + - *283 + - *284 requestBody: required: true content: @@ -87281,7 +87358,7 @@ paths: description: Response content: application/json: - schema: *120 + schema: *122 examples: default: value: @@ -87519,8 +87596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -87543,8 +87620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -87566,8 +87643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -87593,8 +87670,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *281 - - *282 + - *283 + - *284 - name: ref in: path required: true @@ -87686,9 +87763,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *294 + default: *296 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87729,7 +87806,7 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: default: value: @@ -87918,7 +87995,7 @@ paths: html_url: type: string format: uri - repository: *120 + repository: *122 score: type: number file_size: @@ -87936,7 +88013,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &596 + text_matches: &612 title: Search Result Text Matches type: array items: @@ -88098,7 +88175,7 @@ paths: enum: - author-date - committer-date - - &597 + - &613 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 @@ -88169,7 +88246,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true comment_count: type: integer @@ -88189,7 +88266,7 @@ paths: url: type: string format: uri - verification: *464 + verification: *466 required: - author - committer @@ -88208,7 +88285,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true parents: type: array @@ -88221,12 +88298,12 @@ paths: type: string sha: type: string - repository: *120 + repository: *122 score: type: number node_id: type: string - text_matches: *596 + text_matches: *612 required: - sha - node_id @@ -88408,7 +88485,7 @@ paths: - interactions - created - updated - - *597 + - *613 - *17 - *19 - name: advanced_search @@ -88535,8 +88612,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *416 - required: *417 + properties: *418 + required: *419 nullable: true comments: type: integer @@ -88550,7 +88627,7 @@ paths: type: string format: date-time nullable: true - text_matches: *596 + text_matches: *612 pull_request: type: object properties: @@ -88594,7 +88671,7 @@ paths: timeline_url: type: string format: uri - type: *193 + type: *195 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -88778,7 +88855,7 @@ paths: enum: - created - updated - - *597 + - *613 - *17 - *19 responses: @@ -88822,7 +88899,7 @@ paths: nullable: true score: type: number - text_matches: *596 + text_matches: *612 required: - id - node_id @@ -88907,7 +88984,7 @@ paths: - forks - help-wanted-issues - updated - - *597 + - *613 - *17 - *19 responses: @@ -89146,7 +89223,7 @@ paths: - admin - pull - push - text_matches: *596 + text_matches: *612 temp_clone_token: type: string allow_merge_commit: @@ -89446,7 +89523,7 @@ paths: type: string format: uri nullable: true - text_matches: *596 + text_matches: *612 related: type: array nullable: true @@ -89637,7 +89714,7 @@ paths: - followers - repositories - joined - - *597 + - *613 - *17 - *19 responses: @@ -89741,7 +89818,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *596 + text_matches: *612 blog: type: string nullable: true @@ -89820,7 +89897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &598 + - &614 name: team_id description: The unique identifier of the team. in: path @@ -89832,9 +89909,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '404': *6 x-github: githubCloudOnly: false @@ -89861,7 +89938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *598 + - *614 requestBody: required: true content: @@ -89924,16 +90001,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '201': description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '404': *6 '422': *15 '403': *29 @@ -89961,7 +90038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *598 + - *614 responses: '204': description: Response @@ -89992,7 +90069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *598 + - *614 - *48 - *17 - *19 @@ -90003,9 +90080,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *599 + default: *615 headers: Link: *58 x-github: @@ -90034,7 +90111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *598 + - *614 requestBody: required: true content: @@ -90068,9 +90145,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *269 + default: *271 x-github: triggersNotification: true githubCloudOnly: false @@ -90097,16 +90174,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *598 - - *270 + - *614 + - *272 responses: '200': description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *269 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90131,8 +90208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *598 - - *270 + - *614 + - *272 requestBody: required: false content: @@ -90155,9 +90232,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *600 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90182,8 +90259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *598 - - *270 + - *614 + - *272 responses: '204': description: Response @@ -90212,8 +90289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *598 - - *270 + - *614 + - *272 - *48 - *17 - *19 @@ -90224,9 +90301,9 @@ paths: application/json: schema: type: array - items: *271 + items: *273 examples: - default: *601 + default: *617 headers: Link: *58 x-github: @@ -90255,8 +90332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *598 - - *270 + - *614 + - *272 requestBody: required: true content: @@ -90278,9 +90355,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: triggersNotification: true githubCloudOnly: false @@ -90307,17 +90384,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *598 - - *270 - - *273 + - *614 + - *272 + - *275 responses: '200': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90342,9 +90419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *598 - - *270 - - *273 + - *614 + - *272 + - *275 requestBody: required: true content: @@ -90366,9 +90443,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *602 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90393,9 +90470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *598 - - *270 - - *273 + - *614 + - *272 + - *275 responses: '204': description: Response @@ -90424,9 +90501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *598 - - *270 - - *273 + - *614 + - *272 + - *275 - 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 team discussion comment. @@ -90452,9 +90529,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 x-github: @@ -90483,9 +90560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *598 - - *270 - - *273 + - *614 + - *272 + - *275 requestBody: required: true content: @@ -90517,9 +90594,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90545,8 +90622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *598 - - *270 + - *614 + - *272 - 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 team discussion. @@ -90572,9 +90649,9 @@ paths: application/json: schema: type: array - items: *274 + items: *276 examples: - default: *276 + default: *278 headers: Link: *58 x-github: @@ -90603,8 +90680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *598 - - *270 + - *614 + - *272 requestBody: required: true content: @@ -90636,9 +90713,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90662,7 +90739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *598 + - *614 - *17 - *19 responses: @@ -90672,9 +90749,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *58 x-github: @@ -90700,7 +90777,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *598 + - *614 - name: role description: Filters members returned by their role in the team. in: query @@ -90723,7 +90800,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '404': *6 @@ -90751,8 +90828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *598 - - *133 + - *614 + - *135 responses: '204': description: if user is a member @@ -90788,8 +90865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *598 - - *133 + - *614 + - *135 responses: '204': description: Response @@ -90828,8 +90905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *598 - - *133 + - *614 + - *135 responses: '204': description: Response @@ -90865,16 +90942,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *598 - - *133 + - *614 + - *135 responses: '200': description: Response content: application/json: - schema: *278 + schema: *280 examples: - response-if-user-is-a-team-maintainer: *603 + response-if-user-is-a-team-maintainer: *619 '404': *6 x-github: githubCloudOnly: false @@ -90907,8 +90984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *598 - - *133 + - *614 + - *135 requestBody: required: false content: @@ -90933,9 +91010,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *280 examples: - response-if-users-membership-with-team-is-now-pending: *604 + response-if-users-membership-with-team-is-now-pending: *620 '403': description: Forbidden if team synchronization is set up '422': @@ -90969,8 +91046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *598 - - *133 + - *614 + - *135 responses: '204': description: Response @@ -90998,7 +91075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *598 + - *614 - *17 - *19 responses: @@ -91008,9 +91085,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *605 + default: *621 headers: Link: *58 '404': *6 @@ -91036,16 +91113,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *598 - - *280 + - *614 + - *282 responses: '200': description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *606 + default: *622 '404': description: Not Found if project is not managed by this team x-github: @@ -91069,8 +91146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *598 - - *280 + - *614 + - *282 requestBody: required: false content: @@ -91137,8 +91214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *598 - - *280 + - *614 + - *282 responses: '204': description: Response @@ -91165,7 +91242,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *598 + - *614 - *17 - *19 responses: @@ -91175,9 +91252,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 '404': *6 @@ -91207,15 +91284,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *598 - - *281 - - *282 + - *614 + - *283 + - *284 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *607 + schema: *623 examples: alternative-response-with-extra-repository-information: value: @@ -91366,9 +91443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *598 - - *281 - - *282 + - *614 + - *283 + - *284 requestBody: required: false content: @@ -91418,9 +91495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *598 - - *281 - - *282 + - *614 + - *283 + - *284 responses: '204': description: Response @@ -91445,7 +91522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *598 + - *614 - *17 - *19 responses: @@ -91455,9 +91532,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - response-if-child-teams-exist: *608 + response-if-child-teams-exist: *624 headers: Link: *58 '404': *6 @@ -91490,7 +91567,7 @@ paths: application/json: schema: oneOf: - - &610 + - &626 title: Private User description: Private User type: object @@ -91693,7 +91770,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *609 + - *625 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -91846,7 +91923,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *626 examples: default: value: @@ -91925,7 +92002,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 '304': *37 '404': *6 '403': *29 @@ -91948,7 +92025,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *133 + - *135 responses: '204': description: If the user is blocked @@ -91976,7 +92053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *133 + - *135 responses: '204': description: Response @@ -92000,7 +92077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *133 + - *135 responses: '204': description: Response @@ -92049,11 +92126,11 @@ paths: type: integer codespaces: type: array - items: *199 + items: *201 examples: - default: *200 + default: *202 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -92190,17 +92267,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '401': *25 '403': *29 '404': *6 @@ -92244,7 +92321,7 @@ paths: type: integer secrets: type: array - items: &611 + items: &627 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -92284,7 +92361,7 @@ paths: - visibility - selected_repositories_url examples: - default: *404 + default: *406 headers: Link: *58 x-github: @@ -92354,13 +92431,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *128 + - *130 responses: '200': description: Response content: application/json: - schema: *611 + schema: *627 examples: default: value: @@ -92390,7 +92467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *128 + - *130 requestBody: required: true content: @@ -92435,7 +92512,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -92463,7 +92540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *128 + - *130 responses: '204': description: Response @@ -92488,7 +92565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *128 + - *130 responses: '200': description: Response @@ -92504,13 +92581,13 @@ paths: type: integer repositories: type: array - items: *120 + items: *122 examples: - default: *612 + default: *628 '401': *25 '403': *29 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92531,7 +92608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *128 + - *130 requestBody: required: true content: @@ -92563,7 +92640,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92585,7 +92662,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *128 + - *130 - name: repository_id in: path required: true @@ -92597,7 +92674,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92618,7 +92695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *128 + - *130 - name: repository_id in: path required: true @@ -92630,7 +92707,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *95 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92650,17 +92727,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -92684,7 +92761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 requestBody: required: false content: @@ -92714,9 +92791,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '401': *25 '403': *29 '404': *6 @@ -92738,11 +92815,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 responses: '202': *39 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -92767,13 +92844,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 responses: '202': description: Response content: application/json: - schema: &613 + schema: &629 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -92814,7 +92891,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &614 + default: &630 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -92822,7 +92899,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -92846,7 +92923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *201 + - *203 - name: export_id in: path required: true @@ -92859,9 +92936,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *629 examples: - default: *614 + default: *630 '404': *6 x-github: githubCloudOnly: false @@ -92882,7 +92959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *201 + - *203 responses: '200': description: Response @@ -92898,11 +92975,11 @@ paths: type: integer machines: type: array - items: *615 + items: *631 examples: - default: *616 + default: *632 '304': *37 - '500': *95 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -92929,7 +93006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *201 + - *203 requestBody: required: true content: @@ -92979,13 +93056,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *292 + repository: *294 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *402 - required: *403 + properties: *404 + required: *405 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -93759,17 +93836,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *401 + default: *403 '304': *37 - '500': *95 + '500': *97 '400': *14 '401': *25 '402': @@ -93799,16 +93876,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *201 + - *203 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *401 - '500': *95 + default: *403 + '500': *97 '401': *25 '403': *29 '404': *6 @@ -93837,9 +93914,9 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: - default: &629 + default: &645 value: - id: 197 name: hello_docker @@ -93940,7 +94017,7 @@ paths: application/json: schema: type: array - items: &617 + items: &633 title: Email description: Email type: object @@ -94005,9 +94082,9 @@ paths: application/json: schema: type: array - items: *617 + items: *633 examples: - default: &631 + default: &647 value: - email: octocat@github.com verified: true @@ -94082,7 +94159,7 @@ paths: application/json: schema: type: array - items: *617 + items: *633 examples: default: value: @@ -94192,7 +94269,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '304': *37 @@ -94225,7 +94302,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 '304': *37 @@ -94247,7 +94324,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *133 + - *135 responses: '204': description: if the person is followed by the authenticated user @@ -94277,7 +94354,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *133 + - *135 responses: '204': description: Response @@ -94302,7 +94379,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *133 + - *135 responses: '204': description: Response @@ -94338,7 +94415,7 @@ paths: application/json: schema: type: array - items: &618 + items: &634 title: GPG Key description: A unique encryption key type: object @@ -94469,7 +94546,7 @@ paths: - subkeys - revoked examples: - default: &642 + default: &658 value: - id: 3 name: Octocat's GPG Key @@ -94554,9 +94631,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *634 examples: - default: &619 + default: &635 value: id: 3 name: Octocat's GPG Key @@ -94613,7 +94690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &620 + - &636 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -94625,9 +94702,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *634 examples: - default: *619 + default: *635 '404': *6 '304': *37 '403': *29 @@ -94650,7 +94727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *620 + - *636 responses: '204': description: Response @@ -94841,7 +94918,7 @@ paths: type: array items: *60 examples: - default: *621 + default: *637 headers: Link: *58 '404': *6 @@ -94866,7 +94943,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *110 + - *112 responses: '204': description: Response @@ -94892,7 +94969,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *110 + - *112 responses: '204': description: Response @@ -94926,12 +95003,12 @@ paths: application/json: schema: anyOf: - - *188 + - *190 - type: object properties: {} additionalProperties: false examples: - default: *189 + default: *191 '204': description: Response when there are no restrictions x-github: @@ -94955,7 +95032,7 @@ paths: required: true content: application/json: - schema: *475 + schema: *477 examples: default: value: @@ -94966,7 +95043,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *190 examples: default: value: @@ -95047,7 +95124,7 @@ paths: - closed - all default: open - - *196 + - *198 - name: sort description: What to sort results by. in: query @@ -95072,7 +95149,7 @@ paths: type: array items: *77 examples: - default: *197 + default: *199 headers: Link: *58 '404': *6 @@ -95105,7 +95182,7 @@ paths: application/json: schema: type: array - items: &622 + items: &638 title: Key description: Key type: object @@ -95202,9 +95279,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *638 examples: - default: &623 + default: &639 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95237,15 +95314,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *504 + - *506 responses: '200': description: Response content: application/json: - schema: *622 + schema: *638 examples: - default: *623 + default: *639 '404': *6 '304': *37 '403': *29 @@ -95268,7 +95345,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *504 + - *506 responses: '204': description: Response @@ -95301,7 +95378,7 @@ paths: application/json: schema: type: array - items: &624 + items: &640 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -95369,7 +95446,7 @@ paths: - account - plan examples: - default: &625 + default: &641 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -95431,9 +95508,9 @@ paths: application/json: schema: type: array - items: *624 + items: *640 examples: - default: *625 + default: *641 headers: Link: *58 '304': *37 @@ -95473,7 +95550,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -95575,13 +95652,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *94 + - *96 responses: '200': description: Response content: application/json: - schema: *204 + schema: *206 examples: default: value: @@ -95639,7 +95716,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *94 + - *96 requestBody: required: true content: @@ -95664,7 +95741,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *206 examples: default: value: @@ -95732,7 +95809,7 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: default: value: @@ -95985,7 +96062,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: default: value: @@ -96165,7 +96242,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *207 + - *209 - name: exclude in: query required: false @@ -96178,7 +96255,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: default: value: @@ -96372,7 +96449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *207 + - *209 responses: '302': description: Response @@ -96398,7 +96475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *207 + - *209 responses: '204': description: Response @@ -96427,8 +96504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *207 - - *626 + - *209 + - *642 responses: '204': description: Response @@ -96452,7 +96529,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *207 + - *209 - *17 - *19 responses: @@ -96462,9 +96539,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 '404': *6 @@ -96499,9 +96576,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *627 + default: *643 headers: Link: *58 '304': *37 @@ -96543,7 +96620,7 @@ paths: - docker - nuget - container - - *628 + - *644 - *19 - *17 responses: @@ -96553,10 +96630,10 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: - default: *629 - '400': *630 + default: *645 + '400': *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96576,16 +96653,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 + - *219 responses: '200': description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: &643 + default: &659 value: id: 40201 name: octo-name @@ -96698,8 +96775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 + - *219 responses: '204': description: Response @@ -96729,8 +96806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 + - *219 - name: token description: package token schema: @@ -96762,8 +96839,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: - - *216 - - *217 + - *218 + - *219 - *19 - *17 - name: state @@ -96783,7 +96860,7 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: default: value: @@ -96832,15 +96909,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 - *219 + - *221 responses: '200': description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -96876,9 +96953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 - *219 + - *221 responses: '204': description: Response @@ -96908,9 +96985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *216 - - *217 + - *218 - *219 + - *221 responses: '204': description: Response @@ -96966,7 +97043,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: default: value: @@ -97038,9 +97115,9 @@ paths: application/json: schema: type: array - items: *617 + items: *633 examples: - default: *631 + default: *647 headers: Link: *58 '304': *37 @@ -97153,7 +97230,7 @@ paths: type: array items: *60 examples: - default: &638 + default: &654 summary: Default response value: - id: 1296269 @@ -97457,9 +97534,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *294 + default: *296 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97497,9 +97574,9 @@ paths: application/json: schema: type: array - items: *477 + items: *479 examples: - default: *632 + default: *648 headers: Link: *58 '304': *37 @@ -97522,7 +97599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *192 + - *194 responses: '204': description: Response @@ -97545,7 +97622,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *192 + - *194 responses: '204': description: Response @@ -97578,7 +97655,7 @@ paths: application/json: schema: type: array - items: &633 + items: &649 title: Social account description: Social media account type: object @@ -97593,7 +97670,7 @@ paths: - provider - url examples: - default: &634 + default: &650 value: - provider: twitter url: https://twitter.com/github @@ -97655,9 +97732,9 @@ paths: application/json: schema: type: array - items: *633 + items: *649 examples: - default: *634 + default: *650 '422': *15 '304': *37 '404': *6 @@ -97744,7 +97821,7 @@ paths: application/json: schema: type: array - items: &635 + items: &651 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -97764,7 +97841,7 @@ paths: - title - created_at examples: - default: &654 + default: &670 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97830,9 +97907,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *651 examples: - default: &636 + default: &652 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97863,7 +97940,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: - - &637 + - &653 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -97875,9 +97952,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *651 examples: - default: *636 + default: *652 '404': *6 '304': *37 '403': *29 @@ -97900,7 +97977,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: - - *637 + - *653 responses: '204': description: Response @@ -97929,7 +98006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &655 + - &671 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 @@ -97954,11 +98031,11 @@ paths: type: array items: *60 examples: - default-response: *638 + default-response: *654 application/vnd.github.v3.star+json: schema: type: array - items: &656 + items: &672 title: Starred Repository description: Starred Repository type: object @@ -98114,8 +98191,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: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response if this repository is starred by you @@ -98143,8 +98220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -98168,8 +98245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *281 - - *282 + - *283 + - *284 responses: '204': description: Response @@ -98202,9 +98279,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 '304': *37 @@ -98241,7 +98318,7 @@ paths: application/json: schema: type: array - items: *266 + items: *268 examples: default: value: @@ -98327,10 +98404,10 @@ paths: application/json: schema: oneOf: - - *610 - - *609 + - *626 + - *625 examples: - default-response: &640 + default-response: &656 summary: Default response value: login: octocat @@ -98365,7 +98442,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &641 + response-with-git-hub-plan-information: &657 summary: Response with GitHub plan information value: login: octocat @@ -98425,7 +98502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *639 + - *655 - *17 responses: '200': @@ -98436,7 +98513,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: example: ; rel="next" @@ -98466,7 +98543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *133 + - *135 responses: '200': description: Response @@ -98474,11 +98551,11 @@ paths: application/json: schema: oneOf: - - *610 - - *609 + - *626 + - *625 examples: - default-response: *640 - response-with-git-hub-plan-information: *641 + default-response: *656 + response-with-git-hub-plan-information: *657 '404': *6 x-github: githubCloudOnly: false @@ -98504,7 +98581,7 @@ paths: - *17 - *40 - *41 - - *133 + - *135 - name: subject_digest description: Subject Digest in: path @@ -98554,12 +98631,12 @@ paths: bundle_url: type: string examples: - default: *343 + default: *345 '201': description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -98585,7 +98662,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *133 + - *135 responses: '200': description: Response @@ -98593,9 +98670,9 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: - default: *629 + default: *645 '403': *29 '401': *25 x-github: @@ -98618,7 +98695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -98699,8 +98776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *133 - - *94 + - *135 + - *96 - *17 - *19 responses: @@ -98789,7 +98866,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -98866,7 +98943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -98878,7 +98955,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -98897,7 +98974,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *133 + - *135 - *17 - *19 responses: @@ -98909,7 +98986,7 @@ paths: type: array items: *4 examples: - default: *198 + default: *200 headers: Link: *58 x-github: @@ -98928,7 +99005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *133 + - *135 - name: target_user in: path required: true @@ -98955,7 +99032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *133 + - *135 - *67 - *17 - *19 @@ -98989,7 +99066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -98999,9 +99076,9 @@ paths: application/json: schema: type: array - items: *618 + items: *634 examples: - default: *642 + default: *658 headers: Link: *58 x-github: @@ -99025,7 +99102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *133 + - *135 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -99097,7 +99174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *133 + - *135 responses: '200': description: Response @@ -99105,7 +99182,7 @@ paths: application/json: schema: *22 examples: - default: *474 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99123,7 +99200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -99171,7 +99248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -99181,9 +99258,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *627 + default: *643 headers: Link: *58 x-github: @@ -99222,8 +99299,8 @@ paths: - docker - nuget - container - - *628 - - *133 + - *644 + - *135 - *19 - *17 responses: @@ -99233,12 +99310,12 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: - default: *629 + default: *645 '403': *29 '401': *25 - '400': *630 + '400': *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99258,17 +99335,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *216 - - *217 - - *133 + - *218 + - *219 + - *135 responses: '200': description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *643 + default: *659 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99289,9 +99366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *216 - - *217 - - *133 + - *218 + - *219 + - *135 responses: '204': description: Response @@ -99323,9 +99400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *216 - - *217 - - *133 + - *218 + - *219 + - *135 - name: token description: package token schema: @@ -99357,9 +99434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *216 - - *217 - - *133 + - *218 + - *219 + - *135 responses: '200': description: Response @@ -99367,7 +99444,7 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: default: value: @@ -99425,16 +99502,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *216 - - *217 + - *218 - *219 - - *133 + - *221 + - *135 responses: '200': description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -99469,10 +99546,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *216 - - *217 - - *133 + - *218 - *219 + - *135 + - *221 responses: '204': description: Response @@ -99504,10 +99581,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *216 - - *217 - - *133 + - *218 - *219 + - *135 + - *221 responses: '204': description: Response @@ -99533,7 +99610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-user-projects parameters: - - *133 + - *135 - name: state description: Indicates the state of the projects to return. in: query @@ -99554,7 +99631,7 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: default: value: @@ -99616,7 +99693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -99705,7 +99782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -99792,7 +99869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *133 + - *135 - name: type description: Limit results to repositories of the specified type. in: query @@ -99835,9 +99912,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -99861,15 +99938,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *133 + - *135 responses: '200': description: Response content: application/json: - schema: *644 + schema: *660 examples: - default: *645 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99891,15 +99968,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *133 + - *135 responses: '200': description: Response content: application/json: - schema: *646 + schema: *662 examples: - default: *647 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99921,15 +99998,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *133 + - *135 responses: '200': description: Response content: application/json: - schema: *648 + schema: *664 examples: - default: *649 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99949,11 +100026,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *133 - - *650 - - *651 - - *652 - - *653 + - *135 + - *666 + - *667 + - *668 + - *669 responses: '200': description: Response when getting a billing usage report @@ -100023,7 +100100,7 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *95 + '500': *97 '503': *65 x-github: githubCloudOnly: false @@ -100042,7 +100119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -100052,9 +100129,9 @@ paths: application/json: schema: type: array - items: *633 + items: *649 examples: - default: *634 + default: *650 headers: Link: *58 x-github: @@ -100074,7 +100151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -100084,9 +100161,9 @@ paths: application/json: schema: type: array - items: *635 + items: *651 examples: - default: *654 + default: *670 headers: Link: *58 x-github: @@ -100110,8 +100187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *133 - - *655 + - *135 + - *671 - *48 - *17 - *19 @@ -100123,11 +100200,11 @@ paths: schema: anyOf: - type: array - items: *656 + items: *672 - type: array items: *60 examples: - default-response: *638 + default-response: *654 headers: Link: *58 x-github: @@ -100146,7 +100223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *133 + - *135 - *17 - *19 responses: @@ -100156,9 +100233,9 @@ paths: application/json: schema: type: array - items: *120 + items: *122 examples: - default: *220 + default: *222 headers: Link: *58 x-github: @@ -100286,7 +100363,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &657 + enterprise: &673 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -100344,7 +100421,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &658 + installation: &674 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -100363,7 +100440,7 @@ x-webhooks: required: - id - node_id - organization: &659 + organization: &675 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -100423,13 +100500,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &660 + repository: &676 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: &690 + properties: &706 id: description: Unique identifier of the repository example: 42 @@ -101112,7 +101189,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &691 + required: &707 - archive_url - assignees_url - blobs_url @@ -101263,10 +101340,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -101342,11 +101419,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: &661 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: &677 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) @@ -101569,11 +101646,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: *661 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: *677 sender: *4 required: - action @@ -101756,11 +101833,11 @@ x-webhooks: - everyone required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: *661 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: *677 sender: *4 required: - action @@ -101844,7 +101921,7 @@ x-webhooks: type: string enum: - completed - check_run: &663 + check_run: &679 title: CheckRun description: A check performed on the code of a given code change type: object @@ -101907,8 +101984,8 @@ x-webhooks: type: string pull_requests: type: array - items: *360 - repository: *120 + items: *362 + repository: *122 status: example: completed type: string @@ -101945,7 +102022,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *662 + deployment: *678 details_url: example: https://example.com type: string @@ -101995,7 +102072,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *360 + items: *362 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -102030,9 +102107,9 @@ x-webhooks: - output - app - pull_requests - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -102425,10 +102502,10 @@ x-webhooks: type: string enum: - created - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *679 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -102824,10 +102901,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *679 + installation: *674 + organization: *675 + repository: *676 requested_action: description: The action requested by the user. type: object @@ -103232,10 +103309,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *679 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -104212,10 +104289,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -104885,10 +104962,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -105552,10 +105629,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -105718,7 +105795,7 @@ x-webhooks: required: - login - id - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105863,20 +105940,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &664 + commit_oid: &680 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: *657 - installation: *658 - organization: *659 - ref: &665 + enterprise: *673 + installation: *674 + organization: *675 + ref: &681 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: *660 + repository: *676 sender: *4 required: - action @@ -106038,7 +106115,7 @@ x-webhooks: required: - login - id - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -106268,12 +106345,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *680 + enterprise: *673 + installation: *674 + organization: *675 + ref: *681 + repository: *676 sender: *4 required: - action @@ -106368,7 +106445,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106536,12 +106613,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *680 + enterprise: *673 + installation: *674 + organization: *675 + ref: *681 + repository: *676 sender: *4 required: - action @@ -106704,7 +106781,7 @@ x-webhooks: required: - login - id - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -106870,12 +106947,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *680 + enterprise: *673 + installation: *674 + organization: *675 + ref: *681 + repository: *676 sender: *4 required: - action @@ -106972,7 +107049,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -107140,16 +107217,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 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: *660 + repository: *676 sender: *4 required: - action @@ -107243,7 +107320,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *376 + dismissed_comment: *378 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -107383,12 +107460,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *680 + enterprise: *673 + installation: *674 + organization: *675 + ref: *681 + repository: *676 sender: *4 required: - action @@ -107645,10 +107722,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -107728,18 +107805,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *659 - pusher_type: &666 + organization: *675 + pusher_type: &682 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &667 + ref: &683 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -107749,7 +107826,7 @@ x-webhooks: enum: - tag - branch - repository: *660 + repository: *676 sender: *4 required: - ref @@ -107831,10 +107908,10 @@ x-webhooks: type: string enum: - created - definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + definition: *233 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -107919,9 +107996,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -107998,10 +108075,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + definition: *233 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -108078,10 +108155,10 @@ x-webhooks: type: string enum: - updated - definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + definition: *233 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -108158,19 +108235,19 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - repository: *660 - organization: *659 + enterprise: *673 + installation: *674 + repository: *676 + organization: *675 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *235 + items: *237 old_property_values: type: array description: The old custom property values for the repository. - items: *235 + items: *237 required: - action - repository @@ -108246,18 +108323,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - pusher_type: *666 - ref: *667 + enterprise: *673 + installation: *674 + organization: *675 + pusher_type: *682 + ref: *683 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *660 + repository: *676 sender: *4 required: - ref @@ -108341,11 +108418,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108429,11 +108506,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108517,11 +108594,11 @@ x-webhooks: type: string enum: - created - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108603,11 +108680,11 @@ x-webhooks: type: string enum: - dismissed - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108689,11 +108766,11 @@ x-webhooks: type: string enum: - fixed - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108776,11 +108853,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108862,11 +108939,11 @@ x-webhooks: type: string enum: - reopened - alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + alert: *435 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -108943,9 +109020,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - key: &668 + enterprise: *673 + installation: *674 + key: &684 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -108981,8 +109058,8 @@ x-webhooks: - verified - created_at - read_only - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -109059,11 +109136,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - key: *668 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + key: *684 + organization: *675 + repository: *676 sender: *4 required: - action @@ -109624,12 +109701,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: &672 + workflow: &688 title: Workflow type: object nullable: true @@ -110355,13 +110432,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *439 + deployment: *441 pull_requests: type: array - items: *524 - repository: *660 - organization: *659 - installation: *658 + items: *526 + repository: *676 + organization: *675 + installation: *674 sender: *4 responses: '200': @@ -110432,7 +110509,7 @@ x-webhooks: type: string enum: - approved - approver: &669 + approver: &685 type: object properties: avatar_url: @@ -110475,11 +110552,11 @@ x-webhooks: type: string comment: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - reviewers: &670 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + reviewers: &686 type: array items: type: object @@ -110558,7 +110635,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &671 + workflow_job_run: &687 type: object properties: conclusion: @@ -111289,18 +111366,18 @@ x-webhooks: type: string enum: - rejected - approver: *669 + approver: *685 comment: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - reviewers: *670 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + reviewers: *686 sender: *4 since: type: string - workflow_job_run: *671 + workflow_job_run: *687 workflow_job_runs: type: array items: @@ -112004,13 +112081,13 @@ x-webhooks: type: string enum: - requested - enterprise: *657 + enterprise: *673 environment: type: string - installation: *658 - organization: *659 - repository: *660 - requestor: &677 + installation: *674 + organization: *675 + repository: *676 + requestor: &693 title: User type: object nullable: true @@ -113909,12 +113986,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *672 + workflow: *688 workflow_run: title: Deployment Workflow Run type: object @@ -114594,7 +114671,7 @@ x-webhooks: type: string enum: - answered - answer: &675 + answer: &691 type: object properties: author_association: @@ -114751,7 +114828,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &673 + discussion: &689 title: Discussion description: A Discussion in a repository. type: object @@ -115037,7 +115114,7 @@ x-webhooks: - id labels: type: array - items: *486 + items: *488 required: - repository_url - category @@ -115059,10 +115136,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115189,11 +115266,11 @@ x-webhooks: - from required: - category - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115276,11 +115353,11 @@ x-webhooks: type: string enum: - closed - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115362,7 +115439,7 @@ x-webhooks: type: string enum: - created - comment: &674 + comment: &690 type: object properties: author_association: @@ -115519,11 +115596,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115606,12 +115683,12 @@ x-webhooks: type: string enum: - deleted - comment: *674 - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + comment: *690 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115706,12 +115783,12 @@ x-webhooks: - from required: - body - comment: *674 - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + comment: *690 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115795,11 +115872,11 @@ x-webhooks: type: string enum: - created - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115881,11 +115958,11 @@ x-webhooks: type: string enum: - deleted - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -115985,11 +116062,11 @@ x-webhooks: type: string required: - from - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116071,10 +116148,10 @@ x-webhooks: type: string enum: - labeled - discussion: *673 - enterprise: *657 - installation: *658 - label: &676 + discussion: *689 + enterprise: *673 + installation: *674 + label: &692 title: Label type: object properties: @@ -116106,8 +116183,8 @@ x-webhooks: - color - default - description - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116190,11 +116267,11 @@ x-webhooks: type: string enum: - locked - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116276,11 +116353,11 @@ x-webhooks: type: string enum: - pinned - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116362,11 +116439,11 @@ x-webhooks: type: string enum: - reopened - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116451,16 +116528,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *673 - new_repository: *660 + new_discussion: *689 + new_repository: *676 required: - new_discussion - new_repository - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116543,10 +116620,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *673 - old_answer: *675 - organization: *659 - repository: *660 + discussion: *689 + old_answer: *691 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116628,12 +116705,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *673 - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116716,11 +116793,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116802,11 +116879,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *689 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116879,7 +116956,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *657 + enterprise: *673 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -117539,9 +117616,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - forkee @@ -117687,9 +117764,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pages: description: The pages that were updated. type: array @@ -117726,7 +117803,7 @@ x-webhooks: - action - sha - html_url - repository: *660 + repository: *676 sender: *4 required: - pages @@ -117802,10 +117879,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories: &678 + organization: *675 + repositories: &694 description: An array of repository objects that the installation can access. type: array @@ -117831,8 +117908,8 @@ x-webhooks: - name - full_name - private - repository: *660 - requester: *677 + repository: *676 + requester: *693 sender: *4 required: - action @@ -117907,11 +117984,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *675 + repositories: *694 + repository: *676 requester: nullable: true sender: *4 @@ -117987,11 +118064,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *675 + repositories: *694 + repository: *676 requester: nullable: true sender: *4 @@ -118067,10 +118144,10 @@ x-webhooks: type: string enum: - added - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories_added: &679 + organization: *675 + repositories_added: &695 description: An array of repository objects, which were added to the installation. type: array @@ -118116,15 +118193,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *660 - repository_selection: &680 + repository: *676 + repository_selection: &696 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *677 + requester: *693 sender: *4 required: - action @@ -118203,10 +118280,10 @@ x-webhooks: type: string enum: - removed - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories_added: *679 + organization: *675 + repositories_added: *695 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -118233,9 +118310,9 @@ x-webhooks: - name - full_name - private - repository: *660 - repository_selection: *680 - requester: *677 + repository: *676 + repository_selection: *696 + requester: *693 sender: *4 required: - action @@ -118314,11 +118391,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *675 + repositories: *694 + repository: *676 requester: nullable: true sender: *4 @@ -118496,10 +118573,10 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 target_type: type: string @@ -118578,11 +118655,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *657 + enterprise: *673 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *675 + repositories: *694 + repository: *676 requester: nullable: true sender: *4 @@ -118834,8 +118911,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119658,7 +119735,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -119991,8 +120068,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -120072,7 +120149,7 @@ x-webhooks: type: string enum: - deleted - comment: &681 + comment: &697 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -120237,8 +120314,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121057,7 +121134,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -121392,8 +121469,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -121473,7 +121550,7 @@ x-webhooks: type: string enum: - edited - changes: &709 + changes: &725 description: The changes to the comment. type: object properties: @@ -121485,9 +121562,9 @@ x-webhooks: type: string required: - from - comment: *681 - enterprise: *657 - installation: *658 + comment: *697 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122309,7 +122386,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -122642,8 +122719,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122725,10 +122802,10 @@ x-webhooks: type: string enum: - assigned - assignee: *677 - enterprise: *657 - installation: *658 - issue: &684 + assignee: *693 + enterprise: *673 + installation: *674 + issue: &700 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123546,7 +123623,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -123647,8 +123724,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123728,8 +123805,8 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -124552,7 +124629,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -124788,8 +124865,8 @@ x-webhooks: required: - state - closed_at - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -124868,8 +124945,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125683,7 +125760,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -125783,8 +125860,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -125863,8 +125940,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126700,7 +126777,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -126779,7 +126856,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &682 + milestone: &698 title: Milestone description: A collection of related issues and pull requests. type: object @@ -126917,8 +126994,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -127017,8 +127094,8 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127833,7 +127910,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *193 + type: *195 title: description: Title of the issue type: string @@ -127937,9 +128014,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *676 - organization: *659 - repository: *660 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -128019,8 +128096,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128834,7 +128911,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *193 + type: *195 title: description: Title of the issue type: string @@ -128938,9 +129015,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *676 - organization: *659 - repository: *660 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -129020,8 +129097,8 @@ x-webhooks: type: string enum: - locked - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129859,7 +129936,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *193 + type: *195 title: description: Title of the issue type: string @@ -129940,8 +130017,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -130020,8 +130097,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130856,7 +130933,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -130934,9 +131011,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *682 - organization: *659 - repository: *660 + milestone: *698 + organization: *675 + repository: *676 sender: *4 required: - action @@ -131910,7 +131987,7 @@ x-webhooks: required: - login - id - type: *193 + type: *195 required: - id - number @@ -132379,8 +132456,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133198,7 +133275,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -133298,8 +133375,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -133379,9 +133456,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *657 - installation: *658 - issue: &683 + enterprise: *673 + installation: *674 + issue: &699 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -134193,7 +134270,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -134293,8 +134370,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -134373,8 +134450,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135291,9 +135368,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *193 - organization: *659 - repository: *660 + type: *195 + organization: *675 + repository: *676 sender: *4 required: - action @@ -136188,7 +136265,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -136756,11 +136833,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *657 - installation: *658 - issue: *683 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -136840,12 +136917,12 @@ x-webhooks: type: string enum: - typed - enterprise: *657 - installation: *658 - issue: *684 - type: *193 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *700 + type: *195 + organization: *675 + repository: *676 sender: *4 required: - action @@ -136926,7 +137003,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &712 + assignee: &728 title: User type: object nullable: true @@ -136996,11 +137073,11 @@ x-webhooks: required: - login - id - enterprise: *657 - installation: *658 - issue: *684 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *700 + organization: *675 + repository: *676 sender: *4 required: - action @@ -137079,12 +137156,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *657 - installation: *658 - issue: *684 - label: *676 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *700 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -137164,8 +137241,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138004,7 +138081,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *193 + type: *195 updated_at: type: string format: date-time @@ -138082,8 +138159,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138163,11 +138240,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *657 - installation: *658 - issue: *683 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138246,12 +138323,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *657 - installation: *658 - issue: *684 - type: *193 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + issue: *700 + type: *195 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138331,11 +138408,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138413,11 +138490,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138527,11 +138604,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + label: *692 + organization: *675 + repository: *676 sender: *4 required: - action @@ -138613,9 +138690,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: &685 + enterprise: *673 + installation: *674 + marketplace_purchase: &701 title: Marketplace Purchase type: object required: @@ -138698,8 +138775,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *659 - previous_marketplace_purchase: &686 + organization: *675 + previous_marketplace_purchase: &702 title: Marketplace Purchase type: object properties: @@ -138779,7 +138856,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *676 sender: *4 required: - action @@ -138859,10 +138936,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 + enterprise: *673 + installation: *674 + marketplace_purchase: *701 + organization: *675 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138945,7 +139022,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *676 sender: *4 required: - action @@ -139027,10 +139104,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 + enterprise: *673 + installation: *674 + marketplace_purchase: *701 + organization: *675 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -139112,7 +139189,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *676 sender: *4 required: - action @@ -139193,8 +139270,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 marketplace_purchase: title: Marketplace Purchase type: object @@ -139276,9 +139353,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *659 - previous_marketplace_purchase: *686 - repository: *660 + organization: *675 + previous_marketplace_purchase: *702 + repository: *676 sender: *4 required: - action @@ -139358,12 +139435,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 - previous_marketplace_purchase: *686 - repository: *660 + enterprise: *673 + installation: *674 + marketplace_purchase: *701 + organization: *675 + previous_marketplace_purchase: *702 + repository: *676 sender: *4 required: - action @@ -139465,11 +139542,11 @@ x-webhooks: type: string required: - to - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + member: *693 + organization: *675 + repository: *676 sender: *4 required: - action @@ -139569,11 +139646,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + member: *693 + organization: *675 + repository: *676 sender: *4 required: - action @@ -139652,11 +139729,11 @@ x-webhooks: type: string enum: - removed - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + member: *693 + organization: *675 + repository: *676 sender: *4 required: - action @@ -139734,11 +139811,11 @@ x-webhooks: type: string enum: - added - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + member: *693 + organization: *675 + repository: *676 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139814,7 +139891,7 @@ x-webhooks: required: - login - id - team: &687 + team: &703 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -140004,11 +140081,11 @@ x-webhooks: type: string enum: - removed - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + member: *693 + organization: *675 + repository: *676 scope: description: The scope of the membership. Currently, can only be `team`. @@ -140085,7 +140162,7 @@ x-webhooks: required: - login - id - team: *687 + team: *703 required: - action - scope @@ -140167,8 +140244,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *658 - merge_group: &689 + installation: *674 + merge_group: &705 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -140187,15 +140264,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *688 + head_commit: *704 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140281,10 +140358,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *658 - merge_group: *689 - organization: *659 - repository: *660 + installation: *674 + merge_group: *705 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140357,7 +140434,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 + enterprise: *673 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -140465,16 +140542,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *658 - organization: *659 + installation: *674 + organization: *675 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: *690 - required: *691 + properties: *706 + required: *707 nullable: true sender: *4 required: @@ -140555,11 +140632,11 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + milestone: *698 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140638,9 +140715,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - milestone: &692 + enterprise: *673 + installation: *674 + milestone: &708 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140777,8 +140854,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140857,11 +140934,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + milestone: *698 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140971,11 +141048,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + milestone: *698 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141055,11 +141132,11 @@ x-webhooks: type: string enum: - opened - enterprise: *657 - installation: *658 - milestone: *692 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + milestone: *708 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141138,11 +141215,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *677 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + blocked_user: *693 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141221,11 +141298,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *677 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + blocked_user: *693 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141304,9 +141381,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - membership: &693 + enterprise: *673 + installation: *674 + membership: &709 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -141398,8 +141475,8 @@ x-webhooks: - role - organization_url - user - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141477,11 +141554,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + membership: *709 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141560,8 +141637,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -141677,10 +141754,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 - user: *677 + user: *693 required: - action - invitation @@ -141758,11 +141835,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + membership: *709 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141849,11 +141926,11 @@ x-webhooks: properties: from: type: string - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + membership: *709 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141929,9 +142006,9 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 package: description: Information about the package. type: object @@ -142430,7 +142507,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &694 + items: &710 title: Ruby Gems metadata type: object properties: @@ -142525,7 +142602,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *676 sender: *4 required: - action @@ -142601,9 +142678,9 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 package: description: Information about the package. type: object @@ -142956,7 +143033,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *710 source_url: type: string format: uri @@ -143026,7 +143103,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *676 sender: *4 required: - action @@ -143203,12 +143280,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *657 + enterprise: *673 id: type: integer - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - id @@ -143285,7 +143362,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &695 + personal_access_token_request: &711 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -143431,10 +143508,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *657 - organization: *659 + enterprise: *673 + organization: *675 sender: *4 - installation: *658 + installation: *674 required: - action - personal_access_token_request @@ -143511,11 +143588,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *695 - enterprise: *657 - organization: *659 + personal_access_token_request: *711 + enterprise: *673 + organization: *675 sender: *4 - installation: *658 + installation: *674 required: - action - personal_access_token_request @@ -143591,11 +143668,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *695 - enterprise: *657 - organization: *659 + personal_access_token_request: *711 + enterprise: *673 + organization: *675 sender: *4 - installation: *658 + installation: *674 required: - action - personal_access_token_request @@ -143670,11 +143747,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *695 - organization: *659 - enterprise: *657 + personal_access_token_request: *711 + organization: *675 + enterprise: *673 sender: *4 - installation: *658 + installation: *674 required: - action - personal_access_token_request @@ -143779,7 +143856,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *696 + last_response: *712 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -143811,8 +143888,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 zen: description: Random string of GitHub zen. @@ -144057,10 +144134,10 @@ x-webhooks: - from required: - note - enterprise: *657 - installation: *658 - organization: *659 - project_card: &697 + enterprise: *673 + installation: *674 + organization: *675 + project_card: &713 title: Project Card type: object properties: @@ -144179,7 +144256,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *676 sender: *4 required: - action @@ -144260,11 +144337,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project_card: *697 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project_card: *713 + repository: *676 sender: *4 required: - action @@ -144344,9 +144421,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 project_card: title: Project Card type: object @@ -144474,8 +144551,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: *690 - required: *691 + properties: *706 + required: *707 nullable: true sender: *4 required: @@ -144569,11 +144646,11 @@ x-webhooks: - from required: - note - enterprise: *657 - installation: *658 - organization: *659 - project_card: *697 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project_card: *713 + repository: *676 sender: *4 required: - action @@ -144667,9 +144744,9 @@ x-webhooks: - from required: - column_id - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 project_card: allOf: - title: Project Card @@ -144859,7 +144936,7 @@ x-webhooks: type: string required: - after_id - repository: *660 + repository: *676 sender: *4 required: - action @@ -144939,10 +145016,10 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - organization: *659 - project: &699 + enterprise: *673 + installation: *674 + organization: *675 + project: &715 title: Project type: object properties: @@ -145066,7 +145143,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *676 sender: *4 required: - action @@ -145146,10 +145223,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project_column: &698 + enterprise: *673 + installation: *674 + organization: *675 + project_column: &714 title: Project Column type: object properties: @@ -145188,7 +145265,7 @@ x-webhooks: - name - created_at - updated_at - repository: *660 + repository: *676 sender: *4 required: - action @@ -145267,18 +145344,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *714 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: *690 - required: *691 + properties: *706 + required: *707 nullable: true sender: *4 required: @@ -145368,11 +145445,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *714 + repository: *676 sender: *4 required: - action @@ -145452,11 +145529,11 @@ x-webhooks: type: string enum: - moved - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *714 + repository: *676 sender: *4 required: - action @@ -145536,11 +145613,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project: *715 + repository: *676 sender: *4 required: - action @@ -145620,18 +145697,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - project: *699 + enterprise: *673 + installation: *674 + organization: *675 + project: *715 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: *690 - required: *691 + properties: *706 + required: *707 nullable: true sender: *4 required: @@ -145733,11 +145810,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project: *715 + repository: *676 sender: *4 required: - action @@ -145816,11 +145893,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + project: *715 + repository: *676 sender: *4 required: - action @@ -145901,9 +145978,9 @@ x-webhooks: type: string enum: - closed - installation: *658 - organization: *659 - projects_v2: &700 + installation: *674 + organization: *675 + projects_v2: &716 title: Projects v2 Project description: A projects v2 project type: object @@ -146046,9 +146123,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2: *700 + installation: *674 + organization: *675 + projects_v2: *716 sender: *4 required: - action @@ -146129,9 +146206,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2: *700 + installation: *674 + organization: *675 + projects_v2: *716 sender: *4 required: - action @@ -146248,9 +146325,9 @@ x-webhooks: type: string to: type: string - installation: *658 - organization: *659 - projects_v2: *700 + installation: *674 + organization: *675 + projects_v2: *716 sender: *4 required: - action @@ -146333,7 +146410,7 @@ x-webhooks: type: string enum: - archived - changes: &704 + changes: &720 type: object properties: archived_at: @@ -146347,9 +146424,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *658 - organization: *659 - projects_v2_item: &701 + installation: *674 + organization: *675 + projects_v2_item: &717 title: Projects v2 Item description: An item belonging to a project type: object @@ -146483,9 +146560,9 @@ x-webhooks: nullable: true to: type: string - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -146567,9 +146644,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -146650,9 +146727,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -146758,7 +146835,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &702 + - &718 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -146776,7 +146853,7 @@ x-webhooks: required: - id - name - - &703 + - &719 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -146799,8 +146876,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *702 - - *703 + - *718 + - *719 required: - field_value - type: object @@ -146816,9 +146893,9 @@ x-webhooks: nullable: true required: - body - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -146913,9 +146990,9 @@ x-webhooks: to: type: string nullable: true - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -146998,10 +147075,10 @@ x-webhooks: type: string enum: - restored - changes: *704 - installation: *658 - organization: *659 - projects_v2_item: *701 + changes: *720 + installation: *674 + organization: *675 + projects_v2_item: *717 sender: *4 required: - action @@ -147083,9 +147160,9 @@ x-webhooks: type: string enum: - reopened - installation: *658 - organization: *659 - projects_v2: *700 + installation: *674 + organization: *675 + projects_v2: *716 sender: *4 required: - action @@ -147166,9 +147243,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2_status_update: &705 + installation: *674 + organization: *675 + projects_v2_status_update: &721 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -147295,9 +147372,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2_status_update: *705 + installation: *674 + organization: *675 + projects_v2_status_update: *721 sender: *4 required: - action @@ -147433,9 +147510,9 @@ x-webhooks: type: string format: date nullable: true - installation: *658 - organization: *659 - projects_v2_status_update: *705 + installation: *674 + organization: *675 + projects_v2_status_update: *721 sender: *4 required: - action @@ -147506,10 +147583,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - repository @@ -147586,13 +147663,13 @@ x-webhooks: type: string enum: - assigned - assignee: *677 - enterprise: *657 - installation: *658 - number: &706 + assignee: *693 + enterprise: *673 + installation: *674 + number: &722 description: The pull request number. type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -149875,7 +149952,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -149957,11 +150034,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -152239,7 +152316,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *676 sender: *4 required: - action @@ -152321,11 +152398,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -154603,7 +154680,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *676 sender: *4 required: - action @@ -154685,13 +154762,13 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: &707 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: &723 allOf: - - *524 + - *526 - type: object properties: allow_auto_merge: @@ -154753,7 +154830,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *660 + repository: *676 sender: *4 required: - action @@ -154834,12 +154911,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: *723 + repository: *676 sender: *4 required: - action @@ -154919,11 +154996,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *657 - milestone: *507 - number: *706 - organization: *659 - pull_request: &708 + enterprise: *673 + milestone: *509 + number: *722 + organization: *675 + pull_request: &724 title: Pull Request type: object properties: @@ -157186,7 +157263,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -157265,11 +157342,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -159551,7 +159628,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *660 + repository: *676 sender: *4 required: - action @@ -159675,12 +159752,12 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: *723 + repository: *676 sender: *4 required: - action @@ -159760,11 +159837,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -162031,7 +162108,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -162111,11 +162188,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *657 - installation: *658 - label: *676 - number: *706 - organization: *659 + enterprise: *673 + installation: *674 + label: *692 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -164397,7 +164474,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -164478,10 +164555,10 @@ x-webhooks: type: string enum: - locked - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -166761,7 +166838,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -166841,12 +166918,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *657 - milestone: *507 - number: *706 - organization: *659 - pull_request: *708 - repository: *660 + enterprise: *673 + milestone: *509 + number: *722 + organization: *675 + pull_request: *724 + repository: *676 sender: *4 required: - action @@ -166925,12 +167002,12 @@ x-webhooks: type: string enum: - opened - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: *723 + repository: *676 sender: *4 required: - action @@ -167011,12 +167088,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: *723 + repository: *676 sender: *4 required: - action @@ -167096,12 +167173,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 + pull_request: *723 + repository: *676 sender: *4 required: - action @@ -167467,9 +167544,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -169639,7 +169716,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *676 sender: *4 required: - action @@ -169719,7 +169796,7 @@ x-webhooks: type: string enum: - deleted - comment: &710 + comment: &726 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -170004,9 +170081,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -172164,7 +172241,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *676 sender: *4 required: - action @@ -172244,11 +172321,11 @@ x-webhooks: type: string enum: - edited - changes: *709 - comment: *710 - enterprise: *657 - installation: *658 - organization: *659 + changes: *725 + comment: *726 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -174409,7 +174486,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *676 sender: *4 required: - action @@ -174490,9 +174567,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -176665,7 +176742,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *676 review: description: The review that was affected. type: object @@ -176908,9 +176985,9 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -178964,8 +179041,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 - review: &711 + repository: *676 + review: &727 description: The review that was affected. type: object properties: @@ -179194,12 +179271,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -181482,7 +181559,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 requested_reviewer: title: User type: object @@ -181566,12 +181643,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -183861,7 +183938,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184053,12 +184130,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -186343,7 +186420,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 requested_reviewer: title: User type: object @@ -186428,12 +186505,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *657 - installation: *658 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *659 + organization: *675 pull_request: title: Pull Request type: object @@ -188709,7 +188786,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188890,9 +188967,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -191067,8 +191144,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 - review: *711 + repository: *676 + review: *727 sender: *4 required: - action @@ -191148,9 +191225,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -193220,7 +193297,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *676 sender: *4 thread: type: object @@ -193603,9 +193680,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -195661,7 +195738,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *676 sender: *4 thread: type: object @@ -196047,10 +196124,10 @@ x-webhooks: type: string before: type: string - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -198321,7 +198398,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -198403,11 +198480,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *712 - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + assignee: *728 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -200690,7 +200767,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -200769,11 +200846,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *657 - installation: *658 - label: *676 - number: *706 - organization: *659 + enterprise: *673 + installation: *674 + label: *692 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -203046,7 +203123,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -203127,10 +203204,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *673 + installation: *674 + number: *722 + organization: *675 pull_request: title: Pull Request type: object @@ -205395,7 +205472,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *676 sender: *4 required: - action @@ -205595,7 +205672,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *657 + enterprise: *673 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -205687,8 +205764,8 @@ x-webhooks: - url - author - committer - installation: *658 - organization: *659 + installation: *674 + organization: *675 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -206263,9 +206340,9 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 registry_package: type: object properties: @@ -206711,7 +206788,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *694 + items: *710 summary: type: string tag_name: @@ -206765,7 +206842,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *676 sender: *4 required: - action @@ -206843,9 +206920,9 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 registry_package: type: object properties: @@ -207153,7 +207230,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *710 summary: type: string tag_name: @@ -207202,7 +207279,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *676 sender: *4 required: - action @@ -207279,10 +207356,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - release: &713 + enterprise: *673 + installation: *674 + organization: *675 + release: &729 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207591,7 +207668,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *660 + repository: *676 sender: *4 required: - action @@ -207668,11 +207745,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + release: *729 + repository: *676 sender: *4 required: - action @@ -207789,11 +207866,11 @@ x-webhooks: type: boolean required: - to - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + release: *729 + repository: *676 sender: *4 required: - action @@ -207871,9 +207948,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -208186,7 +208263,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *676 sender: *4 required: - action @@ -208262,10 +208339,10 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - release: &714 + enterprise: *673 + installation: *674 + organization: *675 + release: &730 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208575,7 +208652,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *676 sender: *4 required: - action @@ -208651,11 +208728,11 @@ x-webhooks: type: string enum: - released - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + release: *729 + repository: *676 sender: *4 required: - action @@ -208731,11 +208808,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *657 - installation: *658 - organization: *659 - release: *714 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + release: *730 + repository: *676 sender: *4 required: - action @@ -208811,11 +208888,11 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_advisory: *584 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_advisory: *600 sender: *4 required: - action @@ -208891,11 +208968,11 @@ x-webhooks: type: string enum: - reported - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_advisory: *584 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_advisory: *600 sender: *4 required: - action @@ -208971,10 +209048,10 @@ x-webhooks: type: string enum: - archived - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209051,10 +209128,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209132,10 +209209,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209219,10 +209296,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209334,10 +209411,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209409,10 +209486,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 status: type: string @@ -209493,10 +209570,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209573,10 +209650,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209670,10 +209747,10 @@ x-webhooks: - name required: - repository - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -209753,11 +209830,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_ruleset: *245 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *247 sender: *4 required: - action @@ -209835,11 +209912,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_ruleset: *245 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *247 sender: *4 required: - action @@ -209917,11 +209994,11 @@ x-webhooks: type: string enum: - edited - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_ruleset: *245 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *247 changes: type: object properties: @@ -209940,16 +210017,16 @@ x-webhooks: properties: added: type: array - items: *239 + items: *241 deleted: type: array - items: *239 + items: *241 updated: type: array items: type: object properties: - condition: *239 + condition: *241 changes: type: object properties: @@ -209982,16 +210059,16 @@ x-webhooks: properties: added: type: array - items: *244 + items: *246 deleted: type: array - items: *244 + items: *246 updated: type: array items: type: object properties: - rule: *244 + rule: *246 changes: type: object properties: @@ -210225,10 +210302,10 @@ x-webhooks: - from required: - owner - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -210306,10 +210383,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -210387,7 +210464,7 @@ x-webhooks: type: string enum: - create - alert: &715 + alert: &731 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -210508,10 +210585,10 @@ x-webhooks: type: string enum: - open - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -210717,10 +210794,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -210798,11 +210875,11 @@ x-webhooks: type: string enum: - reopen - alert: *715 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *731 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211001,10 +211078,10 @@ x-webhooks: enum: - fixed - open - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211082,7 +211159,7 @@ x-webhooks: type: string enum: - created - alert: &716 + alert: &732 type: object properties: number: *54 @@ -211193,10 +211270,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211277,11 +211354,11 @@ x-webhooks: type: string enum: - created - alert: *716 - installation: *658 - location: *717 - organization: *659 - repository: *660 + alert: *732 + installation: *674 + location: *733 + organization: *675 + repository: *676 sender: *4 required: - location @@ -211519,11 +211596,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *732 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211601,11 +211678,11 @@ x-webhooks: type: string enum: - reopened - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *732 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211683,11 +211760,11 @@ x-webhooks: type: string enum: - resolved - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *732 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211765,11 +211842,11 @@ x-webhooks: type: string enum: - validated - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *732 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -211895,10 +211972,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *660 - enterprise: *657 - installation: *658 - organization: *659 + repository: *676 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -211976,11 +212053,11 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - security_advisory: &718 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + security_advisory: &734 description: The details of the security advisory, including summary, description, and severity. type: object @@ -212163,11 +212240,11 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - security_advisory: *718 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + security_advisory: *734 sender: *4 required: - action @@ -212240,10 +212317,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -212427,11 +212504,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *238 - enterprise: *657 - installation: *658 - organization: *659 - repository: *292 + security_and_analysis: *240 + enterprise: *673 + installation: *674 + organization: *675 + repository: *294 sender: *4 required: - changes @@ -212509,12 +212586,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: &719 + sponsorship: &735 type: object properties: created_at: @@ -212815,12 +212892,12 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *719 + sponsorship: *735 required: - action - sponsorship @@ -212908,12 +212985,12 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *719 + sponsorship: *735 required: - action - changes @@ -212990,17 +213067,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &720 + effective_date: &736 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: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *719 + sponsorship: *735 required: - action - sponsorship @@ -213074,7 +213151,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &721 + changes: &737 type: object properties: tier: @@ -213118,13 +213195,13 @@ x-webhooks: - from required: - tier - effective_date: *720 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + effective_date: *736 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *719 + sponsorship: *735 required: - action - changes @@ -213201,13 +213278,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *721 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + changes: *737 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *719 + sponsorship: *735 required: - action - changes @@ -213281,10 +213358,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213367,10 +213444,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213790,15 +213867,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *657 + enterprise: *673 id: description: The unique identifier of the status. type: integer - installation: *658 + installation: *674 name: type: string - organization: *659 - repository: *660 + organization: *675 + repository: *676 sender: *4 sha: description: The Commit SHA. @@ -213913,9 +213990,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -214005,9 +214082,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -214097,9 +214174,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -214189,9 +214266,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -214268,12 +214345,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - team: &722 + team: &738 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -214463,9 +214540,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -214923,7 +215000,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *738 required: - action - team @@ -214999,9 +215076,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -215459,7 +215536,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *738 required: - action - team @@ -215536,9 +215613,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -215996,7 +216073,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *738 required: - action - team @@ -216140,9 +216217,9 @@ x-webhooks: - from required: - permissions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -216600,7 +216677,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *738 required: - action - changes @@ -216678,9 +216755,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -217138,7 +217215,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *738 required: - action - team @@ -217214,10 +217291,10 @@ x-webhooks: type: string enum: - started - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -217290,16 +217367,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *657 + enterprise: *673 inputs: type: object nullable: true additionalProperties: true - installation: *658 - organization: *659 + installation: *674 + organization: *675 ref: type: string - repository: *660 + repository: *676 sender: *4 workflow: type: string @@ -217381,10 +217458,10 @@ x-webhooks: type: string enum: - completed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: allOf: @@ -217621,7 +217698,7 @@ x-webhooks: type: string required: - conclusion - deployment: *439 + deployment: *441 required: - action - repository @@ -217700,10 +217777,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: allOf: @@ -217963,7 +218040,7 @@ x-webhooks: required: - status - steps - deployment: *439 + deployment: *441 required: - action - repository @@ -218042,10 +218119,10 @@ x-webhooks: type: string enum: - queued - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: type: object @@ -218180,7 +218257,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *439 + deployment: *441 required: - action - repository @@ -218259,10 +218336,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: type: object @@ -218398,7 +218475,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *439 + deployment: *441 required: - action - repository @@ -218478,12 +218555,12 @@ x-webhooks: type: string enum: - completed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *672 + workflow: *688 workflow_run: title: Workflow Run type: object @@ -219482,12 +219559,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *672 + workflow: *688 workflow_run: title: Workflow Run type: object @@ -220471,12 +220548,12 @@ x-webhooks: type: string enum: - requested - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *672 + workflow: *688 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index bb8e48f938..114f0f2cad 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -32788,6 +32788,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -32799,6 +32802,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -32830,7 +32837,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -36039,6 +36045,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -36050,6 +36059,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -36081,7 +36094,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -46921,6 +46933,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -76558,6 +76859,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -76999,7 +77323,8 @@ "teams_url", "trees_url", "url" - ] + ], + "nullable": true } } }, @@ -77176,7 +77501,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -107228,6 +107553,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -107239,6 +107567,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -107270,7 +107602,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -135059,6 +135390,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -135070,6 +135404,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -135101,7 +135439,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -170551,6 +170888,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -458042,6 +458668,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -458758,6 +459673,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -459427,6 +460631,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index f3dbc28b41..4a5c6157d9 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -859,7 +859,7 @@ paths: - subscriptions_url - type - url - type: &345 + type: &347 type: string description: The type of credit the user is receiving. enum: @@ -992,7 +992,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &182 + schema: &184 title: Validation Error Simple description: Validation Error Simple type: object @@ -1025,7 +1025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &674 + - &690 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1581,7 +1581,7 @@ paths: schema: type: integer default: 30 - - &267 + - &269 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 @@ -1597,7 +1597,7 @@ paths: application/json: schema: type: array - items: &268 + items: &270 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1677,7 +1677,7 @@ paths: - installation_id - repository_id examples: - default: &269 + default: &271 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &684 + schema: &700 title: Scim Error description: Scim Error type: object @@ -1736,7 +1736,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &181 + schema: &183 title: Validation Error description: Validation Error type: object @@ -1805,7 +1805,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &272 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1919,7 +1919,7 @@ paths: - request - response examples: - default: &271 + default: &273 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2846,7 +2846,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &326 + properties: &328 id: description: Unique identifier of the repository example: 42 @@ -3284,7 +3284,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &327 + required: &329 - archive_url - assignees_url - blobs_url @@ -7357,7 +7357,7 @@ paths: description: Response content: application/json: - schema: &183 + schema: &185 type: object properties: total_active_caches_count: @@ -7372,7 +7372,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &184 + default: &186 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7557,7 +7557,7 @@ paths: - public_ip_enabled - platform examples: - default: &185 + default: &187 value: total_count: 2 runners: @@ -7843,7 +7843,7 @@ paths: description: Response content: application/json: - schema: &186 + schema: &188 type: object properties: public_ips: @@ -7868,7 +7868,7 @@ paths: required: - public_ips examples: - default: &187 + default: &189 value: public_ips: current_usage: 17 @@ -7908,7 +7908,7 @@ paths: type: array items: *45 examples: - default: &188 + default: &190 value: id: 4-core cpu_cores: 4 @@ -8165,7 +8165,7 @@ paths: - all - local_only - selected - selected_actions_url: &191 + selected_actions_url: &193 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` @@ -8533,7 +8533,7 @@ paths: description: Success response content: application/json: - schema: &194 + schema: &196 type: object properties: default_workflow_permissions: &53 @@ -8581,7 +8581,7 @@ paths: required: true content: application/json: - schema: &195 + schema: &197 type: object properties: default_workflow_permissions: *53 @@ -9417,7 +9417,7 @@ paths: application/json: schema: type: array - items: &199 + items: &201 title: Runner Application description: Runner Application type: object @@ -9442,7 +9442,7 @@ paths: - download_url - filename examples: - default: &200 + default: &202 value: - os: osx architecture: x64 @@ -9526,7 +9526,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &201 + '201': &203 description: Response content: application/json: @@ -9641,7 +9641,7 @@ paths: - token - expires_at examples: - default: &202 + default: &204 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9681,7 +9681,7 @@ paths: application/json: schema: *65 examples: - default: &203 + default: &205 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9713,7 +9713,7 @@ paths: application/json: schema: *62 examples: - default: &204 + default: &206 value: id: 23 name: MBP @@ -9929,7 +9929,7 @@ paths: - *41 - *61 responses: - '200': &205 + '200': &207 description: Response content: application/json: @@ -9985,7 +9985,7 @@ paths: parameters: - *41 - *61 - - &206 + - &208 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10076,7 +10076,7 @@ paths: required: true content: application/json: - schema: &213 + schema: &215 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10148,7 +10148,7 @@ paths: required: false schema: type: string - - &214 + - &216 name: include description: |- The event types to include: @@ -10166,7 +10166,7 @@ paths: - web - git - all - - &215 + - &217 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -10174,7 +10174,7 @@ paths: required: false schema: type: string - - &216 + - &218 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -10182,7 +10182,7 @@ paths: required: false schema: type: string - - &217 + - &219 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10204,7 +10204,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 type: object properties: "@timestamp": @@ -10326,7 +10326,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &219 + default: &221 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10927,7 +10927,7 @@ paths: in: query schema: type: string - - &221 + - &223 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -10935,7 +10935,7 @@ paths: required: false schema: type: string - - &222 + - &224 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -10943,7 +10943,7 @@ paths: required: false schema: type: string - - &223 + - &225 name: time_period description: |- The time period to filter by. @@ -10959,7 +10959,7 @@ paths: - week - month default: day - - &224 + - &226 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -10986,7 +10986,7 @@ paths: application/json: schema: type: array - items: &225 + items: &227 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11103,7 +11103,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &228 + items: &230 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11147,7 +11147,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &226 + default: &228 value: - id: 21 number: 42 @@ -11234,7 +11234,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &233 + - &235 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`, @@ -11244,7 +11244,7 @@ paths: schema: &89 type: string description: The name of the tool used to generate the code scanning analysis. - - &234 + - &236 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 @@ -11267,7 +11267,7 @@ paths: be returned. in: query required: false - schema: &235 + schema: &237 type: string description: State of a code scanning alert. enum: @@ -11292,7 +11292,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 type: object properties: number: &100 @@ -11321,7 +11321,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &462 + instances_url: &464 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11356,7 +11356,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &463 + dismissed_reason: &465 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11365,13 +11365,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &464 + dismissed_comment: &466 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &465 + rule: &467 type: object properties: id: @@ -11424,7 +11424,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &466 + tool: &468 type: object properties: name: *89 @@ -11434,15 +11434,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *90 - most_recent_instance: &467 + most_recent_instance: &469 type: object properties: - ref: &460 + ref: &462 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &477 + analysis_key: &479 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11453,7 +11453,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &478 + category: &480 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11502,7 +11502,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: + properties: &173 id: type: integer format: int64 @@ -11729,7 +11729,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: + required: &174 - archive_url - assignees_url - blobs_url @@ -11798,7 +11798,7 @@ paths: - most_recent_instance - repository examples: - default: &237 + default: &239 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12611,7 +12611,7 @@ paths: description: Response content: application/json: - schema: &239 + schema: &241 type: array description: A list of default code security configurations items: @@ -12627,7 +12627,7 @@ paths: default configuration: *92 examples: - default: &240 + default: &242 value: - default_for_new_repos: public configuration: @@ -13061,7 +13061,7 @@ paths: default: value: default_for_new_repos: all - configuration: &238 + configuration: &240 value: id: 1325 target_type: organization @@ -13144,7 +13144,7 @@ paths: application/json: schema: type: array - items: &241 + items: &243 type: object description: Repositories associated with a code security configuration and attachment status @@ -13168,7 +13168,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &242 + repository: &244 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13657,7 +13657,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &229 + - &231 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13716,7 +13716,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &304 + properties: &306 id: description: Unique identifier of the team type: integer @@ -13772,7 +13772,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &305 + required: &307 - id - node_id - url @@ -13805,6 +13805,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -13813,6 +13815,9 @@ paths: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -13837,7 +13842,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -14460,7 +14464,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &249 + - &251 name: state in: query description: |- @@ -14469,7 +14473,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &250 + - &252 name: severity in: query description: |- @@ -14478,7 +14482,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &251 + - &253 name: ecosystem in: query description: |- @@ -14487,14 +14491,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &252 + - &254 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &253 + - &255 name: epss_percentage in: query description: |- @@ -14506,7 +14510,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 - - &254 + - &256 name: has in: query description: |- @@ -14520,7 +14524,7 @@ paths: type: string enum: - patch - - &255 + - &257 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14530,7 +14534,7 @@ paths: enum: - development - runtime - - &256 + - &258 name: sort in: query description: |- @@ -14548,7 +14552,7 @@ paths: - *88 - *86 - *87 - - &257 + - &259 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14561,7 +14565,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &258 + - &260 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14581,7 +14585,7 @@ paths: application/json: schema: type: array - items: &259 + items: &261 type: object description: A Dependabot alert. properties: @@ -14644,7 +14648,7 @@ paths: - unknown - direct - transitive - security_advisory: &519 + security_advisory: &521 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14876,7 +14880,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: &520 + auto_dismissed_at: &522 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -14902,7 +14906,7 @@ paths: - repository additionalProperties: false examples: - default: &260 + default: &262 value: - number: 2 state: dismissed @@ -15319,7 +15323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - &220 + - &222 name: username description: The handle for the GitHub user account. in: path @@ -15426,7 +15430,7 @@ paths: - name - created_on examples: - default: &356 + default: &358 value: total_count: 2 network_configurations: @@ -15649,7 +15653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &357 + - &359 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15661,7 +15665,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &360 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15695,7 +15699,7 @@ paths: - subnet_id - region examples: - default: &359 + default: &361 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15997,7 +16001,7 @@ paths: required: true content: application/json: - schema: &324 + schema: &326 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16363,7 +16367,7 @@ paths: type: object description: A repository rule. oneOf: - - &632 + - &634 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16375,7 +16379,7 @@ paths: type: string enum: - creation - - &633 + - &635 title: update description: Only allow users with bypass permission to update matching refs. @@ -16396,7 +16400,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &635 + - &637 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16408,7 +16412,7 @@ paths: type: string enum: - deletion - - &636 + - &638 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16420,7 +16424,7 @@ paths: type: string enum: - required_linear_history - - &637 + - &639 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16496,7 +16500,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &638 + - &640 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16520,7 +16524,7 @@ paths: type: string required: - required_deployment_environments - - &639 + - &641 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16532,7 +16536,7 @@ paths: type: string enum: - required_signatures - - &640 + - &642 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16592,7 +16596,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &641 + - &643 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16639,7 +16643,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &642 + - &644 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16651,7 +16655,7 @@ paths: type: string enum: - non_fast_forward - - &643 + - &645 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16687,7 +16691,7 @@ paths: required: - operator - pattern - - &644 + - &646 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16723,7 +16727,7 @@ paths: required: - operator - pattern - - &645 + - &647 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16759,7 +16763,7 @@ paths: required: - operator - pattern - - &646 + - &648 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16795,7 +16799,7 @@ paths: required: - operator - pattern - - &647 + - &649 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16831,7 +16835,7 @@ paths: required: - operator - pattern - - &648 + - &650 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16855,7 +16859,7 @@ paths: type: string required: - restricted_file_paths - - &649 + - &651 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16879,7 +16883,7 @@ paths: maximum: 256 required: - max_file_path_length - - &650 + - &652 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16902,7 +16906,7 @@ paths: type: string required: - restricted_file_extensions - - &651 + - &653 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16926,7 +16930,7 @@ paths: maximum: 100 required: - max_file_size - - &652 + - &654 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16975,7 +16979,7 @@ paths: - repository_id required: - workflows - - &653 + - &655 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17132,7 +17136,7 @@ paths: nullable: true anyOf: - *123 - - &331 + - &333 title: Organization ruleset conditions type: object description: |- @@ -17413,7 +17417,7 @@ paths: type: string format: date-time examples: - default: &333 + default: &335 value: - version_id: 3 actor: @@ -17466,7 +17470,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 allOf: - *133 - type: object @@ -17521,7 +17525,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &335 + - &337 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17532,7 +17536,7 @@ paths: enum: - open - resolved - - &336 + - &338 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17542,7 +17546,7 @@ paths: required: false schema: type: string - - &337 + - &339 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17551,7 +17555,7 @@ paths: required: false schema: type: string - - &338 + - &340 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. @@ -17567,7 +17571,7 @@ paths: - *17 - *86 - *87 - - &339 + - &341 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17576,7 +17580,7 @@ paths: required: false schema: type: string - - &340 + - &342 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17585,7 +17589,7 @@ paths: schema: type: boolean default: false - - &341 + - &343 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17594,7 +17598,7 @@ paths: schema: type: boolean default: false - - &342 + - &344 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -17610,7 +17614,7 @@ paths: application/json: schema: type: array - items: &343 + items: &345 type: object properties: number: *100 @@ -17629,14 +17633,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &666 + state: &668 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: &667 + resolution: &669 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17737,8 +17741,281 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &670 + - &672 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &673 + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &674 + description: Represents an 'issue_title' secret scanning location + type. This location type shows that a secret was detected + in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &675 + description: Represents an 'issue_body' secret scanning location + type. This location type shows that a secret was detected + in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &676 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &677 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &678 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &679 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &680 + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &681 + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &682 + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &683 + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &684 + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: - default: &344 + default: &346 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18004,7 +18281,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 type: object properties: total_minutes_used: @@ -18074,7 +18351,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &348 + default: &350 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18105,7 +18382,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &349 + - &351 name: advanced_security_product in: query description: | @@ -18125,7 +18402,7 @@ paths: description: Success content: application/json: - schema: &350 + schema: &352 type: object properties: total_advanced_security_committers: @@ -18180,7 +18457,7 @@ paths: required: - repositories examples: - default: &351 + default: &353 value: total_advanced_security_committers: 2 total_count: 2 @@ -18420,7 +18697,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &354 type: object properties: total_gigabytes_bandwidth_used: @@ -18438,7 +18715,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &353 + default: &355 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18473,7 +18750,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &356 type: object properties: days_left_in_billing_cycle: @@ -18491,7 +18768,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &355 + default: &357 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18516,7 +18793,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &173 + - &175 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18525,7 +18802,7 @@ paths: required: false schema: type: integer - - &174 + - &176 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 @@ -18534,7 +18811,7 @@ paths: required: false schema: type: integer - - &175 + - &177 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18543,7 +18820,7 @@ paths: required: false schema: type: integer - - &176 + - &178 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18564,7 +18841,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &177 + schema: &179 type: object properties: usageItems: @@ -18617,7 +18894,7 @@ paths: - netAmount - organizationName examples: - default: &178 + default: &180 value: usageItems: - date: '2023-08-01' @@ -18861,7 +19138,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &571 + properties: &573 id: type: integer format: int64 @@ -18972,7 +19249,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &504 + properties: &506 url: type: string format: uri @@ -19042,7 +19319,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &505 + required: &507 - closed_issues - creator - description @@ -19121,7 +19398,7 @@ paths: timeline_url: type: string format: uri - type: &289 + type: &291 title: Issue Type description: The type of issue. type: object @@ -19246,7 +19523,7 @@ paths: - total - completed - percent_completed - required: &572 + required: &574 - assignee - closed_at - comments @@ -19268,7 +19545,7 @@ paths: - author_association - created_at - updated_at - comment: &569 + comment: &571 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19835,7 +20112,7 @@ paths: url: type: string format: uri - user: &723 + user: &739 title: Public User description: Public User type: object @@ -21705,7 +21982,7 @@ paths: - closed - all default: open - - &292 + - &294 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -21756,7 +22033,7 @@ paths: type: array items: *155 examples: - default: &293 + default: &295 value: - id: 1 node_id: MDU6SXNzdWUx @@ -23140,14 +23417,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &379 + - &381 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &380 + - &382 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23218,7 +23495,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &393 + '301': &395 description: Moved permanently content: application/json: @@ -23240,7 +23517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &601 + - &603 name: all description: If `true`, show notifications marked as read. in: query @@ -23248,7 +23525,7 @@ paths: schema: type: boolean default: false - - &602 + - &604 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23258,7 +23535,7 @@ paths: type: boolean default: false - *145 - - &603 + - &605 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: @@ -23290,11 +23567,11 @@ paths: properties: id: type: string - repository: &198 + repository: &200 title: Minimal Repository description: Minimal Repository type: object - properties: &262 + properties: &264 id: type: integer format: int64 @@ -23570,7 +23847,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &328 + security_and_analysis: &330 nullable: true type: object properties: @@ -23642,7 +23919,7 @@ paths: enum: - enabled - disabled - required: &263 + required: &265 - archive_url - assignees_url - blobs_url @@ -23730,7 +24007,7 @@ paths: - url - subscription_url examples: - default: &604 + default: &606 value: - id: '1' repository: @@ -24276,7 +24553,7 @@ paths: type: array items: *59 examples: - default: &741 + default: &757 value: - login: github id: 1 @@ -24340,7 +24617,7 @@ paths: type: integer custom_roles: type: array - items: &244 + items: &246 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24388,7 +24665,7 @@ paths: - created_at - updated_at examples: - default: &245 + default: &247 value: id: 8030 name: Security Engineer @@ -24436,6 +24713,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - *172 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -24458,7 +24752,13 @@ paths: nullable: true accessible_repositories: type: array - items: *97 + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *173 + required: *174 + nullable: true additionalProperties: false examples: default: @@ -24561,7 +24861,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -24654,18 +24954,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *172 - - *173 - - *174 - *175 - *176 + - *177 + - *178 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *177 + schema: *179 examples: - default: *178 + default: *180 '400': *14 '403': *29 '500': *85 @@ -24701,7 +25001,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &181 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -25004,7 +25304,7 @@ paths: - updated_at - archived_at examples: - default-response: &180 + default-response: &182 value: login: github id: 1 @@ -25320,17 +25620,17 @@ paths: description: Response content: application/json: - schema: *179 + schema: *181 examples: - default: *180 + default: *182 '422': description: Validation failed content: application/json: schema: oneOf: - - *181 - - *182 + - *183 + - *184 '409': *96 x-github: githubCloudOnly: false @@ -25385,9 +25685,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: - default: *184 + default: *186 headers: Link: *40 x-github: @@ -25428,7 +25728,7 @@ paths: type: integer repository_cache_usages: type: array - items: &398 + items: &400 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25503,7 +25803,7 @@ paths: type: array items: *42 examples: - default: *185 + default: *187 headers: Link: *40 x-github: @@ -25687,9 +25987,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *188 examples: - default: *187 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25725,7 +26025,7 @@ paths: type: array items: *45 examples: - default: *188 + default: *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25908,7 +26208,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &189 + schema: &191 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -25922,7 +26222,7 @@ paths: required: - include_claim_keys examples: - default: &190 + default: &192 value: include_claim_keys: - repo @@ -25949,15 +26249,15 @@ paths: required: true content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 responses: '201': description: Empty response content: application/json: - schema: &209 + schema: &211 title: Empty Object description: An object without any properties. type: object @@ -25996,7 +26296,7 @@ paths: schema: type: object properties: - enabled_repositories: &192 + enabled_repositories: &194 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -26010,7 +26310,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *191 + selected_actions_url: *193 required: - enabled_repositories examples: @@ -26050,7 +26350,7 @@ paths: schema: type: object properties: - enabled_repositories: *192 + enabled_repositories: *194 allowed_actions: *49 required: - enabled_repositories @@ -26098,7 +26398,7 @@ paths: type: array items: *64 examples: - default: &735 + default: &751 value: total_count: 1 repositories: @@ -26283,7 +26583,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *172 - - &193 + - &195 name: repository_id description: The unique identifier of the repository. in: path @@ -26312,7 +26612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *172 - - *193 + - *195 responses: '204': description: Response @@ -26404,7 +26704,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: default: *55 x-github: @@ -26438,7 +26738,7 @@ paths: required: false content: application/json: - schema: *195 + schema: *197 examples: default: *55 x-github: @@ -26485,7 +26785,7 @@ paths: type: number runner_groups: type: array - items: &196 + items: &198 type: object properties: id: @@ -26673,9 +26973,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: - default: &197 + default: &199 value: id: 2 name: octo-runner-group @@ -26717,7 +27017,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: default: value: @@ -26808,9 +27108,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: - default: *197 + default: *199 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26874,7 +27174,7 @@ paths: type: array items: *42 examples: - default: *185 + default: *187 headers: Link: *40 x-github: @@ -26915,9 +27215,9 @@ paths: type: number repositories: type: array - items: *198 + items: *200 examples: - default: &726 + default: &742 value: total_count: 1 repositories: @@ -27216,7 +27516,7 @@ paths: parameters: - *172 - *58 - - *193 + - *195 responses: '204': description: Response @@ -27240,7 +27540,7 @@ paths: parameters: - *172 - *58 - - *193 + - *195 responses: '204': description: Response @@ -27458,9 +27758,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *200 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27525,7 +27825,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *201 + '201': *203 '404': *6 '422': *7 '409': *96 @@ -27564,7 +27864,7 @@ paths: application/json: schema: *65 examples: - default: *202 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27600,7 +27900,7 @@ paths: application/json: schema: *65 examples: - default: *203 + default: *205 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27631,7 +27931,7 @@ paths: application/json: schema: *62 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27806,7 +28106,7 @@ paths: - *172 - *61 responses: - '200': *205 + '200': *207 '404': *6 x-github: githubCloudOnly: false @@ -27835,7 +28135,7 @@ paths: parameters: - *172 - *61 - - *206 + - *208 responses: '200': *67 '404': *6 @@ -27880,7 +28180,7 @@ paths: type: integer secrets: type: array - items: &207 + items: &209 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -27959,7 +28259,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &420 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27988,7 +28288,7 @@ paths: - key_id - key examples: - default: &419 + default: &421 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28014,7 +28314,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *172 - - &208 + - &210 name: secret_name description: The name of the secret. in: path @@ -28026,7 +28326,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *209 examples: default: value: @@ -28057,7 +28357,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -28114,7 +28414,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -28141,7 +28441,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *172 - - *208 + - *210 responses: '204': description: Response @@ -28168,7 +28468,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 - *19 - *17 responses: @@ -28186,9 +28486,9 @@ paths: type: integer repositories: type: array - items: *198 + items: *200 examples: - default: &212 + default: &214 value: total_count: 1 repositories: @@ -28281,7 +28581,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -28334,7 +28634,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -28368,7 +28668,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -28401,7 +28701,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *172 - - &403 + - &405 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -28425,7 +28725,7 @@ paths: type: integer variables: type: array - items: &210 + items: &212 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28558,7 +28858,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -28584,7 +28884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *172 - - &211 + - &213 name: name description: The name of the variable. in: path @@ -28596,7 +28896,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *212 examples: default: value: @@ -28627,7 +28927,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *172 - - *211 + - *213 requestBody: required: true content: @@ -28690,7 +28990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *172 - - *211 + - *213 responses: '204': description: Response @@ -28717,7 +29017,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *172 - - *211 + - *213 - *19 - *17 responses: @@ -28735,9 +29035,9 @@ paths: type: integer repositories: type: array - items: *198 + items: *200 examples: - default: *212 + default: *214 '409': description: Response when the visibility of the variable is not set to `selected` @@ -28764,7 +29064,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *172 - - *211 + - *213 requestBody: required: true content: @@ -28814,7 +29114,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *172 - - *211 + - *213 - name: repository_id in: path required: true @@ -28849,7 +29149,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *172 - - *211 + - *213 - name: repository_id in: path required: true @@ -28907,7 +29207,7 @@ paths: required: true content: application/json: - schema: *213 + schema: *215 examples: default: *71 parameters: @@ -29014,7 +29314,7 @@ paths: bundle_url: type: string examples: - default: &432 + default: &434 value: attestations: - bundle: @@ -29140,10 +29440,10 @@ paths: required: false schema: type: string - - *214 - - *215 - *216 - *217 + - *218 + - *219 - *17 responses: '200': @@ -29152,9 +29452,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29183,7 +29483,7 @@ paths: type: array items: *4 examples: - default: &294 + default: &296 value: - login: octocat id: 1 @@ -29222,7 +29522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *172 - - *220 + - *222 responses: '204': description: If the user is blocked @@ -29248,7 +29548,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -29269,7 +29569,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -29296,16 +29596,16 @@ paths: subcategory: bypass-requests parameters: - *172 - - &227 + - &229 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *221 - - *222 - *223 - *224 + - *225 + - *226 - *17 - *19 responses: @@ -29315,9 +29615,9 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *226 + default: *228 '404': *6 '500': *85 "/orgs/{org}/bypass-requests/secret-scanning": @@ -29341,11 +29641,11 @@ paths: subcategory: delegated-bypass parameters: - *172 - - *227 - - *221 - - *222 + - *229 - *223 - *224 + - *225 + - *226 - *17 - *19 responses: @@ -29355,7 +29655,7 @@ paths: application/json: schema: type: array - items: &449 + items: &451 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -29469,7 +29769,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *228 + items: *230 url: type: string format: uri @@ -29480,7 +29780,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &450 + default: &452 value: - id: 21 number: 42 @@ -29572,7 +29872,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &230 + schema: &232 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -29598,7 +29898,7 @@ paths: application/json: schema: type: array - items: &231 + items: &233 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -29629,7 +29929,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *229 + items: *231 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -29647,7 +29947,7 @@ paths: type: string format: date-time nullable: true - state: *230 + state: *232 contact_link: description: The contact link of the campaign. type: string @@ -29862,9 +30162,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: &232 + default: &234 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -29947,9 +30247,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '404': *6 '422': description: Unprocessable Entity @@ -30026,7 +30326,7 @@ paths: type: string format: uri nullable: true - state: *230 + state: *232 examples: default: value: @@ -30036,9 +30336,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '400': description: Bad Request content: @@ -30105,8 +30405,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *172 - - *233 - - *234 + - *235 + - *236 - *86 - *87 - *19 @@ -30117,7 +30417,7 @@ paths: be returned. in: query required: false - schema: *235 + schema: *237 - name: sort description: The property by which to sort the results. in: query @@ -30133,7 +30433,7 @@ paths: be returned. in: query required: false - schema: &461 + schema: &463 type: string description: Severity of a code scanning alert. enum: @@ -30151,9 +30451,9 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: - default: *237 + default: *239 headers: Link: *40 '404': *6 @@ -30494,7 +30794,7 @@ paths: application/json: schema: *92 examples: - default: *238 + default: *240 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30522,9 +30822,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '304': *37 '403': *29 '404': *6 @@ -30608,7 +30908,7 @@ paths: application/json: schema: *92 examples: - default: *238 + default: *240 '304': *37 '403': *29 '404': *6 @@ -31012,7 +31312,7 @@ paths: default: value: default_for_new_repos: all - configuration: *238 + configuration: *240 '403': *29 '404': *6 x-github: @@ -31065,13 +31365,13 @@ paths: application/json: schema: type: array - items: *241 + items: *243 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *242 + repository: *244 '403': *29 '404': *6 x-github: @@ -31111,7 +31411,7 @@ paths: type: integer codespaces: type: array - items: &295 + items: &297 type: object title: Codespace description: A codespace. @@ -31136,12 +31436,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *198 + repository: *200 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &490 + properties: &492 name: type: string description: The name of the machine. @@ -31183,7 +31483,7 @@ paths: - ready - in_progress nullable: true - required: &491 + required: &493 - name - display_name - operating_system @@ -31388,7 +31688,7 @@ paths: - pulls_url - recent_folders examples: - default: &296 + default: &298 value: total_count: 3 codespaces: @@ -32012,7 +32312,7 @@ paths: type: integer secrets: type: array - items: &243 + items: &245 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32051,7 +32351,7 @@ paths: - updated_at - visibility examples: - default: &492 + default: &494 value: total_count: 2 secrets: @@ -32089,7 +32389,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &495 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32118,7 +32418,7 @@ paths: - key_id - key examples: - default: &494 + default: &496 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32142,15 +32442,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *172 - - *208 + - *210 responses: '200': description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: &496 + default: &498 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -32178,7 +32478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -32233,7 +32533,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -32260,7 +32560,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *172 - - *208 + - *210 responses: '204': description: Response @@ -32286,7 +32586,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 - *19 - *17 responses: @@ -32304,9 +32604,9 @@ paths: type: integer repositories: type: array - items: *198 + items: *200 examples: - default: *212 + default: *214 '404': *6 x-github: githubCloudOnly: false @@ -32329,7 +32629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -32380,7 +32680,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -32414,7 +32714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -33221,7 +33521,7 @@ paths: type: integer custom_roles: type: array - items: *244 + items: *246 examples: default: value: @@ -33313,7 +33613,7 @@ paths: required: true content: application/json: - schema: &247 + schema: &249 type: object properties: name: @@ -33354,9 +33654,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '422': *15 '404': *6 x-github: @@ -33381,7 +33681,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *172 - - &246 + - &248 name: role_id description: The unique identifier of the role. in: path @@ -33393,9 +33693,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '404': *6 x-github: githubCloudOnly: true @@ -33418,12 +33718,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *172 - - *246 + - *248 requestBody: required: true content: application/json: - schema: &248 + schema: &250 type: object properties: name: @@ -33461,9 +33761,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '422': *15 '404': *6 x-github: @@ -33488,7 +33788,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *172 - - *246 + - *248 responses: '204': description: Response @@ -33521,7 +33821,7 @@ paths: required: true content: application/json: - schema: *247 + schema: *249 examples: default: value: @@ -33535,9 +33835,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '422': *15 '404': *6 x-github: @@ -33568,15 +33868,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *172 - - *246 + - *248 responses: '200': description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '404': *6 x-github: githubCloudOnly: true @@ -33605,12 +33905,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *172 - - *246 + - *248 requestBody: required: true content: application/json: - schema: *248 + schema: *250 examples: default: value: @@ -33625,9 +33925,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '422': *15 '404': *6 x-github: @@ -33658,7 +33958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *172 - - *246 + - *248 responses: '204': description: Response @@ -33687,19 +33987,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *172 - - *249 - - *250 - *251 - *252 - *253 - *254 - *255 - *256 + - *257 + - *258 - *88 - *86 - *87 - - *257 - - *258 + - *259 + - *260 - *17 responses: '200': @@ -33708,9 +34008,9 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: - default: *260 + default: *262 '304': *37 '400': *14 '403': *29 @@ -33754,7 +34054,7 @@ paths: type: integer secrets: type: array - items: &261 + items: &263 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -33831,7 +34131,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &525 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33848,7 +34148,7 @@ paths: - key_id - key examples: - default: &524 + default: &526 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33872,13 +34172,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *172 - - *208 + - *210 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: default: value: @@ -33907,7 +34207,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -33962,7 +34262,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -33987,7 +34287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *172 - - *208 + - *210 responses: '204': description: Response @@ -34012,7 +34312,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 - *19 - *17 responses: @@ -34030,9 +34330,9 @@ paths: type: integer repositories: type: array - items: *198 + items: *200 examples: - default: *212 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34054,7 +34354,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -34105,7 +34405,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -34137,7 +34437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -34174,11 +34474,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *172 - - *227 - - *221 - - *222 + - *229 - *223 - - &532 + - *224 + - *225 + - &534 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -34204,7 +34504,7 @@ paths: application/json: schema: type: array - items: &533 + items: &535 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -34314,7 +34614,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *228 + items: *230 url: type: string format: uri @@ -34325,7 +34625,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &534 + default: &536 value: - id: 21 number: 42 @@ -34413,7 +34713,7 @@ paths: application/json: schema: type: array - items: &307 + items: &309 title: Package description: A software package type: object @@ -34463,8 +34763,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *262 - required: *263 + properties: *264 + required: *265 nullable: true created_at: type: string @@ -34483,7 +34783,7 @@ paths: - created_at - updated_at examples: - default: &308 + default: &310 value: - id: 197 name: hello_docker @@ -34667,7 +34967,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -34748,7 +35048,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &375 + default: &377 value: group_id: '123' group_name: Octocat admins @@ -34803,7 +35103,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &374 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34840,7 +35140,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &373 + default: &375 value: groups: - group_id: '123' @@ -34884,7 +35184,7 @@ paths: application/json: schema: type: array - items: &286 + items: &288 title: Organization Invitation description: Organization Invitation type: object @@ -34931,7 +35231,7 @@ paths: - invitation_teams_url - node_id examples: - default: &287 + default: &289 value: - id: 1 login: monalisa @@ -34998,7 +35298,7 @@ paths: application/json: schema: type: array - items: &329 + items: &331 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -35012,7 +35312,7 @@ paths: - name - description examples: - default: &330 + default: &332 value: - name: add_assignee description: Assign or remove a user @@ -35053,7 +35353,7 @@ paths: application/json: schema: type: array - items: &264 + items: &266 title: Org Hook description: Org Hook type: object @@ -35222,9 +35522,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: &265 + default: &267 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -35269,7 +35569,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *172 - - &266 + - &268 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. @@ -35282,9 +35582,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: *265 + default: *267 '404': *6 x-github: githubCloudOnly: false @@ -35306,7 +35606,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *172 - - *266 + - *268 requestBody: required: false content: @@ -35351,7 +35651,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: default: value: @@ -35391,7 +35691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *172 - - *266 + - *268 responses: '204': description: Response @@ -35417,7 +35717,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *172 - - *266 + - *268 responses: '200': description: Response @@ -35446,7 +35746,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *172 - - *266 + - *268 requestBody: required: false content: @@ -35495,9 +35795,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *172 - - *266 + - *268 - *17 - - *267 + - *269 responses: '200': description: Response @@ -35505,9 +35805,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *269 + default: *271 '400': *14 '422': *15 x-github: @@ -35531,16 +35831,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *172 - - *266 + - *268 - *16 responses: '200': description: Response content: application/json: - schema: *270 + schema: *272 examples: - default: *271 + default: *273 '400': *14 '422': *15 x-github: @@ -35564,7 +35864,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *172 - - *266 + - *268 - *16 responses: '202': *39 @@ -35591,7 +35891,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *172 - - *266 + - *268 responses: '204': description: Response @@ -35614,7 +35914,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *172 - - &276 + - &278 name: actor_type in: path description: The type of the actor @@ -35627,14 +35927,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &277 + - &279 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &272 + - &274 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`.' @@ -35642,7 +35942,7 @@ paths: required: true schema: type: string - - &273 + - &275 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) @@ -35736,12 +36036,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *172 - - *272 - - *273 + - *274 + - *275 - *19 - *17 - *88 - - &282 + - &284 name: sort description: The property to sort the results by. in: query @@ -35820,14 +36120,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *172 - - *272 - - *273 + - *274 + - *275 responses: '200': description: Response content: application/json: - schema: &274 + schema: &276 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -35843,7 +36143,7 @@ paths: type: integer format: int64 examples: - default: &275 + default: &277 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -35864,23 +36164,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *172 - - &278 + - &280 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *272 - - *273 + - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: enabledForGitHubApps: true category: orgs @@ -35899,18 +36199,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *172 - - *272 - - *273 - - *276 - - *277 + - *274 + - *275 + - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: enabledForGitHubApps: true category: orgs @@ -35928,9 +36228,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *172 - - *272 - - *273 - - &279 + - *274 + - *275 + - &281 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -35943,7 +36243,7 @@ paths: description: Response content: application/json: - schema: &280 + schema: &282 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -35959,7 +36259,7 @@ paths: type: integer format: int64 examples: - default: &281 + default: &283 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -35996,18 +36296,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *172 - - *278 - - *272 - - *273 - - *279 + - *280 + - *274 + - *275 + - *281 responses: '200': description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *281 + default: *283 x-github: enabledForGitHubApps: true category: orgs @@ -36025,19 +36325,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *172 - - *276 - - *277 - - *272 - - *273 + - *278 - *279 + - *274 + - *275 + - *281 responses: '200': description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *281 + default: *283 x-github: enabledForGitHubApps: true category: orgs @@ -36055,13 +36355,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *172 - - *278 - - *272 - - *273 + - *280 + - *274 + - *275 - *19 - *17 - *88 - - *282 + - *284 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -36142,7 +36442,7 @@ paths: application/json: schema: *22 examples: - default: &565 + default: &567 value: id: 1 account: @@ -36308,12 +36608,12 @@ paths: application/json: schema: anyOf: - - &284 + - &286 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &283 + limit: &285 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -36338,7 +36638,7 @@ paths: properties: {} additionalProperties: false examples: - default: &285 + default: &287 value: limit: collaborators_only origin: organization @@ -36367,13 +36667,13 @@ paths: required: true content: application/json: - schema: &566 + schema: &568 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *283 + limit: *285 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -36397,9 +36697,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -36477,9 +36777,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *40 '404': *6 @@ -36557,7 +36857,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: default: value: @@ -36614,7 +36914,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *172 - - &288 + - &290 name: invitation_id description: The unique identifier of the invitation. in: path @@ -36648,7 +36948,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *172 - - *288 + - *290 - *17 - *19 responses: @@ -36658,9 +36958,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: &306 + default: &308 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -36703,7 +37003,7 @@ paths: application/json: schema: type: array - items: *289 + items: *291 examples: default: value: @@ -36788,9 +37088,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: &290 + default: &292 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -36823,7 +37123,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *172 - - &291 + - &293 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -36876,9 +37176,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '404': *6 '422': *7 x-github: @@ -36903,7 +37203,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *172 - - *291 + - *293 responses: '204': description: Response @@ -36966,7 +37266,7 @@ paths: - closed - all default: open - - *292 + - *294 - name: type description: Can be the name of an issue type. in: query @@ -36997,7 +37297,7 @@ paths: type: array items: *155 examples: - default: *293 + default: *295 headers: Link: *40 '404': *6 @@ -37057,7 +37357,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '422': *15 @@ -37078,7 +37378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response if requester is an organization member and user is @@ -37110,7 +37410,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -37137,7 +37437,7 @@ paths: - *17 - *19 - *172 - - *220 + - *222 responses: '200': description: Response @@ -37153,9 +37453,9 @@ paths: type: integer codespaces: type: array - items: *295 + items: *297 examples: - default: *296 + default: *298 '304': *37 '500': *85 '401': *25 @@ -37181,8 +37481,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *172 - - *220 - - &297 + - *222 + - &299 name: codespace_name in: path required: true @@ -37216,16 +37516,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *172 - - *220 - - *297 + - *222 + - *299 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: &489 + default: &491 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -37399,7 +37699,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *172 - - *220 + - *222 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -37474,13 +37774,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *172 - - *220 + - *222 responses: '200': description: Response content: application/json: - schema: &298 + schema: &300 title: Org Membership description: Org Membership type: object @@ -37532,7 +37832,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &299 + response-if-user-has-an-active-admin-membership-with-organization: &301 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -37601,7 +37901,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *172 - - *220 + - *222 requestBody: required: false content: @@ -37629,9 +37929,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - response-if-user-already-had-membership-with-organization: *299 + response-if-user-already-had-membership-with-organization: *301 '422': *15 '403': *29 x-github: @@ -37653,7 +37953,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -37699,7 +37999,7 @@ paths: application/json: schema: type: array - items: &300 + items: &302 title: Migration description: A migration. type: object @@ -38028,7 +38328,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -38207,7 +38507,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *172 - - &301 + - &303 name: migration_id description: The unique identifier of the migration. in: path @@ -38234,7 +38534,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -38404,7 +38704,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *172 - - *301 + - *303 responses: '302': description: Response @@ -38426,7 +38726,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *172 - - *301 + - *303 responses: '204': description: Response @@ -38450,8 +38750,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *172 - - *301 - - &740 + - *303 + - &756 name: repo_name description: repo_name parameter in: path @@ -38479,7 +38779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *172 - - *301 + - *303 - *17 - *19 responses: @@ -38489,9 +38789,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: &313 + default: &315 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38700,7 +39000,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &302 + items: &304 title: Organization Role description: Organization roles type: object @@ -38907,7 +39207,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -38959,7 +39259,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *172 - - &303 + - &305 name: team_slug description: The slug of the team name. in: path @@ -38991,8 +39291,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *172 - - *303 - - *246 + - *305 + - *248 responses: '204': description: Response @@ -39022,8 +39322,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *172 - - *303 - - *246 + - *305 + - *248 responses: '204': description: Response @@ -39049,7 +39349,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -39075,8 +39375,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *172 - - *220 - - *246 + - *222 + - *248 responses: '204': description: Response @@ -39107,8 +39407,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *172 - - *220 - - *246 + - *222 + - *248 responses: '204': description: Response @@ -39137,13 +39437,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *172 - - *246 + - *248 responses: '200': description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -39201,7 +39501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *172 - - *246 + - *248 requestBody: required: true content: @@ -39240,7 +39540,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -39294,7 +39594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *172 - - *246 + - *248 responses: '204': description: Response @@ -39320,7 +39620,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *172 - - *246 + - *248 - *17 - *19 responses: @@ -39398,8 +39698,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *304 - required: *305 + properties: *306 + required: *307 nullable: true required: - id @@ -39414,7 +39714,7 @@ paths: - slug - parent examples: - default: *306 + default: *308 headers: Link: *40 '404': @@ -39444,7 +39744,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *172 - - *246 + - *248 - *17 - *19 responses: @@ -39472,13 +39772,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &346 + items: &348 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *304 - required: *305 + properties: *306 + required: *307 name: nullable: true type: string @@ -39573,7 +39873,7 @@ paths: - type - url examples: - default: *294 + default: *296 headers: Link: *40 '404': @@ -39624,7 +39924,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -39650,7 +39950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *172 - - *220 + - *222 requestBody: required: false content: @@ -39708,7 +40008,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -39766,7 +40066,7 @@ paths: - nuget - container - *172 - - &742 + - &758 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39802,12 +40102,12 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: *308 + default: *310 '403': *29 '401': *25 - '400': &744 + '400': &760 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -39829,7 +40129,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &309 + - &311 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 @@ -39847,7 +40147,7 @@ paths: - docker - nuget - container - - &310 + - &312 name: package_name description: The name of the package. in: path @@ -39860,7 +40160,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: default: value: @@ -39912,8 +40212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *309 - - *310 + - *311 + - *312 - *172 responses: '204': @@ -39946,8 +40246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *309 - - *310 + - *311 + - *312 - *172 - name: token description: package token @@ -39980,8 +40280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *309 - - *310 + - *311 + - *312 - *172 - *19 - *17 @@ -40002,7 +40302,7 @@ paths: application/json: schema: type: array - items: &311 + items: &313 title: Package Version description: A version of a software package type: object @@ -40127,10 +40427,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *309 - - *310 + - *311 + - *312 - *172 - - &312 + - &314 name: package_version_id description: Unique identifier of the package version. in: path @@ -40142,7 +40442,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *313 examples: default: value: @@ -40178,10 +40478,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *309 - - *310 - - *172 + - *311 - *312 + - *172 + - *314 responses: '204': description: Response @@ -40213,10 +40513,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *309 - - *310 - - *172 + - *311 - *312 + - *172 + - *314 responses: '204': description: Response @@ -40246,7 +40546,7 @@ paths: - *172 - *17 - *19 - - &314 + - &316 name: sort description: The property by which to sort the results. in: query @@ -40257,7 +40557,7 @@ paths: - created_at default: created_at - *88 - - &315 + - &317 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -40268,7 +40568,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &316 + - &318 name: repository description: The name of the repository to use to filter the results. in: query @@ -40276,7 +40576,7 @@ paths: schema: type: string example: Hello-World - - &317 + - &319 name: permission description: The permission to use to filter the results. in: query @@ -40284,7 +40584,7 @@ paths: schema: type: string example: issues_read - - &318 + - &320 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) @@ -40294,7 +40594,7 @@ paths: schema: type: string format: date-time - - &319 + - &321 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) @@ -40304,7 +40604,7 @@ paths: schema: type: string format: date-time - - &320 + - &322 name: token_id description: The ID of the token in: query @@ -40615,9 +40915,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -40643,14 +40943,14 @@ paths: - *172 - *17 - *19 - - *314 - - *88 - - *315 - *316 + - *88 - *317 - *318 - *319 - *320 + - *321 + - *322 responses: '500': *85 '422': *15 @@ -40930,9 +41230,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -40974,7 +41274,7 @@ paths: type: integer configurations: type: array - items: &321 + items: &323 title: Organization private registry description: Private registry configuration for an organization type: object @@ -41184,7 +41484,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &322 + org-private-registry-with-selected-visibility: &324 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -41274,15 +41574,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *172 - - *208 + - *210 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: false @@ -41304,7 +41604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -41384,7 +41684,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *172 - - *208 + - *210 responses: '204': description: Response @@ -41430,7 +41730,7 @@ paths: application/json: schema: type: array - items: &323 + items: &325 title: Project description: Projects are a way to organize columns and cards of work. @@ -41603,7 +41903,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: default: value: @@ -41641,7 +41941,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &390 + '410': &392 description: Gone content: application/json: @@ -41807,7 +42107,7 @@ paths: required: true content: application/json: - schema: *324 + schema: *326 examples: default: value: @@ -41910,7 +42210,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &325 + items: &327 title: Custom Property Value description: Custom property name and associated value type: object @@ -41997,7 +42297,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *325 + items: *327 required: - repository_names - properties @@ -42050,7 +42350,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -42070,7 +42370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response if user is a public member @@ -42095,7 +42395,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -42117,7 +42417,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -42188,9 +42488,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -42393,7 +42693,7 @@ paths: description: Response content: application/json: - schema: &392 + schema: &394 title: Full Repository description: Full Repository type: object @@ -42670,8 +42970,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *326 - required: *327 + properties: *328 + required: *329 nullable: true temp_clone_token: type: string @@ -42786,7 +43086,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &511 + properties: &513 url: type: string format: uri @@ -42802,12 +43102,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &512 + required: &514 - url - key - name - html_url - security_and_analysis: *328 + security_and_analysis: *330 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42891,7 +43191,7 @@ paths: - network_count - subscribers_count examples: - default: &394 + default: &396 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43417,9 +43717,9 @@ paths: application/json: schema: type: array - items: *329 + items: *331 examples: - default: *330 + default: *332 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43444,7 +43744,7 @@ paths: - *172 - *17 - *19 - - &654 + - &656 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43535,7 +43835,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *128 - conditions: *331 + conditions: *333 rules: type: array description: An array of rules within the ruleset. @@ -43579,7 +43879,7 @@ paths: application/json: schema: *130 examples: - default: &332 + default: &334 value: id: 21 name: super cool ruleset @@ -43634,7 +43934,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *172 - - &655 + - &657 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 @@ -43644,16 +43944,16 @@ paths: schema: type: string x-multi-segment: true - - *227 - - *223 - - &656 + - *229 + - *225 + - &658 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 - - &657 + - &659 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -43673,7 +43973,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &660 title: Rule Suites description: Response type: array @@ -43728,7 +44028,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &659 + default: &661 value: - id: 21 actor_id: 12 @@ -43772,7 +44072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *172 - - &660 + - &662 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43788,7 +44088,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &663 title: Rule Suite description: Response type: object @@ -43887,7 +44187,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &662 + default: &664 value: id: 21 actor_id: 12 @@ -43962,7 +44262,7 @@ paths: application/json: schema: *130 examples: - default: *332 + default: *334 '404': *6 '500': *85 put: @@ -44011,7 +44311,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *128 - conditions: *331 + conditions: *333 rules: description: An array of rules within the ruleset. type: array @@ -44052,7 +44352,7 @@ paths: application/json: schema: *130 examples: - default: *332 + default: *334 '404': *6 '500': *85 delete: @@ -44111,7 +44411,7 @@ paths: type: array items: *133 examples: - default: *333 + default: *335 '404': *6 '500': *85 x-github: @@ -44148,7 +44448,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: default: value: @@ -44211,14 +44511,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *172 - - *335 - - *336 - *337 - *338 + - *339 + - *340 - *88 - *19 - *17 - - &664 + - &666 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -44228,7 +44528,7 @@ paths: required: false schema: type: string - - &665 + - &667 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -44238,10 +44538,10 @@ paths: required: false schema: type: string - - *339 - - *340 - *341 - *342 + - *343 + - *344 responses: '200': description: Response @@ -44249,9 +44549,9 @@ paths: application/json: schema: type: array - items: *343 + items: *345 examples: - default: *344 + default: *346 headers: Link: *40 '404': *6 @@ -44321,7 +44621,7 @@ paths: application/json: schema: type: array - items: &672 + items: &688 description: A repository security advisory. type: object properties: @@ -44541,7 +44841,7 @@ paths: login: type: string description: The username of the user credited. - type: *345 + type: *347 credits_detailed: type: array nullable: true @@ -44551,7 +44851,7 @@ paths: type: object properties: user: *4 - type: *345 + type: *347 state: type: string description: The state of the user's acceptance of the @@ -44575,7 +44875,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *229 + items: *231 private_fork: readOnly: true nullable: true @@ -44612,7 +44912,7 @@ paths: - private_fork additionalProperties: false examples: - default: &673 + default: &689 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44999,9 +45299,9 @@ paths: application/json: schema: type: array - items: *346 + items: *348 examples: - default: *306 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45025,7 +45325,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *172 - - *303 + - *305 responses: '204': description: Response @@ -45051,7 +45351,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *172 - - *303 + - *305 responses: '204': description: Response @@ -45086,9 +45386,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45113,7 +45413,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *172 - - *349 + - *351 - *17 - *19 responses: @@ -45121,9 +45421,9 @@ paths: description: Success content: application/json: - schema: *350 + schema: *352 examples: - default: *351 + default: *353 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45151,9 +45451,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45181,9 +45481,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45223,7 +45523,7 @@ paths: type: array items: *113 examples: - default: *356 + default: *358 headers: Link: *40 x-github: @@ -45424,15 +45724,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *172 - - *357 + - *359 responses: '200': description: Response content: application/json: - schema: *358 + schema: *360 examples: - default: *359 + default: *361 headers: Link: *40 x-github: @@ -45470,7 +45770,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &383 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -45516,7 +45816,7 @@ paths: type: string nullable: true examples: - default: &382 + default: &384 value: groups: - group_id: '123' @@ -45562,7 +45862,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *172 - - *303 + - *305 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -45628,9 +45928,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 headers: Link: *40 '403': *29 @@ -45724,7 +46024,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &362 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45787,8 +46087,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *304 - required: *305 + properties: *306 + required: *307 nullable: true members_count: type: integer @@ -46034,7 +46334,7 @@ paths: - repos_count - organization examples: - default: &361 + default: &363 value: id: 1 node_id: MDQ6VGVhbTE= @@ -46105,15 +46405,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *172 - - *303 + - *305 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '404': *6 x-github: githubCloudOnly: false @@ -46135,7 +46435,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *172 - - *303 + - *305 requestBody: required: false content: @@ -46197,16 +46497,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '201': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '404': *6 '422': *15 '403': *29 @@ -46232,7 +46532,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *172 - - *303 + - *305 responses: '204': description: Response @@ -46259,7 +46559,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *172 - - *303 + - *305 - *88 - *17 - *19 @@ -46276,7 +46576,7 @@ paths: application/json: schema: type: array - items: &362 + items: &364 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46375,7 +46675,7 @@ paths: - updated_at - url examples: - default: &713 + default: &729 value: - author: login: octocat @@ -46450,7 +46750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *172 - - *303 + - *305 requestBody: required: true content: @@ -46484,9 +46784,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: &363 + default: &365 value: author: login: octocat @@ -46559,8 +46859,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *172 - - *303 - - &364 + - *305 + - &366 name: discussion_number description: The number that identifies the discussion. in: path @@ -46572,9 +46872,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46597,8 +46897,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *172 - - *303 - - *364 + - *305 + - *366 requestBody: required: false content: @@ -46621,9 +46921,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: &714 + default: &730 value: author: login: octocat @@ -46694,8 +46994,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *172 - - *303 - - *364 + - *305 + - *366 responses: '204': description: Response @@ -46722,8 +47022,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *172 - - *303 - - *364 + - *305 + - *366 - *88 - *17 - *19 @@ -46734,7 +47034,7 @@ paths: application/json: schema: type: array - items: &365 + items: &367 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46806,7 +47106,7 @@ paths: - updated_at - url examples: - default: &715 + default: &731 value: - author: login: octocat @@ -46875,8 +47175,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *172 - - *303 - - *364 + - *305 + - *366 requestBody: required: true content: @@ -46898,9 +47198,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: &366 + default: &368 value: author: login: octocat @@ -46967,9 +47267,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *172 - - *303 - - *364 - - &367 + - *305 + - *366 + - &369 name: comment_number description: The number that identifies the comment. in: path @@ -46981,9 +47281,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47006,9 +47306,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *172 - - *303 - - *364 - - *367 + - *305 + - *366 + - *369 requestBody: required: true content: @@ -47030,9 +47330,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: &716 + default: &732 value: author: login: octocat @@ -47097,9 +47397,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *172 - - *303 - - *364 - - *367 + - *305 + - *366 + - *369 responses: '204': description: Response @@ -47126,9 +47426,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *172 - - *303 - - *364 - - *367 + - *305 + - *366 + - *369 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -47154,7 +47454,7 @@ paths: application/json: schema: type: array - items: &368 + items: &370 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -47197,7 +47497,7 @@ paths: - content - created_at examples: - default: &370 + default: &372 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47248,9 +47548,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *172 - - *303 - - *364 - - *367 + - *305 + - *366 + - *369 requestBody: required: true content: @@ -47283,9 +47583,9 @@ paths: team discussion comment content: application/json: - schema: *368 + schema: *370 examples: - default: &369 + default: &371 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47314,9 +47614,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47340,10 +47640,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *172 - - *303 - - *364 - - *367 - - &371 + - *305 + - *366 + - *369 + - &373 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47376,8 +47676,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *172 - - *303 - - *364 + - *305 + - *366 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -47403,9 +47703,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 x-github: @@ -47432,8 +47732,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *172 - - *303 - - *364 + - *305 + - *366 requestBody: required: true content: @@ -47465,16 +47765,16 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47498,9 +47798,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *172 - - *303 - - *364 - - *371 + - *305 + - *366 + - *373 responses: '204': description: Response @@ -47524,15 +47824,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *172 - - *303 + - *305 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -47552,7 +47852,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *172 - - *303 + - *305 requestBody: required: true content: @@ -47575,9 +47875,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -47597,7 +47897,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *172 - - *303 + - *305 responses: '204': description: Response @@ -47622,7 +47922,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *172 - - *303 + - *305 - *17 - *19 responses: @@ -47632,9 +47932,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *40 x-github: @@ -47657,7 +47957,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *172 - - *303 + - *305 - name: role description: Filters members returned by their role in the team. in: query @@ -47680,7 +47980,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -47711,14 +48011,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *172 - - *303 - - *220 + - *305 + - *222 responses: '200': description: Response content: application/json: - schema: &376 + schema: &378 title: Team Membership description: Team Membership type: object @@ -47745,7 +48045,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &717 + response-if-user-is-a-team-maintainer: &733 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47782,8 +48082,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *172 - - *303 - - *220 + - *305 + - *222 requestBody: required: false content: @@ -47808,9 +48108,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - response-if-users-membership-with-team-is-now-pending: &718 + response-if-users-membership-with-team-is-now-pending: &734 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47846,8 +48146,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *172 - - *303 - - *220 + - *305 + - *222 responses: '204': description: Response @@ -47873,7 +48173,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *172 - - *303 + - *305 - *17 - *19 responses: @@ -47883,7 +48183,7 @@ paths: application/json: schema: type: array - items: &377 + items: &379 title: Team Project description: A team's access to a project. type: object @@ -47951,7 +48251,7 @@ paths: - updated_at - permissions examples: - default: &719 + default: &735 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48015,8 +48315,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *172 - - *303 - - &378 + - *305 + - &380 name: project_id description: The unique identifier of the project. in: path @@ -48028,9 +48328,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: &720 + default: &736 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48093,8 +48393,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *172 - - *303 - - *378 + - *305 + - *380 requestBody: required: false content: @@ -48161,8 +48461,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *172 - - *303 - - *378 + - *305 + - *380 responses: '204': description: Response @@ -48190,7 +48490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *172 - - *303 + - *305 - *17 - *19 responses: @@ -48200,9 +48500,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -48232,15 +48532,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *172 - - *303 - - *379 - - *380 + - *305 + - *381 + - *382 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &721 + schema: &737 title: Team Repository description: A team's access to a repository. type: object @@ -48810,9 +49110,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *172 - - *303 - - *379 - - *380 + - *305 + - *381 + - *382 requestBody: required: false content: @@ -48858,9 +49158,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *172 - - *303 - - *379 - - *380 + - *305 + - *381 + - *382 responses: '204': description: Response @@ -48887,15 +49187,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *172 - - *303 + - *305 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *382 + default: *384 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48918,7 +49218,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *172 - - *303 + - *305 requestBody: required: true content: @@ -48961,7 +49261,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -48994,7 +49294,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *172 - - *303 + - *305 - *17 - *19 responses: @@ -49004,9 +49304,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - response-if-child-teams-exist: &722 + response-if-child-teams-exist: &738 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49133,7 +49433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &383 + - &385 name: card_id description: The unique identifier of the card. in: path @@ -49145,7 +49445,7 @@ paths: description: Response content: application/json: - schema: &384 + schema: &386 title: Project Card description: Project cards represent a scope of work. type: object @@ -49212,7 +49512,7 @@ paths: - created_at - updated_at examples: - default: &385 + default: &387 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -49268,7 +49568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *383 + - *385 requestBody: required: false content: @@ -49295,9 +49595,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '304': *37 '403': *29 '401': *25 @@ -49324,7 +49624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *383 + - *385 responses: '204': description: Response @@ -49368,7 +49668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *383 + - *385 requestBody: required: true content: @@ -49479,7 +49779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &386 + - &388 name: column_id description: The unique identifier of the column. in: path @@ -49491,7 +49791,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &389 title: Project Column description: Project columns contain cards of work. type: object @@ -49537,7 +49837,7 @@ paths: - created_at - updated_at examples: - default: &388 + default: &390 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -49572,7 +49872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *386 + - *388 requestBody: required: true content: @@ -49596,9 +49896,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 '304': *37 '403': *29 '401': *25 @@ -49623,7 +49923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *386 + - *388 responses: '204': description: Response @@ -49652,7 +49952,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *386 + - *388 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -49673,7 +49973,7 @@ paths: application/json: schema: type: array - items: *384 + items: *386 examples: default: value: @@ -49732,7 +50032,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *386 + - *388 requestBody: required: true content: @@ -49772,9 +50072,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '304': *37 '403': *29 '401': *25 @@ -49784,8 +50084,8 @@ paths: application/json: schema: oneOf: - - *181 - - *182 + - *183 + - *184 '503': description: Response content: @@ -49830,7 +50130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *386 + - *388 requestBody: required: true content: @@ -49890,15 +50190,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *378 + - *380 responses: '200': description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: &389 + default: &391 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -49955,7 +50255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *378 + - *380 requestBody: required: false content: @@ -50001,9 +50301,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: *389 + default: *391 '404': description: Not Found if the authenticated user does not have access to the project @@ -50024,7 +50324,7 @@ paths: items: type: string '401': *25 - '410': *390 + '410': *392 '422': *7 x-github: githubCloudOnly: false @@ -50047,7 +50347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *378 + - *380 responses: '204': description: Delete Success @@ -50068,7 +50368,7 @@ paths: items: type: string '401': *25 - '410': *390 + '410': *392 '404': *6 x-github: githubCloudOnly: false @@ -50092,7 +50392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *378 + - *380 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -50119,7 +50419,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '404': *6 @@ -50149,8 +50449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *378 - - *220 + - *380 + - *222 requestBody: required: false content: @@ -50202,8 +50502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *378 - - *220 + - *380 + - *222 responses: '204': description: Response @@ -50234,8 +50534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *378 - - *220 + - *380 + - *222 responses: '200': description: Response @@ -50308,7 +50608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *378 + - *380 - *17 - *19 responses: @@ -50318,7 +50618,7 @@ paths: application/json: schema: type: array - items: *387 + items: *389 examples: default: value: @@ -50356,7 +50656,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *378 + - *380 requestBody: required: true content: @@ -50379,7 +50679,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: default: value: @@ -50443,7 +50743,7 @@ paths: resources: type: object properties: - core: &391 + core: &393 title: Rate Limit type: object properties: @@ -50460,20 +50760,20 @@ paths: - remaining - reset - used - graphql: *391 - search: *391 - code_search: *391 - source_import: *391 - integration_manifest: *391 - code_scanning_upload: *391 - actions_runner_registration: *391 - scim: *391 - dependency_snapshots: *391 - code_scanning_autofix: *391 + graphql: *393 + search: *393 + code_search: *393 + source_import: *393 + integration_manifest: *393 + code_scanning_upload: *393 + actions_runner_registration: *393 + scim: *393 + dependency_snapshots: *393 + code_scanning_autofix: *393 required: - core - search - rate: *391 + rate: *393 required: - rate - resources @@ -50577,14 +50877,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: default-response: summary: Default response @@ -51089,7 +51389,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *393 + '301': *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51107,8 +51407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -51362,10 +51662,10 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *394 - '307': &395 + default: *396 + '307': &397 description: Temporary Redirect content: application/json: @@ -51394,8 +51694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -51417,7 +51717,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *395 + '307': *397 '404': *6 '409': *96 x-github: @@ -51441,11 +51741,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 - - &410 + - &412 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51468,7 +51768,7 @@ paths: type: integer artifacts: type: array - items: &396 + items: &398 title: Artifact description: An artifact type: object @@ -51546,7 +51846,7 @@ paths: - expires_at - updated_at examples: - default: &411 + default: &413 value: total_count: 2 artifacts: @@ -51607,9 +51907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *379 - - *380 - - &397 + - *381 + - *382 + - &399 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51621,7 +51921,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -51659,9 +51959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *379 - - *380 - - *397 + - *381 + - *382 + - *399 responses: '204': description: Response @@ -51685,9 +51985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *379 - - *380 - - *397 + - *381 + - *382 + - *399 - name: archive_format in: path required: true @@ -51701,7 +52001,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': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51724,14 +52024,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *398 + schema: *400 examples: default: value: @@ -51757,11 +52057,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 - - &399 + - &401 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 @@ -51795,7 +52095,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &402 title: Repository actions caches description: Repository actions caches type: object @@ -51837,7 +52137,7 @@ paths: - total_count - actions_caches examples: - default: &401 + default: &403 value: total_count: 1 actions_caches: @@ -51869,23 +52169,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *379 - - *380 + - *381 + - *382 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *399 + - *401 responses: '200': description: Response content: application/json: - schema: *400 + schema: *402 examples: - default: *401 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51905,8 +52205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *379 - - *380 + - *381 + - *382 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51937,9 +52237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *379 - - *380 - - &402 + - *381 + - *382 + - &404 name: job_id description: The unique identifier of the job. in: path @@ -51951,7 +52251,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &416 title: Job description: Information of a job execution in a workflow run type: object @@ -52258,9 +52558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *379 - - *380 - - *402 + - *381 + - *382 + - *404 responses: '302': description: Response @@ -52288,9 +52588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *379 - - *380 - - *402 + - *381 + - *382 + - *404 requestBody: required: false content: @@ -52311,7 +52611,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -52335,8 +52635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Status response @@ -52386,8 +52686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -52421,7 +52721,7 @@ paths: description: Empty response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -52450,8 +52750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -52469,7 +52769,7 @@ paths: type: integer secrets: type: array - items: &416 + items: &418 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52489,7 +52789,7 @@ paths: - created_at - updated_at examples: - default: &417 + default: &419 value: total_count: 2 secrets: @@ -52522,9 +52822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *379 - - *380 - - *403 + - *381 + - *382 + - *405 - *19 responses: '200': @@ -52541,7 +52841,7 @@ paths: type: integer variables: type: array - items: &420 + items: &422 title: Actions Variable type: object properties: @@ -52571,7 +52871,7 @@ paths: - created_at - updated_at examples: - default: &421 + default: &423 value: total_count: 2 variables: @@ -52604,8 +52904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -52614,11 +52914,11 @@ paths: schema: type: object properties: - enabled: &404 + enabled: &406 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *191 + selected_actions_url: *193 required: - enabled examples: @@ -52647,8 +52947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -52659,7 +52959,7 @@ paths: schema: type: object properties: - enabled: *404 + enabled: *406 allowed_actions: *49 required: - enabled @@ -52690,14 +52990,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: &405 + schema: &407 type: object properties: access_level: @@ -52715,7 +53015,7 @@ paths: required: - access_level examples: - default: &406 + default: &408 value: access_level: organization x-github: @@ -52740,15 +53040,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 responses: '204': description: Response @@ -52772,8 +53072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -52804,8 +53104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -52837,14 +53137,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *194 + schema: *196 examples: default: *55 x-github: @@ -52867,8 +53167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Success response @@ -52879,7 +53179,7 @@ paths: required: true content: application/json: - schema: *195 + schema: *197 examples: default: *55 x-github: @@ -52908,8 +53208,8 @@ paths: in: query schema: type: string - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -52953,8 +53253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -52962,9 +53262,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *200 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52986,8 +53286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -53030,7 +53330,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *201 + '201': *203 '404': *6 '422': *7 '409': *96 @@ -53061,8 +53361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '201': description: Response @@ -53070,7 +53370,7 @@ paths: application/json: schema: *65 examples: - default: *202 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53098,8 +53398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '201': description: Response @@ -53107,7 +53407,7 @@ paths: application/json: schema: *65 examples: - default: *203 + default: *205 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53129,8 +53429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 responses: '200': @@ -53139,7 +53439,7 @@ paths: application/json: schema: *62 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53160,8 +53460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 responses: '204': @@ -53188,8 +53488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 responses: '200': *67 @@ -53214,8 +53514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 requestBody: required: true @@ -53264,8 +53564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 requestBody: required: true @@ -53315,11 +53615,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 responses: - '200': *205 + '200': *207 '404': *6 x-github: githubCloudOnly: false @@ -53346,10 +53646,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 - - *206 + - *208 responses: '200': *67 '404': *6 @@ -53377,9 +53677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *379 - - *380 - - &424 + - *381 + - *382 + - &426 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. @@ -53387,7 +53687,7 @@ paths: required: false schema: type: string - - &425 + - &427 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53395,7 +53695,7 @@ paths: required: false schema: type: string - - &426 + - &428 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53404,7 +53704,7 @@ paths: required: false schema: type: string - - &427 + - &429 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 @@ -53431,7 +53731,7 @@ paths: - pending - *17 - *19 - - &428 + - &430 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -53440,7 +53740,7 @@ paths: schema: type: string format: date-time - - &407 + - &409 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53449,13 +53749,13 @@ paths: schema: type: boolean default: false - - &429 + - &431 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &430 + - &432 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53478,7 +53778,7 @@ paths: type: integer workflow_runs: type: array - items: &408 + items: &410 title: Workflow Run description: An invocation of a workflow type: object @@ -53573,7 +53873,7 @@ paths: that triggered the run. type: array nullable: true - items: &451 + items: &453 title: Pull Request Minimal type: object properties: @@ -53692,7 +53992,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &455 + properties: &457 id: type: string description: SHA for the commit @@ -53743,7 +54043,7 @@ paths: - name - email nullable: true - required: &456 + required: &458 - id - tree_id - message @@ -53751,8 +54051,8 @@ paths: - author - committer nullable: true - repository: *198 - head_repository: *198 + repository: *200 + head_repository: *200 head_repository_id: type: integer example: 5 @@ -53790,7 +54090,7 @@ paths: - workflow_url - pull_requests examples: - default: &431 + default: &433 value: total_count: 1 workflow_runs: @@ -54026,24 +54326,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *379 - - *380 - - &409 + - *381 + - *382 + - &411 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *407 + - *409 responses: '200': description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: &412 + default: &414 value: id: 30433642 name: Build @@ -54284,9 +54584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '204': description: Response @@ -54309,9 +54609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '200': description: Response @@ -54430,15 +54730,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '201': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -54465,12 +54765,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 - *17 - *19 - - *410 + - *412 responses: '200': description: Response @@ -54486,9 +54786,9 @@ paths: type: integer artifacts: type: array - items: *396 + items: *398 examples: - default: *411 + default: *413 headers: Link: *40 x-github: @@ -54512,25 +54812,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *379 - - *380 - - *409 - - &413 + - *381 + - *382 + - *411 + - &415 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *407 + - *409 responses: '200': description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: *412 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54553,10 +54853,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *379 - - *380 - - *409 - - *413 + - *381 + - *382 + - *411 + - *415 - *17 - *19 responses: @@ -54574,9 +54874,9 @@ paths: type: integer jobs: type: array - items: *414 + items: *416 examples: - default: &415 + default: &417 value: total_count: 1 jobs: @@ -54689,10 +54989,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *379 - - *380 - - *409 - - *413 + - *381 + - *382 + - *411 + - *415 responses: '302': description: Response @@ -54720,15 +55020,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '202': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -54755,9 +55055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 requestBody: required: true content: @@ -54824,15 +55124,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '202': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -54859,9 +55159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 - 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 @@ -54891,9 +55191,9 @@ paths: type: integer jobs: type: array - items: *414 + items: *416 examples: - default: *415 + default: *417 headers: Link: *40 x-github: @@ -54918,9 +55218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '302': description: Response @@ -54947,9 +55247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '204': description: Response @@ -54976,9 +55276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '200': description: Response @@ -55038,7 +55338,7 @@ paths: items: type: object properties: - type: &535 + type: &537 type: string description: The type of reviewer. enum: @@ -55048,7 +55348,7 @@ paths: reviewer: anyOf: - *4 - - *229 + - *231 required: - environment - wait_timer @@ -55123,9 +55423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 requestBody: required: true content: @@ -55172,7 +55472,7 @@ paths: application/json: schema: type: array - items: &527 + items: &529 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55278,7 +55578,7 @@ paths: - created_at - updated_at examples: - default: &528 + default: &530 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55334,9 +55634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 requestBody: required: false content: @@ -55357,7 +55657,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -55380,9 +55680,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 requestBody: required: false content: @@ -55403,7 +55703,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -55436,9 +55736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '200': description: Response @@ -55575,8 +55875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -55594,9 +55894,9 @@ paths: type: integer secrets: type: array - items: *416 + items: *418 examples: - default: *417 + default: *419 headers: Link: *40 x-github: @@ -55621,16 +55921,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55652,17 +55952,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '200': description: Response content: application/json: - schema: *416 + schema: *418 examples: - default: &548 + default: &550 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55688,9 +55988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 requestBody: required: true content: @@ -55721,7 +56021,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -55747,9 +56047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '204': description: Response @@ -55774,9 +56074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *379 - - *380 - - *403 + - *381 + - *382 + - *405 - *19 responses: '200': @@ -55793,9 +56093,9 @@ paths: type: integer variables: type: array - items: *420 + items: *422 examples: - default: *421 + default: *423 headers: Link: *40 x-github: @@ -55818,8 +56118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -55846,7 +56146,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -55871,17 +56171,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *379 - - *380 - - *211 + - *381 + - *382 + - *213 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: &549 + default: &551 value: name: USERNAME value: octocat @@ -55907,9 +56207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *379 - - *380 - - *211 + - *381 + - *382 + - *213 requestBody: required: true content: @@ -55951,9 +56251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *379 - - *380 - - *211 + - *381 + - *382 + - *213 responses: '204': description: Response @@ -55978,8 +56278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -55997,7 +56297,7 @@ paths: type: integer workflows: type: array - items: &422 + items: &424 title: Workflow description: A GitHub Actions workflow type: object @@ -56104,9 +56404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *379 - - *380 - - &423 + - *381 + - *382 + - &425 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56121,7 +56421,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: default: value: @@ -56154,9 +56454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *379 - - *380 - - *423 + - *381 + - *382 + - *425 responses: '204': description: Response @@ -56181,9 +56481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *379 - - *380 - - *423 + - *381 + - *382 + - *425 responses: '204': description: Response @@ -56234,9 +56534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *379 - - *380 - - *423 + - *381 + - *382 + - *425 responses: '204': description: Response @@ -56263,19 +56563,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *379 - - *380 - - *423 - - *424 + - *381 + - *382 - *425 - *426 - *427 - - *17 - - *19 - *428 - - *407 - *429 + - *17 + - *19 - *430 + - *409 + - *431 + - *432 responses: '200': description: Response @@ -56291,9 +56591,9 @@ paths: type: integer workflow_runs: type: array - items: *408 + items: *410 examples: - default: *431 + default: *433 headers: Link: *40 x-github: @@ -56326,9 +56626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *379 - - *380 - - *423 + - *381 + - *382 + - *425 responses: '200': description: Response @@ -56389,8 +56689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *379 - - *380 + - *381 + - *382 - *88 - *17 - *86 @@ -56554,8 +56854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -56567,7 +56867,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '404': *6 @@ -56592,8 +56892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *379 - - *380 + - *381 + - *382 - name: assignee in: path required: true @@ -56629,8 +56929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -56742,8 +57042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *86 - *87 @@ -56797,7 +57097,7 @@ paths: bundle_url: type: string examples: - default: *432 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56817,8 +57117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -56826,7 +57126,7 @@ paths: application/json: schema: type: array - items: &433 + items: &435 title: Autolink reference description: An autolink reference. type: object @@ -56876,8 +57176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -56916,9 +57216,9 @@ paths: description: response content: application/json: - schema: *433 + schema: *435 examples: - default: &434 + default: &436 value: id: 1 key_prefix: TICKET- @@ -56949,9 +57249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *379 - - *380 - - &435 + - *381 + - *382 + - &437 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56963,9 +57263,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: - default: *434 + default: *436 '404': *6 x-github: githubCloudOnly: false @@ -56985,9 +57285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *379 - - *380 - - *435 + - *381 + - *382 + - *437 responses: '204': description: Response @@ -57011,8 +57311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response if Dependabot is enabled @@ -57060,8 +57360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -57082,8 +57382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -57103,8 +57403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *379 - - *380 + - *381 + - *382 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57142,7 +57442,7 @@ paths: - url protected: type: boolean - protection: &437 + protection: &439 title: Branch Protection description: Branch Protection type: object @@ -57184,7 +57484,7 @@ paths: required: - contexts - checks - enforce_admins: &440 + enforce_admins: &442 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57199,7 +57499,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &442 + required_pull_request_reviews: &444 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57220,7 +57520,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *229 + items: *231 apps: description: The list of apps with review dismissal access. @@ -57249,7 +57549,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *229 + items: *231 apps: description: The list of apps allowed to bypass pull request requirements. @@ -57275,7 +57575,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &439 + restrictions: &441 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -57582,9 +57882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *379 - - *380 - - &438 + - *381 + - *382 + - &440 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -57598,14 +57898,14 @@ paths: description: Response content: application/json: - schema: &448 + schema: &450 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &500 + commit: &502 title: Commit description: Commit type: object @@ -57639,7 +57939,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &436 + properties: &438 name: type: string example: '"Chris Wanstrath"' @@ -57654,7 +57954,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *436 + properties: *438 nullable: true message: type: string @@ -57675,7 +57975,7 @@ paths: required: - sha - url - verification: &555 + verification: &557 title: Verification type: object properties: @@ -57709,12 +58009,12 @@ paths: nullable: true oneOf: - *4 - - *209 + - *211 committer: nullable: true oneOf: - *4 - - *209 + - *211 parents: type: array items: @@ -57745,7 +58045,7 @@ paths: type: integer files: type: array - items: &515 + items: &517 title: Diff Entry description: Diff Entry type: object @@ -57828,7 +58128,7 @@ paths: - self protected: type: boolean - protection: *437 + protection: *439 protection_url: type: string format: uri @@ -57935,7 +58235,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *393 + '301': *395 '404': *6 x-github: githubCloudOnly: false @@ -57957,15 +58257,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *437 + schema: *439 examples: default: value: @@ -58159,9 +58459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -58416,7 +58716,7 @@ paths: url: type: string format: uri - required_status_checks: &445 + required_status_checks: &447 title: Status Check Policy description: Status Check Policy type: object @@ -58492,7 +58792,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *231 apps: type: array items: *5 @@ -58510,7 +58810,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *231 apps: type: array items: *5 @@ -58568,7 +58868,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *439 + restrictions: *441 required_conversation_resolution: type: object properties: @@ -58680,9 +58980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -58707,17 +59007,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: &441 + default: &443 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58739,17 +59039,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *441 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58768,9 +59068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -58795,17 +59095,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: &443 + default: &445 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58901,9 +59201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -59001,9 +59301,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *443 + default: *445 '422': *15 x-github: githubCloudOnly: false @@ -59024,9 +59324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -59053,17 +59353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: &444 + default: &446 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59086,17 +59386,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *444 + default: *446 '404': *6 x-github: githubCloudOnly: false @@ -59116,9 +59416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -59143,17 +59443,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: &446 + default: &448 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59179,9 +59479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -59233,9 +59533,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '404': *6 '422': *15 x-github: @@ -59257,9 +59557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -59283,9 +59583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response @@ -59319,9 +59619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -59388,9 +59688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -59454,9 +59754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: content: application/json: @@ -59522,15 +59822,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -59621,9 +59921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -59646,9 +59946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response @@ -59658,7 +59958,7 @@ paths: type: array items: *5 examples: - default: &447 + default: &449 value: - id: 1 slug: octoapp @@ -59715,9 +60015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -59751,7 +60051,7 @@ paths: type: array items: *5 examples: - default: *447 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -59772,9 +60072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -59808,7 +60108,7 @@ paths: type: array items: *5 examples: - default: *447 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -59829,9 +60129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -59865,7 +60165,7 @@ paths: type: array items: *5 examples: - default: *447 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -59887,9 +60187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response @@ -59897,9 +60197,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 '404': *6 x-github: githubCloudOnly: false @@ -59919,9 +60219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -59957,9 +60257,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 '422': *15 x-github: githubCloudOnly: false @@ -59980,9 +60280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -60018,9 +60318,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 '422': *15 x-github: githubCloudOnly: false @@ -60041,9 +60341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: content: application/json: @@ -60078,9 +60378,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 '422': *15 x-github: githubCloudOnly: false @@ -60102,9 +60402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response @@ -60114,7 +60414,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 '404': *6 x-github: githubCloudOnly: false @@ -60138,9 +60438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -60173,7 +60473,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -60198,9 +60498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -60233,7 +60533,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -60258,9 +60558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -60293,7 +60593,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -60320,9 +60620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -60344,7 +60644,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: default: value: @@ -60458,12 +60758,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *379 - - *380 - - *221 - - *222 + - *381 + - *382 - *223 - *224 + - *225 + - *226 - *17 - *19 responses: @@ -60473,9 +60773,9 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *226 + default: *228 '404': *6 '500': *85 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -60495,8 +60795,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *379 - - *380 + - *381 + - *382 - name: bypass_request_number in: path required: true @@ -60510,7 +60810,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -60569,12 +60869,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *379 - - *380 - - *221 - - *222 + - *381 + - *382 - *223 - *224 + - *225 + - *226 - *17 - *19 responses: @@ -60584,9 +60884,9 @@ paths: application/json: schema: type: array - items: *449 + items: *451 examples: - default: *450 + default: *452 '404': *6 '403': *29 '500': *85 @@ -60610,8 +60910,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *379 - - *380 + - *381 + - *382 - name: bypass_request_number in: path required: true @@ -60623,7 +60923,7 @@ paths: description: A single bypass request. content: application/json: - schema: *449 + schema: *451 examples: default: value: @@ -60681,8 +60981,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *379 - - *380 + - *381 + - *382 - name: bypass_request_number in: path required: true @@ -60753,8 +61053,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *379 - - *380 + - *381 + - *382 - name: bypass_response_id in: path required: true @@ -60787,8 +61087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -61067,7 +61367,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &454 title: CheckRun description: A check performed on the code of a given code change type: object @@ -61186,8 +61486,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *451 - deployment: &773 + items: *453 + deployment: &789 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61467,9 +61767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *379 - - *380 - - &453 + - *381 + - *382 + - &455 name: check_run_id description: The unique identifier of the check run. in: path @@ -61481,9 +61781,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: &454 + default: &456 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61583,9 +61883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *379 - - *380 - - *453 + - *381 + - *382 + - *455 requestBody: required: true content: @@ -61825,9 +62125,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61847,9 +62147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *379 - - *380 - - *453 + - *381 + - *382 + - *455 - *17 - *19 responses: @@ -61944,15 +62244,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *379 - - *380 - - *453 + - *381 + - *382 + - *455 responses: '201': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -61990,8 +62290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -62013,7 +62313,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &457 + schema: &459 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -62077,7 +62377,7 @@ paths: nullable: true pull_requests: type: array - items: *451 + items: *453 nullable: true app: title: GitHub app @@ -62090,7 +62390,7 @@ paths: nullable: true properties: *140 required: *141 - repository: *198 + repository: *200 created_at: type: string format: date-time @@ -62099,12 +62399,12 @@ paths: type: string format: date-time nullable: true - head_commit: &799 + head_commit: &815 title: Simple Commit description: A commit. type: object - properties: *455 - required: *456 + properties: *457 + required: *458 latest_check_runs_count: type: integer check_runs_url: @@ -62132,7 +62432,7 @@ paths: - check_runs_url - pull_requests examples: - default: &458 + default: &460 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62423,9 +62723,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62444,8 +62744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -62506,7 +62806,7 @@ paths: required: - app_id - setting - repository: *198 + repository: *200 examples: default: value: @@ -62754,9 +63054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *379 - - *380 - - &459 + - *381 + - *382 + - &461 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62768,9 +63068,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62793,17 +63093,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *379 - - *380 - - *459 - - &508 + - *381 + - *382 + - *461 + - &510 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &509 + - &511 name: status description: Returns check runs with the specified `status`. in: query @@ -62842,9 +63142,9 @@ paths: type: integer check_runs: type: array - items: *452 + items: *454 examples: - default: &510 + default: &512 value: total_count: 1 check_runs: @@ -62946,15 +63246,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *379 - - *380 - - *459 + - *381 + - *382 + - *461 responses: '201': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -62981,21 +63281,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *379 - - *380 - - *233 - - *234 + - *381 + - *382 + - *235 + - *236 - *19 - *17 - - &475 + - &477 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: *460 - - &476 + schema: *462 + - &478 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63020,13 +63320,13 @@ paths: be returned. in: query required: false - schema: *235 + schema: *237 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *461 + schema: *463 responses: '200': description: Response @@ -63042,7 +63342,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *462 + instances_url: *464 state: *91 fixed_at: *110 dismissed_by: @@ -63053,11 +63353,11 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *463 - dismissed_comment: *464 - rule: *465 - tool: *466 - most_recent_instance: *467 + dismissed_reason: *465 + dismissed_comment: *466 + rule: *467 + tool: *468 + most_recent_instance: *469 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -63180,7 +63480,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &468 + '403': &470 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -63207,9 +63507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *379 - - *380 - - &469 + - *381 + - *382 + - &471 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -63223,7 +63523,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &472 type: object properties: number: *100 @@ -63231,7 +63531,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *462 + instances_url: *464 state: *91 fixed_at: *110 dismissed_by: @@ -63242,8 +63542,8 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *463 - dismissed_comment: *464 + dismissed_reason: *465 + dismissed_comment: *466 rule: type: object properties: @@ -63297,8 +63597,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *466 - most_recent_instance: *467 + tool: *468 + most_recent_instance: *469 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -63394,7 +63694,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -63414,9 +63714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 requestBody: required: true content: @@ -63431,8 +63731,8 @@ paths: enum: - open - dismissed - dismissed_reason: *463 - dismissed_comment: *464 + dismissed_reason: *465 + dismissed_comment: *466 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63451,7 +63751,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: default: value: @@ -63527,7 +63827,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &474 + '403': &476 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -63554,15 +63854,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 responses: '200': description: Response content: application/json: - schema: &471 + schema: &473 type: object properties: status: @@ -63588,13 +63888,13 @@ paths: - description - started_at examples: - default: &472 + default: &474 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &473 + '400': &475 description: Bad Request content: application/json: @@ -63605,7 +63905,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': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -63630,29 +63930,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 responses: '200': description: OK content: application/json: - schema: *471 + schema: *473 examples: - default: *472 + default: *474 '202': description: Accepted content: application/json: - schema: *471 + schema: *473 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *473 + '400': *475 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -63684,9 +63984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 requestBody: required: false content: @@ -63731,8 +64031,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *473 - '403': *474 + '400': *475 + '403': *476 '404': *6 '422': description: Unprocessable Entity @@ -63756,13 +64056,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 - *19 - *17 - - *475 - - *476 + - *477 + - *478 responses: '200': description: Response @@ -63770,7 +64070,7 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: default: value: @@ -63809,7 +64109,7 @@ paths: end_column: 50 classifications: - source - '403': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -63843,25 +64143,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *379 - - *380 - - *233 - - *234 + - *381 + - *382 + - *235 + - *236 - *19 - *17 - - *476 + - *478 - 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: *460 + schema: *462 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &479 + schema: &481 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -63882,23 +64182,23 @@ paths: application/json: schema: type: array - items: &480 + items: &482 type: object properties: - ref: *460 - commit_sha: &488 + ref: *462 + commit_sha: &490 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: *477 + analysis_key: *479 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *478 + category: *480 error: type: string example: error reading field xyz @@ -63922,8 +64222,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *479 - tool: *466 + sarif_id: *481 + tool: *468 deletable: type: boolean warning: @@ -63984,7 +64284,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -64020,8 +64320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64034,7 +64334,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: response: summary: application/json response @@ -64088,7 +64388,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *468 + '403': *470 '404': *6 '422': description: Response if analysis could not be processed @@ -64175,8 +64475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64229,7 +64529,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': *474 + '403': *476 '404': *6 '503': *134 x-github: @@ -64251,8 +64551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -64260,7 +64560,7 @@ paths: application/json: schema: type: array - items: &481 + items: &483 title: CodeQL Database description: A CodeQL database. type: object @@ -64371,7 +64671,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': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -64400,8 +64700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: language in: path description: The language of the CodeQL database. @@ -64413,7 +64713,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *483 examples: default: value: @@ -64445,9 +64745,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': &517 + '302': &519 description: Found - '403': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -64469,8 +64769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *379 - - *380 + - *381 + - *382 - name: language in: path description: The language of the CodeQL database. @@ -64480,7 +64780,7 @@ paths: responses: '204': description: Response - '403': *474 + '403': *476 '404': *6 '503': *134 x-github: @@ -64508,8 +64808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -64518,7 +64818,7 @@ paths: type: object additionalProperties: false properties: - language: &482 + language: &484 type: string description: The language targeted by the CodeQL query enum: @@ -64597,7 +64897,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &486 + schema: &488 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -64607,7 +64907,7 @@ paths: description: The ID of the variant analysis. controller_repo: *97 actor: *4 - query_language: *482 + query_language: *484 query_pack_url: type: string description: The download url for the query pack. @@ -64654,7 +64954,7 @@ paths: items: type: object properties: - repository: &483 + repository: &485 title: Repository Identifier description: Repository Identifier type: object @@ -64690,7 +64990,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &487 + analysis_status: &489 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64722,7 +65022,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &484 + access_mismatch_repos: &486 type: object properties: repository_count: @@ -64736,7 +65036,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: *483 + items: *485 required: - repository_count - repositories @@ -64758,8 +65058,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *484 - over_limit_repos: *484 + no_codeql_db_repos: *486 + over_limit_repos: *486 required: - access_mismatch_repos - not_found_repos @@ -64775,7 +65075,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &485 + value: &487 summary: Default response value: id: 1 @@ -64927,10 +65227,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *485 + value: *487 repository_lists: summary: Response for a successful variant analysis submission - value: *485 + value: *487 '404': *6 '422': description: Unable to process variant analysis submission @@ -64958,8 +65258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *379 - - *380 + - *381 + - *382 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64971,9 +65271,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: *485 + default: *487 '404': *6 '503': *134 x-github: @@ -64996,7 +65296,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *379 + - *381 - name: repo in: path description: The name of the controller repository. @@ -65031,7 +65331,7 @@ paths: type: object properties: repository: *97 - analysis_status: *487 + analysis_status: *489 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -65156,8 +65456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -65242,7 +65542,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -65263,8 +65563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -65331,7 +65631,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -65356,7 +65656,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *474 + '403': *476 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65421,8 +65721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -65430,7 +65730,7 @@ paths: schema: type: object properties: - commit_sha: *488 + commit_sha: *490 ref: type: string description: |- @@ -65488,7 +65788,7 @@ paths: schema: type: object properties: - id: *479 + id: *481 url: type: string description: The REST API URL for checking the status of the upload. @@ -65502,7 +65802,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': *474 + '403': *476 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -65525,8 +65825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *379 - - *380 + - *381 + - *382 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -65572,7 +65872,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': *468 + '403': *470 '404': description: Not Found if the sarif id does not match any upload '503': *134 @@ -65597,8 +65897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -65679,8 +65979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *379 - - *380 + - *381 + - *382 - 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 @@ -65800,8 +66100,8 @@ paths: parameters: - *17 - *19 - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -65817,7 +66117,7 @@ paths: type: integer codespaces: type: array - items: *295 + items: *297 examples: default: value: @@ -66115,8 +66415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -66179,17 +66479,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '400': *14 '401': *25 '403': *29 @@ -66218,8 +66518,8 @@ paths: parameters: - *17 - *19 - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -66283,8 +66583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66319,14 +66619,14 @@ paths: type: integer machines: type: array - items: &729 + items: &745 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *490 - required: *491 + properties: *492 + required: *493 examples: - default: &730 + default: &746 value: total_count: 2 machines: @@ -66366,8 +66666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *379 - - *380 + - *381 + - *382 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66451,8 +66751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *379 - - *380 + - *381 + - *382 - 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 @@ -66518,8 +66818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -66537,7 +66837,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &497 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -66557,7 +66857,7 @@ paths: - created_at - updated_at examples: - default: *492 + default: *494 headers: Link: *40 x-github: @@ -66580,16 +66880,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *494 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66609,17 +66909,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66639,9 +66939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 requestBody: required: true content: @@ -66669,7 +66969,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -66693,9 +66993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '204': description: Response @@ -66723,8 +67023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *379 - - *380 + - *381 + - *382 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66766,7 +67066,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &497 + properties: &499 login: type: string example: octocat @@ -66859,7 +67159,7 @@ paths: user_view_type: type: string example: public - required: &498 + required: &500 - avatar_url - events_url - followers_url @@ -66933,9 +67233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *379 - - *380 - - *220 + - *381 + - *382 + - *222 responses: '204': description: Response if user is a collaborator @@ -66981,9 +67281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *379 - - *380 - - *220 + - *381 + - *382 + - *222 requestBody: required: false content: @@ -67009,7 +67309,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &568 + schema: &570 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67020,7 +67320,7 @@ paths: example: 42 type: integer format: int64 - repository: *198 + repository: *200 invitee: title: Simple User description: A GitHub user. @@ -67198,7 +67498,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *181 + schema: *183 '403': *29 x-github: triggersNotification: true @@ -67238,9 +67538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *379 - - *380 - - *220 + - *381 + - *382 + - *222 responses: '204': description: No Content when collaborator was removed from the repository. @@ -67271,9 +67571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *379 - - *380 - - *220 + - *381 + - *382 + - *222 responses: '200': description: if user has admin permissions @@ -67293,8 +67593,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *497 - required: *498 + properties: *499 + required: *500 nullable: true required: - permission @@ -67349,8 +67649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -67360,7 +67660,7 @@ paths: application/json: schema: type: array - items: &499 + items: &501 title: Commit Comment description: Commit Comment type: object @@ -67418,7 +67718,7 @@ paths: - created_at - updated_at examples: - default: &502 + default: &504 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67477,17 +67777,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '200': description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: &503 + default: &505 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67544,8 +67844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -67568,7 +67868,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -67619,8 +67919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '204': @@ -67642,8 +67942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -67670,9 +67970,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 '404': *6 @@ -67693,8 +67993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -67727,16 +68027,16 @@ paths: description: Reaction exists content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Reaction created content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '422': *15 x-github: githubCloudOnly: false @@ -67758,10 +68058,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *379 - - *380 + - *381 + - *382 - *154 - - *371 + - *373 responses: '204': description: Response @@ -67810,8 +68110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *379 - - *380 + - *381 + - *382 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67867,9 +68167,9 @@ paths: application/json: schema: type: array - items: *500 + items: *502 examples: - default: &619 + default: &621 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67963,9 +68263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *379 - - *380 - - &501 + - *381 + - *382 + - &503 name: commit_sha description: The SHA of the commit. in: path @@ -68037,9 +68337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *379 - - *380 - - *501 + - *381 + - *382 + - *503 - *17 - *19 responses: @@ -68049,9 +68349,9 @@ paths: application/json: schema: type: array - items: *499 + items: *501 examples: - default: *502 + default: *504 headers: Link: *40 x-github: @@ -68079,9 +68379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *379 - - *380 - - *501 + - *381 + - *382 + - *503 requestBody: required: true content: @@ -68116,9 +68416,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *503 + default: *505 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68146,9 +68446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *379 - - *380 - - *501 + - *381 + - *382 + - *503 - *17 - *19 responses: @@ -68158,7 +68458,7 @@ paths: application/json: schema: type: array - items: &610 + items: &612 title: Pull Request Simple description: Pull Request Simple type: object @@ -68264,8 +68564,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *504 - required: *505 + properties: *506 + required: *507 nullable: true active_lock_reason: type: string @@ -68310,7 +68610,7 @@ paths: nullable: true requested_teams: type: array - items: *229 + items: *231 nullable: true head: type: object @@ -68361,7 +68661,7 @@ paths: _links: type: object properties: - comments: &506 + comments: &508 title: Link description: Hypermedia Link type: object @@ -68370,13 +68670,13 @@ paths: type: string required: - href - commits: *506 - statuses: *506 - html: *506 - issue: *506 - review_comments: *506 - review_comment: *506 - self: *506 + commits: *508 + statuses: *508 + html: *508 + issue: *508 + review_comments: *508 + review_comment: *508 + self: *508 required: - comments - commits @@ -68387,7 +68687,7 @@ paths: - review_comment - self author_association: *142 - auto_merge: &612 + auto_merge: &614 title: Auto merge description: The status of auto merging a pull request. type: object @@ -68450,7 +68750,7 @@ paths: - author_association - auto_merge examples: - default: &611 + default: &613 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68987,11 +69287,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *379 - - *380 + - *381 + - *382 - *19 - *17 - - &507 + - &509 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)" @@ -69006,9 +69306,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: &597 + default: &599 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69121,11 +69421,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *379 - - *380 - - *507 - - *508 + - *381 + - *382 - *509 + - *510 + - *511 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -69159,9 +69459,9 @@ paths: type: integer check_runs: type: array - items: *452 + items: *454 examples: - default: *510 + default: *512 headers: Link: *40 x-github: @@ -69186,9 +69486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *379 - - *380 - - *507 + - *381 + - *382 + - *509 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -69196,7 +69496,7 @@ paths: schema: type: integer example: 1 - - *508 + - *510 - *17 - *19 responses: @@ -69214,7 +69514,7 @@ paths: type: integer check_suites: type: array - items: *457 + items: *459 examples: default: value: @@ -69414,9 +69714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *379 - - *380 - - *507 + - *381 + - *382 + - *509 - *17 - *19 responses: @@ -69483,7 +69783,7 @@ paths: type: string total_count: type: integer - repository: *198 + repository: *200 commit_url: type: string format: uri @@ -69614,9 +69914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *379 - - *380 - - *507 + - *381 + - *382 + - *509 - *17 - *19 responses: @@ -69626,7 +69926,7 @@ paths: application/json: schema: type: array - items: &677 + items: &693 title: Status description: The status of a commit. type: object @@ -69707,7 +70007,7 @@ paths: site_admin: false headers: Link: *40 - '301': *393 + '301': *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69735,8 +70035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -69765,20 +70065,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *511 - required: *512 + properties: *513 + required: *514 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &513 + properties: &515 url: type: string format: uri html_url: type: string format: uri - required: &514 + required: &516 - url - html_url nullable: true @@ -69792,26 +70092,26 @@ paths: contributing: title: Community Health File type: object - properties: *513 - required: *514 + properties: *515 + required: *516 nullable: true readme: title: Community Health File type: object - properties: *513 - required: *514 + properties: *515 + required: *516 nullable: true issue_template: title: Community Health File type: object - properties: *513 - required: *514 + properties: *515 + required: *516 nullable: true pull_request_template: title: Community Health File type: object - properties: *513 - required: *514 + properties: *515 + required: *516 nullable: true required: - code_of_conduct @@ -69938,8 +70238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *379 - - *380 + - *381 + - *382 - *19 - *17 - name: basehead @@ -69982,8 +70282,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *500 - merge_base_commit: *500 + base_commit: *502 + merge_base_commit: *502 status: type: string enum: @@ -70003,10 +70303,10 @@ paths: example: 6 commits: type: array - items: *500 + items: *502 files: type: array - items: *515 + items: *517 required: - url - html_url @@ -70292,8 +70592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *379 - - *380 + - *381 + - *382 - name: path description: path parameter in: path @@ -70436,7 +70736,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &516 + response-if-content-is-a-file: &518 summary: Response if content is a file value: type: file @@ -70568,7 +70868,7 @@ paths: - size - type - url - - &624 + - &626 title: Content File description: Content File type: object @@ -70769,7 +71069,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *516 + response-if-content-is-a-file: *518 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -70838,7 +71138,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *517 + '302': *519 '304': *37 x-github: githubCloudOnly: false @@ -70861,8 +71161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *379 - - *380 + - *381 + - *382 - name: path description: path parameter in: path @@ -70955,7 +71255,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &520 title: File Commit description: File Commit type: object @@ -71107,7 +71407,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *520 examples: example-for-creating-a-file: value: @@ -71161,7 +71461,7 @@ paths: schema: oneOf: - *3 - - &550 + - &552 description: Repository rule violation was detected type: object properties: @@ -71182,7 +71482,7 @@ paths: items: type: object properties: - placeholder_id: &669 + placeholder_id: &685 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -71214,8 +71514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *379 - - *380 + - *381 + - *382 - name: path description: path parameter in: path @@ -71276,7 +71576,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *520 examples: default: value: @@ -71331,8 +71631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *379 - - *380 + - *381 + - *382 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71455,22 +71755,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *379 - - *380 - - *249 - - *250 + - *381 + - *382 - *251 - *252 + - *253 + - *254 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *253 - - *254 - *255 - *256 + - *257 + - *258 - *88 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -71490,8 +71790,8 @@ paths: default: 30 - *86 - *87 - - *257 - - *258 + - *259 + - *260 responses: '200': description: Response @@ -71499,7 +71799,7 @@ paths: application/json: schema: type: array - items: &521 + items: &523 type: object description: A Dependabot alert. properties: @@ -71545,7 +71845,7 @@ paths: - unknown - direct - transitive - security_advisory: *519 + security_advisory: *521 security_vulnerability: *104 url: *105 html_url: *106 @@ -71576,7 +71876,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: *520 + auto_dismissed_at: *522 required: - number - state @@ -71806,9 +72106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *379 - - *380 - - &522 + - *381 + - *382 + - &524 name: alert_number in: path description: |- @@ -71823,7 +72123,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: default: value: @@ -71936,9 +72236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *379 - - *380 - - *522 + - *381 + - *382 + - *524 requestBody: required: true content: @@ -71983,7 +72283,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: default: value: @@ -72112,8 +72412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -72131,7 +72431,7 @@ paths: type: integer secrets: type: array - items: &525 + items: &527 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72184,16 +72484,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *524 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72213,15 +72513,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: default: value: @@ -72247,9 +72547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 requestBody: required: true content: @@ -72277,7 +72577,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -72301,9 +72601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '204': description: Response @@ -72325,8 +72625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *379 - - *380 + - *381 + - *382 - 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 @@ -72486,8 +72786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -72726,8 +73026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -72802,7 +73102,7 @@ paths: - version - url additionalProperties: false - metadata: &526 + metadata: &528 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72835,7 +73135,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *526 + metadata: *528 resolved: type: object description: A collection of resolved package dependencies. @@ -72848,7 +73148,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *526 + metadata: *528 relationship: type: string description: A notation of whether a dependency is requested @@ -72977,8 +73277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *379 - - *380 + - *381 + - *382 - name: sha description: The SHA recorded at creation time. in: query @@ -73018,9 +73318,9 @@ paths: application/json: schema: type: array - items: *527 + items: *529 examples: - default: *528 + default: *530 headers: Link: *40 x-github: @@ -73086,8 +73386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -73168,7 +73468,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: simple-example: summary: Simple example @@ -73241,9 +73541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *379 - - *380 - - &529 + - *381 + - *382 + - &531 name: deployment_id description: deployment_id parameter in: path @@ -73255,7 +73555,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -73320,9 +73620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *379 - - *380 - - *529 + - *381 + - *382 + - *531 responses: '204': description: Response @@ -73344,9 +73644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *379 - - *380 - - *529 + - *381 + - *382 + - *531 - *17 - *19 responses: @@ -73356,7 +73656,7 @@ paths: application/json: schema: type: array - items: &530 + items: &532 title: Deployment Status description: The status of a deployment. type: object @@ -73517,9 +73817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *379 - - *380 - - *529 + - *381 + - *382 + - *531 requestBody: required: true content: @@ -73594,9 +73894,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: &531 + default: &533 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73652,9 +73952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *379 - - *380 - - *529 + - *381 + - *382 + - *531 - name: status_id in: path required: true @@ -73665,9 +73965,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *531 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -73694,12 +73994,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *379 - - *380 - - *221 - - *222 + - *381 + - *382 - *223 - - *532 + - *224 + - *225 + - *534 - *17 - *19 responses: @@ -73709,9 +74009,9 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: - default: *534 + default: *536 '404': *6 '403': *29 '500': *85 @@ -73736,8 +74036,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *379 - - *380 + - *381 + - *382 - name: alert_number in: path required: true @@ -73749,7 +74049,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *533 + schema: *535 examples: default: value: @@ -73807,8 +74107,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *379 - - *380 + - *381 + - *382 - name: alert_number in: path required: true @@ -73877,8 +74177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -73935,8 +74235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -73953,7 +74253,7 @@ paths: type: integer environments: type: array - items: &536 + items: &538 title: Environment description: Details of a deployment environment type: object @@ -74005,7 +74305,7 @@ paths: type: type: string example: wait_timer - wait_timer: &538 + wait_timer: &540 type: integer example: 30 description: The amount of time to delay a job after @@ -74042,11 +74342,11 @@ paths: items: type: object properties: - type: *535 + type: *537 reviewer: anyOf: - *4 - - *229 + - *231 required: - id - node_id @@ -74066,7 +74366,7 @@ paths: - id - node_id - type - deployment_branch_policy: &539 + deployment_branch_policy: &541 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -74182,9 +74482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *379 - - *380 - - &537 + - *381 + - *382 + - &539 name: environment_name in: path required: true @@ -74197,9 +74497,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: &540 + default: &542 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74283,9 +74583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 requestBody: required: false content: @@ -74294,7 +74594,7 @@ paths: type: object nullable: true properties: - wait_timer: *538 + wait_timer: *540 prevent_self_review: type: boolean example: false @@ -74311,13 +74611,13 @@ paths: items: type: object properties: - type: *535 + type: *537 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *539 + deployment_branch_policy: *541 additionalProperties: false examples: default: @@ -74337,9 +74637,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *540 + default: *542 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -74363,9 +74663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 responses: '204': description: Default response @@ -74390,9 +74690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 - *17 - *19 responses: @@ -74410,7 +74710,7 @@ paths: example: 2 branch_policies: type: array - items: &541 + items: &543 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74467,9 +74767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 requestBody: required: true content: @@ -74515,9 +74815,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - example-wildcard: &542 + example-wildcard: &544 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74559,10 +74859,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *379 - - *380 - - *537 - - &543 + - *381 + - *382 + - *539 + - &545 name: branch_policy_id in: path required: true @@ -74574,9 +74874,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - default: *542 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74595,10 +74895,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *379 - - *380 - - *537 - - *543 + - *381 + - *382 + - *539 + - *545 requestBody: required: true content: @@ -74626,9 +74926,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - default: *542 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74647,10 +74947,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *379 - - *380 - - *537 - - *543 + - *381 + - *382 + - *539 + - *545 responses: '204': description: Response @@ -74675,9 +74975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *537 - - *380 - - *379 + - *539 + - *382 + - *381 responses: '200': description: List of deployment protection rules @@ -74693,7 +74993,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &544 + items: &546 title: Deployment protection rule description: Deployment protection rule type: object @@ -74712,7 +75012,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &545 + app: &547 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -74811,9 +75111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *537 - - *380 - - *379 + - *539 + - *382 + - *381 requestBody: content: application/json: @@ -74834,9 +75134,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *544 + schema: *546 examples: - default: &546 + default: &548 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -74871,9 +75171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *537 - - *380 - - *379 + - *539 + - *382 + - *381 - *19 - *17 responses: @@ -74892,7 +75192,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *545 + items: *547 examples: default: value: @@ -74927,10 +75227,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *379 - - *380 - - *537 - - &547 + - *381 + - *382 + - *539 + - &549 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74942,9 +75242,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: *546 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74965,10 +75265,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *537 - - *380 - - *379 - - *547 + - *539 + - *382 + - *381 + - *549 responses: '204': description: Response @@ -74994,9 +75294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 - *17 - *19 responses: @@ -75014,9 +75314,9 @@ paths: type: integer secrets: type: array - items: *416 + items: *418 examples: - default: *417 + default: *419 headers: Link: *40 x-github: @@ -75041,17 +75341,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75073,18 +75373,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *379 - - *380 - - *537 - - *208 + - *381 + - *382 + - *539 + - *210 responses: '200': description: Response content: application/json: - schema: *416 + schema: *418 examples: - default: *548 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75106,10 +75406,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *379 - - *380 - - *537 - - *208 + - *381 + - *382 + - *539 + - *210 requestBody: required: true content: @@ -75140,7 +75440,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -75166,10 +75466,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *379 - - *380 - - *537 - - *208 + - *381 + - *382 + - *539 + - *210 responses: '204': description: Default response @@ -75194,10 +75494,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *379 - - *380 - - *537 - - *403 + - *381 + - *382 + - *539 + - *405 - *19 responses: '200': @@ -75214,9 +75514,9 @@ paths: type: integer variables: type: array - items: *420 + items: *422 examples: - default: *421 + default: *423 headers: Link: *40 x-github: @@ -75239,9 +75539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 requestBody: required: true content: @@ -75268,7 +75568,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -75293,18 +75593,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *379 - - *380 - - *537 - - *211 + - *381 + - *382 + - *539 + - *213 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *549 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75325,10 +75625,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *379 - - *380 - - *211 - - *537 + - *381 + - *382 + - *213 + - *539 requestBody: required: true content: @@ -75370,10 +75670,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *379 - - *380 - - *211 - - *537 + - *381 + - *382 + - *213 + - *539 responses: '204': description: Response @@ -75395,8 +75695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -75473,8 +75773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *379 - - *380 + - *381 + - *382 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75496,7 +75796,7 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: default: value: @@ -75633,8 +75933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -75666,9 +75966,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *394 + default: *396 '400': *14 '422': *15 '403': *29 @@ -75689,8 +75989,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -75749,8 +76049,8 @@ paths: application/json: schema: oneOf: - - *181 - - *550 + - *183 + - *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75775,8 +76075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *379 - - *380 + - *381 + - *382 - name: file_sha in: path required: true @@ -75875,8 +76175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -75985,7 +76285,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &553 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -76199,15 +76499,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *379 - - *380 - - *501 + - *381 + - *382 + - *503 responses: '200': description: Response content: application/json: - schema: *551 + schema: *553 examples: default: value: @@ -76263,9 +76563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *379 - - *380 - - &552 + - *381 + - *382 + - &554 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. @@ -76282,7 +76582,7 @@ paths: application/json: schema: type: array - items: &553 + items: &555 title: Git Reference description: Git references within a repository type: object @@ -76357,17 +76657,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *379 - - *380 - - *552 + - *381 + - *382 + - *554 responses: '200': description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: &554 + default: &556 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -76396,8 +76696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -76426,9 +76726,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -76454,9 +76754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *379 - - *380 - - *552 + - *381 + - *382 + - *554 requestBody: required: true content: @@ -76485,9 +76785,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 '422': *15 '409': *96 x-github: @@ -76505,9 +76805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *379 - - *380 - - *552 + - *381 + - *382 + - *554 responses: '204': description: Response @@ -76562,8 +76862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -76630,7 +76930,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &558 title: Git Tag description: Metadata for a Git tag type: object @@ -76681,7 +76981,7 @@ paths: - sha - type - url - verification: *555 + verification: *557 required: - sha - url @@ -76691,7 +76991,7 @@ paths: - tag - message examples: - default: &557 + default: &559 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76764,8 +77064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *379 - - *380 + - *381 + - *382 - name: tag_sha in: path required: true @@ -76776,9 +77076,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *557 + default: *559 '404': *6 '409': *96 x-github: @@ -76802,8 +77102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -76876,7 +77176,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &560 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76972,8 +77272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *379 - - *380 + - *381 + - *382 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76996,7 +77296,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: default-response: summary: Default response @@ -77055,8 +77355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -77066,7 +77366,7 @@ paths: application/json: schema: type: array - items: &559 + items: &561 title: Webhook description: Webhooks for repositories. type: object @@ -77120,7 +77420,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &807 + last_response: &823 title: Hook Response type: object properties: @@ -77194,8 +77494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -77247,9 +77547,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: &560 + default: &562 value: type: Repository id: 12345678 @@ -77297,17 +77597,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 responses: '200': description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: *560 + default: *562 '404': *6 x-github: githubCloudOnly: false @@ -77327,9 +77627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 requestBody: required: true content: @@ -77374,9 +77674,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: *560 + default: *562 '422': *15 '404': *6 x-github: @@ -77397,9 +77697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 responses: '204': description: Response @@ -77423,9 +77723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 responses: '200': description: Response @@ -77452,9 +77752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 requestBody: required: false content: @@ -77498,11 +77798,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 - *17 - - *267 + - *269 responses: '200': description: Response @@ -77510,9 +77810,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *269 + default: *271 '400': *14 '422': *15 x-github: @@ -77531,18 +77831,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 - *16 responses: '200': description: Response content: application/json: - schema: *270 + schema: *272 examples: - default: *271 + default: *273 '400': *14 '422': *15 x-github: @@ -77561,9 +77861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 - *16 responses: '202': *39 @@ -77586,9 +77886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 responses: '204': description: Response @@ -77613,9 +77913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 responses: '204': description: Response @@ -77673,14 +77973,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: &561 + schema: &563 title: Import description: A repository import from an external source. type: object @@ -77779,7 +78079,7 @@ paths: - html_url - authors_url examples: - default: &564 + default: &566 value: vcs: subversion use_lfs: true @@ -77795,7 +78095,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': &562 + '503': &564 description: Unavailable due to service under maintenance. content: application/json: @@ -77824,8 +78124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -77873,7 +78173,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -77898,7 +78198,7 @@ paths: type: string '422': *15 '404': *6 - '503': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77926,8 +78226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -77976,7 +78276,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: example-1: summary: Example 1 @@ -78024,7 +78324,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': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78047,12 +78347,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response - '503': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78078,9 +78378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *379 - - *380 - - &753 + - *381 + - *382 + - &769 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -78094,7 +78394,7 @@ paths: application/json: schema: type: array - items: &563 + items: &565 title: Porter Author description: Porter Author type: object @@ -78148,7 +78448,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': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78173,8 +78473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *379 - - *380 + - *381 + - *382 - name: author_id in: path required: true @@ -78204,7 +78504,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *565 examples: default: value: @@ -78217,7 +78517,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78241,8 +78541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -78283,7 +78583,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78311,8 +78611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -78339,11 +78639,11 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *564 + default: *566 '422': *15 - '503': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78366,8 +78666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -78375,8 +78675,8 @@ paths: application/json: schema: *22 examples: - default: *565 - '301': *393 + default: *567 + '301': *395 '404': *6 x-github: githubCloudOnly: false @@ -78396,8 +78696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -78405,12 +78705,12 @@ paths: application/json: schema: anyOf: - - *284 + - *286 - type: object properties: {} additionalProperties: false examples: - default: &567 + default: &569 value: limit: collaborators_only origin: repository @@ -78435,13 +78735,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: application/json: - schema: *566 + schema: *568 examples: default: summary: Example request body @@ -78453,9 +78753,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *567 + default: *569 '409': description: Response x-github: @@ -78477,8 +78777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -78501,8 +78801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -78512,9 +78812,9 @@ paths: application/json: schema: type: array - items: *568 + items: *570 examples: - default: &746 + default: &762 value: - id: 1 repository: @@ -78645,9 +78945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *379 - - *380 - - *288 + - *381 + - *382 + - *290 requestBody: required: false content: @@ -78676,7 +78976,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: default: value: @@ -78807,9 +79107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *379 - - *380 - - *288 + - *381 + - *382 + - *290 responses: '204': description: Response @@ -78840,8 +79140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *379 - - *380 + - *381 + - *382 - 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 @@ -78889,7 +79189,7 @@ paths: required: false schema: type: string - - *292 + - *294 - name: sort description: What to sort results by. in: query @@ -78914,7 +79214,7 @@ paths: type: array items: *155 examples: - default: &579 + default: &581 value: - id: 1 node_id: MDU6SXNzdWUx @@ -79062,7 +79362,7 @@ paths: state_reason: completed headers: Link: *40 - '301': *393 + '301': *395 '422': *15 '404': *6 x-github: @@ -79091,8 +79391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -79176,7 +79476,7 @@ paths: application/json: schema: *155 examples: - default: &574 + default: &576 value: id: 1 node_id: MDU6SXNzdWUx @@ -79332,7 +79632,7 @@ paths: '422': *15 '503': *134 '404': *6 - '410': *390 + '410': *392 x-github: triggersNotification: true githubCloudOnly: false @@ -79360,8 +79660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *165 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -79382,9 +79682,9 @@ paths: application/json: schema: type: array - items: *569 + items: *571 examples: - default: &576 + default: &578 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79442,17 +79742,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '200': description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: &570 + default: &572 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79506,8 +79806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -79530,9 +79830,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '422': *15 x-github: githubCloudOnly: false @@ -79550,8 +79850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '204': @@ -79572,8 +79872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -79600,9 +79900,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 '404': *6 @@ -79623,8 +79923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -79657,16 +79957,16 @@ paths: description: Reaction exists content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Reaction created content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '422': *15 x-github: githubCloudOnly: false @@ -79688,10 +79988,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *379 - - *380 + - *381 + - *382 - *154 - - *371 + - *373 responses: '204': description: Response @@ -79711,8 +80011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -79722,7 +80022,7 @@ paths: application/json: schema: type: array - items: &573 + items: &575 title: Issue Event description: Issue Event type: object @@ -79765,8 +80065,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *571 - required: *572 + properties: *573 + required: *574 nullable: true label: title: Issue Event Label @@ -79810,7 +80110,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *229 + requested_team: *231 dismissed_review: title: Issue Event Dismissed Review type: object @@ -80073,8 +80373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *379 - - *380 + - *381 + - *382 - name: event_id in: path required: true @@ -80085,7 +80385,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: default: value: @@ -80278,7 +80578,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *390 + '410': *392 '403': *29 x-github: githubCloudOnly: false @@ -80312,9 +80612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *379 - - *380 - - &575 + - *381 + - *382 + - &577 name: issue_number description: The number that identifies the issue. in: path @@ -80328,10 +80628,10 @@ paths: application/json: schema: *155 examples: - default: *574 - '301': *393 + default: *576 + '301': *395 '404': *6 - '410': *390 + '410': *392 '304': *37 x-github: githubCloudOnly: false @@ -80356,9 +80656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: false content: @@ -80463,13 +80763,13 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 '422': *15 '503': *134 '403': *29 - '301': *393 + '301': *395 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80487,9 +80787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: false content: @@ -80517,7 +80817,7 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80533,9 +80833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: content: application/json: @@ -80562,7 +80862,7 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80584,9 +80884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - name: assignee in: path required: true @@ -80626,9 +80926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - *145 - *17 - *19 @@ -80639,13 +80939,13 @@ paths: application/json: schema: type: array - items: *569 + items: *571 examples: - default: *576 + default: *578 headers: Link: *40 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80674,9 +80974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: true content: @@ -80698,16 +80998,16 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *390 + '410': *392 '422': *15 '404': *6 x-github: @@ -80727,9 +81027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - *17 - *19 responses: @@ -80743,7 +81043,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &580 + - &582 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -80797,7 +81097,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &583 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80933,7 +81233,7 @@ paths: - performed_via_github_app - assignee - assigner - - &582 + - &584 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80984,7 +81284,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &585 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81035,7 +81335,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &586 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81089,7 +81389,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &587 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81123,7 +81423,7 @@ paths: properties: *140 required: *141 review_requester: *4 - requested_team: *229 + requested_team: *231 requested_reviewer: *4 required: - review_requester @@ -81136,7 +81436,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &586 + - &588 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81170,7 +81470,7 @@ paths: properties: *140 required: *141 review_requester: *4 - requested_team: *229 + requested_team: *231 requested_reviewer: *4 required: - review_requester @@ -81183,7 +81483,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &587 + - &589 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -81243,7 +81543,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &588 + - &590 title: Locked Issue Event description: Locked Issue Event type: object @@ -81291,7 +81591,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &589 + - &591 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -81357,7 +81657,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &590 + - &592 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -81423,7 +81723,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &591 + - &593 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81489,7 +81789,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &592 + - &594 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -81580,7 +81880,7 @@ paths: color: red headers: Link: *40 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81597,9 +81897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - *17 - *19 responses: @@ -81609,7 +81909,7 @@ paths: application/json: schema: type: array - items: &577 + items: &579 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -81656,7 +81956,7 @@ paths: - color - default examples: - default: &578 + default: &580 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81674,9 +81974,9 @@ paths: default: false headers: Link: *40 - '301': *393 + '301': *395 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81693,9 +81993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: false content: @@ -81754,12 +82054,12 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: *578 - '301': *393 + default: *580 + '301': *395 '404': *6 - '410': *390 + '410': *392 '422': *15 x-github: githubCloudOnly: false @@ -81776,9 +82076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: false content: @@ -81838,12 +82138,12 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: *578 - '301': *393 + default: *580 + '301': *395 '404': *6 - '410': *390 + '410': *392 '422': *15 x-github: githubCloudOnly: false @@ -81860,15 +82160,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 responses: '204': description: Response - '301': *393 + '301': *395 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81887,9 +82187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - name: name in: path required: true @@ -81902,7 +82202,7 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: default: value: @@ -81913,9 +82213,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *393 + '301': *395 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81935,9 +82235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: false content: @@ -81965,7 +82265,7 @@ paths: '204': description: Response '403': *29 - '410': *390 + '410': *392 '404': *6 '422': *15 x-github: @@ -81983,9 +82283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 responses: '204': description: Response @@ -82007,9 +82307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -82035,13 +82335,13 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82059,9 +82359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: true content: @@ -82093,16 +82393,16 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '422': *15 x-github: githubCloudOnly: false @@ -82124,10 +82424,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *379 - - *380 - - *575 - - *371 + - *381 + - *382 + - *577 + - *373 responses: '204': description: Response @@ -82156,9 +82456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: true content: @@ -82182,7 +82482,7 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -82215,9 +82515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - *17 - *19 responses: @@ -82229,11 +82529,11 @@ paths: type: array items: *155 examples: - default: *579 + default: *581 headers: Link: *40 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82261,9 +82561,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: true content: @@ -82292,14 +82592,14 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *390 + '410': *392 '422': *15 '404': *6 x-github: @@ -82319,9 +82619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: true content: @@ -82354,7 +82654,7 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 '403': *29 '404': *6 '422': *7 @@ -82376,9 +82676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - *17 - *19 responses: @@ -82393,8 +82693,6 @@ paths: description: Timeline Event type: object anyOf: - - *580 - - *581 - *582 - *583 - *584 @@ -82406,6 +82704,8 @@ paths: - *590 - *591 - *592 + - *593 + - *594 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82710,7 +83010,7 @@ paths: type: string comments: type: array - items: &613 + items: &615 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -82919,7 +83219,7 @@ paths: type: string comments: type: array - items: *499 + items: *501 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -83208,7 +83508,7 @@ paths: headers: Link: *40 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83225,8 +83525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -83236,7 +83536,7 @@ paths: application/json: schema: type: array - items: &593 + items: &595 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -83301,8 +83601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -83338,9 +83638,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *595 examples: - default: &594 + default: &596 value: id: 1 key: ssh-rsa AAA... @@ -83374,9 +83674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *379 - - *380 - - &595 + - *381 + - *382 + - &597 name: key_id description: The unique identifier of the key. in: path @@ -83388,9 +83688,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *595 examples: - default: *594 + default: *596 '404': *6 x-github: githubCloudOnly: false @@ -83408,9 +83708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *379 - - *380 - - *595 + - *381 + - *382 + - *597 responses: '204': description: Response @@ -83430,8 +83730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -83441,9 +83741,9 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: *578 + default: *580 headers: Link: *40 '404': *6 @@ -83464,8 +83764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -83501,9 +83801,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: &596 + default: &598 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83535,8 +83835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *379 - - *380 + - *381 + - *382 - name: name in: path required: true @@ -83547,9 +83847,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *596 + default: *598 '404': *6 x-github: githubCloudOnly: false @@ -83566,8 +83866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *379 - - *380 + - *381 + - *382 - name: name in: path required: true @@ -83606,7 +83906,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: default: value: @@ -83632,8 +83932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *379 - - *380 + - *381 + - *382 - name: name in: path required: true @@ -83659,8 +83959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -83696,8 +83996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '202': *39 '403': @@ -83725,8 +84025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -83752,9 +84052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *379 - - *380 - - *475 + - *381 + - *382 + - *477 responses: '200': description: Response @@ -83899,8 +84199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -83965,8 +84265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -84000,9 +84300,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *500 + schema: *502 examples: - default: *597 + default: *599 '204': description: Response when already merged '404': @@ -84027,8 +84327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *379 - - *380 + - *381 + - *382 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84069,12 +84369,12 @@ paths: application/json: schema: type: array - items: &598 + items: &600 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *504 - required: *505 + properties: *506 + required: *507 examples: default: value: @@ -84130,8 +84430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -84171,9 +84471,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: &599 + default: &601 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -84232,9 +84532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *379 - - *380 - - &600 + - *381 + - *382 + - &602 name: milestone_number description: The number that identifies the milestone. in: path @@ -84246,9 +84546,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: *599 + default: *601 '404': *6 x-github: githubCloudOnly: false @@ -84265,9 +84565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *379 - - *380 - - *600 + - *381 + - *382 + - *602 requestBody: required: false content: @@ -84305,9 +84605,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: *599 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84323,9 +84623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *379 - - *380 - - *600 + - *381 + - *382 + - *602 responses: '204': description: Response @@ -84346,9 +84646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *379 - - *380 - - *600 + - *381 + - *382 + - *602 - *17 - *19 responses: @@ -84358,9 +84658,9 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: *578 + default: *580 headers: Link: *40 x-github: @@ -84379,12 +84679,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *379 - - *380 - - *601 - - *602 - - *145 + - *381 + - *382 - *603 + - *604 + - *145 + - *605 - *17 - *19 responses: @@ -84396,7 +84696,7 @@ paths: type: array items: *168 examples: - default: *604 + default: *606 headers: Link: *40 x-github: @@ -84420,8 +84720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -84479,14 +84779,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: &605 + schema: &607 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -84611,7 +84911,7 @@ paths: - custom_404 - public examples: - default: &606 + default: &608 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -84652,8 +84952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -84707,9 +85007,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: *606 + default: *608 '422': *15 '409': *96 x-github: @@ -84732,8 +85032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -84840,8 +85140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -84867,8 +85167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -84878,7 +85178,7 @@ paths: application/json: schema: type: array - items: &607 + items: &609 title: Page Build description: Page Build type: object @@ -84972,8 +85272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *379 - - *380 + - *381 + - *382 responses: '201': description: Response @@ -85018,16 +85318,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: &608 + default: &610 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85075,8 +85375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *379 - - *380 + - *381 + - *382 - name: build_id in: path required: true @@ -85087,9 +85387,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: *608 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85109,8 +85409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -85215,9 +85515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *379 - - *380 - - &609 + - *381 + - *382 + - &611 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -85275,9 +85575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *379 - - *380 - - *609 + - *381 + - *382 + - *611 responses: '204': *120 '404': *6 @@ -85304,8 +85604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -85536,7 +85836,7 @@ paths: description: Empty response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -85563,8 +85863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Private vulnerability reporting status @@ -85601,8 +85901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': *120 '422': *14 @@ -85623,8 +85923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': *120 '422': *14 @@ -85647,8 +85947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *379 - - *380 + - *381 + - *382 - name: state description: Indicates the state of the projects to return. in: query @@ -85669,7 +85969,7 @@ paths: application/json: schema: type: array - items: *323 + items: *325 examples: default: value: @@ -85709,7 +86009,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *390 + '410': *392 '422': *7 x-github: githubCloudOnly: false @@ -85732,8 +86032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -85759,13 +86059,13 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: *389 + default: *391 '401': *25 '403': *29 '404': *6 - '410': *390 + '410': *392 '422': *7 x-github: githubCloudOnly: false @@ -85788,8 +86088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -85797,7 +86097,7 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: default: value: @@ -85828,8 +86128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -85841,7 +86141,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *325 + items: *327 required: - properties examples: @@ -85891,8 +86191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *379 - - *380 + - *381 + - *382 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85952,9 +86252,9 @@ paths: application/json: schema: type: array - items: *610 + items: *612 examples: - default: *611 + default: *613 headers: Link: *40 '304': *37 @@ -85986,8 +86286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -86052,7 +86352,7 @@ paths: description: Response content: application/json: - schema: &615 + schema: &617 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -86163,8 +86463,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *504 - required: *505 + properties: *506 + required: *507 nullable: true active_lock_reason: type: string @@ -86209,7 +86509,7 @@ paths: nullable: true requested_teams: type: array - items: *346 + items: *348 nullable: true head: type: object @@ -86248,14 +86548,14 @@ paths: _links: type: object properties: - comments: *506 - commits: *506 - statuses: *506 - html: *506 - issue: *506 - review_comments: *506 - review_comment: *506 - self: *506 + comments: *508 + commits: *508 + statuses: *508 + html: *508 + issue: *508 + review_comments: *508 + review_comment: *508 + self: *508 required: - comments - commits @@ -86266,7 +86566,7 @@ paths: - review_comment - self author_association: *142 - auto_merge: *612 + auto_merge: *614 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -86358,7 +86658,7 @@ paths: - merged_by - review_comments examples: - default: &616 + default: &618 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86885,8 +87185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: sort in: query required: false @@ -86915,9 +87215,9 @@ paths: application/json: schema: type: array - items: *613 + items: *615 examples: - default: &618 + default: &620 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86994,17 +87294,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '200': description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: &614 + default: &616 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87079,8 +87379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -87103,9 +87403,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: *614 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87121,8 +87421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '204': @@ -87144,8 +87444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -87172,9 +87472,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 '404': *6 @@ -87195,8 +87495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -87229,16 +87529,16 @@ paths: description: Reaction exists content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Reaction created content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '422': *15 x-github: githubCloudOnly: false @@ -87260,10 +87560,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *379 - - *380 + - *381 + - *382 - *154 - - *371 + - *373 responses: '204': description: Response @@ -87306,9 +87606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *379 - - *380 - - &617 + - *381 + - *382 + - &619 name: pull_number description: The number that identifies the pull request. in: path @@ -87321,9 +87621,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 '304': *37 '404': *6 '406': @@ -87358,9 +87658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: false content: @@ -87402,9 +87702,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 '422': *15 '403': *29 x-github: @@ -87426,9 +87726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: true content: @@ -87488,17 +87788,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '401': *25 '403': *29 '404': *6 @@ -87528,9 +87828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 - *165 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -87551,9 +87851,9 @@ paths: application/json: schema: type: array - items: *613 + items: *615 examples: - default: *618 + default: *620 headers: Link: *40 x-github: @@ -87586,9 +87886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: true content: @@ -87693,7 +87993,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: example-for-a-multi-line-comment: value: @@ -87781,9 +88081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 - *154 requestBody: required: true @@ -87806,7 +88106,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: default: value: @@ -87892,9 +88192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 - *17 - *19 responses: @@ -87904,9 +88204,9 @@ paths: application/json: schema: type: array - items: *500 + items: *502 examples: - default: *619 + default: *621 headers: Link: *40 x-github: @@ -87936,9 +88236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 - *17 - *19 responses: @@ -87948,7 +88248,7 @@ paths: application/json: schema: type: array - items: *515 + items: *517 examples: default: value: @@ -87986,9 +88286,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 responses: '204': description: Response if pull request has been merged @@ -88011,9 +88311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: false content: @@ -88124,9 +88424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 responses: '200': description: Response @@ -88142,7 +88442,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *231 required: - users - teams @@ -88201,9 +88501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: false content: @@ -88240,7 +88540,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: default: value: @@ -88776,9 +89076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: true content: @@ -88812,7 +89112,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: default: value: @@ -89317,9 +89617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 - *17 - *19 responses: @@ -89329,7 +89629,7 @@ paths: application/json: schema: type: array - items: &620 + items: &622 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -89480,9 +89780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: false content: @@ -89568,9 +89868,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: - default: &622 + default: &624 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89633,10 +89933,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 - - &621 + - *381 + - *382 + - *619 + - &623 name: review_id description: The unique identifier of the review. in: path @@ -89648,9 +89948,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: - default: &623 + default: &625 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89709,10 +90009,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 - - *621 + - *381 + - *382 + - *619 + - *623 requestBody: required: true content: @@ -89735,7 +90035,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: default: value: @@ -89797,18 +90097,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 - - *621 + - *381 + - *382 + - *619 + - *623 responses: '200': description: Response content: application/json: - schema: *620 + schema: *622 examples: - default: *622 + default: *624 '422': *7 '404': *6 x-github: @@ -89835,10 +90135,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *379 - - *380 - - *617 - - *621 + - *381 + - *382 + - *619 + - *623 - *17 - *19 responses: @@ -89921,9 +90221,9 @@ paths: _links: type: object properties: - self: *506 - html: *506 - pull_request: *506 + self: *508 + html: *508 + pull_request: *508 required: - self - html @@ -90066,10 +90366,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 - - *621 + - *381 + - *382 + - *619 + - *623 requestBody: required: true content: @@ -90097,7 +90397,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: default: value: @@ -90160,10 +90460,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 - - *621 + - *381 + - *382 + - *619 + - *623 requestBody: required: true content: @@ -90198,9 +90498,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: - default: *623 + default: *625 '404': *6 '422': *7 '403': *29 @@ -90222,9 +90522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: false content: @@ -90287,8 +90587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *379 - - *380 + - *381 + - *382 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90301,9 +90601,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: &625 + default: &627 value: type: file encoding: base64 @@ -90345,8 +90645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *379 - - *380 + - *381 + - *382 - name: dir description: The alternate path to look for a README file in: path @@ -90366,9 +90666,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *625 + default: *627 '404': *6 '422': *15 x-github: @@ -90390,8 +90690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -90401,7 +90701,7 @@ paths: application/json: schema: type: array - items: &626 + items: &628 title: Release description: A release. type: object @@ -90464,7 +90764,7 @@ paths: author: *4 assets: type: array - items: &627 + items: &629 title: Release Asset description: Data related to a release. type: object @@ -90650,8 +90950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -90727,9 +91027,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: &630 + default: &632 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -90833,9 +91133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *379 - - *380 - - &628 + - *381 + - *382 + - &630 name: asset_id description: The unique identifier of the asset. in: path @@ -90847,9 +91147,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *629 examples: - default: &629 + default: &631 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 @@ -90884,7 +91184,7 @@ paths: type: User site_admin: false '404': *6 - '302': *517 + '302': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90900,9 +91200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *379 - - *380 - - *628 + - *381 + - *382 + - *630 requestBody: required: false content: @@ -90930,9 +91230,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *629 examples: - default: *629 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90948,9 +91248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *379 - - *380 - - *628 + - *381 + - *382 + - *630 responses: '204': description: Response @@ -90974,8 +91274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -91060,16 +91360,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: *630 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91086,8 +91386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *379 - - *380 + - *381 + - *382 - name: tag description: tag parameter in: path @@ -91100,9 +91400,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: *630 + default: *632 '404': *6 x-github: githubCloudOnly: false @@ -91124,9 +91424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *379 - - *380 - - &631 + - *381 + - *382 + - &633 name: release_id description: The unique identifier of the release. in: path @@ -91140,9 +91440,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *626 + schema: *628 examples: - default: *630 + default: *632 '401': description: Unauthorized x-github: @@ -91160,9 +91460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 requestBody: required: false content: @@ -91226,9 +91526,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: *630 + default: *632 '404': description: Not Found if the discussion category name is invalid content: @@ -91249,9 +91549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 responses: '204': description: Response @@ -91271,9 +91571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 - *17 - *19 responses: @@ -91283,7 +91583,7 @@ paths: application/json: schema: type: array - items: *627 + items: *629 examples: default: value: @@ -91365,9 +91665,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: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 - name: name in: query required: true @@ -91393,7 +91693,7 @@ paths: description: Response for successful upload content: application/json: - schema: *627 + schema: *629 examples: response-for-successful-upload: value: @@ -91448,9 +91748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -91474,9 +91774,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 '404': *6 @@ -91497,9 +91797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 requestBody: required: true content: @@ -91529,16 +91829,16 @@ paths: description: Reaction exists content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Reaction created content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '422': *15 x-github: githubCloudOnly: false @@ -91560,10 +91860,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *379 - - *380 - - *631 - - *371 + - *381 + - *382 + - *633 + - *373 responses: '204': description: Response @@ -91587,9 +91887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 - *17 - *19 responses: @@ -91605,8 +91905,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *632 - - &634 + - *634 + - &636 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -91625,66 +91925,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *633 - - *634 - allOf: - *635 - - *634 - - allOf: - *636 - - *634 - allOf: - *637 - - *634 + - *636 - allOf: - *638 - - *634 + - *636 - allOf: - *639 - - *634 + - *636 - allOf: - *640 - - *634 + - *636 - allOf: - *641 - - *634 + - *636 - allOf: - *642 - - *634 + - *636 - allOf: - *643 - - *634 + - *636 - allOf: - *644 - - *634 + - *636 - allOf: - *645 - - *634 + - *636 - allOf: - *646 - - *634 + - *636 - allOf: - *647 - - *634 + - *636 - allOf: - *648 - - *634 + - *636 - allOf: - *649 - - *634 + - *636 - allOf: - *650 - - *634 + - *636 - allOf: - *651 - - *634 + - *636 - allOf: - *652 - - *634 + - *636 - allOf: - *653 - - *634 + - *636 + - allOf: + - *654 + - *636 + - allOf: + - *655 + - *636 examples: default: value: @@ -91723,8 +92023,8 @@ paths: category: repos subcategory: rules parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 - name: includes_parents @@ -91735,7 +92035,7 @@ paths: schema: type: boolean default: true - - *654 + - *656 responses: '200': description: Response @@ -91790,8 +92090,8 @@ paths: category: repos subcategory: rules parameters: - - *379 - - *380 + - *381 + - *382 requestBody: description: Request body required: true @@ -91853,7 +92153,7 @@ paths: application/json: schema: *130 examples: - default: &663 + default: &665 value: id: 42 name: super cool ruleset @@ -91900,12 +92200,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *379 - - *380 - - *655 - - *223 - - *656 + - *381 + - *382 - *657 + - *225 + - *658 + - *659 - *17 - *19 responses: @@ -91913,9 +92213,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *660 examples: - default: *659 + default: *661 '404': *6 '500': *85 x-github: @@ -91936,17 +92236,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *379 - - *380 - - *660 + - *381 + - *382 + - *662 responses: '200': description: Response content: application/json: - schema: *661 + schema: *663 examples: - default: *662 + default: *664 '404': *6 '500': *85 x-github: @@ -91974,8 +92274,8 @@ paths: category: repos subcategory: rules parameters: - - *379 - - *380 + - *381 + - *382 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91997,7 +92297,7 @@ paths: application/json: schema: *130 examples: - default: *663 + default: *665 '404': *6 '500': *85 put: @@ -92015,8 +92315,8 @@ paths: category: repos subcategory: rules parameters: - - *379 - - *380 + - *381 + - *382 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92080,7 +92380,7 @@ paths: application/json: schema: *130 examples: - default: *663 + default: *665 '404': *6 '500': *85 delete: @@ -92098,8 +92398,8 @@ paths: category: repos subcategory: rules parameters: - - *379 - - *380 + - *381 + - *382 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92122,8 +92422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 - name: ruleset_id @@ -92141,7 +92441,7 @@ paths: type: array items: *133 examples: - default: *333 + default: *335 '404': *6 '500': *85 x-github: @@ -92160,8 +92460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *379 - - *380 + - *381 + - *382 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92179,7 +92479,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: default: value: @@ -92234,21 +92534,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *379 - - *380 - - *335 - - *336 + - *381 + - *382 - *337 - *338 + - *339 + - *340 - *88 - *19 - *17 - - *664 - - *665 - - *339 - - *340 + - *666 + - *667 - *341 - *342 + - *343 + - *344 responses: '200': description: Response @@ -92256,7 +92556,7 @@ paths: application/json: schema: type: array - items: &668 + items: &671 type: object properties: number: *100 @@ -92275,8 +92575,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *666 - resolution: *667 + state: *668 + resolution: *669 resolved_at: type: string format: date-time @@ -92366,6 +92666,18 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: *670 + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: value: @@ -92494,16 +92806,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *379 - - *380 - - *469 - - *342 + - *381 + - *382 + - *471 + - *344 responses: '200': description: Response content: application/json: - schema: *668 + schema: *671 examples: default: value: @@ -92555,9 +92867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 requestBody: required: true content: @@ -92565,8 +92877,8 @@ paths: schema: type: object properties: - state: *666 - resolution: *667 + state: *668 + resolution: *669 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -92584,7 +92896,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *671 examples: default: value: @@ -92659,9 +92971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 - *19 - *17 responses: @@ -92672,7 +92984,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &828 + items: &844 type: object properties: type: @@ -92698,254 +93010,19 @@ paths: example: commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *672 + - *673 + - *674 + - *675 + - *676 + - *677 + - *678 + - *679 + - *680 + - *681 + - *682 + - *683 + - *684 examples: default: value: @@ -93031,8 +93108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -93040,14 +93117,14 @@ paths: schema: type: object properties: - reason: &670 + reason: &686 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *669 + placeholder_id: *685 required: - reason - placeholder_id @@ -93064,7 +93141,7 @@ paths: schema: type: object properties: - reason: *670 + reason: *686 expire_at: type: string format: date-time @@ -93107,8 +93184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -93123,7 +93200,7 @@ paths: properties: incremental_scans: type: array - items: &671 + items: &687 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93149,15 +93226,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *671 + items: *687 backfill_scans: type: array - items: *671 + items: *687 custom_pattern_backfill_scans: type: array items: allOf: - - *671 + - *687 - type: object properties: pattern_name: @@ -93227,8 +93304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *379 - - *380 + - *381 + - *382 - *88 - name: sort description: The property to sort the results by. @@ -93272,9 +93349,9 @@ paths: application/json: schema: type: array - items: *672 + items: *688 examples: - default: *673 + default: *689 '400': *14 '404': *6 x-github: @@ -93297,8 +93374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -93371,7 +93448,7 @@ paths: login: type: string description: The username of the user credited. - type: *345 + type: *347 required: - login - type @@ -93458,9 +93535,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *688 examples: - default: &675 + default: &691 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -93693,8 +93770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -93798,7 +93875,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *688 examples: default: value: @@ -93945,17 +94022,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *379 - - *380 - - *674 + - *381 + - *382 + - *690 responses: '200': description: Response content: application/json: - schema: *672 + schema: *688 examples: - default: *675 + default: *691 '403': *29 '404': *6 x-github: @@ -93979,9 +94056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *379 - - *380 - - *674 + - *381 + - *382 + - *690 requestBody: required: true content: @@ -94054,7 +94131,7 @@ paths: login: type: string description: The username of the user credited. - type: *345 + type: *347 required: - login - type @@ -94140,17 +94217,17 @@ paths: description: Response content: application/json: - schema: *672 + schema: *688 examples: - default: *675 - add_credit: *675 + default: *691 + add_credit: *691 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *181 + schema: *183 examples: invalid_state_transition: value: @@ -94181,9 +94258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *379 - - *380 - - *674 + - *381 + - *382 + - *690 responses: '202': *39 '400': *14 @@ -94210,17 +94287,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *379 - - *380 - - *674 + - *381 + - *382 + - *690 responses: '202': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *394 + default: *396 '400': *14 '422': *15 '403': *29 @@ -94246,8 +94323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -94346,8 +94423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -94356,7 +94433,7 @@ paths: application/json: schema: type: array - items: &676 + items: &692 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94389,8 +94466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -94466,8 +94543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -94563,8 +94640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -94718,8 +94795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -94729,7 +94806,7 @@ paths: application/json: schema: type: array - items: *676 + items: *692 examples: default: value: @@ -94762,8 +94839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *379 - - *380 + - *381 + - *382 - name: sha in: path required: true @@ -94817,7 +94894,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *693 examples: default: value: @@ -94871,8 +94948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -94884,7 +94961,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -94904,14 +94981,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &678 + schema: &694 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94979,8 +95056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -95006,7 +95083,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *694 examples: default: value: @@ -95033,8 +95110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -95054,8 +95131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -95134,8 +95211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -95143,7 +95220,7 @@ paths: application/json: schema: type: array - items: &679 + items: &695 title: Tag protection description: Tag protection type: object @@ -95195,8 +95272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -95219,7 +95296,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *695 examples: default: value: @@ -95250,8 +95327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -95288,8 +95365,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *379 - - *380 + - *381 + - *382 - name: ref in: path required: true @@ -95325,8 +95402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -95336,9 +95413,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 headers: Link: *40 '404': *6 @@ -95358,8 +95435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *379 - - *380 + - *381 + - *382 - *19 - *17 responses: @@ -95367,7 +95444,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &696 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95379,7 +95456,7 @@ paths: required: - names examples: - default: &681 + default: &697 value: names: - octocat @@ -95402,8 +95479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -95434,9 +95511,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *696 examples: - default: *681 + default: *697 '404': *6 '422': *7 x-github: @@ -95457,9 +95534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *379 - - *380 - - &682 + - *381 + - *382 + - &698 name: per description: The time frame to display results for. in: query @@ -95488,7 +95565,7 @@ paths: example: 128 clones: type: array - items: &683 + items: &699 title: Traffic type: object properties: @@ -95575,8 +95652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -95666,8 +95743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -95727,9 +95804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *379 - - *380 - - *682 + - *381 + - *382 + - *698 responses: '200': description: Response @@ -95748,7 +95825,7 @@ paths: example: 3782 views: type: array - items: *683 + items: *699 required: - uniques - count @@ -95825,8 +95902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -95862,7 +95939,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: default: value: @@ -96100,8 +96177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -96124,8 +96201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -96147,8 +96224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -96174,8 +96251,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *379 - - *380 + - *381 + - *382 - name: ref in: path required: true @@ -96267,9 +96344,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *394 + default: *396 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96310,7 +96387,7 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: default: value: @@ -96420,7 +96497,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &691 + - &707 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -96429,7 +96506,7 @@ paths: schema: type: string example: members - - &696 + - &712 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -96440,7 +96517,7 @@ paths: default: 1 format: int32 example: 1 - - &697 + - &713 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -96482,7 +96559,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &685 + items: &701 allOf: - type: object required: @@ -96557,7 +96634,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &698 + meta: &714 type: object description: The metadata associated with the creation/updates to the user. @@ -96617,31 +96694,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &686 + '400': &702 description: Bad request content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 - '401': &687 + schema: *700 + '401': &703 description: Authorization failure - '403': &688 + '403': &704 description: Permission denied - '429': &689 + '429': &705 description: Too many requests content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 - '500': &690 + schema: *700 + '500': &706 description: Internal server error content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 + schema: *700 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96665,7 +96742,7 @@ paths: required: true content: application/json: - schema: &694 + schema: &710 type: object required: - schemas @@ -96721,9 +96798,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *685 + schema: *701 examples: - group: &692 + group: &708 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -96742,13 +96819,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *686 - '401': *687 - '403': *688 - '409': &695 + '400': *702 + '401': *703 + '403': *704 + '409': &711 description: Duplicate record detected - '429': *689 - '500': *690 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96765,7 +96842,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &693 + - &709 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -96773,22 +96850,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *691 + - *707 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *685 + schema: *701 examples: - default: *692 - '400': *686 - '401': *687 - '403': *688 + default: *708 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '429': *689 - '500': *690 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96807,13 +96884,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *693 + - *709 - *41 requestBody: required: true content: application/json: - schema: *694 + schema: *710 examples: group: summary: Group @@ -96839,17 +96916,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *685 + schema: *701 examples: - group: *692 - groupWithMembers: *692 - '400': *686 - '401': *687 - '403': *688 + group: *708 + groupWithMembers: *708 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *711 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96873,13 +96950,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *693 + - *709 - *41 requestBody: required: true content: application/json: - schema: &705 + schema: &721 type: object required: - Operations @@ -96939,17 +97016,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *685 + schema: *701 examples: - updateGroup: *692 - addMembers: *692 - '400': *686 - '401': *687 - '403': *688 + updateGroup: *708 + addMembers: *708 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *711 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96965,17 +97042,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *693 + - *709 - *41 responses: '204': description: Group was deleted, no content - '400': *686 - '401': *687 - '403': *688 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '429': *689 - '500': *690 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97009,8 +97086,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *696 - - *697 + - *712 + - *713 - *41 responses: '200': @@ -97043,7 +97120,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &700 + items: &716 allOf: - type: object required: @@ -97122,7 +97199,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &699 + roles: &715 type: array description: The roles assigned to the user. items: @@ -97178,7 +97255,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *698 + meta: *714 startIndex: type: integer description: A starting index for the returned page @@ -97215,11 +97292,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *686 - '401': *687 - '403': *688 - '429': *689 - '500': *690 + '400': *702 + '401': *703 + '403': *704 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97243,7 +97320,7 @@ paths: required: true content: application/json: - schema: &703 + schema: &719 type: object required: - schemas @@ -97325,9 +97402,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *699 + roles: *715 examples: - user: &704 + user: &720 summary: User value: schemas: @@ -97374,9 +97451,9 @@ paths: description: User has been created content: application/scim+json: - schema: *700 + schema: *716 examples: - user: &701 + user: &717 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97402,13 +97479,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *701 - '400': *686 - '401': *687 - '403': *688 - '409': *695 - '429': *689 - '500': *690 + enterpriseOwner: *717 + '400': *702 + '401': *703 + '403': *704 + '409': *711 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97425,7 +97502,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &702 + - &718 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -97438,15 +97515,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *700 + schema: *716 examples: - default: *701 - '400': *686 - '401': *687 - '403': *688 + default: *717 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '429': *689 - '500': *690 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97468,30 +97545,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *702 + - *718 - *41 requestBody: required: true content: application/json: - schema: *703 + schema: *719 examples: - user: *704 + user: *720 responses: '200': description: User was updated content: application/scim+json: - schema: *700 + schema: *716 examples: - user: *701 - '400': *686 - '401': *687 - '403': *688 + user: *717 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *711 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97526,13 +97603,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *702 + - *718 - *41 requestBody: required: true content: application/json: - schema: *705 + schema: *721 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -97572,18 +97649,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *700 - examples: - userMultiValuedProperties: *701 - userSingleValuedProperties: *701 - disableUser: *701 - '400': *686 - '401': *687 - '403': *688 + schema: *716 + examples: + userMultiValuedProperties: *717 + userSingleValuedProperties: *717 + disableUser: *717 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *711 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97603,17 +97680,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *702 + - *718 - *41 responses: '204': description: User was deleted, no content - '400': *686 - '401': *687 - '403': *688 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '429': *689 - '500': *690 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97700,7 +97777,7 @@ paths: example: 1 Resources: type: array - items: &706 + items: &722 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97931,22 +98008,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &707 + '404': &723 description: Resource not found content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 - '403': &708 + schema: *700 + '403': &724 description: Forbidden content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 - '400': *686 - '429': *689 + schema: *700 + '400': *702 + '429': *705 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -97972,9 +98049,9 @@ paths: description: Response content: application/scim+json: - schema: *706 + schema: *722 examples: - default: &709 + default: &725 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97997,17 +98074,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *707 - '403': *708 - '500': *690 + '404': *723 + '403': *724 + '500': *706 '409': description: Conflict content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 - '400': *686 + schema: *700 + '400': *702 requestBody: required: true content: @@ -98105,17 +98182,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *172 - - *702 + - *718 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *722 examples: - default: *709 - '404': *707 - '403': *708 + default: *725 + '404': *723 + '403': *724 '304': *37 x-github: githubCloudOnly: true @@ -98139,18 +98216,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *172 - - *702 + - *718 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *722 examples: - default: *709 + default: *725 '304': *37 - '404': *707 - '403': *708 + '404': *723 + '403': *724 requestBody: required: true content: @@ -98263,19 +98340,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *172 - - *702 + - *718 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *722 examples: - default: *709 + default: *725 '304': *37 - '404': *707 - '403': *708 - '400': *686 + '404': *723 + '403': *724 + '400': *702 '429': description: Response content: @@ -98366,12 +98443,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *172 - - *702 + - *718 responses: '204': description: Response - '404': *707 - '403': *708 + '404': *723 + '403': *724 '304': *37 x-github: githubCloudOnly: true @@ -98486,7 +98563,7 @@ paths: html_url: type: string format: uri - repository: *198 + repository: *200 score: type: number file_size: @@ -98504,7 +98581,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &710 + text_matches: &726 title: Search Result Text Matches type: array items: @@ -98667,7 +98744,7 @@ paths: enum: - author-date - committer-date - - &711 + - &727 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 @@ -98738,7 +98815,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *436 + properties: *438 nullable: true comment_count: type: integer @@ -98758,7 +98835,7 @@ paths: url: type: string format: uri - verification: *555 + verification: *557 required: - author - committer @@ -98777,7 +98854,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *436 + properties: *438 nullable: true parents: type: array @@ -98790,12 +98867,12 @@ paths: type: string sha: type: string - repository: *198 + repository: *200 score: type: number node_id: type: string - text_matches: *710 + text_matches: *726 required: - sha - node_id @@ -98978,7 +99055,7 @@ paths: - interactions - created - updated - - *711 + - *727 - *17 - *19 - name: advanced_search @@ -99105,8 +99182,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *504 - required: *505 + properties: *506 + required: *507 nullable: true comments: type: integer @@ -99120,7 +99197,7 @@ paths: type: string format: date-time nullable: true - text_matches: *710 + text_matches: *726 pull_request: type: object properties: @@ -99164,7 +99241,7 @@ paths: timeline_url: type: string format: uri - type: *289 + type: *291 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -99348,7 +99425,7 @@ paths: enum: - created - updated - - *711 + - *727 - *17 - *19 responses: @@ -99392,7 +99469,7 @@ paths: nullable: true score: type: number - text_matches: *710 + text_matches: *726 required: - id - node_id @@ -99478,7 +99555,7 @@ paths: - forks - help-wanted-issues - updated - - *711 + - *727 - *17 - *19 responses: @@ -99717,7 +99794,7 @@ paths: - admin - pull - push - text_matches: *710 + text_matches: *726 temp_clone_token: type: string allow_merge_commit: @@ -100018,7 +100095,7 @@ paths: type: string format: uri nullable: true - text_matches: *710 + text_matches: *726 related: type: array nullable: true @@ -100211,7 +100288,7 @@ paths: - followers - repositories - joined - - *711 + - *727 - *17 - *19 responses: @@ -100315,7 +100392,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *710 + text_matches: *726 blog: type: string nullable: true @@ -100394,7 +100471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &712 + - &728 name: team_id description: The unique identifier of the team. in: path @@ -100406,9 +100483,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '404': *6 x-github: githubCloudOnly: false @@ -100435,7 +100512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *712 + - *728 requestBody: required: true content: @@ -100498,16 +100575,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '201': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '404': *6 '422': *15 '403': *29 @@ -100535,7 +100612,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *712 + - *728 responses: '204': description: Response @@ -100566,7 +100643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *712 + - *728 - *88 - *17 - *19 @@ -100577,9 +100654,9 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: - default: *713 + default: *729 headers: Link: *40 x-github: @@ -100608,7 +100685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *712 + - *728 requestBody: required: true content: @@ -100642,9 +100719,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 x-github: triggersNotification: true githubCloudOnly: false @@ -100671,16 +100748,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *712 - - *364 + - *728 + - *366 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100705,8 +100782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *712 - - *364 + - *728 + - *366 requestBody: required: false content: @@ -100729,9 +100806,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *714 + default: *730 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100756,8 +100833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *712 - - *364 + - *728 + - *366 responses: '204': description: Response @@ -100786,8 +100863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *712 - - *364 + - *728 + - *366 - *88 - *17 - *19 @@ -100798,9 +100875,9 @@ paths: application/json: schema: type: array - items: *365 + items: *367 examples: - default: *715 + default: *731 headers: Link: *40 x-github: @@ -100829,8 +100906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *712 - - *364 + - *728 + - *366 requestBody: required: true content: @@ -100852,9 +100929,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: triggersNotification: true githubCloudOnly: false @@ -100881,17 +100958,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *712 - - *364 - - *367 + - *728 + - *366 + - *369 responses: '200': description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100916,9 +100993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *712 - - *364 - - *367 + - *728 + - *366 + - *369 requestBody: required: true content: @@ -100940,9 +101017,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *716 + default: *732 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100967,9 +101044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *712 - - *364 - - *367 + - *728 + - *366 + - *369 responses: '204': description: Response @@ -100998,9 +101075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *712 - - *364 - - *367 + - *728 + - *366 + - *369 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -101026,9 +101103,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 x-github: @@ -101057,9 +101134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *712 - - *364 - - *367 + - *728 + - *366 + - *369 requestBody: required: true content: @@ -101091,9 +101168,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101119,8 +101196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *712 - - *364 + - *728 + - *366 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -101146,9 +101223,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 x-github: @@ -101177,8 +101254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *712 - - *364 + - *728 + - *366 requestBody: required: true content: @@ -101210,9 +101287,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101236,7 +101313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *712 + - *728 - *17 - *19 responses: @@ -101246,9 +101323,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *40 x-github: @@ -101274,7 +101351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *712 + - *728 - name: role description: Filters members returned by their role in the team. in: query @@ -101297,7 +101374,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '404': *6 @@ -101325,8 +101402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *712 - - *220 + - *728 + - *222 responses: '204': description: if user is a member @@ -101362,8 +101439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *712 - - *220 + - *728 + - *222 responses: '204': description: Response @@ -101402,8 +101479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *712 - - *220 + - *728 + - *222 responses: '204': description: Response @@ -101439,16 +101516,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *712 - - *220 + - *728 + - *222 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: - response-if-user-is-a-team-maintainer: *717 + response-if-user-is-a-team-maintainer: *733 '404': *6 x-github: githubCloudOnly: false @@ -101481,8 +101558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *712 - - *220 + - *728 + - *222 requestBody: required: false content: @@ -101507,9 +101584,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - response-if-users-membership-with-team-is-now-pending: *718 + response-if-users-membership-with-team-is-now-pending: *734 '403': description: Forbidden if team synchronization is set up '422': @@ -101543,8 +101620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *712 - - *220 + - *728 + - *222 responses: '204': description: Response @@ -101572,7 +101649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *712 + - *728 - *17 - *19 responses: @@ -101582,9 +101659,9 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: *719 + default: *735 headers: Link: *40 '404': *6 @@ -101610,16 +101687,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *712 - - *378 + - *728 + - *380 responses: '200': description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: *720 + default: *736 '404': description: Not Found if project is not managed by this team x-github: @@ -101643,8 +101720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *712 - - *378 + - *728 + - *380 requestBody: required: false content: @@ -101711,8 +101788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *712 - - *378 + - *728 + - *380 responses: '204': description: Response @@ -101739,7 +101816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *712 + - *728 - *17 - *19 responses: @@ -101749,9 +101826,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 '404': *6 @@ -101781,15 +101858,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *712 - - *379 - - *380 + - *728 + - *381 + - *382 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *721 + schema: *737 examples: alternative-response-with-extra-repository-information: value: @@ -101940,9 +102017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *712 - - *379 - - *380 + - *728 + - *381 + - *382 requestBody: required: false content: @@ -101992,9 +102069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *712 - - *379 - - *380 + - *728 + - *381 + - *382 responses: '204': description: Response @@ -102023,15 +102100,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *712 + - *728 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *382 + default: *384 '403': *29 '404': *6 x-github: @@ -102058,7 +102135,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *712 + - *728 requestBody: required: true content: @@ -102115,7 +102192,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -102146,7 +102223,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *712 + - *728 - *17 - *19 responses: @@ -102156,9 +102233,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - response-if-child-teams-exist: *722 + response-if-child-teams-exist: *738 headers: Link: *40 '404': *6 @@ -102191,7 +102268,7 @@ paths: application/json: schema: oneOf: - - &724 + - &740 title: Private User description: Private User type: object @@ -102394,7 +102471,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *723 + - *739 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -102547,7 +102624,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *740 examples: default: value: @@ -102626,7 +102703,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 '304': *37 '404': *6 '403': *29 @@ -102649,7 +102726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *220 + - *222 responses: '204': description: If the user is blocked @@ -102677,7 +102754,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *220 + - *222 responses: '204': description: Response @@ -102701,7 +102778,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *220 + - *222 responses: '204': description: Response @@ -102750,9 +102827,9 @@ paths: type: integer codespaces: type: array - items: *295 + items: *297 examples: - default: *296 + default: *298 '304': *37 '500': *85 '401': *25 @@ -102891,17 +102968,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '401': *25 '403': *29 '404': *6 @@ -102945,7 +103022,7 @@ paths: type: integer secrets: type: array - items: &725 + items: &741 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -102985,7 +103062,7 @@ paths: - visibility - selected_repositories_url examples: - default: *492 + default: *494 headers: Link: *40 x-github: @@ -103055,13 +103132,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *208 + - *210 responses: '200': description: Response content: application/json: - schema: *725 + schema: *741 examples: default: value: @@ -103091,7 +103168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *208 + - *210 requestBody: required: true content: @@ -103136,7 +103213,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -103164,7 +103241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *208 + - *210 responses: '204': description: Response @@ -103189,7 +103266,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *208 + - *210 responses: '200': description: Response @@ -103205,9 +103282,9 @@ paths: type: integer repositories: type: array - items: *198 + items: *200 examples: - default: *726 + default: *742 '401': *25 '403': *29 '404': *6 @@ -103232,7 +103309,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *208 + - *210 requestBody: required: true content: @@ -103286,7 +103363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *208 + - *210 - name: repository_id in: path required: true @@ -103319,7 +103396,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *208 + - *210 - name: repository_id in: path required: true @@ -103351,15 +103428,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '304': *37 '500': *85 '401': *25 @@ -103385,7 +103462,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 requestBody: required: false content: @@ -103415,9 +103492,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '401': *25 '403': *29 '404': *6 @@ -103439,7 +103516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 responses: '202': *39 '304': *37 @@ -103468,13 +103545,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 responses: '202': description: Response content: application/json: - schema: &727 + schema: &743 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -103515,7 +103592,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &728 + default: &744 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -103547,7 +103624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *297 + - *299 - name: export_id in: path required: true @@ -103560,9 +103637,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *743 examples: - default: *728 + default: *744 '404': *6 x-github: githubCloudOnly: false @@ -103583,7 +103660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *297 + - *299 responses: '200': description: Response @@ -103599,9 +103676,9 @@ paths: type: integer machines: type: array - items: *729 + items: *745 examples: - default: *730 + default: *746 '304': *37 '500': *85 '401': *25 @@ -103630,7 +103707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *297 + - *299 requestBody: required: true content: @@ -103680,13 +103757,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *392 + repository: *394 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *490 - required: *491 + properties: *492 + required: *493 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -104460,15 +104537,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '304': *37 '500': *85 '400': *14 @@ -104500,15 +104577,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '500': *85 '401': *25 '403': *29 @@ -104538,9 +104615,9 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: &743 + default: &759 value: - id: 197 name: hello_docker @@ -104641,7 +104718,7 @@ paths: application/json: schema: type: array - items: &731 + items: &747 title: Email description: Email type: object @@ -104706,9 +104783,9 @@ paths: application/json: schema: type: array - items: *731 + items: *747 examples: - default: &745 + default: &761 value: - email: octocat@github.com verified: true @@ -104783,7 +104860,7 @@ paths: application/json: schema: type: array - items: *731 + items: *747 examples: default: value: @@ -104893,7 +104970,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '304': *37 @@ -104926,7 +105003,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '304': *37 @@ -104948,7 +105025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *220 + - *222 responses: '204': description: if the person is followed by the authenticated user @@ -104978,7 +105055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *220 + - *222 responses: '204': description: Response @@ -105003,7 +105080,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *220 + - *222 responses: '204': description: Response @@ -105039,7 +105116,7 @@ paths: application/json: schema: type: array - items: &732 + items: &748 title: GPG Key description: A unique encryption key type: object @@ -105170,7 +105247,7 @@ paths: - subkeys - revoked examples: - default: &756 + default: &772 value: - id: 3 name: Octocat's GPG Key @@ -105255,9 +105332,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *748 examples: - default: &733 + default: &749 value: id: 3 name: Octocat's GPG Key @@ -105314,7 +105391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &734 + - &750 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -105326,9 +105403,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *748 examples: - default: *733 + default: *749 '404': *6 '304': *37 '403': *29 @@ -105351,7 +105428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *734 + - *750 responses: '204': description: Response @@ -105542,7 +105619,7 @@ paths: type: array items: *64 examples: - default: *735 + default: *751 headers: Link: *40 '404': *6 @@ -105567,7 +105644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *193 + - *195 responses: '204': description: Response @@ -105593,7 +105670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *193 + - *195 responses: '204': description: Response @@ -105627,12 +105704,12 @@ paths: application/json: schema: anyOf: - - *284 + - *286 - type: object properties: {} additionalProperties: false examples: - default: *285 + default: *287 '204': description: Response when there are no restrictions x-github: @@ -105656,7 +105733,7 @@ paths: required: true content: application/json: - schema: *566 + schema: *568 examples: default: value: @@ -105667,7 +105744,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: default: value: @@ -105748,7 +105825,7 @@ paths: - closed - all default: open - - *292 + - *294 - name: sort description: What to sort results by. in: query @@ -105773,7 +105850,7 @@ paths: type: array items: *155 examples: - default: *293 + default: *295 headers: Link: *40 '404': *6 @@ -105806,7 +105883,7 @@ paths: application/json: schema: type: array - items: &736 + items: &752 title: Key description: Key type: object @@ -105903,9 +105980,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *752 examples: - default: &737 + default: &753 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105938,15 +106015,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *595 + - *597 responses: '200': description: Response content: application/json: - schema: *736 + schema: *752 examples: - default: *737 + default: *753 '404': *6 '304': *37 '403': *29 @@ -105969,7 +106046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *595 + - *597 responses: '204': description: Response @@ -106002,7 +106079,7 @@ paths: application/json: schema: type: array - items: &738 + items: &754 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -106070,7 +106147,7 @@ paths: - account - plan examples: - default: &739 + default: &755 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106132,9 +106209,9 @@ paths: application/json: schema: type: array - items: *738 + items: *754 examples: - default: *739 + default: *755 headers: Link: *40 '304': *37 @@ -106174,7 +106251,7 @@ paths: application/json: schema: type: array - items: *298 + items: *300 examples: default: value: @@ -106282,7 +106359,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -106365,7 +106442,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -106433,7 +106510,7 @@ paths: application/json: schema: type: array - items: *300 + items: *302 examples: default: value: @@ -106686,7 +106763,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -106866,7 +106943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *301 + - *303 - name: exclude in: query required: false @@ -106879,7 +106956,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -107073,7 +107150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *301 + - *303 responses: '302': description: Response @@ -107099,7 +107176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *301 + - *303 responses: '204': description: Response @@ -107128,8 +107205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *301 - - *740 + - *303 + - *756 responses: '204': description: Response @@ -107153,7 +107230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *301 + - *303 - *17 - *19 responses: @@ -107163,9 +107240,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 '404': *6 @@ -107202,7 +107279,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *757 headers: Link: *40 '304': *37 @@ -107244,7 +107321,7 @@ paths: - docker - nuget - container - - *742 + - *758 - *19 - *17 responses: @@ -107254,10 +107331,10 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: *743 - '400': *744 + default: *759 + '400': *760 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107277,16 +107354,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &757 + default: &773 value: id: 40201 name: octo-name @@ -107399,8 +107476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -107430,8 +107507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 - name: token description: package token schema: @@ -107463,8 +107540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 - *19 - *17 - name: state @@ -107484,7 +107561,7 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: default: value: @@ -107533,15 +107610,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 - *312 + - *314 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: default: value: @@ -107577,9 +107654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 - *312 + - *314 responses: '204': description: Response @@ -107609,9 +107686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 - *312 + - *314 responses: '204': description: Response @@ -107667,7 +107744,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: default: value: @@ -107739,9 +107816,9 @@ paths: application/json: schema: type: array - items: *731 + items: *747 examples: - default: *745 + default: *761 headers: Link: *40 '304': *37 @@ -107854,7 +107931,7 @@ paths: type: array items: *64 examples: - default: &752 + default: &768 summary: Default response value: - id: 1296269 @@ -108158,9 +108235,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *394 + default: *396 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108198,9 +108275,9 @@ paths: application/json: schema: type: array - items: *568 + items: *570 examples: - default: *746 + default: *762 headers: Link: *40 '304': *37 @@ -108223,7 +108300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *288 + - *290 responses: '204': description: Response @@ -108246,7 +108323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *288 + - *290 responses: '204': description: Response @@ -108279,7 +108356,7 @@ paths: application/json: schema: type: array - items: &747 + items: &763 title: Social account description: Social media account type: object @@ -108294,7 +108371,7 @@ paths: - provider - url examples: - default: &748 + default: &764 value: - provider: twitter url: https://twitter.com/github @@ -108356,9 +108433,9 @@ paths: application/json: schema: type: array - items: *747 + items: *763 examples: - default: *748 + default: *764 '422': *15 '304': *37 '404': *6 @@ -108445,7 +108522,7 @@ paths: application/json: schema: type: array - items: &749 + items: &765 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -108465,7 +108542,7 @@ paths: - title - created_at examples: - default: &758 + default: &774 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108531,9 +108608,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *765 examples: - default: &750 + default: &766 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108564,7 +108641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &751 + - &767 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -108576,9 +108653,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *765 examples: - default: *750 + default: *766 '404': *6 '304': *37 '403': *29 @@ -108601,7 +108678,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *751 + - *767 responses: '204': description: Response @@ -108630,7 +108707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &759 + - &775 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 @@ -108655,11 +108732,11 @@ paths: type: array items: *64 examples: - default-response: *752 + default-response: *768 application/vnd.github.v3.star+json: schema: type: array - items: &760 + items: &776 title: Starred Repository description: Starred Repository type: object @@ -108815,8 +108892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response if this repository is starred by you @@ -108844,8 +108921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -108869,8 +108946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -108903,9 +108980,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 '304': *37 @@ -108942,7 +109019,7 @@ paths: application/json: schema: type: array - items: *360 + items: *362 examples: default: value: @@ -109028,10 +109105,10 @@ paths: application/json: schema: oneOf: - - *724 - - *723 + - *740 + - *739 examples: - default-response: &754 + default-response: &770 summary: Default response value: login: octocat @@ -109066,7 +109143,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &755 + response-with-git-hub-plan-information: &771 summary: Response with GitHub plan information value: login: octocat @@ -109126,7 +109203,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *753 + - *769 - *17 responses: '200': @@ -109137,7 +109214,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: example: ; rel="next" @@ -109167,7 +109244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *220 + - *222 responses: '200': description: Response @@ -109175,11 +109252,11 @@ paths: application/json: schema: oneOf: - - *724 - - *723 + - *740 + - *739 examples: - default-response: *754 - response-with-git-hub-plan-information: *755 + default-response: *770 + response-with-git-hub-plan-information: *771 '404': *6 x-github: githubCloudOnly: false @@ -109205,7 +109282,7 @@ paths: - *17 - *86 - *87 - - *220 + - *222 - name: subject_digest description: Subject Digest in: path @@ -109255,12 +109332,12 @@ paths: bundle_url: type: string examples: - default: *432 + default: *434 '201': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -109286,7 +109363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *220 + - *222 responses: '200': description: Response @@ -109294,9 +109371,9 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: *743 + default: *759 '403': *29 '401': *25 x-github: @@ -109319,7 +109396,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109400,7 +109477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *220 + - *222 - *172 - *17 - *19 @@ -109490,7 +109567,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109567,7 +109644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109579,7 +109656,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -109598,7 +109675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109610,7 +109687,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -109629,7 +109706,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *220 + - *222 - name: target_user in: path required: true @@ -109656,7 +109733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *220 + - *222 - *145 - *17 - *19 @@ -109690,7 +109767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109700,9 +109777,9 @@ paths: application/json: schema: type: array - items: *732 + items: *748 examples: - default: *756 + default: *772 headers: Link: *40 x-github: @@ -109726,7 +109803,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *220 + - *222 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -109798,7 +109875,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *220 + - *222 responses: '200': description: Response @@ -109806,7 +109883,7 @@ paths: application/json: schema: *22 examples: - default: *565 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109824,7 +109901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109872,7 +109949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109884,7 +109961,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *757 headers: Link: *40 x-github: @@ -109923,8 +110000,8 @@ paths: - docker - nuget - container - - *742 - - *220 + - *758 + - *222 - *19 - *17 responses: @@ -109934,12 +110011,12 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: *743 + default: *759 '403': *29 '401': *25 - '400': *744 + '400': *760 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109959,17 +110036,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *309 - - *310 - - *220 + - *311 + - *312 + - *222 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *757 + default: *773 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109990,9 +110067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *309 - - *310 - - *220 + - *311 + - *312 + - *222 responses: '204': description: Response @@ -110024,9 +110101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *309 - - *310 - - *220 + - *311 + - *312 + - *222 - name: token description: package token schema: @@ -110058,9 +110135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *309 - - *310 - - *220 + - *311 + - *312 + - *222 responses: '200': description: Response @@ -110068,7 +110145,7 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: default: value: @@ -110126,16 +110203,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *309 - - *310 + - *311 - *312 - - *220 + - *314 + - *222 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: default: value: @@ -110170,10 +110247,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *309 - - *310 - - *220 + - *311 - *312 + - *222 + - *314 responses: '204': description: Response @@ -110205,10 +110282,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *309 - - *310 - - *220 + - *311 - *312 + - *222 + - *314 responses: '204': description: Response @@ -110234,7 +110311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *220 + - *222 - name: state description: Indicates the state of the projects to return. in: query @@ -110255,7 +110332,7 @@ paths: application/json: schema: type: array - items: *323 + items: *325 examples: default: value: @@ -110317,7 +110394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -110406,7 +110483,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -110493,7 +110570,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *220 + - *222 - name: type description: Limit results to repositories of the specified type. in: query @@ -110536,9 +110613,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -110562,15 +110639,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *220 + - *222 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110592,15 +110669,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *220 + - *222 responses: '200': description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110622,15 +110699,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *220 + - *222 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110650,11 +110727,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *220 - - *173 - - *174 + - *222 - *175 - *176 + - *177 + - *178 responses: '200': description: Response when getting a billing usage report @@ -110743,7 +110820,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -110753,9 +110830,9 @@ paths: application/json: schema: type: array - items: *747 + items: *763 examples: - default: *748 + default: *764 headers: Link: *40 x-github: @@ -110775,7 +110852,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -110785,9 +110862,9 @@ paths: application/json: schema: type: array - items: *749 + items: *765 examples: - default: *758 + default: *774 headers: Link: *40 x-github: @@ -110811,8 +110888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *220 - - *759 + - *222 + - *775 - *88 - *17 - *19 @@ -110824,11 +110901,11 @@ paths: schema: anyOf: - type: array - items: *760 + items: *776 - type: array items: *64 examples: - default-response: *752 + default-response: *768 headers: Link: *40 x-github: @@ -110847,7 +110924,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -110857,9 +110934,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -110987,7 +111064,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &761 + enterprise: &777 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -111045,7 +111122,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &762 + installation: &778 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -111064,7 +111141,7 @@ x-webhooks: required: - id - node_id - organization: &763 + organization: &779 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -111124,13 +111201,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &764 + repository: &780 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: &801 + properties: &817 id: description: Unique identifier of the repository example: 42 @@ -111813,7 +111890,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &802 + required: &818 - archive_url - assignees_url - blobs_url @@ -111964,10 +112041,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -112043,11 +112120,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: &765 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + rule: &781 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -112270,11 +112347,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + rule: *781 sender: *4 required: - action @@ -112457,11 +112534,11 @@ x-webhooks: - everyone required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + rule: *781 sender: *4 required: - action @@ -112532,7 +112609,7 @@ x-webhooks: required: true content: application/json: - schema: &768 + schema: &784 title: Exemption request cancellation event type: object properties: @@ -112540,11 +112617,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: &766 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + exemption_request: &782 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -112777,7 +112854,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &767 + items: &783 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -112885,7 +112962,7 @@ x-webhooks: required: true content: application/json: - schema: &769 + schema: &785 title: Exemption request completed event type: object properties: @@ -112893,11 +112970,11 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + exemption_request: *782 sender: *4 required: - action @@ -112967,7 +113044,7 @@ x-webhooks: required: true content: application/json: - schema: &770 + schema: &786 title: Exemption request created event type: object properties: @@ -112975,11 +113052,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + exemption_request: *782 sender: *4 required: - action @@ -113049,7 +113126,7 @@ x-webhooks: required: true content: application/json: - schema: &771 + schema: &787 title: Exemption response dismissed event type: object properties: @@ -113057,12 +113134,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + exemption_request: *782 + exemption_response: *783 sender: *4 required: - action @@ -113134,7 +113211,7 @@ x-webhooks: required: true content: application/json: - schema: &772 + schema: &788 title: Exemption response submitted event type: object properties: @@ -113142,12 +113219,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + exemption_request: *782 + exemption_response: *783 sender: *4 required: - action @@ -113220,7 +113297,7 @@ x-webhooks: required: true content: application/json: - schema: *768 + schema: *784 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113287,7 +113364,7 @@ x-webhooks: required: true content: application/json: - schema: *769 + schema: *785 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113354,7 +113431,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113421,7 +113498,7 @@ x-webhooks: required: true content: application/json: - schema: *771 + schema: *787 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113489,7 +113566,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *788 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113567,7 +113644,7 @@ x-webhooks: type: string enum: - completed - check_run: &774 + check_run: &790 title: CheckRun description: A check performed on the code of a given code change type: object @@ -113630,8 +113707,8 @@ x-webhooks: type: string pull_requests: type: array - items: *451 - repository: *198 + items: *453 + repository: *200 status: example: completed type: string @@ -113668,7 +113745,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *773 + deployment: *789 details_url: example: https://example.com type: string @@ -113718,7 +113795,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *451 + items: *453 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -113753,9 +113830,9 @@ x-webhooks: - output - app - pull_requests - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - check_run @@ -114148,10 +114225,10 @@ x-webhooks: type: string enum: - created - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *790 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - check_run @@ -114547,10 +114624,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *790 + installation: *778 + organization: *779 + repository: *780 requested_action: description: The action requested by the user. type: object @@ -114955,10 +115032,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *790 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - check_run @@ -115935,10 +116012,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -116608,10 +116685,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -117275,10 +117352,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -117441,7 +117518,7 @@ x-webhooks: required: - login - id - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -117586,20 +117663,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &775 + commit_oid: &791 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: *761 - installation: *762 - organization: *763 - ref: &776 + enterprise: *777 + installation: *778 + organization: *779 + ref: &792 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: *764 + repository: *780 sender: *4 required: - action @@ -117761,7 +117838,7 @@ x-webhooks: required: - login - id - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -117991,12 +118068,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *791 + enterprise: *777 + installation: *778 + organization: *779 + ref: *792 + repository: *780 sender: *4 required: - action @@ -118091,7 +118168,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118259,12 +118336,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *791 + enterprise: *777 + installation: *778 + organization: *779 + ref: *792 + repository: *780 sender: *4 required: - action @@ -118427,7 +118504,7 @@ x-webhooks: required: - login - id - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -118593,12 +118670,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *791 + enterprise: *777 + installation: *778 + organization: *779 + ref: *792 + repository: *780 sender: *4 required: - action @@ -118695,7 +118772,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118863,16 +118940,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 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: *764 + repository: *780 sender: *4 required: - action @@ -118966,7 +119043,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119106,12 +119183,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *791 + enterprise: *777 + installation: *778 + organization: *779 + ref: *792 + repository: *780 sender: *4 required: - action @@ -119368,10 +119445,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -119451,18 +119528,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *763 - pusher_type: &777 + organization: *779 + pusher_type: &793 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &778 + ref: &794 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -119472,7 +119549,7 @@ x-webhooks: enum: - tag - branch - repository: *764 + repository: *780 sender: *4 required: - ref @@ -119555,9 +119632,9 @@ x-webhooks: enum: - created definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 sender: *4 required: - action @@ -119642,9 +119719,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 sender: *4 required: - action @@ -119722,9 +119799,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 sender: *4 required: - action @@ -119802,9 +119879,9 @@ x-webhooks: enum: - updated definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 sender: *4 required: - action @@ -119881,19 +119958,19 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - repository: *764 - organization: *763 + enterprise: *777 + installation: *778 + repository: *780 + organization: *779 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *325 + items: *327 old_property_values: type: array description: The old custom property values for the repository. - items: *325 + items: *327 required: - action - repository @@ -119969,18 +120046,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - pusher_type: *777 - ref: *778 + enterprise: *777 + installation: *778 + organization: *779 + pusher_type: *793 + ref: *794 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *764 + repository: *780 sender: *4 required: - ref @@ -120064,11 +120141,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120152,11 +120229,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120240,11 +120317,11 @@ x-webhooks: type: string enum: - created - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120326,11 +120403,11 @@ x-webhooks: type: string enum: - dismissed - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120412,11 +120489,11 @@ x-webhooks: type: string enum: - fixed - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120499,11 +120576,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120585,11 +120662,11 @@ x-webhooks: type: string enum: - reopened - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120666,9 +120743,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - key: &779 + enterprise: *777 + installation: *778 + key: &795 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -120704,8 +120781,8 @@ x-webhooks: - verified - created_at - read_only - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -120782,11 +120859,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - key: *779 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + key: *795 + organization: *779 + repository: *780 sender: *4 required: - action @@ -121347,12 +121424,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - workflow: &783 + workflow: &799 title: Workflow type: object nullable: true @@ -122078,13 +122155,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *527 + deployment: *529 pull_requests: type: array - items: *615 - repository: *764 - organization: *763 - installation: *762 + items: *617 + repository: *780 + organization: *779 + installation: *778 sender: *4 responses: '200': @@ -122155,7 +122232,7 @@ x-webhooks: type: string enum: - approved - approver: &780 + approver: &796 type: object properties: avatar_url: @@ -122198,11 +122275,11 @@ x-webhooks: type: string comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: &781 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + reviewers: &797 type: array items: type: object @@ -122281,7 +122358,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &782 + workflow_job_run: &798 type: object properties: conclusion: @@ -123012,18 +123089,18 @@ x-webhooks: type: string enum: - rejected - approver: *780 + approver: *796 comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: *781 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + reviewers: *797 sender: *4 since: type: string - workflow_job_run: *782 + workflow_job_run: *798 workflow_job_runs: type: array items: @@ -123727,13 +123804,13 @@ x-webhooks: type: string enum: - requested - enterprise: *761 + enterprise: *777 environment: type: string - installation: *762 - organization: *763 - repository: *764 - requestor: &788 + installation: *778 + organization: *779 + repository: *780 + requestor: &804 title: User type: object nullable: true @@ -125632,12 +125709,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - workflow: *783 + workflow: *799 workflow_run: title: Deployment Workflow Run type: object @@ -126317,7 +126394,7 @@ x-webhooks: type: string enum: - answered - answer: &786 + answer: &802 type: object properties: author_association: @@ -126474,7 +126551,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &784 + discussion: &800 title: Discussion description: A Discussion in a repository. type: object @@ -126760,7 +126837,7 @@ x-webhooks: - id labels: type: array - items: *577 + items: *579 required: - repository_url - category @@ -126782,10 +126859,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -126912,11 +126989,11 @@ x-webhooks: - from required: - category - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -126999,11 +127076,11 @@ x-webhooks: type: string enum: - closed - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127085,7 +127162,7 @@ x-webhooks: type: string enum: - created - comment: &785 + comment: &801 type: object properties: author_association: @@ -127242,11 +127319,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127329,12 +127406,12 @@ x-webhooks: type: string enum: - deleted - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *801 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127429,12 +127506,12 @@ x-webhooks: - from required: - body - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *801 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127518,11 +127595,11 @@ x-webhooks: type: string enum: - created - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127604,11 +127681,11 @@ x-webhooks: type: string enum: - deleted - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127708,11 +127785,11 @@ x-webhooks: type: string required: - from - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127794,10 +127871,10 @@ x-webhooks: type: string enum: - labeled - discussion: *784 - enterprise: *761 - installation: *762 - label: &787 + discussion: *800 + enterprise: *777 + installation: *778 + label: &803 title: Label type: object properties: @@ -127829,8 +127906,8 @@ x-webhooks: - color - default - description - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127913,11 +127990,11 @@ x-webhooks: type: string enum: - locked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127999,11 +128076,11 @@ x-webhooks: type: string enum: - pinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128085,11 +128162,11 @@ x-webhooks: type: string enum: - reopened - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128174,16 +128251,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *784 - new_repository: *764 + new_discussion: *800 + new_repository: *780 required: - new_discussion - new_repository - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128266,10 +128343,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *784 - old_answer: *786 - organization: *763 - repository: *764 + discussion: *800 + old_answer: *802 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128351,12 +128428,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *784 - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128439,11 +128516,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128525,11 +128602,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128601,7 +128678,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128667,7 +128744,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *788 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128733,7 +128810,7 @@ x-webhooks: required: true content: application/json: - schema: *768 + schema: *784 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128799,7 +128876,7 @@ x-webhooks: required: true content: application/json: - schema: *769 + schema: *785 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128865,7 +128942,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128931,7 +129008,7 @@ x-webhooks: required: true content: application/json: - schema: *771 + schema: *787 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128997,7 +129074,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *788 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129064,7 +129141,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *761 + enterprise: *777 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -129724,9 +129801,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - forkee @@ -129872,9 +129949,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pages: description: The pages that were updated. type: array @@ -129911,7 +129988,7 @@ x-webhooks: - action - sha - html_url - repository: *764 + repository: *780 sender: *4 required: - pages @@ -129987,10 +130064,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories: &789 + organization: *779 + repositories: &805 description: An array of repository objects that the installation can access. type: array @@ -130016,8 +130093,8 @@ x-webhooks: - name - full_name - private - repository: *764 - requester: *788 + repository: *780 + requester: *804 sender: *4 required: - action @@ -130092,11 +130169,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *779 + repositories: *805 + repository: *780 requester: nullable: true sender: *4 @@ -130172,11 +130249,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *779 + repositories: *805 + repository: *780 requester: nullable: true sender: *4 @@ -130252,10 +130329,10 @@ x-webhooks: type: string enum: - added - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories_added: &790 + organization: *779 + repositories_added: &806 description: An array of repository objects, which were added to the installation. type: array @@ -130301,15 +130378,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *764 - repository_selection: &791 + repository: *780 + repository_selection: &807 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *788 + requester: *804 sender: *4 required: - action @@ -130388,10 +130465,10 @@ x-webhooks: type: string enum: - removed - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories_added: *790 + organization: *779 + repositories_added: *806 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -130418,9 +130495,9 @@ x-webhooks: - name - full_name - private - repository: *764 - repository_selection: *791 - requester: *788 + repository: *780 + repository_selection: *807 + requester: *804 sender: *4 required: - action @@ -130499,11 +130576,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *779 + repositories: *805 + repository: *780 requester: nullable: true sender: *4 @@ -130682,10 +130759,10 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 target_type: type: string @@ -130764,11 +130841,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *779 + repositories: *805 + repository: *780 requester: nullable: true sender: *4 @@ -131020,8 +131097,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131844,7 +131921,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -132177,8 +132254,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -132258,7 +132335,7 @@ x-webhooks: type: string enum: - deleted - comment: &792 + comment: &808 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -132423,8 +132500,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133243,7 +133320,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -133578,8 +133655,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -133659,7 +133736,7 @@ x-webhooks: type: string enum: - edited - changes: &820 + changes: &836 description: The changes to the comment. type: object properties: @@ -133671,9 +133748,9 @@ x-webhooks: type: string required: - from - comment: *792 - enterprise: *761 - installation: *762 + comment: *808 + enterprise: *777 + installation: *778 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134495,7 +134572,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -134828,8 +134905,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -134911,10 +134988,10 @@ x-webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - issue: &795 + assignee: *804 + enterprise: *777 + installation: *778 + issue: &811 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -135732,7 +135809,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -135833,8 +135910,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -135914,8 +135991,8 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136738,7 +136815,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -136974,8 +137051,8 @@ x-webhooks: required: - state - closed_at - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -137054,8 +137131,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137869,7 +137946,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -137969,8 +138046,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -138049,8 +138126,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138886,7 +138963,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -138965,7 +139042,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &809 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139103,8 +139180,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -139203,8 +139280,8 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140019,7 +140096,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *289 + type: *291 title: description: Title of the issue type: string @@ -140123,9 +140200,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -140205,8 +140282,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141020,7 +141097,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *289 + type: *291 title: description: Title of the issue type: string @@ -141124,9 +141201,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -141206,8 +141283,8 @@ x-webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142045,7 +142122,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *289 + type: *291 title: description: Title of the issue type: string @@ -142126,8 +142203,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -142206,8 +142283,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143042,7 +143119,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -143120,9 +143197,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *763 - repository: *764 + milestone: *809 + organization: *779 + repository: *780 sender: *4 required: - action @@ -144096,7 +144173,7 @@ x-webhooks: required: - login - id - type: *289 + type: *291 required: - id - number @@ -144565,8 +144642,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145384,7 +145461,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -145484,8 +145561,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -145565,9 +145642,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *761 - installation: *762 - issue: &794 + enterprise: *777 + installation: *778 + issue: &810 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146379,7 +146456,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -146479,8 +146556,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -146559,8 +146636,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147477,9 +147554,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *289 - organization: *763 - repository: *764 + type: *291 + organization: *779 + repository: *780 sender: *4 required: - action @@ -148374,7 +148451,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -148942,11 +149019,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *810 + organization: *779 + repository: *780 sender: *4 required: - action @@ -149026,12 +149103,12 @@ x-webhooks: type: string enum: - typed - enterprise: *761 - installation: *762 - issue: *795 - type: *289 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *811 + type: *291 + organization: *779 + repository: *780 sender: *4 required: - action @@ -149112,7 +149189,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &823 + assignee: &839 title: User type: object nullable: true @@ -149182,11 +149259,11 @@ x-webhooks: required: - login - id - enterprise: *761 - installation: *762 - issue: *795 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *811 + organization: *779 + repository: *780 sender: *4 required: - action @@ -149265,12 +149342,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - issue: *795 - label: *787 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *811 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -149350,8 +149427,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150190,7 +150267,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -150268,8 +150345,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150349,11 +150426,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *810 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150432,12 +150509,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *761 - installation: *762 - issue: *795 - type: *289 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *811 + type: *291 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150517,11 +150594,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150599,11 +150676,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150713,11 +150790,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150799,9 +150876,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: &796 + enterprise: *777 + installation: *778 + marketplace_purchase: &812 title: Marketplace Purchase type: object required: @@ -150884,8 +150961,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: &797 + organization: *779 + previous_marketplace_purchase: &813 title: Marketplace Purchase type: object properties: @@ -150965,7 +151042,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *780 sender: *4 required: - action @@ -151045,10 +151122,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *777 + installation: *778 + marketplace_purchase: *812 + organization: *779 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151131,7 +151208,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *780 sender: *4 required: - action @@ -151213,10 +151290,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *777 + installation: *778 + marketplace_purchase: *812 + organization: *779 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151298,7 +151375,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *780 sender: *4 required: - action @@ -151379,8 +151456,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 marketplace_purchase: title: Marketplace Purchase type: object @@ -151462,9 +151539,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + organization: *779 + previous_marketplace_purchase: *813 + repository: *780 sender: *4 required: - action @@ -151544,12 +151621,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + enterprise: *777 + installation: *778 + marketplace_purchase: *812 + organization: *779 + previous_marketplace_purchase: *813 + repository: *780 sender: *4 required: - action @@ -151651,11 +151728,11 @@ x-webhooks: type: string required: - to - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + member: *804 + organization: *779 + repository: *780 sender: *4 required: - action @@ -151755,11 +151832,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + member: *804 + organization: *779 + repository: *780 sender: *4 required: - action @@ -151838,11 +151915,11 @@ x-webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + member: *804 + organization: *779 + repository: *780 sender: *4 required: - action @@ -151920,11 +151997,11 @@ x-webhooks: type: string enum: - added - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + member: *804 + organization: *779 + repository: *780 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152000,7 +152077,7 @@ x-webhooks: required: - login - id - team: &798 + team: &814 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152190,11 +152267,11 @@ x-webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + member: *804 + organization: *779 + repository: *780 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152271,7 +152348,7 @@ x-webhooks: required: - login - id - team: *798 + team: *814 required: - action - scope @@ -152353,8 +152430,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *762 - merge_group: &800 + installation: *778 + merge_group: &816 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -152373,15 +152450,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *799 + head_commit: *815 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -152467,10 +152544,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *762 - merge_group: *800 - organization: *763 - repository: *764 + installation: *778 + merge_group: *816 + organization: *779 + repository: *780 sender: *4 required: - action @@ -152543,7 +152620,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *777 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -152651,16 +152728,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *762 - organization: *763 + installation: *778 + organization: *779 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: *801 - required: *802 + properties: *817 + required: *818 nullable: true sender: *4 required: @@ -152741,11 +152818,11 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + milestone: *809 + organization: *779 + repository: *780 sender: *4 required: - action @@ -152824,9 +152901,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - milestone: &803 + enterprise: *777 + installation: *778 + milestone: &819 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152963,8 +153040,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153043,11 +153120,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + milestone: *809 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153157,11 +153234,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + milestone: *809 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153241,11 +153318,11 @@ x-webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - milestone: *803 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + milestone: *819 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153324,11 +153401,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *804 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153407,11 +153484,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *804 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153490,9 +153567,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - membership: &804 + enterprise: *777 + installation: *778 + membership: &820 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -153584,8 +153661,8 @@ x-webhooks: - role - organization_url - user - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153663,11 +153740,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + membership: *820 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153746,8 +153823,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -153863,10 +153940,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 - user: *788 + user: *804 required: - action - invitation @@ -153944,11 +154021,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + membership: *820 + organization: *779 + repository: *780 sender: *4 required: - action @@ -154035,11 +154112,11 @@ x-webhooks: properties: from: type: string - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + membership: *820 + organization: *779 + repository: *780 sender: *4 required: - action @@ -154115,9 +154192,9 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 package: description: Information about the package. type: object @@ -154616,7 +154693,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &805 + items: &821 title: Ruby Gems metadata type: object properties: @@ -154711,7 +154788,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *780 sender: *4 required: - action @@ -154787,9 +154864,9 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 package: description: Information about the package. type: object @@ -155142,7 +155219,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *821 source_url: type: string format: uri @@ -155212,7 +155289,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *780 sender: *4 required: - action @@ -155389,12 +155466,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *761 + enterprise: *777 id: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - id @@ -155471,7 +155548,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &806 + personal_access_token_request: &822 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -155617,10 +155694,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *761 - organization: *763 + enterprise: *777 + organization: *779 sender: *4 - installation: *762 + installation: *778 required: - action - personal_access_token_request @@ -155697,11 +155774,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *806 - enterprise: *761 - organization: *763 + personal_access_token_request: *822 + enterprise: *777 + organization: *779 sender: *4 - installation: *762 + installation: *778 required: - action - personal_access_token_request @@ -155777,11 +155854,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *806 - enterprise: *761 - organization: *763 + personal_access_token_request: *822 + enterprise: *777 + organization: *779 sender: *4 - installation: *762 + installation: *778 required: - action - personal_access_token_request @@ -155856,11 +155933,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *806 - organization: *763 - enterprise: *761 + personal_access_token_request: *822 + organization: *779 + enterprise: *777 sender: *4 - installation: *762 + installation: *778 required: - action - personal_access_token_request @@ -155965,7 +156042,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *807 + last_response: *823 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -155997,8 +156074,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 zen: description: Random string of GitHub zen. @@ -156243,10 +156320,10 @@ x-webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: &808 + enterprise: *777 + installation: *778 + organization: *779 + project_card: &824 title: Project Card type: object properties: @@ -156365,7 +156442,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *780 sender: *4 required: - action @@ -156446,11 +156523,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_card: *808 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project_card: *824 + repository: *780 sender: *4 required: - action @@ -156530,9 +156607,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 project_card: title: Project Card type: object @@ -156660,8 +156737,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: *801 - required: *802 + properties: *817 + required: *818 nullable: true sender: *4 required: @@ -156755,11 +156832,11 @@ x-webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: *808 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project_card: *824 + repository: *780 sender: *4 required: - action @@ -156853,9 +156930,9 @@ x-webhooks: - from required: - column_id - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 project_card: allOf: - title: Project Card @@ -157045,7 +157122,7 @@ x-webhooks: type: string required: - after_id - repository: *764 + repository: *780 sender: *4 required: - action @@ -157125,10 +157202,10 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - organization: *763 - project: &810 + enterprise: *777 + installation: *778 + organization: *779 + project: &826 title: Project type: object properties: @@ -157252,7 +157329,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *780 sender: *4 required: - action @@ -157332,10 +157409,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_column: &809 + enterprise: *777 + installation: *778 + organization: *779 + project_column: &825 title: Project Column type: object properties: @@ -157374,7 +157451,7 @@ x-webhooks: - name - created_at - updated_at - repository: *764 + repository: *780 sender: *4 required: - action @@ -157453,18 +157530,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 + enterprise: *777 + installation: *778 + organization: *779 + project_column: *825 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: *801 - required: *802 + properties: *817 + required: *818 nullable: true sender: *4 required: @@ -157554,11 +157631,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project_column: *825 + repository: *780 sender: *4 required: - action @@ -157638,11 +157715,11 @@ x-webhooks: type: string enum: - moved - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project_column: *825 + repository: *780 sender: *4 required: - action @@ -157722,11 +157799,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project: *826 + repository: *780 sender: *4 required: - action @@ -157806,18 +157883,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project: *810 + enterprise: *777 + installation: *778 + organization: *779 + project: *826 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: *801 - required: *802 + properties: *817 + required: *818 nullable: true sender: *4 required: @@ -157919,11 +157996,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project: *826 + repository: *780 sender: *4 required: - action @@ -158002,11 +158079,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project: *826 + repository: *780 sender: *4 required: - action @@ -158087,9 +158164,9 @@ x-webhooks: type: string enum: - closed - installation: *762 - organization: *763 - projects_v2: &811 + installation: *778 + organization: *779 + projects_v2: &827 title: Projects v2 Project description: A projects v2 project type: object @@ -158232,9 +158309,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2: *811 + installation: *778 + organization: *779 + projects_v2: *827 sender: *4 required: - action @@ -158315,9 +158392,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2: *811 + installation: *778 + organization: *779 + projects_v2: *827 sender: *4 required: - action @@ -158434,9 +158511,9 @@ x-webhooks: type: string to: type: string - installation: *762 - organization: *763 - projects_v2: *811 + installation: *778 + organization: *779 + projects_v2: *827 sender: *4 required: - action @@ -158519,7 +158596,7 @@ x-webhooks: type: string enum: - archived - changes: &815 + changes: &831 type: object properties: archived_at: @@ -158533,9 +158610,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *762 - organization: *763 - projects_v2_item: &812 + installation: *778 + organization: *779 + projects_v2_item: &828 title: Projects v2 Item description: An item belonging to a project type: object @@ -158669,9 +158746,9 @@ x-webhooks: nullable: true to: type: string - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -158753,9 +158830,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -158836,9 +158913,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -158944,7 +159021,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &813 + - &829 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -158962,7 +159039,7 @@ x-webhooks: required: - id - name - - &814 + - &830 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -158985,8 +159062,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *813 - - *814 + - *829 + - *830 required: - field_value - type: object @@ -159002,9 +159079,9 @@ x-webhooks: nullable: true required: - body - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -159099,9 +159176,9 @@ x-webhooks: to: type: string nullable: true - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -159184,10 +159261,10 @@ x-webhooks: type: string enum: - restored - changes: *815 - installation: *762 - organization: *763 - projects_v2_item: *812 + changes: *831 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -159269,9 +159346,9 @@ x-webhooks: type: string enum: - reopened - installation: *762 - organization: *763 - projects_v2: *811 + installation: *778 + organization: *779 + projects_v2: *827 sender: *4 required: - action @@ -159352,9 +159429,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_status_update: &816 + installation: *778 + organization: *779 + projects_v2_status_update: &832 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -159481,9 +159558,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_status_update: *816 + installation: *778 + organization: *779 + projects_v2_status_update: *832 sender: *4 required: - action @@ -159619,9 +159696,9 @@ x-webhooks: type: string format: date nullable: true - installation: *762 - organization: *763 - projects_v2_status_update: *816 + installation: *778 + organization: *779 + projects_v2_status_update: *832 sender: *4 required: - action @@ -159692,10 +159769,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - repository @@ -159772,13 +159849,13 @@ x-webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - number: &817 + assignee: *804 + enterprise: *777 + installation: *778 + number: &833 description: The pull request number. type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -162061,7 +162138,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -162143,11 +162220,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -164425,7 +164502,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *780 sender: *4 required: - action @@ -164507,11 +164584,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -166789,7 +166866,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *780 sender: *4 required: - action @@ -166871,13 +166948,13 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: &818 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: &834 allOf: - - *615 + - *617 - type: object properties: allow_auto_merge: @@ -166939,7 +167016,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *764 + repository: *780 sender: *4 required: - action @@ -167020,12 +167097,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: *834 + repository: *780 sender: *4 required: - action @@ -167105,11 +167182,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *761 - milestone: *598 - number: *817 - organization: *763 - pull_request: &819 + enterprise: *777 + milestone: *600 + number: *833 + organization: *779 + pull_request: &835 title: Pull Request type: object properties: @@ -169372,7 +169449,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -169451,11 +169528,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -171737,7 +171814,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *764 + repository: *780 sender: *4 required: - action @@ -171861,12 +171938,12 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: *834 + repository: *780 sender: *4 required: - action @@ -171946,11 +172023,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -174217,7 +174294,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -174297,11 +174374,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 - label: *787 - number: *817 - organization: *763 + enterprise: *777 + installation: *778 + label: *803 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -176583,7 +176660,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -176664,10 +176741,10 @@ x-webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -178947,7 +179024,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -179027,12 +179104,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *761 - milestone: *598 - number: *817 - organization: *763 - pull_request: *819 - repository: *764 + enterprise: *777 + milestone: *600 + number: *833 + organization: *779 + pull_request: *835 + repository: *780 sender: *4 required: - action @@ -179111,12 +179188,12 @@ x-webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: *834 + repository: *780 sender: *4 required: - action @@ -179197,12 +179274,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: *834 + repository: *780 sender: *4 required: - action @@ -179282,12 +179359,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: *834 + repository: *780 sender: *4 required: - action @@ -179653,9 +179730,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: type: object properties: @@ -181825,7 +181902,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *780 sender: *4 required: - action @@ -181905,7 +181982,7 @@ x-webhooks: type: string enum: - deleted - comment: &821 + comment: &837 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -182190,9 +182267,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: type: object properties: @@ -184350,7 +184427,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *780 sender: *4 required: - action @@ -184430,11 +184507,11 @@ x-webhooks: type: string enum: - edited - changes: *820 - comment: *821 - enterprise: *761 - installation: *762 - organization: *763 + changes: *836 + comment: *837 + enterprise: *777 + installation: *778 + organization: *779 pull_request: type: object properties: @@ -186595,7 +186672,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *780 sender: *4 required: - action @@ -186676,9 +186753,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: title: Simple Pull Request type: object @@ -188851,7 +188928,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *780 review: description: The review that was affected. type: object @@ -189094,9 +189171,9 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: title: Simple Pull Request type: object @@ -191150,8 +191227,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: &822 + repository: *780 + review: &838 description: The review that was affected. type: object properties: @@ -191380,12 +191457,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: description: The pull request number. type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -193668,7 +193745,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 requested_reviewer: title: User type: object @@ -193752,12 +193829,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: description: The pull request number. type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -196047,7 +196124,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196239,12 +196316,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: description: The pull request number. type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -198529,7 +198606,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 requested_reviewer: title: User type: object @@ -198614,12 +198691,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: description: The pull request number. type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -200895,7 +200972,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201076,9 +201153,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: title: Simple Pull Request type: object @@ -203253,8 +203330,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: *822 + repository: *780 + review: *838 sender: *4 required: - action @@ -203334,9 +203411,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: title: Simple Pull Request type: object @@ -205406,7 +205483,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *780 sender: *4 thread: type: object @@ -205789,9 +205866,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: title: Simple Pull Request type: object @@ -207847,7 +207924,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *780 sender: *4 thread: type: object @@ -208233,10 +208310,10 @@ x-webhooks: type: string before: type: string - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -210507,7 +210584,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -210589,11 +210666,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *823 - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + assignee: *839 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -212876,7 +212953,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -212955,11 +213032,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - label: *787 - number: *817 - organization: *763 + enterprise: *777 + installation: *778 + label: *803 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -215232,7 +215309,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -215313,10 +215390,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -217581,7 +217658,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -217781,7 +217858,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *761 + enterprise: *777 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -217873,8 +217950,8 @@ x-webhooks: - url - author - committer - installation: *762 - organization: *763 + installation: *778 + organization: *779 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -218449,9 +218526,9 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 registry_package: type: object properties: @@ -218897,7 +218974,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *805 + items: *821 summary: type: string tag_name: @@ -218951,7 +219028,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *780 sender: *4 required: - action @@ -219029,9 +219106,9 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 registry_package: type: object properties: @@ -219339,7 +219416,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *821 summary: type: string tag_name: @@ -219388,7 +219465,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *780 sender: *4 required: - action @@ -219465,10 +219542,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - release: &824 + enterprise: *777 + installation: *778 + organization: *779 + release: &840 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219777,7 +219854,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *764 + repository: *780 sender: *4 required: - action @@ -219854,11 +219931,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + release: *840 + repository: *780 sender: *4 required: - action @@ -219975,11 +220052,11 @@ x-webhooks: type: boolean required: - to - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + release: *840 + repository: *780 sender: *4 required: - action @@ -220057,9 +220134,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -220372,7 +220449,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *780 sender: *4 required: - action @@ -220448,10 +220525,10 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - release: &825 + enterprise: *777 + installation: *778 + organization: *779 + release: &841 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -220761,7 +220838,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *780 sender: *4 required: - action @@ -220837,11 +220914,11 @@ x-webhooks: type: string enum: - released - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + release: *840 + repository: *780 sender: *4 required: - action @@ -220917,11 +220994,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *761 - installation: *762 - organization: *763 - release: *825 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + release: *841 + repository: *780 sender: *4 required: - action @@ -220997,11 +221074,11 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *672 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + repository_advisory: *688 sender: *4 required: - action @@ -221077,11 +221154,11 @@ x-webhooks: type: string enum: - reported - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *672 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + repository_advisory: *688 sender: *4 required: - action @@ -221157,10 +221234,10 @@ x-webhooks: type: string enum: - archived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221237,10 +221314,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221318,10 +221395,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221405,10 +221482,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221520,10 +221597,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221595,10 +221672,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 status: type: string @@ -221679,10 +221756,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221759,10 +221836,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221856,10 +221933,10 @@ x-webhooks: - name required: - repository - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221939,10 +222016,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 repository_ruleset: *130 sender: *4 required: @@ -222021,10 +222098,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 repository_ruleset: *130 sender: *4 required: @@ -222103,10 +222180,10 @@ x-webhooks: type: string enum: - edited - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 repository_ruleset: *130 changes: type: object @@ -222411,10 +222488,10 @@ x-webhooks: - from required: - owner - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -222492,10 +222569,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -222573,7 +222650,7 @@ x-webhooks: type: string enum: - create - alert: &826 + alert: &842 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -222694,10 +222771,10 @@ x-webhooks: type: string enum: - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -222903,10 +222980,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -222984,11 +223061,11 @@ x-webhooks: type: string enum: - reopen - alert: *826 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *842 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223187,10 +223264,10 @@ x-webhooks: enum: - fixed - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223268,7 +223345,7 @@ x-webhooks: type: string enum: - created - alert: &827 + alert: &843 type: object properties: number: *100 @@ -223379,10 +223456,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223463,11 +223540,11 @@ x-webhooks: type: string enum: - created - alert: *827 - installation: *762 - location: *828 - organization: *763 - repository: *764 + alert: *843 + installation: *778 + location: *844 + organization: *779 + repository: *780 sender: *4 required: - location @@ -223705,11 +223782,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *843 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223787,11 +223864,11 @@ x-webhooks: type: string enum: - reopened - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *843 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223869,11 +223946,11 @@ x-webhooks: type: string enum: - resolved - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *843 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223951,11 +224028,11 @@ x-webhooks: type: string enum: - validated - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *843 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -224081,10 +224158,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *764 - enterprise: *761 - installation: *762 - organization: *763 + repository: *780 + enterprise: *777 + installation: *778 + organization: *779 sender: *4 required: - action @@ -224162,11 +224239,11 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: &829 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + security_advisory: &845 description: The details of the security advisory, including summary, description, and severity. type: object @@ -224349,11 +224426,11 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: *829 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + security_advisory: *845 sender: *4 required: - action @@ -224426,10 +224503,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -224613,11 +224690,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *328 - enterprise: *761 - installation: *762 - organization: *763 - repository: *392 + security_and_analysis: *330 + enterprise: *777 + installation: *778 + organization: *779 + repository: *394 sender: *4 required: - changes @@ -224695,12 +224772,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: &830 + sponsorship: &846 type: object properties: created_at: @@ -225001,12 +225078,12 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: *830 + sponsorship: *846 required: - action - sponsorship @@ -225094,12 +225171,12 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: *830 + sponsorship: *846 required: - action - changes @@ -225176,17 +225253,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &831 + effective_date: &847 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: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: *830 + sponsorship: *846 required: - action - sponsorship @@ -225260,7 +225337,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &832 + changes: &848 type: object properties: tier: @@ -225304,13 +225381,13 @@ x-webhooks: - from required: - tier - effective_date: *831 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + effective_date: *847 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: *830 + sponsorship: *846 required: - action - changes @@ -225387,13 +225464,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *832 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + changes: *848 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: *830 + sponsorship: *846 required: - action - changes @@ -225467,10 +225544,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225553,10 +225630,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225976,15 +226053,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *761 + enterprise: *777 id: description: The unique identifier of the status. type: integer - installation: *762 + installation: *778 name: type: string - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 sha: description: The Commit SHA. @@ -226099,9 +226176,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -226191,9 +226268,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -226283,9 +226360,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -226375,9 +226452,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -226454,12 +226531,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - team: &833 + team: &849 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -226649,9 +226726,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 repository: title: Repository description: A git repository @@ -227109,7 +227186,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *849 required: - action - team @@ -227185,9 +227262,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 repository: title: Repository description: A git repository @@ -227645,7 +227722,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *849 required: - action - team @@ -227722,9 +227799,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 repository: title: Repository description: A git repository @@ -228182,7 +228259,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *849 required: - action - team @@ -228326,9 +228403,9 @@ x-webhooks: - from required: - permissions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 repository: title: Repository description: A git repository @@ -228786,7 +228863,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *849 required: - action - changes @@ -228864,9 +228941,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 repository: title: Repository description: A git repository @@ -229324,7 +229401,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *849 required: - action - team @@ -229400,10 +229477,10 @@ x-webhooks: type: string enum: - started - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -229476,16 +229553,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *761 + enterprise: *777 inputs: type: object nullable: true additionalProperties: true - installation: *762 - organization: *763 + installation: *778 + organization: *779 ref: type: string - repository: *764 + repository: *780 sender: *4 workflow: type: string @@ -229567,10 +229644,10 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 workflow_job: allOf: @@ -229807,7 +229884,7 @@ x-webhooks: type: string required: - conclusion - deployment: *527 + deployment: *529 required: - action - repository @@ -229886,10 +229963,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 workflow_job: allOf: @@ -230149,7 +230226,7 @@ x-webhooks: required: - status - steps - deployment: *527 + deployment: *529 required: - action - repository @@ -230228,10 +230305,10 @@ x-webhooks: type: string enum: - queued - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 workflow_job: type: object @@ -230366,7 +230443,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *527 + deployment: *529 required: - action - repository @@ -230445,10 +230522,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 workflow_job: type: object @@ -230584,7 +230661,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *527 + deployment: *529 required: - action - repository @@ -230664,12 +230741,12 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - workflow: *783 + workflow: *799 workflow_run: title: Workflow Run type: object @@ -231668,12 +231745,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - workflow: *783 + workflow: *799 workflow_run: title: Workflow Run type: object @@ -232657,12 +232734,12 @@ x-webhooks: type: string enum: - requested - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - workflow: *783 + workflow: *799 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index bb8e48f938..114f0f2cad 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -32788,6 +32788,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -32799,6 +32802,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -32830,7 +32837,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -36039,6 +36045,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -36050,6 +36059,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -36081,7 +36094,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -46921,6 +46933,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -76558,6 +76859,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -76999,7 +77323,8 @@ "teams_url", "trees_url", "url" - ] + ], + "nullable": true } } }, @@ -77176,7 +77501,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -107228,6 +107553,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -107239,6 +107567,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -107270,7 +107602,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -135059,6 +135390,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -135070,6 +135404,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -135101,7 +135439,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -170551,6 +170888,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -458042,6 +458668,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -458758,6 +459673,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -459427,6 +460631,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index f3dbc28b41..4a5c6157d9 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -859,7 +859,7 @@ paths: - subscriptions_url - type - url - type: &345 + type: &347 type: string description: The type of credit the user is receiving. enum: @@ -992,7 +992,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &182 + schema: &184 title: Validation Error Simple description: Validation Error Simple type: object @@ -1025,7 +1025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &674 + - &690 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1581,7 +1581,7 @@ paths: schema: type: integer default: 30 - - &267 + - &269 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 @@ -1597,7 +1597,7 @@ paths: application/json: schema: type: array - items: &268 + items: &270 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1677,7 +1677,7 @@ paths: - installation_id - repository_id examples: - default: &269 + default: &271 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &684 + schema: &700 title: Scim Error description: Scim Error type: object @@ -1736,7 +1736,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &181 + schema: &183 title: Validation Error description: Validation Error type: object @@ -1805,7 +1805,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &272 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1919,7 +1919,7 @@ paths: - request - response examples: - default: &271 + default: &273 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2846,7 +2846,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &326 + properties: &328 id: description: Unique identifier of the repository example: 42 @@ -3284,7 +3284,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &327 + required: &329 - archive_url - assignees_url - blobs_url @@ -7357,7 +7357,7 @@ paths: description: Response content: application/json: - schema: &183 + schema: &185 type: object properties: total_active_caches_count: @@ -7372,7 +7372,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &184 + default: &186 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7557,7 +7557,7 @@ paths: - public_ip_enabled - platform examples: - default: &185 + default: &187 value: total_count: 2 runners: @@ -7843,7 +7843,7 @@ paths: description: Response content: application/json: - schema: &186 + schema: &188 type: object properties: public_ips: @@ -7868,7 +7868,7 @@ paths: required: - public_ips examples: - default: &187 + default: &189 value: public_ips: current_usage: 17 @@ -7908,7 +7908,7 @@ paths: type: array items: *45 examples: - default: &188 + default: &190 value: id: 4-core cpu_cores: 4 @@ -8165,7 +8165,7 @@ paths: - all - local_only - selected - selected_actions_url: &191 + selected_actions_url: &193 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` @@ -8533,7 +8533,7 @@ paths: description: Success response content: application/json: - schema: &194 + schema: &196 type: object properties: default_workflow_permissions: &53 @@ -8581,7 +8581,7 @@ paths: required: true content: application/json: - schema: &195 + schema: &197 type: object properties: default_workflow_permissions: *53 @@ -9417,7 +9417,7 @@ paths: application/json: schema: type: array - items: &199 + items: &201 title: Runner Application description: Runner Application type: object @@ -9442,7 +9442,7 @@ paths: - download_url - filename examples: - default: &200 + default: &202 value: - os: osx architecture: x64 @@ -9526,7 +9526,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &201 + '201': &203 description: Response content: application/json: @@ -9641,7 +9641,7 @@ paths: - token - expires_at examples: - default: &202 + default: &204 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9681,7 +9681,7 @@ paths: application/json: schema: *65 examples: - default: &203 + default: &205 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9713,7 +9713,7 @@ paths: application/json: schema: *62 examples: - default: &204 + default: &206 value: id: 23 name: MBP @@ -9929,7 +9929,7 @@ paths: - *41 - *61 responses: - '200': &205 + '200': &207 description: Response content: application/json: @@ -9985,7 +9985,7 @@ paths: parameters: - *41 - *61 - - &206 + - &208 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10076,7 +10076,7 @@ paths: required: true content: application/json: - schema: &213 + schema: &215 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10148,7 +10148,7 @@ paths: required: false schema: type: string - - &214 + - &216 name: include description: |- The event types to include: @@ -10166,7 +10166,7 @@ paths: - web - git - all - - &215 + - &217 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -10174,7 +10174,7 @@ paths: required: false schema: type: string - - &216 + - &218 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -10182,7 +10182,7 @@ paths: required: false schema: type: string - - &217 + - &219 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10204,7 +10204,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 type: object properties: "@timestamp": @@ -10326,7 +10326,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &219 + default: &221 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10927,7 +10927,7 @@ paths: in: query schema: type: string - - &221 + - &223 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -10935,7 +10935,7 @@ paths: required: false schema: type: string - - &222 + - &224 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -10943,7 +10943,7 @@ paths: required: false schema: type: string - - &223 + - &225 name: time_period description: |- The time period to filter by. @@ -10959,7 +10959,7 @@ paths: - week - month default: day - - &224 + - &226 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -10986,7 +10986,7 @@ paths: application/json: schema: type: array - items: &225 + items: &227 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11103,7 +11103,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &228 + items: &230 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11147,7 +11147,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &226 + default: &228 value: - id: 21 number: 42 @@ -11234,7 +11234,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &233 + - &235 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`, @@ -11244,7 +11244,7 @@ paths: schema: &89 type: string description: The name of the tool used to generate the code scanning analysis. - - &234 + - &236 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 @@ -11267,7 +11267,7 @@ paths: be returned. in: query required: false - schema: &235 + schema: &237 type: string description: State of a code scanning alert. enum: @@ -11292,7 +11292,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 type: object properties: number: &100 @@ -11321,7 +11321,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &462 + instances_url: &464 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11356,7 +11356,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &463 + dismissed_reason: &465 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11365,13 +11365,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &464 + dismissed_comment: &466 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &465 + rule: &467 type: object properties: id: @@ -11424,7 +11424,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &466 + tool: &468 type: object properties: name: *89 @@ -11434,15 +11434,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *90 - most_recent_instance: &467 + most_recent_instance: &469 type: object properties: - ref: &460 + ref: &462 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &477 + analysis_key: &479 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11453,7 +11453,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &478 + category: &480 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11502,7 +11502,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: + properties: &173 id: type: integer format: int64 @@ -11729,7 +11729,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: + required: &174 - archive_url - assignees_url - blobs_url @@ -11798,7 +11798,7 @@ paths: - most_recent_instance - repository examples: - default: &237 + default: &239 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12611,7 +12611,7 @@ paths: description: Response content: application/json: - schema: &239 + schema: &241 type: array description: A list of default code security configurations items: @@ -12627,7 +12627,7 @@ paths: default configuration: *92 examples: - default: &240 + default: &242 value: - default_for_new_repos: public configuration: @@ -13061,7 +13061,7 @@ paths: default: value: default_for_new_repos: all - configuration: &238 + configuration: &240 value: id: 1325 target_type: organization @@ -13144,7 +13144,7 @@ paths: application/json: schema: type: array - items: &241 + items: &243 type: object description: Repositories associated with a code security configuration and attachment status @@ -13168,7 +13168,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &242 + repository: &244 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13657,7 +13657,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &229 + - &231 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13716,7 +13716,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &304 + properties: &306 id: description: Unique identifier of the team type: integer @@ -13772,7 +13772,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &305 + required: &307 - id - node_id - url @@ -13805,6 +13805,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -13813,6 +13815,9 @@ paths: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -13837,7 +13842,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -14460,7 +14464,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &249 + - &251 name: state in: query description: |- @@ -14469,7 +14473,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &250 + - &252 name: severity in: query description: |- @@ -14478,7 +14482,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &251 + - &253 name: ecosystem in: query description: |- @@ -14487,14 +14491,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &252 + - &254 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &253 + - &255 name: epss_percentage in: query description: |- @@ -14506,7 +14510,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 - - &254 + - &256 name: has in: query description: |- @@ -14520,7 +14524,7 @@ paths: type: string enum: - patch - - &255 + - &257 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14530,7 +14534,7 @@ paths: enum: - development - runtime - - &256 + - &258 name: sort in: query description: |- @@ -14548,7 +14552,7 @@ paths: - *88 - *86 - *87 - - &257 + - &259 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14561,7 +14565,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &258 + - &260 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14581,7 +14585,7 @@ paths: application/json: schema: type: array - items: &259 + items: &261 type: object description: A Dependabot alert. properties: @@ -14644,7 +14648,7 @@ paths: - unknown - direct - transitive - security_advisory: &519 + security_advisory: &521 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14876,7 +14880,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: &520 + auto_dismissed_at: &522 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -14902,7 +14906,7 @@ paths: - repository additionalProperties: false examples: - default: &260 + default: &262 value: - number: 2 state: dismissed @@ -15319,7 +15323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - &220 + - &222 name: username description: The handle for the GitHub user account. in: path @@ -15426,7 +15430,7 @@ paths: - name - created_on examples: - default: &356 + default: &358 value: total_count: 2 network_configurations: @@ -15649,7 +15653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &357 + - &359 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15661,7 +15665,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &360 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15695,7 +15699,7 @@ paths: - subnet_id - region examples: - default: &359 + default: &361 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15997,7 +16001,7 @@ paths: required: true content: application/json: - schema: &324 + schema: &326 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16363,7 +16367,7 @@ paths: type: object description: A repository rule. oneOf: - - &632 + - &634 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16375,7 +16379,7 @@ paths: type: string enum: - creation - - &633 + - &635 title: update description: Only allow users with bypass permission to update matching refs. @@ -16396,7 +16400,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &635 + - &637 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16408,7 +16412,7 @@ paths: type: string enum: - deletion - - &636 + - &638 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16420,7 +16424,7 @@ paths: type: string enum: - required_linear_history - - &637 + - &639 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16496,7 +16500,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &638 + - &640 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16520,7 +16524,7 @@ paths: type: string required: - required_deployment_environments - - &639 + - &641 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16532,7 +16536,7 @@ paths: type: string enum: - required_signatures - - &640 + - &642 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16592,7 +16596,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &641 + - &643 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16639,7 +16643,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &642 + - &644 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16651,7 +16655,7 @@ paths: type: string enum: - non_fast_forward - - &643 + - &645 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16687,7 +16691,7 @@ paths: required: - operator - pattern - - &644 + - &646 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16723,7 +16727,7 @@ paths: required: - operator - pattern - - &645 + - &647 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16759,7 +16763,7 @@ paths: required: - operator - pattern - - &646 + - &648 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16795,7 +16799,7 @@ paths: required: - operator - pattern - - &647 + - &649 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16831,7 +16835,7 @@ paths: required: - operator - pattern - - &648 + - &650 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16855,7 +16859,7 @@ paths: type: string required: - restricted_file_paths - - &649 + - &651 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16879,7 +16883,7 @@ paths: maximum: 256 required: - max_file_path_length - - &650 + - &652 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16902,7 +16906,7 @@ paths: type: string required: - restricted_file_extensions - - &651 + - &653 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16926,7 +16930,7 @@ paths: maximum: 100 required: - max_file_size - - &652 + - &654 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16975,7 +16979,7 @@ paths: - repository_id required: - workflows - - &653 + - &655 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17132,7 +17136,7 @@ paths: nullable: true anyOf: - *123 - - &331 + - &333 title: Organization ruleset conditions type: object description: |- @@ -17413,7 +17417,7 @@ paths: type: string format: date-time examples: - default: &333 + default: &335 value: - version_id: 3 actor: @@ -17466,7 +17470,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 allOf: - *133 - type: object @@ -17521,7 +17525,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &335 + - &337 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17532,7 +17536,7 @@ paths: enum: - open - resolved - - &336 + - &338 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17542,7 +17546,7 @@ paths: required: false schema: type: string - - &337 + - &339 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17551,7 +17555,7 @@ paths: required: false schema: type: string - - &338 + - &340 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. @@ -17567,7 +17571,7 @@ paths: - *17 - *86 - *87 - - &339 + - &341 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17576,7 +17580,7 @@ paths: required: false schema: type: string - - &340 + - &342 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17585,7 +17589,7 @@ paths: schema: type: boolean default: false - - &341 + - &343 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17594,7 +17598,7 @@ paths: schema: type: boolean default: false - - &342 + - &344 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -17610,7 +17614,7 @@ paths: application/json: schema: type: array - items: &343 + items: &345 type: object properties: number: *100 @@ -17629,14 +17633,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &666 + state: &668 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: &667 + resolution: &669 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17737,8 +17741,281 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &670 + - &672 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &673 + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &674 + description: Represents an 'issue_title' secret scanning location + type. This location type shows that a secret was detected + in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &675 + description: Represents an 'issue_body' secret scanning location + type. This location type shows that a secret was detected + in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &676 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &677 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &678 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &679 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &680 + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &681 + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &682 + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &683 + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &684 + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: - default: &344 + default: &346 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18004,7 +18281,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 type: object properties: total_minutes_used: @@ -18074,7 +18351,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &348 + default: &350 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18105,7 +18382,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &349 + - &351 name: advanced_security_product in: query description: | @@ -18125,7 +18402,7 @@ paths: description: Success content: application/json: - schema: &350 + schema: &352 type: object properties: total_advanced_security_committers: @@ -18180,7 +18457,7 @@ paths: required: - repositories examples: - default: &351 + default: &353 value: total_advanced_security_committers: 2 total_count: 2 @@ -18420,7 +18697,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &354 type: object properties: total_gigabytes_bandwidth_used: @@ -18438,7 +18715,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &353 + default: &355 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18473,7 +18750,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &356 type: object properties: days_left_in_billing_cycle: @@ -18491,7 +18768,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &355 + default: &357 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18516,7 +18793,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &173 + - &175 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18525,7 +18802,7 @@ paths: required: false schema: type: integer - - &174 + - &176 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 @@ -18534,7 +18811,7 @@ paths: required: false schema: type: integer - - &175 + - &177 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18543,7 +18820,7 @@ paths: required: false schema: type: integer - - &176 + - &178 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18564,7 +18841,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &177 + schema: &179 type: object properties: usageItems: @@ -18617,7 +18894,7 @@ paths: - netAmount - organizationName examples: - default: &178 + default: &180 value: usageItems: - date: '2023-08-01' @@ -18861,7 +19138,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &571 + properties: &573 id: type: integer format: int64 @@ -18972,7 +19249,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &504 + properties: &506 url: type: string format: uri @@ -19042,7 +19319,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &505 + required: &507 - closed_issues - creator - description @@ -19121,7 +19398,7 @@ paths: timeline_url: type: string format: uri - type: &289 + type: &291 title: Issue Type description: The type of issue. type: object @@ -19246,7 +19523,7 @@ paths: - total - completed - percent_completed - required: &572 + required: &574 - assignee - closed_at - comments @@ -19268,7 +19545,7 @@ paths: - author_association - created_at - updated_at - comment: &569 + comment: &571 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19835,7 +20112,7 @@ paths: url: type: string format: uri - user: &723 + user: &739 title: Public User description: Public User type: object @@ -21705,7 +21982,7 @@ paths: - closed - all default: open - - &292 + - &294 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -21756,7 +22033,7 @@ paths: type: array items: *155 examples: - default: &293 + default: &295 value: - id: 1 node_id: MDU6SXNzdWUx @@ -23140,14 +23417,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &379 + - &381 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &380 + - &382 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23218,7 +23495,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &393 + '301': &395 description: Moved permanently content: application/json: @@ -23240,7 +23517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &601 + - &603 name: all description: If `true`, show notifications marked as read. in: query @@ -23248,7 +23525,7 @@ paths: schema: type: boolean default: false - - &602 + - &604 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23258,7 +23535,7 @@ paths: type: boolean default: false - *145 - - &603 + - &605 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: @@ -23290,11 +23567,11 @@ paths: properties: id: type: string - repository: &198 + repository: &200 title: Minimal Repository description: Minimal Repository type: object - properties: &262 + properties: &264 id: type: integer format: int64 @@ -23570,7 +23847,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &328 + security_and_analysis: &330 nullable: true type: object properties: @@ -23642,7 +23919,7 @@ paths: enum: - enabled - disabled - required: &263 + required: &265 - archive_url - assignees_url - blobs_url @@ -23730,7 +24007,7 @@ paths: - url - subscription_url examples: - default: &604 + default: &606 value: - id: '1' repository: @@ -24276,7 +24553,7 @@ paths: type: array items: *59 examples: - default: &741 + default: &757 value: - login: github id: 1 @@ -24340,7 +24617,7 @@ paths: type: integer custom_roles: type: array - items: &244 + items: &246 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24388,7 +24665,7 @@ paths: - created_at - updated_at examples: - default: &245 + default: &247 value: id: 8030 name: Security Engineer @@ -24436,6 +24713,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - *172 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -24458,7 +24752,13 @@ paths: nullable: true accessible_repositories: type: array - items: *97 + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *173 + required: *174 + nullable: true additionalProperties: false examples: default: @@ -24561,7 +24861,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -24654,18 +24954,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *172 - - *173 - - *174 - *175 - *176 + - *177 + - *178 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *177 + schema: *179 examples: - default: *178 + default: *180 '400': *14 '403': *29 '500': *85 @@ -24701,7 +25001,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &181 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -25004,7 +25304,7 @@ paths: - updated_at - archived_at examples: - default-response: &180 + default-response: &182 value: login: github id: 1 @@ -25320,17 +25620,17 @@ paths: description: Response content: application/json: - schema: *179 + schema: *181 examples: - default: *180 + default: *182 '422': description: Validation failed content: application/json: schema: oneOf: - - *181 - - *182 + - *183 + - *184 '409': *96 x-github: githubCloudOnly: false @@ -25385,9 +25685,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: - default: *184 + default: *186 headers: Link: *40 x-github: @@ -25428,7 +25728,7 @@ paths: type: integer repository_cache_usages: type: array - items: &398 + items: &400 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25503,7 +25803,7 @@ paths: type: array items: *42 examples: - default: *185 + default: *187 headers: Link: *40 x-github: @@ -25687,9 +25987,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *188 examples: - default: *187 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25725,7 +26025,7 @@ paths: type: array items: *45 examples: - default: *188 + default: *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25908,7 +26208,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &189 + schema: &191 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -25922,7 +26222,7 @@ paths: required: - include_claim_keys examples: - default: &190 + default: &192 value: include_claim_keys: - repo @@ -25949,15 +26249,15 @@ paths: required: true content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 responses: '201': description: Empty response content: application/json: - schema: &209 + schema: &211 title: Empty Object description: An object without any properties. type: object @@ -25996,7 +26296,7 @@ paths: schema: type: object properties: - enabled_repositories: &192 + enabled_repositories: &194 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -26010,7 +26310,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *191 + selected_actions_url: *193 required: - enabled_repositories examples: @@ -26050,7 +26350,7 @@ paths: schema: type: object properties: - enabled_repositories: *192 + enabled_repositories: *194 allowed_actions: *49 required: - enabled_repositories @@ -26098,7 +26398,7 @@ paths: type: array items: *64 examples: - default: &735 + default: &751 value: total_count: 1 repositories: @@ -26283,7 +26583,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *172 - - &193 + - &195 name: repository_id description: The unique identifier of the repository. in: path @@ -26312,7 +26612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *172 - - *193 + - *195 responses: '204': description: Response @@ -26404,7 +26704,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: default: *55 x-github: @@ -26438,7 +26738,7 @@ paths: required: false content: application/json: - schema: *195 + schema: *197 examples: default: *55 x-github: @@ -26485,7 +26785,7 @@ paths: type: number runner_groups: type: array - items: &196 + items: &198 type: object properties: id: @@ -26673,9 +26973,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: - default: &197 + default: &199 value: id: 2 name: octo-runner-group @@ -26717,7 +27017,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: default: value: @@ -26808,9 +27108,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: - default: *197 + default: *199 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26874,7 +27174,7 @@ paths: type: array items: *42 examples: - default: *185 + default: *187 headers: Link: *40 x-github: @@ -26915,9 +27215,9 @@ paths: type: number repositories: type: array - items: *198 + items: *200 examples: - default: &726 + default: &742 value: total_count: 1 repositories: @@ -27216,7 +27516,7 @@ paths: parameters: - *172 - *58 - - *193 + - *195 responses: '204': description: Response @@ -27240,7 +27540,7 @@ paths: parameters: - *172 - *58 - - *193 + - *195 responses: '204': description: Response @@ -27458,9 +27758,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *200 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27525,7 +27825,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *201 + '201': *203 '404': *6 '422': *7 '409': *96 @@ -27564,7 +27864,7 @@ paths: application/json: schema: *65 examples: - default: *202 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27600,7 +27900,7 @@ paths: application/json: schema: *65 examples: - default: *203 + default: *205 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27631,7 +27931,7 @@ paths: application/json: schema: *62 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27806,7 +28106,7 @@ paths: - *172 - *61 responses: - '200': *205 + '200': *207 '404': *6 x-github: githubCloudOnly: false @@ -27835,7 +28135,7 @@ paths: parameters: - *172 - *61 - - *206 + - *208 responses: '200': *67 '404': *6 @@ -27880,7 +28180,7 @@ paths: type: integer secrets: type: array - items: &207 + items: &209 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -27959,7 +28259,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &420 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27988,7 +28288,7 @@ paths: - key_id - key examples: - default: &419 + default: &421 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28014,7 +28314,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *172 - - &208 + - &210 name: secret_name description: The name of the secret. in: path @@ -28026,7 +28326,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *209 examples: default: value: @@ -28057,7 +28357,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -28114,7 +28414,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -28141,7 +28441,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *172 - - *208 + - *210 responses: '204': description: Response @@ -28168,7 +28468,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 - *19 - *17 responses: @@ -28186,9 +28486,9 @@ paths: type: integer repositories: type: array - items: *198 + items: *200 examples: - default: &212 + default: &214 value: total_count: 1 repositories: @@ -28281,7 +28581,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -28334,7 +28634,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -28368,7 +28668,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -28401,7 +28701,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *172 - - &403 + - &405 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -28425,7 +28725,7 @@ paths: type: integer variables: type: array - items: &210 + items: &212 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28558,7 +28858,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -28584,7 +28884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *172 - - &211 + - &213 name: name description: The name of the variable. in: path @@ -28596,7 +28896,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *212 examples: default: value: @@ -28627,7 +28927,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *172 - - *211 + - *213 requestBody: required: true content: @@ -28690,7 +28990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *172 - - *211 + - *213 responses: '204': description: Response @@ -28717,7 +29017,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *172 - - *211 + - *213 - *19 - *17 responses: @@ -28735,9 +29035,9 @@ paths: type: integer repositories: type: array - items: *198 + items: *200 examples: - default: *212 + default: *214 '409': description: Response when the visibility of the variable is not set to `selected` @@ -28764,7 +29064,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *172 - - *211 + - *213 requestBody: required: true content: @@ -28814,7 +29114,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *172 - - *211 + - *213 - name: repository_id in: path required: true @@ -28849,7 +29149,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *172 - - *211 + - *213 - name: repository_id in: path required: true @@ -28907,7 +29207,7 @@ paths: required: true content: application/json: - schema: *213 + schema: *215 examples: default: *71 parameters: @@ -29014,7 +29314,7 @@ paths: bundle_url: type: string examples: - default: &432 + default: &434 value: attestations: - bundle: @@ -29140,10 +29440,10 @@ paths: required: false schema: type: string - - *214 - - *215 - *216 - *217 + - *218 + - *219 - *17 responses: '200': @@ -29152,9 +29452,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29183,7 +29483,7 @@ paths: type: array items: *4 examples: - default: &294 + default: &296 value: - login: octocat id: 1 @@ -29222,7 +29522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *172 - - *220 + - *222 responses: '204': description: If the user is blocked @@ -29248,7 +29548,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -29269,7 +29569,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -29296,16 +29596,16 @@ paths: subcategory: bypass-requests parameters: - *172 - - &227 + - &229 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *221 - - *222 - *223 - *224 + - *225 + - *226 - *17 - *19 responses: @@ -29315,9 +29615,9 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *226 + default: *228 '404': *6 '500': *85 "/orgs/{org}/bypass-requests/secret-scanning": @@ -29341,11 +29641,11 @@ paths: subcategory: delegated-bypass parameters: - *172 - - *227 - - *221 - - *222 + - *229 - *223 - *224 + - *225 + - *226 - *17 - *19 responses: @@ -29355,7 +29655,7 @@ paths: application/json: schema: type: array - items: &449 + items: &451 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -29469,7 +29769,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *228 + items: *230 url: type: string format: uri @@ -29480,7 +29780,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &450 + default: &452 value: - id: 21 number: 42 @@ -29572,7 +29872,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &230 + schema: &232 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -29598,7 +29898,7 @@ paths: application/json: schema: type: array - items: &231 + items: &233 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -29629,7 +29929,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *229 + items: *231 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -29647,7 +29947,7 @@ paths: type: string format: date-time nullable: true - state: *230 + state: *232 contact_link: description: The contact link of the campaign. type: string @@ -29862,9 +30162,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: &232 + default: &234 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -29947,9 +30247,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '404': *6 '422': description: Unprocessable Entity @@ -30026,7 +30326,7 @@ paths: type: string format: uri nullable: true - state: *230 + state: *232 examples: default: value: @@ -30036,9 +30336,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '400': description: Bad Request content: @@ -30105,8 +30405,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *172 - - *233 - - *234 + - *235 + - *236 - *86 - *87 - *19 @@ -30117,7 +30417,7 @@ paths: be returned. in: query required: false - schema: *235 + schema: *237 - name: sort description: The property by which to sort the results. in: query @@ -30133,7 +30433,7 @@ paths: be returned. in: query required: false - schema: &461 + schema: &463 type: string description: Severity of a code scanning alert. enum: @@ -30151,9 +30451,9 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: - default: *237 + default: *239 headers: Link: *40 '404': *6 @@ -30494,7 +30794,7 @@ paths: application/json: schema: *92 examples: - default: *238 + default: *240 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30522,9 +30822,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '304': *37 '403': *29 '404': *6 @@ -30608,7 +30908,7 @@ paths: application/json: schema: *92 examples: - default: *238 + default: *240 '304': *37 '403': *29 '404': *6 @@ -31012,7 +31312,7 @@ paths: default: value: default_for_new_repos: all - configuration: *238 + configuration: *240 '403': *29 '404': *6 x-github: @@ -31065,13 +31365,13 @@ paths: application/json: schema: type: array - items: *241 + items: *243 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *242 + repository: *244 '403': *29 '404': *6 x-github: @@ -31111,7 +31411,7 @@ paths: type: integer codespaces: type: array - items: &295 + items: &297 type: object title: Codespace description: A codespace. @@ -31136,12 +31436,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *198 + repository: *200 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &490 + properties: &492 name: type: string description: The name of the machine. @@ -31183,7 +31483,7 @@ paths: - ready - in_progress nullable: true - required: &491 + required: &493 - name - display_name - operating_system @@ -31388,7 +31688,7 @@ paths: - pulls_url - recent_folders examples: - default: &296 + default: &298 value: total_count: 3 codespaces: @@ -32012,7 +32312,7 @@ paths: type: integer secrets: type: array - items: &243 + items: &245 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32051,7 +32351,7 @@ paths: - updated_at - visibility examples: - default: &492 + default: &494 value: total_count: 2 secrets: @@ -32089,7 +32389,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &495 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32118,7 +32418,7 @@ paths: - key_id - key examples: - default: &494 + default: &496 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32142,15 +32442,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *172 - - *208 + - *210 responses: '200': description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: &496 + default: &498 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -32178,7 +32478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -32233,7 +32533,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -32260,7 +32560,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *172 - - *208 + - *210 responses: '204': description: Response @@ -32286,7 +32586,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 - *19 - *17 responses: @@ -32304,9 +32604,9 @@ paths: type: integer repositories: type: array - items: *198 + items: *200 examples: - default: *212 + default: *214 '404': *6 x-github: githubCloudOnly: false @@ -32329,7 +32629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -32380,7 +32680,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -32414,7 +32714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -33221,7 +33521,7 @@ paths: type: integer custom_roles: type: array - items: *244 + items: *246 examples: default: value: @@ -33313,7 +33613,7 @@ paths: required: true content: application/json: - schema: &247 + schema: &249 type: object properties: name: @@ -33354,9 +33654,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '422': *15 '404': *6 x-github: @@ -33381,7 +33681,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *172 - - &246 + - &248 name: role_id description: The unique identifier of the role. in: path @@ -33393,9 +33693,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '404': *6 x-github: githubCloudOnly: true @@ -33418,12 +33718,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *172 - - *246 + - *248 requestBody: required: true content: application/json: - schema: &248 + schema: &250 type: object properties: name: @@ -33461,9 +33761,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '422': *15 '404': *6 x-github: @@ -33488,7 +33788,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *172 - - *246 + - *248 responses: '204': description: Response @@ -33521,7 +33821,7 @@ paths: required: true content: application/json: - schema: *247 + schema: *249 examples: default: value: @@ -33535,9 +33835,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '422': *15 '404': *6 x-github: @@ -33568,15 +33868,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *172 - - *246 + - *248 responses: '200': description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '404': *6 x-github: githubCloudOnly: true @@ -33605,12 +33905,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *172 - - *246 + - *248 requestBody: required: true content: application/json: - schema: *248 + schema: *250 examples: default: value: @@ -33625,9 +33925,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '422': *15 '404': *6 x-github: @@ -33658,7 +33958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *172 - - *246 + - *248 responses: '204': description: Response @@ -33687,19 +33987,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *172 - - *249 - - *250 - *251 - *252 - *253 - *254 - *255 - *256 + - *257 + - *258 - *88 - *86 - *87 - - *257 - - *258 + - *259 + - *260 - *17 responses: '200': @@ -33708,9 +34008,9 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: - default: *260 + default: *262 '304': *37 '400': *14 '403': *29 @@ -33754,7 +34054,7 @@ paths: type: integer secrets: type: array - items: &261 + items: &263 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -33831,7 +34131,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &525 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33848,7 +34148,7 @@ paths: - key_id - key examples: - default: &524 + default: &526 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33872,13 +34172,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *172 - - *208 + - *210 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: default: value: @@ -33907,7 +34207,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -33962,7 +34262,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -33987,7 +34287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *172 - - *208 + - *210 responses: '204': description: Response @@ -34012,7 +34312,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 - *19 - *17 responses: @@ -34030,9 +34330,9 @@ paths: type: integer repositories: type: array - items: *198 + items: *200 examples: - default: *212 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34054,7 +34354,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -34105,7 +34405,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -34137,7 +34437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *172 - - *208 + - *210 - name: repository_id in: path required: true @@ -34174,11 +34474,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *172 - - *227 - - *221 - - *222 + - *229 - *223 - - &532 + - *224 + - *225 + - &534 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -34204,7 +34504,7 @@ paths: application/json: schema: type: array - items: &533 + items: &535 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -34314,7 +34614,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *228 + items: *230 url: type: string format: uri @@ -34325,7 +34625,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &534 + default: &536 value: - id: 21 number: 42 @@ -34413,7 +34713,7 @@ paths: application/json: schema: type: array - items: &307 + items: &309 title: Package description: A software package type: object @@ -34463,8 +34763,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *262 - required: *263 + properties: *264 + required: *265 nullable: true created_at: type: string @@ -34483,7 +34783,7 @@ paths: - created_at - updated_at examples: - default: &308 + default: &310 value: - id: 197 name: hello_docker @@ -34667,7 +34967,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -34748,7 +35048,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &375 + default: &377 value: group_id: '123' group_name: Octocat admins @@ -34803,7 +35103,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &374 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34840,7 +35140,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &373 + default: &375 value: groups: - group_id: '123' @@ -34884,7 +35184,7 @@ paths: application/json: schema: type: array - items: &286 + items: &288 title: Organization Invitation description: Organization Invitation type: object @@ -34931,7 +35231,7 @@ paths: - invitation_teams_url - node_id examples: - default: &287 + default: &289 value: - id: 1 login: monalisa @@ -34998,7 +35298,7 @@ paths: application/json: schema: type: array - items: &329 + items: &331 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -35012,7 +35312,7 @@ paths: - name - description examples: - default: &330 + default: &332 value: - name: add_assignee description: Assign or remove a user @@ -35053,7 +35353,7 @@ paths: application/json: schema: type: array - items: &264 + items: &266 title: Org Hook description: Org Hook type: object @@ -35222,9 +35522,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: &265 + default: &267 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -35269,7 +35569,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *172 - - &266 + - &268 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. @@ -35282,9 +35582,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: *265 + default: *267 '404': *6 x-github: githubCloudOnly: false @@ -35306,7 +35606,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *172 - - *266 + - *268 requestBody: required: false content: @@ -35351,7 +35651,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: default: value: @@ -35391,7 +35691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *172 - - *266 + - *268 responses: '204': description: Response @@ -35417,7 +35717,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *172 - - *266 + - *268 responses: '200': description: Response @@ -35446,7 +35746,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *172 - - *266 + - *268 requestBody: required: false content: @@ -35495,9 +35795,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *172 - - *266 + - *268 - *17 - - *267 + - *269 responses: '200': description: Response @@ -35505,9 +35805,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *269 + default: *271 '400': *14 '422': *15 x-github: @@ -35531,16 +35831,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *172 - - *266 + - *268 - *16 responses: '200': description: Response content: application/json: - schema: *270 + schema: *272 examples: - default: *271 + default: *273 '400': *14 '422': *15 x-github: @@ -35564,7 +35864,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *172 - - *266 + - *268 - *16 responses: '202': *39 @@ -35591,7 +35891,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *172 - - *266 + - *268 responses: '204': description: Response @@ -35614,7 +35914,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *172 - - &276 + - &278 name: actor_type in: path description: The type of the actor @@ -35627,14 +35927,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &277 + - &279 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &272 + - &274 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`.' @@ -35642,7 +35942,7 @@ paths: required: true schema: type: string - - &273 + - &275 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) @@ -35736,12 +36036,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *172 - - *272 - - *273 + - *274 + - *275 - *19 - *17 - *88 - - &282 + - &284 name: sort description: The property to sort the results by. in: query @@ -35820,14 +36120,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *172 - - *272 - - *273 + - *274 + - *275 responses: '200': description: Response content: application/json: - schema: &274 + schema: &276 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -35843,7 +36143,7 @@ paths: type: integer format: int64 examples: - default: &275 + default: &277 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -35864,23 +36164,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *172 - - &278 + - &280 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *272 - - *273 + - *274 + - *275 responses: '200': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: enabledForGitHubApps: true category: orgs @@ -35899,18 +36199,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *172 - - *272 - - *273 - - *276 - - *277 + - *274 + - *275 + - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 x-github: enabledForGitHubApps: true category: orgs @@ -35928,9 +36228,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *172 - - *272 - - *273 - - &279 + - *274 + - *275 + - &281 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -35943,7 +36243,7 @@ paths: description: Response content: application/json: - schema: &280 + schema: &282 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -35959,7 +36259,7 @@ paths: type: integer format: int64 examples: - default: &281 + default: &283 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -35996,18 +36296,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *172 - - *278 - - *272 - - *273 - - *279 + - *280 + - *274 + - *275 + - *281 responses: '200': description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *281 + default: *283 x-github: enabledForGitHubApps: true category: orgs @@ -36025,19 +36325,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *172 - - *276 - - *277 - - *272 - - *273 + - *278 - *279 + - *274 + - *275 + - *281 responses: '200': description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *281 + default: *283 x-github: enabledForGitHubApps: true category: orgs @@ -36055,13 +36355,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *172 - - *278 - - *272 - - *273 + - *280 + - *274 + - *275 - *19 - *17 - *88 - - *282 + - *284 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -36142,7 +36442,7 @@ paths: application/json: schema: *22 examples: - default: &565 + default: &567 value: id: 1 account: @@ -36308,12 +36608,12 @@ paths: application/json: schema: anyOf: - - &284 + - &286 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &283 + limit: &285 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -36338,7 +36638,7 @@ paths: properties: {} additionalProperties: false examples: - default: &285 + default: &287 value: limit: collaborators_only origin: organization @@ -36367,13 +36667,13 @@ paths: required: true content: application/json: - schema: &566 + schema: &568 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *283 + limit: *285 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -36397,9 +36697,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -36477,9 +36777,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *40 '404': *6 @@ -36557,7 +36857,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: default: value: @@ -36614,7 +36914,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *172 - - &288 + - &290 name: invitation_id description: The unique identifier of the invitation. in: path @@ -36648,7 +36948,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *172 - - *288 + - *290 - *17 - *19 responses: @@ -36658,9 +36958,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: &306 + default: &308 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -36703,7 +37003,7 @@ paths: application/json: schema: type: array - items: *289 + items: *291 examples: default: value: @@ -36788,9 +37088,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: &290 + default: &292 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -36823,7 +37123,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *172 - - &291 + - &293 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -36876,9 +37176,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '404': *6 '422': *7 x-github: @@ -36903,7 +37203,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *172 - - *291 + - *293 responses: '204': description: Response @@ -36966,7 +37266,7 @@ paths: - closed - all default: open - - *292 + - *294 - name: type description: Can be the name of an issue type. in: query @@ -36997,7 +37297,7 @@ paths: type: array items: *155 examples: - default: *293 + default: *295 headers: Link: *40 '404': *6 @@ -37057,7 +37357,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '422': *15 @@ -37078,7 +37378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response if requester is an organization member and user is @@ -37110,7 +37410,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -37137,7 +37437,7 @@ paths: - *17 - *19 - *172 - - *220 + - *222 responses: '200': description: Response @@ -37153,9 +37453,9 @@ paths: type: integer codespaces: type: array - items: *295 + items: *297 examples: - default: *296 + default: *298 '304': *37 '500': *85 '401': *25 @@ -37181,8 +37481,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *172 - - *220 - - &297 + - *222 + - &299 name: codespace_name in: path required: true @@ -37216,16 +37516,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *172 - - *220 - - *297 + - *222 + - *299 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: &489 + default: &491 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -37399,7 +37699,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *172 - - *220 + - *222 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -37474,13 +37774,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *172 - - *220 + - *222 responses: '200': description: Response content: application/json: - schema: &298 + schema: &300 title: Org Membership description: Org Membership type: object @@ -37532,7 +37832,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &299 + response-if-user-has-an-active-admin-membership-with-organization: &301 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -37601,7 +37901,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *172 - - *220 + - *222 requestBody: required: false content: @@ -37629,9 +37929,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - response-if-user-already-had-membership-with-organization: *299 + response-if-user-already-had-membership-with-organization: *301 '422': *15 '403': *29 x-github: @@ -37653,7 +37953,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -37699,7 +37999,7 @@ paths: application/json: schema: type: array - items: &300 + items: &302 title: Migration description: A migration. type: object @@ -38028,7 +38328,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -38207,7 +38507,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *172 - - &301 + - &303 name: migration_id description: The unique identifier of the migration. in: path @@ -38234,7 +38534,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -38404,7 +38704,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *172 - - *301 + - *303 responses: '302': description: Response @@ -38426,7 +38726,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *172 - - *301 + - *303 responses: '204': description: Response @@ -38450,8 +38750,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *172 - - *301 - - &740 + - *303 + - &756 name: repo_name description: repo_name parameter in: path @@ -38479,7 +38779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *172 - - *301 + - *303 - *17 - *19 responses: @@ -38489,9 +38789,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: &313 + default: &315 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38700,7 +39000,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &302 + items: &304 title: Organization Role description: Organization roles type: object @@ -38907,7 +39207,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -38959,7 +39259,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *172 - - &303 + - &305 name: team_slug description: The slug of the team name. in: path @@ -38991,8 +39291,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *172 - - *303 - - *246 + - *305 + - *248 responses: '204': description: Response @@ -39022,8 +39322,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *172 - - *303 - - *246 + - *305 + - *248 responses: '204': description: Response @@ -39049,7 +39349,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -39075,8 +39375,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *172 - - *220 - - *246 + - *222 + - *248 responses: '204': description: Response @@ -39107,8 +39407,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *172 - - *220 - - *246 + - *222 + - *248 responses: '204': description: Response @@ -39137,13 +39437,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *172 - - *246 + - *248 responses: '200': description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -39201,7 +39501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *172 - - *246 + - *248 requestBody: required: true content: @@ -39240,7 +39540,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -39294,7 +39594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *172 - - *246 + - *248 responses: '204': description: Response @@ -39320,7 +39620,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *172 - - *246 + - *248 - *17 - *19 responses: @@ -39398,8 +39698,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *304 - required: *305 + properties: *306 + required: *307 nullable: true required: - id @@ -39414,7 +39714,7 @@ paths: - slug - parent examples: - default: *306 + default: *308 headers: Link: *40 '404': @@ -39444,7 +39744,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *172 - - *246 + - *248 - *17 - *19 responses: @@ -39472,13 +39772,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &346 + items: &348 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *304 - required: *305 + properties: *306 + required: *307 name: nullable: true type: string @@ -39573,7 +39873,7 @@ paths: - type - url examples: - default: *294 + default: *296 headers: Link: *40 '404': @@ -39624,7 +39924,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -39650,7 +39950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *172 - - *220 + - *222 requestBody: required: false content: @@ -39708,7 +40008,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -39766,7 +40066,7 @@ paths: - nuget - container - *172 - - &742 + - &758 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39802,12 +40102,12 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: *308 + default: *310 '403': *29 '401': *25 - '400': &744 + '400': &760 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -39829,7 +40129,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &309 + - &311 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 @@ -39847,7 +40147,7 @@ paths: - docker - nuget - container - - &310 + - &312 name: package_name description: The name of the package. in: path @@ -39860,7 +40160,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: default: value: @@ -39912,8 +40212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *309 - - *310 + - *311 + - *312 - *172 responses: '204': @@ -39946,8 +40246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *309 - - *310 + - *311 + - *312 - *172 - name: token description: package token @@ -39980,8 +40280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *309 - - *310 + - *311 + - *312 - *172 - *19 - *17 @@ -40002,7 +40302,7 @@ paths: application/json: schema: type: array - items: &311 + items: &313 title: Package Version description: A version of a software package type: object @@ -40127,10 +40427,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *309 - - *310 + - *311 + - *312 - *172 - - &312 + - &314 name: package_version_id description: Unique identifier of the package version. in: path @@ -40142,7 +40442,7 @@ paths: description: Response content: application/json: - schema: *311 + schema: *313 examples: default: value: @@ -40178,10 +40478,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *309 - - *310 - - *172 + - *311 - *312 + - *172 + - *314 responses: '204': description: Response @@ -40213,10 +40513,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *309 - - *310 - - *172 + - *311 - *312 + - *172 + - *314 responses: '204': description: Response @@ -40246,7 +40546,7 @@ paths: - *172 - *17 - *19 - - &314 + - &316 name: sort description: The property by which to sort the results. in: query @@ -40257,7 +40557,7 @@ paths: - created_at default: created_at - *88 - - &315 + - &317 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -40268,7 +40568,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &316 + - &318 name: repository description: The name of the repository to use to filter the results. in: query @@ -40276,7 +40576,7 @@ paths: schema: type: string example: Hello-World - - &317 + - &319 name: permission description: The permission to use to filter the results. in: query @@ -40284,7 +40584,7 @@ paths: schema: type: string example: issues_read - - &318 + - &320 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) @@ -40294,7 +40594,7 @@ paths: schema: type: string format: date-time - - &319 + - &321 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) @@ -40304,7 +40604,7 @@ paths: schema: type: string format: date-time - - &320 + - &322 name: token_id description: The ID of the token in: query @@ -40615,9 +40915,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -40643,14 +40943,14 @@ paths: - *172 - *17 - *19 - - *314 - - *88 - - *315 - *316 + - *88 - *317 - *318 - *319 - *320 + - *321 + - *322 responses: '500': *85 '422': *15 @@ -40930,9 +41230,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -40974,7 +41274,7 @@ paths: type: integer configurations: type: array - items: &321 + items: &323 title: Organization private registry description: Private registry configuration for an organization type: object @@ -41184,7 +41484,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &322 + org-private-registry-with-selected-visibility: &324 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -41274,15 +41574,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *172 - - *208 + - *210 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: false @@ -41304,7 +41604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *172 - - *208 + - *210 requestBody: required: true content: @@ -41384,7 +41684,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *172 - - *208 + - *210 responses: '204': description: Response @@ -41430,7 +41730,7 @@ paths: application/json: schema: type: array - items: &323 + items: &325 title: Project description: Projects are a way to organize columns and cards of work. @@ -41603,7 +41903,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: default: value: @@ -41641,7 +41941,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &390 + '410': &392 description: Gone content: application/json: @@ -41807,7 +42107,7 @@ paths: required: true content: application/json: - schema: *324 + schema: *326 examples: default: value: @@ -41910,7 +42210,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &325 + items: &327 title: Custom Property Value description: Custom property name and associated value type: object @@ -41997,7 +42297,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *325 + items: *327 required: - repository_names - properties @@ -42050,7 +42350,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -42070,7 +42370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response if user is a public member @@ -42095,7 +42395,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -42117,7 +42417,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *172 - - *220 + - *222 responses: '204': description: Response @@ -42188,9 +42488,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -42393,7 +42693,7 @@ paths: description: Response content: application/json: - schema: &392 + schema: &394 title: Full Repository description: Full Repository type: object @@ -42670,8 +42970,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *326 - required: *327 + properties: *328 + required: *329 nullable: true temp_clone_token: type: string @@ -42786,7 +43086,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &511 + properties: &513 url: type: string format: uri @@ -42802,12 +43102,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &512 + required: &514 - url - key - name - html_url - security_and_analysis: *328 + security_and_analysis: *330 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42891,7 +43191,7 @@ paths: - network_count - subscribers_count examples: - default: &394 + default: &396 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43417,9 +43717,9 @@ paths: application/json: schema: type: array - items: *329 + items: *331 examples: - default: *330 + default: *332 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43444,7 +43744,7 @@ paths: - *172 - *17 - *19 - - &654 + - &656 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43535,7 +43835,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *128 - conditions: *331 + conditions: *333 rules: type: array description: An array of rules within the ruleset. @@ -43579,7 +43879,7 @@ paths: application/json: schema: *130 examples: - default: &332 + default: &334 value: id: 21 name: super cool ruleset @@ -43634,7 +43934,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *172 - - &655 + - &657 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 @@ -43644,16 +43944,16 @@ paths: schema: type: string x-multi-segment: true - - *227 - - *223 - - &656 + - *229 + - *225 + - &658 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 - - &657 + - &659 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -43673,7 +43973,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &660 title: Rule Suites description: Response type: array @@ -43728,7 +44028,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &659 + default: &661 value: - id: 21 actor_id: 12 @@ -43772,7 +44072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *172 - - &660 + - &662 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43788,7 +44088,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &663 title: Rule Suite description: Response type: object @@ -43887,7 +44187,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &662 + default: &664 value: id: 21 actor_id: 12 @@ -43962,7 +44262,7 @@ paths: application/json: schema: *130 examples: - default: *332 + default: *334 '404': *6 '500': *85 put: @@ -44011,7 +44311,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *128 - conditions: *331 + conditions: *333 rules: description: An array of rules within the ruleset. type: array @@ -44052,7 +44352,7 @@ paths: application/json: schema: *130 examples: - default: *332 + default: *334 '404': *6 '500': *85 delete: @@ -44111,7 +44411,7 @@ paths: type: array items: *133 examples: - default: *333 + default: *335 '404': *6 '500': *85 x-github: @@ -44148,7 +44448,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: default: value: @@ -44211,14 +44511,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *172 - - *335 - - *336 - *337 - *338 + - *339 + - *340 - *88 - *19 - *17 - - &664 + - &666 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -44228,7 +44528,7 @@ paths: required: false schema: type: string - - &665 + - &667 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -44238,10 +44538,10 @@ paths: required: false schema: type: string - - *339 - - *340 - *341 - *342 + - *343 + - *344 responses: '200': description: Response @@ -44249,9 +44549,9 @@ paths: application/json: schema: type: array - items: *343 + items: *345 examples: - default: *344 + default: *346 headers: Link: *40 '404': *6 @@ -44321,7 +44621,7 @@ paths: application/json: schema: type: array - items: &672 + items: &688 description: A repository security advisory. type: object properties: @@ -44541,7 +44841,7 @@ paths: login: type: string description: The username of the user credited. - type: *345 + type: *347 credits_detailed: type: array nullable: true @@ -44551,7 +44851,7 @@ paths: type: object properties: user: *4 - type: *345 + type: *347 state: type: string description: The state of the user's acceptance of the @@ -44575,7 +44875,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *229 + items: *231 private_fork: readOnly: true nullable: true @@ -44612,7 +44912,7 @@ paths: - private_fork additionalProperties: false examples: - default: &673 + default: &689 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44999,9 +45299,9 @@ paths: application/json: schema: type: array - items: *346 + items: *348 examples: - default: *306 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45025,7 +45325,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *172 - - *303 + - *305 responses: '204': description: Response @@ -45051,7 +45351,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *172 - - *303 + - *305 responses: '204': description: Response @@ -45086,9 +45386,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45113,7 +45413,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *172 - - *349 + - *351 - *17 - *19 responses: @@ -45121,9 +45421,9 @@ paths: description: Success content: application/json: - schema: *350 + schema: *352 examples: - default: *351 + default: *353 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45151,9 +45451,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45181,9 +45481,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45223,7 +45523,7 @@ paths: type: array items: *113 examples: - default: *356 + default: *358 headers: Link: *40 x-github: @@ -45424,15 +45724,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *172 - - *357 + - *359 responses: '200': description: Response content: application/json: - schema: *358 + schema: *360 examples: - default: *359 + default: *361 headers: Link: *40 x-github: @@ -45470,7 +45770,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &383 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -45516,7 +45816,7 @@ paths: type: string nullable: true examples: - default: &382 + default: &384 value: groups: - group_id: '123' @@ -45562,7 +45862,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *172 - - *303 + - *305 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -45628,9 +45928,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 headers: Link: *40 '403': *29 @@ -45724,7 +46024,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &362 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45787,8 +46087,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *304 - required: *305 + properties: *306 + required: *307 nullable: true members_count: type: integer @@ -46034,7 +46334,7 @@ paths: - repos_count - organization examples: - default: &361 + default: &363 value: id: 1 node_id: MDQ6VGVhbTE= @@ -46105,15 +46405,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *172 - - *303 + - *305 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '404': *6 x-github: githubCloudOnly: false @@ -46135,7 +46435,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *172 - - *303 + - *305 requestBody: required: false content: @@ -46197,16 +46497,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '201': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '404': *6 '422': *15 '403': *29 @@ -46232,7 +46532,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *172 - - *303 + - *305 responses: '204': description: Response @@ -46259,7 +46559,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *172 - - *303 + - *305 - *88 - *17 - *19 @@ -46276,7 +46576,7 @@ paths: application/json: schema: type: array - items: &362 + items: &364 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46375,7 +46675,7 @@ paths: - updated_at - url examples: - default: &713 + default: &729 value: - author: login: octocat @@ -46450,7 +46750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *172 - - *303 + - *305 requestBody: required: true content: @@ -46484,9 +46784,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: &363 + default: &365 value: author: login: octocat @@ -46559,8 +46859,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *172 - - *303 - - &364 + - *305 + - &366 name: discussion_number description: The number that identifies the discussion. in: path @@ -46572,9 +46872,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46597,8 +46897,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *172 - - *303 - - *364 + - *305 + - *366 requestBody: required: false content: @@ -46621,9 +46921,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: &714 + default: &730 value: author: login: octocat @@ -46694,8 +46994,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *172 - - *303 - - *364 + - *305 + - *366 responses: '204': description: Response @@ -46722,8 +47022,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *172 - - *303 - - *364 + - *305 + - *366 - *88 - *17 - *19 @@ -46734,7 +47034,7 @@ paths: application/json: schema: type: array - items: &365 + items: &367 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46806,7 +47106,7 @@ paths: - updated_at - url examples: - default: &715 + default: &731 value: - author: login: octocat @@ -46875,8 +47175,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *172 - - *303 - - *364 + - *305 + - *366 requestBody: required: true content: @@ -46898,9 +47198,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: &366 + default: &368 value: author: login: octocat @@ -46967,9 +47267,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *172 - - *303 - - *364 - - &367 + - *305 + - *366 + - &369 name: comment_number description: The number that identifies the comment. in: path @@ -46981,9 +47281,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47006,9 +47306,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *172 - - *303 - - *364 - - *367 + - *305 + - *366 + - *369 requestBody: required: true content: @@ -47030,9 +47330,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: &716 + default: &732 value: author: login: octocat @@ -47097,9 +47397,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *172 - - *303 - - *364 - - *367 + - *305 + - *366 + - *369 responses: '204': description: Response @@ -47126,9 +47426,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *172 - - *303 - - *364 - - *367 + - *305 + - *366 + - *369 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -47154,7 +47454,7 @@ paths: application/json: schema: type: array - items: &368 + items: &370 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -47197,7 +47497,7 @@ paths: - content - created_at examples: - default: &370 + default: &372 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47248,9 +47548,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *172 - - *303 - - *364 - - *367 + - *305 + - *366 + - *369 requestBody: required: true content: @@ -47283,9 +47583,9 @@ paths: team discussion comment content: application/json: - schema: *368 + schema: *370 examples: - default: &369 + default: &371 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47314,9 +47614,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47340,10 +47640,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *172 - - *303 - - *364 - - *367 - - &371 + - *305 + - *366 + - *369 + - &373 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47376,8 +47676,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *172 - - *303 - - *364 + - *305 + - *366 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -47403,9 +47703,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 x-github: @@ -47432,8 +47732,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *172 - - *303 - - *364 + - *305 + - *366 requestBody: required: true content: @@ -47465,16 +47765,16 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47498,9 +47798,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *172 - - *303 - - *364 - - *371 + - *305 + - *366 + - *373 responses: '204': description: Response @@ -47524,15 +47824,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *172 - - *303 + - *305 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -47552,7 +47852,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *172 - - *303 + - *305 requestBody: required: true content: @@ -47575,9 +47875,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -47597,7 +47897,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *172 - - *303 + - *305 responses: '204': description: Response @@ -47622,7 +47922,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *172 - - *303 + - *305 - *17 - *19 responses: @@ -47632,9 +47932,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *40 x-github: @@ -47657,7 +47957,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *172 - - *303 + - *305 - name: role description: Filters members returned by their role in the team. in: query @@ -47680,7 +47980,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -47711,14 +48011,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *172 - - *303 - - *220 + - *305 + - *222 responses: '200': description: Response content: application/json: - schema: &376 + schema: &378 title: Team Membership description: Team Membership type: object @@ -47745,7 +48045,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &717 + response-if-user-is-a-team-maintainer: &733 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47782,8 +48082,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *172 - - *303 - - *220 + - *305 + - *222 requestBody: required: false content: @@ -47808,9 +48108,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - response-if-users-membership-with-team-is-now-pending: &718 + response-if-users-membership-with-team-is-now-pending: &734 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47846,8 +48146,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *172 - - *303 - - *220 + - *305 + - *222 responses: '204': description: Response @@ -47873,7 +48173,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *172 - - *303 + - *305 - *17 - *19 responses: @@ -47883,7 +48183,7 @@ paths: application/json: schema: type: array - items: &377 + items: &379 title: Team Project description: A team's access to a project. type: object @@ -47951,7 +48251,7 @@ paths: - updated_at - permissions examples: - default: &719 + default: &735 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48015,8 +48315,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *172 - - *303 - - &378 + - *305 + - &380 name: project_id description: The unique identifier of the project. in: path @@ -48028,9 +48328,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: &720 + default: &736 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48093,8 +48393,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *172 - - *303 - - *378 + - *305 + - *380 requestBody: required: false content: @@ -48161,8 +48461,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *172 - - *303 - - *378 + - *305 + - *380 responses: '204': description: Response @@ -48190,7 +48490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *172 - - *303 + - *305 - *17 - *19 responses: @@ -48200,9 +48500,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -48232,15 +48532,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *172 - - *303 - - *379 - - *380 + - *305 + - *381 + - *382 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &721 + schema: &737 title: Team Repository description: A team's access to a repository. type: object @@ -48810,9 +49110,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *172 - - *303 - - *379 - - *380 + - *305 + - *381 + - *382 requestBody: required: false content: @@ -48858,9 +49158,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *172 - - *303 - - *379 - - *380 + - *305 + - *381 + - *382 responses: '204': description: Response @@ -48887,15 +49187,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *172 - - *303 + - *305 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *382 + default: *384 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48918,7 +49218,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *172 - - *303 + - *305 requestBody: required: true content: @@ -48961,7 +49261,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -48994,7 +49294,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *172 - - *303 + - *305 - *17 - *19 responses: @@ -49004,9 +49304,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - response-if-child-teams-exist: &722 + response-if-child-teams-exist: &738 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49133,7 +49433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &383 + - &385 name: card_id description: The unique identifier of the card. in: path @@ -49145,7 +49445,7 @@ paths: description: Response content: application/json: - schema: &384 + schema: &386 title: Project Card description: Project cards represent a scope of work. type: object @@ -49212,7 +49512,7 @@ paths: - created_at - updated_at examples: - default: &385 + default: &387 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -49268,7 +49568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *383 + - *385 requestBody: required: false content: @@ -49295,9 +49595,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '304': *37 '403': *29 '401': *25 @@ -49324,7 +49624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *383 + - *385 responses: '204': description: Response @@ -49368,7 +49668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *383 + - *385 requestBody: required: true content: @@ -49479,7 +49779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &386 + - &388 name: column_id description: The unique identifier of the column. in: path @@ -49491,7 +49791,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &389 title: Project Column description: Project columns contain cards of work. type: object @@ -49537,7 +49837,7 @@ paths: - created_at - updated_at examples: - default: &388 + default: &390 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -49572,7 +49872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *386 + - *388 requestBody: required: true content: @@ -49596,9 +49896,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 '304': *37 '403': *29 '401': *25 @@ -49623,7 +49923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *386 + - *388 responses: '204': description: Response @@ -49652,7 +49952,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *386 + - *388 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -49673,7 +49973,7 @@ paths: application/json: schema: type: array - items: *384 + items: *386 examples: default: value: @@ -49732,7 +50032,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *386 + - *388 requestBody: required: true content: @@ -49772,9 +50072,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '304': *37 '403': *29 '401': *25 @@ -49784,8 +50084,8 @@ paths: application/json: schema: oneOf: - - *181 - - *182 + - *183 + - *184 '503': description: Response content: @@ -49830,7 +50130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *386 + - *388 requestBody: required: true content: @@ -49890,15 +50190,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *378 + - *380 responses: '200': description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: &389 + default: &391 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -49955,7 +50255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *378 + - *380 requestBody: required: false content: @@ -50001,9 +50301,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: *389 + default: *391 '404': description: Not Found if the authenticated user does not have access to the project @@ -50024,7 +50324,7 @@ paths: items: type: string '401': *25 - '410': *390 + '410': *392 '422': *7 x-github: githubCloudOnly: false @@ -50047,7 +50347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *378 + - *380 responses: '204': description: Delete Success @@ -50068,7 +50368,7 @@ paths: items: type: string '401': *25 - '410': *390 + '410': *392 '404': *6 x-github: githubCloudOnly: false @@ -50092,7 +50392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *378 + - *380 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -50119,7 +50419,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '404': *6 @@ -50149,8 +50449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *378 - - *220 + - *380 + - *222 requestBody: required: false content: @@ -50202,8 +50502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *378 - - *220 + - *380 + - *222 responses: '204': description: Response @@ -50234,8 +50534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *378 - - *220 + - *380 + - *222 responses: '200': description: Response @@ -50308,7 +50608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *378 + - *380 - *17 - *19 responses: @@ -50318,7 +50618,7 @@ paths: application/json: schema: type: array - items: *387 + items: *389 examples: default: value: @@ -50356,7 +50656,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *378 + - *380 requestBody: required: true content: @@ -50379,7 +50679,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: default: value: @@ -50443,7 +50743,7 @@ paths: resources: type: object properties: - core: &391 + core: &393 title: Rate Limit type: object properties: @@ -50460,20 +50760,20 @@ paths: - remaining - reset - used - graphql: *391 - search: *391 - code_search: *391 - source_import: *391 - integration_manifest: *391 - code_scanning_upload: *391 - actions_runner_registration: *391 - scim: *391 - dependency_snapshots: *391 - code_scanning_autofix: *391 + graphql: *393 + search: *393 + code_search: *393 + source_import: *393 + integration_manifest: *393 + code_scanning_upload: *393 + actions_runner_registration: *393 + scim: *393 + dependency_snapshots: *393 + code_scanning_autofix: *393 required: - core - search - rate: *391 + rate: *393 required: - rate - resources @@ -50577,14 +50877,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: default-response: summary: Default response @@ -51089,7 +51389,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *393 + '301': *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51107,8 +51407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -51362,10 +51662,10 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *394 - '307': &395 + default: *396 + '307': &397 description: Temporary Redirect content: application/json: @@ -51394,8 +51694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -51417,7 +51717,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *395 + '307': *397 '404': *6 '409': *96 x-github: @@ -51441,11 +51741,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 - - &410 + - &412 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51468,7 +51768,7 @@ paths: type: integer artifacts: type: array - items: &396 + items: &398 title: Artifact description: An artifact type: object @@ -51546,7 +51846,7 @@ paths: - expires_at - updated_at examples: - default: &411 + default: &413 value: total_count: 2 artifacts: @@ -51607,9 +51907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *379 - - *380 - - &397 + - *381 + - *382 + - &399 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51621,7 +51921,7 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -51659,9 +51959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *379 - - *380 - - *397 + - *381 + - *382 + - *399 responses: '204': description: Response @@ -51685,9 +51985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *379 - - *380 - - *397 + - *381 + - *382 + - *399 - name: archive_format in: path required: true @@ -51701,7 +52001,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': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51724,14 +52024,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *398 + schema: *400 examples: default: value: @@ -51757,11 +52057,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 - - &399 + - &401 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 @@ -51795,7 +52095,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &402 title: Repository actions caches description: Repository actions caches type: object @@ -51837,7 +52137,7 @@ paths: - total_count - actions_caches examples: - default: &401 + default: &403 value: total_count: 1 actions_caches: @@ -51869,23 +52169,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *379 - - *380 + - *381 + - *382 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *399 + - *401 responses: '200': description: Response content: application/json: - schema: *400 + schema: *402 examples: - default: *401 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51905,8 +52205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *379 - - *380 + - *381 + - *382 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51937,9 +52237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *379 - - *380 - - &402 + - *381 + - *382 + - &404 name: job_id description: The unique identifier of the job. in: path @@ -51951,7 +52251,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &416 title: Job description: Information of a job execution in a workflow run type: object @@ -52258,9 +52558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *379 - - *380 - - *402 + - *381 + - *382 + - *404 responses: '302': description: Response @@ -52288,9 +52588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *379 - - *380 - - *402 + - *381 + - *382 + - *404 requestBody: required: false content: @@ -52311,7 +52611,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -52335,8 +52635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Status response @@ -52386,8 +52686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -52421,7 +52721,7 @@ paths: description: Empty response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -52450,8 +52750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -52469,7 +52769,7 @@ paths: type: integer secrets: type: array - items: &416 + items: &418 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52489,7 +52789,7 @@ paths: - created_at - updated_at examples: - default: &417 + default: &419 value: total_count: 2 secrets: @@ -52522,9 +52822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *379 - - *380 - - *403 + - *381 + - *382 + - *405 - *19 responses: '200': @@ -52541,7 +52841,7 @@ paths: type: integer variables: type: array - items: &420 + items: &422 title: Actions Variable type: object properties: @@ -52571,7 +52871,7 @@ paths: - created_at - updated_at examples: - default: &421 + default: &423 value: total_count: 2 variables: @@ -52604,8 +52904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -52614,11 +52914,11 @@ paths: schema: type: object properties: - enabled: &404 + enabled: &406 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *191 + selected_actions_url: *193 required: - enabled examples: @@ -52647,8 +52947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -52659,7 +52959,7 @@ paths: schema: type: object properties: - enabled: *404 + enabled: *406 allowed_actions: *49 required: - enabled @@ -52690,14 +52990,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: &405 + schema: &407 type: object properties: access_level: @@ -52715,7 +53015,7 @@ paths: required: - access_level examples: - default: &406 + default: &408 value: access_level: organization x-github: @@ -52740,15 +53040,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 responses: '204': description: Response @@ -52772,8 +53072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -52804,8 +53104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -52837,14 +53137,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *194 + schema: *196 examples: default: *55 x-github: @@ -52867,8 +53167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Success response @@ -52879,7 +53179,7 @@ paths: required: true content: application/json: - schema: *195 + schema: *197 examples: default: *55 x-github: @@ -52908,8 +53208,8 @@ paths: in: query schema: type: string - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -52953,8 +53253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -52962,9 +53262,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *200 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52986,8 +53286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -53030,7 +53330,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *201 + '201': *203 '404': *6 '422': *7 '409': *96 @@ -53061,8 +53361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '201': description: Response @@ -53070,7 +53370,7 @@ paths: application/json: schema: *65 examples: - default: *202 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53098,8 +53398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '201': description: Response @@ -53107,7 +53407,7 @@ paths: application/json: schema: *65 examples: - default: *203 + default: *205 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53129,8 +53429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 responses: '200': @@ -53139,7 +53439,7 @@ paths: application/json: schema: *62 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53160,8 +53460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 responses: '204': @@ -53188,8 +53488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 responses: '200': *67 @@ -53214,8 +53514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 requestBody: required: true @@ -53264,8 +53564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 requestBody: required: true @@ -53315,11 +53615,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 responses: - '200': *205 + '200': *207 '404': *6 x-github: githubCloudOnly: false @@ -53346,10 +53646,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *61 - - *206 + - *208 responses: '200': *67 '404': *6 @@ -53377,9 +53677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *379 - - *380 - - &424 + - *381 + - *382 + - &426 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. @@ -53387,7 +53687,7 @@ paths: required: false schema: type: string - - &425 + - &427 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53395,7 +53695,7 @@ paths: required: false schema: type: string - - &426 + - &428 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53404,7 +53704,7 @@ paths: required: false schema: type: string - - &427 + - &429 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 @@ -53431,7 +53731,7 @@ paths: - pending - *17 - *19 - - &428 + - &430 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -53440,7 +53740,7 @@ paths: schema: type: string format: date-time - - &407 + - &409 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53449,13 +53749,13 @@ paths: schema: type: boolean default: false - - &429 + - &431 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &430 + - &432 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53478,7 +53778,7 @@ paths: type: integer workflow_runs: type: array - items: &408 + items: &410 title: Workflow Run description: An invocation of a workflow type: object @@ -53573,7 +53873,7 @@ paths: that triggered the run. type: array nullable: true - items: &451 + items: &453 title: Pull Request Minimal type: object properties: @@ -53692,7 +53992,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &455 + properties: &457 id: type: string description: SHA for the commit @@ -53743,7 +54043,7 @@ paths: - name - email nullable: true - required: &456 + required: &458 - id - tree_id - message @@ -53751,8 +54051,8 @@ paths: - author - committer nullable: true - repository: *198 - head_repository: *198 + repository: *200 + head_repository: *200 head_repository_id: type: integer example: 5 @@ -53790,7 +54090,7 @@ paths: - workflow_url - pull_requests examples: - default: &431 + default: &433 value: total_count: 1 workflow_runs: @@ -54026,24 +54326,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *379 - - *380 - - &409 + - *381 + - *382 + - &411 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *407 + - *409 responses: '200': description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: &412 + default: &414 value: id: 30433642 name: Build @@ -54284,9 +54584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '204': description: Response @@ -54309,9 +54609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '200': description: Response @@ -54430,15 +54730,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '201': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -54465,12 +54765,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 - *17 - *19 - - *410 + - *412 responses: '200': description: Response @@ -54486,9 +54786,9 @@ paths: type: integer artifacts: type: array - items: *396 + items: *398 examples: - default: *411 + default: *413 headers: Link: *40 x-github: @@ -54512,25 +54812,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *379 - - *380 - - *409 - - &413 + - *381 + - *382 + - *411 + - &415 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *407 + - *409 responses: '200': description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: *412 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54553,10 +54853,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *379 - - *380 - - *409 - - *413 + - *381 + - *382 + - *411 + - *415 - *17 - *19 responses: @@ -54574,9 +54874,9 @@ paths: type: integer jobs: type: array - items: *414 + items: *416 examples: - default: &415 + default: &417 value: total_count: 1 jobs: @@ -54689,10 +54989,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *379 - - *380 - - *409 - - *413 + - *381 + - *382 + - *411 + - *415 responses: '302': description: Response @@ -54720,15 +55020,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '202': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -54755,9 +55055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 requestBody: required: true content: @@ -54824,15 +55124,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '202': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -54859,9 +55159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 - 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 @@ -54891,9 +55191,9 @@ paths: type: integer jobs: type: array - items: *414 + items: *416 examples: - default: *415 + default: *417 headers: Link: *40 x-github: @@ -54918,9 +55218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '302': description: Response @@ -54947,9 +55247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '204': description: Response @@ -54976,9 +55276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '200': description: Response @@ -55038,7 +55338,7 @@ paths: items: type: object properties: - type: &535 + type: &537 type: string description: The type of reviewer. enum: @@ -55048,7 +55348,7 @@ paths: reviewer: anyOf: - *4 - - *229 + - *231 required: - environment - wait_timer @@ -55123,9 +55423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 requestBody: required: true content: @@ -55172,7 +55472,7 @@ paths: application/json: schema: type: array - items: &527 + items: &529 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55278,7 +55578,7 @@ paths: - created_at - updated_at examples: - default: &528 + default: &530 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55334,9 +55634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 requestBody: required: false content: @@ -55357,7 +55657,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -55380,9 +55680,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 requestBody: required: false content: @@ -55403,7 +55703,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -55436,9 +55736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *379 - - *380 - - *409 + - *381 + - *382 + - *411 responses: '200': description: Response @@ -55575,8 +55875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -55594,9 +55894,9 @@ paths: type: integer secrets: type: array - items: *416 + items: *418 examples: - default: *417 + default: *419 headers: Link: *40 x-github: @@ -55621,16 +55921,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55652,17 +55952,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '200': description: Response content: application/json: - schema: *416 + schema: *418 examples: - default: &548 + default: &550 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55688,9 +55988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 requestBody: required: true content: @@ -55721,7 +56021,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -55747,9 +56047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '204': description: Response @@ -55774,9 +56074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *379 - - *380 - - *403 + - *381 + - *382 + - *405 - *19 responses: '200': @@ -55793,9 +56093,9 @@ paths: type: integer variables: type: array - items: *420 + items: *422 examples: - default: *421 + default: *423 headers: Link: *40 x-github: @@ -55818,8 +56118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -55846,7 +56146,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -55871,17 +56171,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *379 - - *380 - - *211 + - *381 + - *382 + - *213 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: &549 + default: &551 value: name: USERNAME value: octocat @@ -55907,9 +56207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *379 - - *380 - - *211 + - *381 + - *382 + - *213 requestBody: required: true content: @@ -55951,9 +56251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *379 - - *380 - - *211 + - *381 + - *382 + - *213 responses: '204': description: Response @@ -55978,8 +56278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -55997,7 +56297,7 @@ paths: type: integer workflows: type: array - items: &422 + items: &424 title: Workflow description: A GitHub Actions workflow type: object @@ -56104,9 +56404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *379 - - *380 - - &423 + - *381 + - *382 + - &425 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56121,7 +56421,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: default: value: @@ -56154,9 +56454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *379 - - *380 - - *423 + - *381 + - *382 + - *425 responses: '204': description: Response @@ -56181,9 +56481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *379 - - *380 - - *423 + - *381 + - *382 + - *425 responses: '204': description: Response @@ -56234,9 +56534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *379 - - *380 - - *423 + - *381 + - *382 + - *425 responses: '204': description: Response @@ -56263,19 +56563,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *379 - - *380 - - *423 - - *424 + - *381 + - *382 - *425 - *426 - *427 - - *17 - - *19 - *428 - - *407 - *429 + - *17 + - *19 - *430 + - *409 + - *431 + - *432 responses: '200': description: Response @@ -56291,9 +56591,9 @@ paths: type: integer workflow_runs: type: array - items: *408 + items: *410 examples: - default: *431 + default: *433 headers: Link: *40 x-github: @@ -56326,9 +56626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *379 - - *380 - - *423 + - *381 + - *382 + - *425 responses: '200': description: Response @@ -56389,8 +56689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *379 - - *380 + - *381 + - *382 - *88 - *17 - *86 @@ -56554,8 +56854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -56567,7 +56867,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '404': *6 @@ -56592,8 +56892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *379 - - *380 + - *381 + - *382 - name: assignee in: path required: true @@ -56629,8 +56929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -56742,8 +57042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *86 - *87 @@ -56797,7 +57097,7 @@ paths: bundle_url: type: string examples: - default: *432 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56817,8 +57117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -56826,7 +57126,7 @@ paths: application/json: schema: type: array - items: &433 + items: &435 title: Autolink reference description: An autolink reference. type: object @@ -56876,8 +57176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -56916,9 +57216,9 @@ paths: description: response content: application/json: - schema: *433 + schema: *435 examples: - default: &434 + default: &436 value: id: 1 key_prefix: TICKET- @@ -56949,9 +57249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *379 - - *380 - - &435 + - *381 + - *382 + - &437 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56963,9 +57263,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: - default: *434 + default: *436 '404': *6 x-github: githubCloudOnly: false @@ -56985,9 +57285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *379 - - *380 - - *435 + - *381 + - *382 + - *437 responses: '204': description: Response @@ -57011,8 +57311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response if Dependabot is enabled @@ -57060,8 +57360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -57082,8 +57382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -57103,8 +57403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *379 - - *380 + - *381 + - *382 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57142,7 +57442,7 @@ paths: - url protected: type: boolean - protection: &437 + protection: &439 title: Branch Protection description: Branch Protection type: object @@ -57184,7 +57484,7 @@ paths: required: - contexts - checks - enforce_admins: &440 + enforce_admins: &442 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57199,7 +57499,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &442 + required_pull_request_reviews: &444 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57220,7 +57520,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *229 + items: *231 apps: description: The list of apps with review dismissal access. @@ -57249,7 +57549,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *229 + items: *231 apps: description: The list of apps allowed to bypass pull request requirements. @@ -57275,7 +57575,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &439 + restrictions: &441 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -57582,9 +57882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *379 - - *380 - - &438 + - *381 + - *382 + - &440 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -57598,14 +57898,14 @@ paths: description: Response content: application/json: - schema: &448 + schema: &450 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &500 + commit: &502 title: Commit description: Commit type: object @@ -57639,7 +57939,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &436 + properties: &438 name: type: string example: '"Chris Wanstrath"' @@ -57654,7 +57954,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *436 + properties: *438 nullable: true message: type: string @@ -57675,7 +57975,7 @@ paths: required: - sha - url - verification: &555 + verification: &557 title: Verification type: object properties: @@ -57709,12 +58009,12 @@ paths: nullable: true oneOf: - *4 - - *209 + - *211 committer: nullable: true oneOf: - *4 - - *209 + - *211 parents: type: array items: @@ -57745,7 +58045,7 @@ paths: type: integer files: type: array - items: &515 + items: &517 title: Diff Entry description: Diff Entry type: object @@ -57828,7 +58128,7 @@ paths: - self protected: type: boolean - protection: *437 + protection: *439 protection_url: type: string format: uri @@ -57935,7 +58235,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *393 + '301': *395 '404': *6 x-github: githubCloudOnly: false @@ -57957,15 +58257,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *437 + schema: *439 examples: default: value: @@ -58159,9 +58459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -58416,7 +58716,7 @@ paths: url: type: string format: uri - required_status_checks: &445 + required_status_checks: &447 title: Status Check Policy description: Status Check Policy type: object @@ -58492,7 +58792,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *231 apps: type: array items: *5 @@ -58510,7 +58810,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *231 apps: type: array items: *5 @@ -58568,7 +58868,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *439 + restrictions: *441 required_conversation_resolution: type: object properties: @@ -58680,9 +58980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -58707,17 +59007,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: &441 + default: &443 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58739,17 +59039,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *441 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58768,9 +59068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -58795,17 +59095,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: &443 + default: &445 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58901,9 +59201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -59001,9 +59301,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *443 + default: *445 '422': *15 x-github: githubCloudOnly: false @@ -59024,9 +59324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -59053,17 +59353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: &444 + default: &446 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59086,17 +59386,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *444 + default: *446 '404': *6 x-github: githubCloudOnly: false @@ -59116,9 +59416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -59143,17 +59443,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: &446 + default: &448 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59179,9 +59479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -59233,9 +59533,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '404': *6 '422': *15 x-github: @@ -59257,9 +59557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -59283,9 +59583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response @@ -59319,9 +59619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -59388,9 +59688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -59454,9 +59754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: content: application/json: @@ -59522,15 +59822,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -59621,9 +59921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '204': description: Response @@ -59646,9 +59946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response @@ -59658,7 +59958,7 @@ paths: type: array items: *5 examples: - default: &447 + default: &449 value: - id: 1 slug: octoapp @@ -59715,9 +60015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -59751,7 +60051,7 @@ paths: type: array items: *5 examples: - default: *447 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -59772,9 +60072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -59808,7 +60108,7 @@ paths: type: array items: *5 examples: - default: *447 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -59829,9 +60129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -59865,7 +60165,7 @@ paths: type: array items: *5 examples: - default: *447 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -59887,9 +60187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response @@ -59897,9 +60197,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 '404': *6 x-github: githubCloudOnly: false @@ -59919,9 +60219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -59957,9 +60257,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 '422': *15 x-github: githubCloudOnly: false @@ -59980,9 +60280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: false content: @@ -60018,9 +60318,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 '422': *15 x-github: githubCloudOnly: false @@ -60041,9 +60341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: content: application/json: @@ -60078,9 +60378,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 '422': *15 x-github: githubCloudOnly: false @@ -60102,9 +60402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 responses: '200': description: Response @@ -60114,7 +60414,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 '404': *6 x-github: githubCloudOnly: false @@ -60138,9 +60438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -60173,7 +60473,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -60198,9 +60498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -60233,7 +60533,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -60258,9 +60558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -60293,7 +60593,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -60320,9 +60620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 requestBody: required: true content: @@ -60344,7 +60644,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: default: value: @@ -60458,12 +60758,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *379 - - *380 - - *221 - - *222 + - *381 + - *382 - *223 - *224 + - *225 + - *226 - *17 - *19 responses: @@ -60473,9 +60773,9 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *226 + default: *228 '404': *6 '500': *85 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -60495,8 +60795,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *379 - - *380 + - *381 + - *382 - name: bypass_request_number in: path required: true @@ -60510,7 +60810,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -60569,12 +60869,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *379 - - *380 - - *221 - - *222 + - *381 + - *382 - *223 - *224 + - *225 + - *226 - *17 - *19 responses: @@ -60584,9 +60884,9 @@ paths: application/json: schema: type: array - items: *449 + items: *451 examples: - default: *450 + default: *452 '404': *6 '403': *29 '500': *85 @@ -60610,8 +60910,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *379 - - *380 + - *381 + - *382 - name: bypass_request_number in: path required: true @@ -60623,7 +60923,7 @@ paths: description: A single bypass request. content: application/json: - schema: *449 + schema: *451 examples: default: value: @@ -60681,8 +60981,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *379 - - *380 + - *381 + - *382 - name: bypass_request_number in: path required: true @@ -60753,8 +61053,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *379 - - *380 + - *381 + - *382 - name: bypass_response_id in: path required: true @@ -60787,8 +61087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -61067,7 +61367,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &454 title: CheckRun description: A check performed on the code of a given code change type: object @@ -61186,8 +61486,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *451 - deployment: &773 + items: *453 + deployment: &789 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61467,9 +61767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *379 - - *380 - - &453 + - *381 + - *382 + - &455 name: check_run_id description: The unique identifier of the check run. in: path @@ -61481,9 +61781,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: &454 + default: &456 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -61583,9 +61883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *379 - - *380 - - *453 + - *381 + - *382 + - *455 requestBody: required: true content: @@ -61825,9 +62125,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61847,9 +62147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *379 - - *380 - - *453 + - *381 + - *382 + - *455 - *17 - *19 responses: @@ -61944,15 +62244,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *379 - - *380 - - *453 + - *381 + - *382 + - *455 responses: '201': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -61990,8 +62290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -62013,7 +62313,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &457 + schema: &459 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -62077,7 +62377,7 @@ paths: nullable: true pull_requests: type: array - items: *451 + items: *453 nullable: true app: title: GitHub app @@ -62090,7 +62390,7 @@ paths: nullable: true properties: *140 required: *141 - repository: *198 + repository: *200 created_at: type: string format: date-time @@ -62099,12 +62399,12 @@ paths: type: string format: date-time nullable: true - head_commit: &799 + head_commit: &815 title: Simple Commit description: A commit. type: object - properties: *455 - required: *456 + properties: *457 + required: *458 latest_check_runs_count: type: integer check_runs_url: @@ -62132,7 +62432,7 @@ paths: - check_runs_url - pull_requests examples: - default: &458 + default: &460 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62423,9 +62723,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62444,8 +62744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -62506,7 +62806,7 @@ paths: required: - app_id - setting - repository: *198 + repository: *200 examples: default: value: @@ -62754,9 +63054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *379 - - *380 - - &459 + - *381 + - *382 + - &461 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -62768,9 +63068,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62793,17 +63093,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *379 - - *380 - - *459 - - &508 + - *381 + - *382 + - *461 + - &510 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &509 + - &511 name: status description: Returns check runs with the specified `status`. in: query @@ -62842,9 +63142,9 @@ paths: type: integer check_runs: type: array - items: *452 + items: *454 examples: - default: &510 + default: &512 value: total_count: 1 check_runs: @@ -62946,15 +63246,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *379 - - *380 - - *459 + - *381 + - *382 + - *461 responses: '201': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -62981,21 +63281,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *379 - - *380 - - *233 - - *234 + - *381 + - *382 + - *235 + - *236 - *19 - *17 - - &475 + - &477 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: *460 - - &476 + schema: *462 + - &478 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63020,13 +63320,13 @@ paths: be returned. in: query required: false - schema: *235 + schema: *237 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *461 + schema: *463 responses: '200': description: Response @@ -63042,7 +63342,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *462 + instances_url: *464 state: *91 fixed_at: *110 dismissed_by: @@ -63053,11 +63353,11 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *463 - dismissed_comment: *464 - rule: *465 - tool: *466 - most_recent_instance: *467 + dismissed_reason: *465 + dismissed_comment: *466 + rule: *467 + tool: *468 + most_recent_instance: *469 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -63180,7 +63480,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &468 + '403': &470 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -63207,9 +63507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *379 - - *380 - - &469 + - *381 + - *382 + - &471 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -63223,7 +63523,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &472 type: object properties: number: *100 @@ -63231,7 +63531,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *462 + instances_url: *464 state: *91 fixed_at: *110 dismissed_by: @@ -63242,8 +63542,8 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *463 - dismissed_comment: *464 + dismissed_reason: *465 + dismissed_comment: *466 rule: type: object properties: @@ -63297,8 +63597,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *466 - most_recent_instance: *467 + tool: *468 + most_recent_instance: *469 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -63394,7 +63694,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -63414,9 +63714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 requestBody: required: true content: @@ -63431,8 +63731,8 @@ paths: enum: - open - dismissed - dismissed_reason: *463 - dismissed_comment: *464 + dismissed_reason: *465 + dismissed_comment: *466 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63451,7 +63751,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: default: value: @@ -63527,7 +63827,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &474 + '403': &476 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -63554,15 +63854,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 responses: '200': description: Response content: application/json: - schema: &471 + schema: &473 type: object properties: status: @@ -63588,13 +63888,13 @@ paths: - description - started_at examples: - default: &472 + default: &474 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &473 + '400': &475 description: Bad Request content: application/json: @@ -63605,7 +63905,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': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -63630,29 +63930,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 responses: '200': description: OK content: application/json: - schema: *471 + schema: *473 examples: - default: *472 + default: *474 '202': description: Accepted content: application/json: - schema: *471 + schema: *473 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *473 + '400': *475 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -63684,9 +63984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 requestBody: required: false content: @@ -63731,8 +64031,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *473 - '403': *474 + '400': *475 + '403': *476 '404': *6 '422': description: Unprocessable Entity @@ -63756,13 +64056,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 - *19 - *17 - - *475 - - *476 + - *477 + - *478 responses: '200': description: Response @@ -63770,7 +64070,7 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: default: value: @@ -63809,7 +64109,7 @@ paths: end_column: 50 classifications: - source - '403': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -63843,25 +64143,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *379 - - *380 - - *233 - - *234 + - *381 + - *382 + - *235 + - *236 - *19 - *17 - - *476 + - *478 - 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: *460 + schema: *462 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &479 + schema: &481 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -63882,23 +64182,23 @@ paths: application/json: schema: type: array - items: &480 + items: &482 type: object properties: - ref: *460 - commit_sha: &488 + ref: *462 + commit_sha: &490 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: *477 + analysis_key: *479 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *478 + category: *480 error: type: string example: error reading field xyz @@ -63922,8 +64222,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *479 - tool: *466 + sarif_id: *481 + tool: *468 deletable: type: boolean warning: @@ -63984,7 +64284,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -64020,8 +64320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64034,7 +64334,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: response: summary: application/json response @@ -64088,7 +64388,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *468 + '403': *470 '404': *6 '422': description: Response if analysis could not be processed @@ -64175,8 +64475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64229,7 +64529,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': *474 + '403': *476 '404': *6 '503': *134 x-github: @@ -64251,8 +64551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -64260,7 +64560,7 @@ paths: application/json: schema: type: array - items: &481 + items: &483 title: CodeQL Database description: A CodeQL database. type: object @@ -64371,7 +64671,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': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -64400,8 +64700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: language in: path description: The language of the CodeQL database. @@ -64413,7 +64713,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *483 examples: default: value: @@ -64445,9 +64745,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': &517 + '302': &519 description: Found - '403': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -64469,8 +64769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *379 - - *380 + - *381 + - *382 - name: language in: path description: The language of the CodeQL database. @@ -64480,7 +64780,7 @@ paths: responses: '204': description: Response - '403': *474 + '403': *476 '404': *6 '503': *134 x-github: @@ -64508,8 +64808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -64518,7 +64818,7 @@ paths: type: object additionalProperties: false properties: - language: &482 + language: &484 type: string description: The language targeted by the CodeQL query enum: @@ -64597,7 +64897,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &486 + schema: &488 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -64607,7 +64907,7 @@ paths: description: The ID of the variant analysis. controller_repo: *97 actor: *4 - query_language: *482 + query_language: *484 query_pack_url: type: string description: The download url for the query pack. @@ -64654,7 +64954,7 @@ paths: items: type: object properties: - repository: &483 + repository: &485 title: Repository Identifier description: Repository Identifier type: object @@ -64690,7 +64990,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &487 + analysis_status: &489 type: string description: The new status of the CodeQL variant analysis repository task. @@ -64722,7 +65022,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &484 + access_mismatch_repos: &486 type: object properties: repository_count: @@ -64736,7 +65036,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: *483 + items: *485 required: - repository_count - repositories @@ -64758,8 +65058,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *484 - over_limit_repos: *484 + no_codeql_db_repos: *486 + over_limit_repos: *486 required: - access_mismatch_repos - not_found_repos @@ -64775,7 +65075,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &485 + value: &487 summary: Default response value: id: 1 @@ -64927,10 +65227,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *485 + value: *487 repository_lists: summary: Response for a successful variant analysis submission - value: *485 + value: *487 '404': *6 '422': description: Unable to process variant analysis submission @@ -64958,8 +65258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *379 - - *380 + - *381 + - *382 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64971,9 +65271,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: *485 + default: *487 '404': *6 '503': *134 x-github: @@ -64996,7 +65296,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *379 + - *381 - name: repo in: path description: The name of the controller repository. @@ -65031,7 +65331,7 @@ paths: type: object properties: repository: *97 - analysis_status: *487 + analysis_status: *489 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -65156,8 +65456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -65242,7 +65542,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *468 + '403': *470 '404': *6 '503': *134 x-github: @@ -65263,8 +65563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -65331,7 +65631,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -65356,7 +65656,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *474 + '403': *476 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65421,8 +65721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -65430,7 +65730,7 @@ paths: schema: type: object properties: - commit_sha: *488 + commit_sha: *490 ref: type: string description: |- @@ -65488,7 +65788,7 @@ paths: schema: type: object properties: - id: *479 + id: *481 url: type: string description: The REST API URL for checking the status of the upload. @@ -65502,7 +65802,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': *474 + '403': *476 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -65525,8 +65825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *379 - - *380 + - *381 + - *382 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -65572,7 +65872,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': *468 + '403': *470 '404': description: Not Found if the sarif id does not match any upload '503': *134 @@ -65597,8 +65897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -65679,8 +65979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *379 - - *380 + - *381 + - *382 - 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 @@ -65800,8 +66100,8 @@ paths: parameters: - *17 - *19 - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -65817,7 +66117,7 @@ paths: type: integer codespaces: type: array - items: *295 + items: *297 examples: default: value: @@ -66115,8 +66415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -66179,17 +66479,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '400': *14 '401': *25 '403': *29 @@ -66218,8 +66518,8 @@ paths: parameters: - *17 - *19 - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -66283,8 +66583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66319,14 +66619,14 @@ paths: type: integer machines: type: array - items: &729 + items: &745 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *490 - required: *491 + properties: *492 + required: *493 examples: - default: &730 + default: &746 value: total_count: 2 machines: @@ -66366,8 +66666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *379 - - *380 + - *381 + - *382 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66451,8 +66751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *379 - - *380 + - *381 + - *382 - 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 @@ -66518,8 +66818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -66537,7 +66837,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &497 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -66557,7 +66857,7 @@ paths: - created_at - updated_at examples: - default: *492 + default: *494 headers: Link: *40 x-github: @@ -66580,16 +66880,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *494 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66609,17 +66909,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66639,9 +66939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 requestBody: required: true content: @@ -66669,7 +66969,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -66693,9 +66993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '204': description: Response @@ -66723,8 +67023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *379 - - *380 + - *381 + - *382 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -66766,7 +67066,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &497 + properties: &499 login: type: string example: octocat @@ -66859,7 +67159,7 @@ paths: user_view_type: type: string example: public - required: &498 + required: &500 - avatar_url - events_url - followers_url @@ -66933,9 +67233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *379 - - *380 - - *220 + - *381 + - *382 + - *222 responses: '204': description: Response if user is a collaborator @@ -66981,9 +67281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *379 - - *380 - - *220 + - *381 + - *382 + - *222 requestBody: required: false content: @@ -67009,7 +67309,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &568 + schema: &570 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67020,7 +67320,7 @@ paths: example: 42 type: integer format: int64 - repository: *198 + repository: *200 invitee: title: Simple User description: A GitHub user. @@ -67198,7 +67498,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *181 + schema: *183 '403': *29 x-github: triggersNotification: true @@ -67238,9 +67538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *379 - - *380 - - *220 + - *381 + - *382 + - *222 responses: '204': description: No Content when collaborator was removed from the repository. @@ -67271,9 +67571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *379 - - *380 - - *220 + - *381 + - *382 + - *222 responses: '200': description: if user has admin permissions @@ -67293,8 +67593,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *497 - required: *498 + properties: *499 + required: *500 nullable: true required: - permission @@ -67349,8 +67649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -67360,7 +67660,7 @@ paths: application/json: schema: type: array - items: &499 + items: &501 title: Commit Comment description: Commit Comment type: object @@ -67418,7 +67718,7 @@ paths: - created_at - updated_at examples: - default: &502 + default: &504 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67477,17 +67777,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '200': description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: &503 + default: &505 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67544,8 +67844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -67568,7 +67868,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -67619,8 +67919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '204': @@ -67642,8 +67942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -67670,9 +67970,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 '404': *6 @@ -67693,8 +67993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -67727,16 +68027,16 @@ paths: description: Reaction exists content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Reaction created content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '422': *15 x-github: githubCloudOnly: false @@ -67758,10 +68058,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *379 - - *380 + - *381 + - *382 - *154 - - *371 + - *373 responses: '204': description: Response @@ -67810,8 +68110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *379 - - *380 + - *381 + - *382 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67867,9 +68167,9 @@ paths: application/json: schema: type: array - items: *500 + items: *502 examples: - default: &619 + default: &621 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67963,9 +68263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *379 - - *380 - - &501 + - *381 + - *382 + - &503 name: commit_sha description: The SHA of the commit. in: path @@ -68037,9 +68337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *379 - - *380 - - *501 + - *381 + - *382 + - *503 - *17 - *19 responses: @@ -68049,9 +68349,9 @@ paths: application/json: schema: type: array - items: *499 + items: *501 examples: - default: *502 + default: *504 headers: Link: *40 x-github: @@ -68079,9 +68379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *379 - - *380 - - *501 + - *381 + - *382 + - *503 requestBody: required: true content: @@ -68116,9 +68416,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *503 + default: *505 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68146,9 +68446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *379 - - *380 - - *501 + - *381 + - *382 + - *503 - *17 - *19 responses: @@ -68158,7 +68458,7 @@ paths: application/json: schema: type: array - items: &610 + items: &612 title: Pull Request Simple description: Pull Request Simple type: object @@ -68264,8 +68564,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *504 - required: *505 + properties: *506 + required: *507 nullable: true active_lock_reason: type: string @@ -68310,7 +68610,7 @@ paths: nullable: true requested_teams: type: array - items: *229 + items: *231 nullable: true head: type: object @@ -68361,7 +68661,7 @@ paths: _links: type: object properties: - comments: &506 + comments: &508 title: Link description: Hypermedia Link type: object @@ -68370,13 +68670,13 @@ paths: type: string required: - href - commits: *506 - statuses: *506 - html: *506 - issue: *506 - review_comments: *506 - review_comment: *506 - self: *506 + commits: *508 + statuses: *508 + html: *508 + issue: *508 + review_comments: *508 + review_comment: *508 + self: *508 required: - comments - commits @@ -68387,7 +68687,7 @@ paths: - review_comment - self author_association: *142 - auto_merge: &612 + auto_merge: &614 title: Auto merge description: The status of auto merging a pull request. type: object @@ -68450,7 +68750,7 @@ paths: - author_association - auto_merge examples: - default: &611 + default: &613 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68987,11 +69287,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *379 - - *380 + - *381 + - *382 - *19 - *17 - - &507 + - &509 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)" @@ -69006,9 +69306,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: &597 + default: &599 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69121,11 +69421,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *379 - - *380 - - *507 - - *508 + - *381 + - *382 - *509 + - *510 + - *511 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -69159,9 +69459,9 @@ paths: type: integer check_runs: type: array - items: *452 + items: *454 examples: - default: *510 + default: *512 headers: Link: *40 x-github: @@ -69186,9 +69486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *379 - - *380 - - *507 + - *381 + - *382 + - *509 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -69196,7 +69496,7 @@ paths: schema: type: integer example: 1 - - *508 + - *510 - *17 - *19 responses: @@ -69214,7 +69514,7 @@ paths: type: integer check_suites: type: array - items: *457 + items: *459 examples: default: value: @@ -69414,9 +69714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *379 - - *380 - - *507 + - *381 + - *382 + - *509 - *17 - *19 responses: @@ -69483,7 +69783,7 @@ paths: type: string total_count: type: integer - repository: *198 + repository: *200 commit_url: type: string format: uri @@ -69614,9 +69914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *379 - - *380 - - *507 + - *381 + - *382 + - *509 - *17 - *19 responses: @@ -69626,7 +69926,7 @@ paths: application/json: schema: type: array - items: &677 + items: &693 title: Status description: The status of a commit. type: object @@ -69707,7 +70007,7 @@ paths: site_admin: false headers: Link: *40 - '301': *393 + '301': *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69735,8 +70035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -69765,20 +70065,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *511 - required: *512 + properties: *513 + required: *514 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &513 + properties: &515 url: type: string format: uri html_url: type: string format: uri - required: &514 + required: &516 - url - html_url nullable: true @@ -69792,26 +70092,26 @@ paths: contributing: title: Community Health File type: object - properties: *513 - required: *514 + properties: *515 + required: *516 nullable: true readme: title: Community Health File type: object - properties: *513 - required: *514 + properties: *515 + required: *516 nullable: true issue_template: title: Community Health File type: object - properties: *513 - required: *514 + properties: *515 + required: *516 nullable: true pull_request_template: title: Community Health File type: object - properties: *513 - required: *514 + properties: *515 + required: *516 nullable: true required: - code_of_conduct @@ -69938,8 +70238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *379 - - *380 + - *381 + - *382 - *19 - *17 - name: basehead @@ -69982,8 +70282,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *500 - merge_base_commit: *500 + base_commit: *502 + merge_base_commit: *502 status: type: string enum: @@ -70003,10 +70303,10 @@ paths: example: 6 commits: type: array - items: *500 + items: *502 files: type: array - items: *515 + items: *517 required: - url - html_url @@ -70292,8 +70592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *379 - - *380 + - *381 + - *382 - name: path description: path parameter in: path @@ -70436,7 +70736,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &516 + response-if-content-is-a-file: &518 summary: Response if content is a file value: type: file @@ -70568,7 +70868,7 @@ paths: - size - type - url - - &624 + - &626 title: Content File description: Content File type: object @@ -70769,7 +71069,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *516 + response-if-content-is-a-file: *518 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -70838,7 +71138,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *517 + '302': *519 '304': *37 x-github: githubCloudOnly: false @@ -70861,8 +71161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *379 - - *380 + - *381 + - *382 - name: path description: path parameter in: path @@ -70955,7 +71255,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &520 title: File Commit description: File Commit type: object @@ -71107,7 +71407,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *520 examples: example-for-creating-a-file: value: @@ -71161,7 +71461,7 @@ paths: schema: oneOf: - *3 - - &550 + - &552 description: Repository rule violation was detected type: object properties: @@ -71182,7 +71482,7 @@ paths: items: type: object properties: - placeholder_id: &669 + placeholder_id: &685 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -71214,8 +71514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *379 - - *380 + - *381 + - *382 - name: path description: path parameter in: path @@ -71276,7 +71576,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *520 examples: default: value: @@ -71331,8 +71631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *379 - - *380 + - *381 + - *382 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71455,22 +71755,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *379 - - *380 - - *249 - - *250 + - *381 + - *382 - *251 - *252 + - *253 + - *254 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *253 - - *254 - *255 - *256 + - *257 + - *258 - *88 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -71490,8 +71790,8 @@ paths: default: 30 - *86 - *87 - - *257 - - *258 + - *259 + - *260 responses: '200': description: Response @@ -71499,7 +71799,7 @@ paths: application/json: schema: type: array - items: &521 + items: &523 type: object description: A Dependabot alert. properties: @@ -71545,7 +71845,7 @@ paths: - unknown - direct - transitive - security_advisory: *519 + security_advisory: *521 security_vulnerability: *104 url: *105 html_url: *106 @@ -71576,7 +71876,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: *520 + auto_dismissed_at: *522 required: - number - state @@ -71806,9 +72106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *379 - - *380 - - &522 + - *381 + - *382 + - &524 name: alert_number in: path description: |- @@ -71823,7 +72123,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: default: value: @@ -71936,9 +72236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *379 - - *380 - - *522 + - *381 + - *382 + - *524 requestBody: required: true content: @@ -71983,7 +72283,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: default: value: @@ -72112,8 +72412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -72131,7 +72431,7 @@ paths: type: integer secrets: type: array - items: &525 + items: &527 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72184,16 +72484,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *524 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72213,15 +72513,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: default: value: @@ -72247,9 +72547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 requestBody: required: true content: @@ -72277,7 +72577,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -72301,9 +72601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *379 - - *380 - - *208 + - *381 + - *382 + - *210 responses: '204': description: Response @@ -72325,8 +72625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *379 - - *380 + - *381 + - *382 - 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 @@ -72486,8 +72786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -72726,8 +73026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -72802,7 +73102,7 @@ paths: - version - url additionalProperties: false - metadata: &526 + metadata: &528 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -72835,7 +73135,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *526 + metadata: *528 resolved: type: object description: A collection of resolved package dependencies. @@ -72848,7 +73148,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *526 + metadata: *528 relationship: type: string description: A notation of whether a dependency is requested @@ -72977,8 +73277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *379 - - *380 + - *381 + - *382 - name: sha description: The SHA recorded at creation time. in: query @@ -73018,9 +73318,9 @@ paths: application/json: schema: type: array - items: *527 + items: *529 examples: - default: *528 + default: *530 headers: Link: *40 x-github: @@ -73086,8 +73386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -73168,7 +73468,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: simple-example: summary: Simple example @@ -73241,9 +73541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *379 - - *380 - - &529 + - *381 + - *382 + - &531 name: deployment_id description: deployment_id parameter in: path @@ -73255,7 +73555,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -73320,9 +73620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *379 - - *380 - - *529 + - *381 + - *382 + - *531 responses: '204': description: Response @@ -73344,9 +73644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *379 - - *380 - - *529 + - *381 + - *382 + - *531 - *17 - *19 responses: @@ -73356,7 +73656,7 @@ paths: application/json: schema: type: array - items: &530 + items: &532 title: Deployment Status description: The status of a deployment. type: object @@ -73517,9 +73817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *379 - - *380 - - *529 + - *381 + - *382 + - *531 requestBody: required: true content: @@ -73594,9 +73894,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: &531 + default: &533 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -73652,9 +73952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *379 - - *380 - - *529 + - *381 + - *382 + - *531 - name: status_id in: path required: true @@ -73665,9 +73965,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *531 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -73694,12 +73994,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *379 - - *380 - - *221 - - *222 + - *381 + - *382 - *223 - - *532 + - *224 + - *225 + - *534 - *17 - *19 responses: @@ -73709,9 +74009,9 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: - default: *534 + default: *536 '404': *6 '403': *29 '500': *85 @@ -73736,8 +74036,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *379 - - *380 + - *381 + - *382 - name: alert_number in: path required: true @@ -73749,7 +74049,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *533 + schema: *535 examples: default: value: @@ -73807,8 +74107,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *379 - - *380 + - *381 + - *382 - name: alert_number in: path required: true @@ -73877,8 +74177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -73935,8 +74235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -73953,7 +74253,7 @@ paths: type: integer environments: type: array - items: &536 + items: &538 title: Environment description: Details of a deployment environment type: object @@ -74005,7 +74305,7 @@ paths: type: type: string example: wait_timer - wait_timer: &538 + wait_timer: &540 type: integer example: 30 description: The amount of time to delay a job after @@ -74042,11 +74342,11 @@ paths: items: type: object properties: - type: *535 + type: *537 reviewer: anyOf: - *4 - - *229 + - *231 required: - id - node_id @@ -74066,7 +74366,7 @@ paths: - id - node_id - type - deployment_branch_policy: &539 + deployment_branch_policy: &541 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -74182,9 +74482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *379 - - *380 - - &537 + - *381 + - *382 + - &539 name: environment_name in: path required: true @@ -74197,9 +74497,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: &540 + default: &542 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74283,9 +74583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 requestBody: required: false content: @@ -74294,7 +74594,7 @@ paths: type: object nullable: true properties: - wait_timer: *538 + wait_timer: *540 prevent_self_review: type: boolean example: false @@ -74311,13 +74611,13 @@ paths: items: type: object properties: - type: *535 + type: *537 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *539 + deployment_branch_policy: *541 additionalProperties: false examples: default: @@ -74337,9 +74637,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *540 + default: *542 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -74363,9 +74663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 responses: '204': description: Default response @@ -74390,9 +74690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 - *17 - *19 responses: @@ -74410,7 +74710,7 @@ paths: example: 2 branch_policies: type: array - items: &541 + items: &543 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74467,9 +74767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 requestBody: required: true content: @@ -74515,9 +74815,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - example-wildcard: &542 + example-wildcard: &544 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -74559,10 +74859,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *379 - - *380 - - *537 - - &543 + - *381 + - *382 + - *539 + - &545 name: branch_policy_id in: path required: true @@ -74574,9 +74874,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - default: *542 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74595,10 +74895,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *379 - - *380 - - *537 - - *543 + - *381 + - *382 + - *539 + - *545 requestBody: required: true content: @@ -74626,9 +74926,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - default: *542 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74647,10 +74947,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *379 - - *380 - - *537 - - *543 + - *381 + - *382 + - *539 + - *545 responses: '204': description: Response @@ -74675,9 +74975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *537 - - *380 - - *379 + - *539 + - *382 + - *381 responses: '200': description: List of deployment protection rules @@ -74693,7 +74993,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &544 + items: &546 title: Deployment protection rule description: Deployment protection rule type: object @@ -74712,7 +75012,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &545 + app: &547 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -74811,9 +75111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *537 - - *380 - - *379 + - *539 + - *382 + - *381 requestBody: content: application/json: @@ -74834,9 +75134,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *544 + schema: *546 examples: - default: &546 + default: &548 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -74871,9 +75171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *537 - - *380 - - *379 + - *539 + - *382 + - *381 - *19 - *17 responses: @@ -74892,7 +75192,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *545 + items: *547 examples: default: value: @@ -74927,10 +75227,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *379 - - *380 - - *537 - - &547 + - *381 + - *382 + - *539 + - &549 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74942,9 +75242,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: *546 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74965,10 +75265,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *537 - - *380 - - *379 - - *547 + - *539 + - *382 + - *381 + - *549 responses: '204': description: Response @@ -74994,9 +75294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 - *17 - *19 responses: @@ -75014,9 +75314,9 @@ paths: type: integer secrets: type: array - items: *416 + items: *418 examples: - default: *417 + default: *419 headers: Link: *40 x-github: @@ -75041,17 +75341,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75073,18 +75373,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *379 - - *380 - - *537 - - *208 + - *381 + - *382 + - *539 + - *210 responses: '200': description: Response content: application/json: - schema: *416 + schema: *418 examples: - default: *548 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75106,10 +75406,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *379 - - *380 - - *537 - - *208 + - *381 + - *382 + - *539 + - *210 requestBody: required: true content: @@ -75140,7 +75440,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -75166,10 +75466,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *379 - - *380 - - *537 - - *208 + - *381 + - *382 + - *539 + - *210 responses: '204': description: Default response @@ -75194,10 +75494,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *379 - - *380 - - *537 - - *403 + - *381 + - *382 + - *539 + - *405 - *19 responses: '200': @@ -75214,9 +75514,9 @@ paths: type: integer variables: type: array - items: *420 + items: *422 examples: - default: *421 + default: *423 headers: Link: *40 x-github: @@ -75239,9 +75539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *379 - - *380 - - *537 + - *381 + - *382 + - *539 requestBody: required: true content: @@ -75268,7 +75568,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -75293,18 +75593,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *379 - - *380 - - *537 - - *211 + - *381 + - *382 + - *539 + - *213 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *549 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75325,10 +75625,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *379 - - *380 - - *211 - - *537 + - *381 + - *382 + - *213 + - *539 requestBody: required: true content: @@ -75370,10 +75670,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *379 - - *380 - - *211 - - *537 + - *381 + - *382 + - *213 + - *539 responses: '204': description: Response @@ -75395,8 +75695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -75473,8 +75773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *379 - - *380 + - *381 + - *382 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -75496,7 +75796,7 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: default: value: @@ -75633,8 +75933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -75666,9 +75966,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *394 + default: *396 '400': *14 '422': *15 '403': *29 @@ -75689,8 +75989,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -75749,8 +76049,8 @@ paths: application/json: schema: oneOf: - - *181 - - *550 + - *183 + - *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75775,8 +76075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *379 - - *380 + - *381 + - *382 - name: file_sha in: path required: true @@ -75875,8 +76175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -75985,7 +76285,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &553 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -76199,15 +76499,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *379 - - *380 - - *501 + - *381 + - *382 + - *503 responses: '200': description: Response content: application/json: - schema: *551 + schema: *553 examples: default: value: @@ -76263,9 +76563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *379 - - *380 - - &552 + - *381 + - *382 + - &554 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. @@ -76282,7 +76582,7 @@ paths: application/json: schema: type: array - items: &553 + items: &555 title: Git Reference description: Git references within a repository type: object @@ -76357,17 +76657,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *379 - - *380 - - *552 + - *381 + - *382 + - *554 responses: '200': description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: &554 + default: &556 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -76396,8 +76696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -76426,9 +76726,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -76454,9 +76754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *379 - - *380 - - *552 + - *381 + - *382 + - *554 requestBody: required: true content: @@ -76485,9 +76785,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 '422': *15 '409': *96 x-github: @@ -76505,9 +76805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *379 - - *380 - - *552 + - *381 + - *382 + - *554 responses: '204': description: Response @@ -76562,8 +76862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -76630,7 +76930,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &558 title: Git Tag description: Metadata for a Git tag type: object @@ -76681,7 +76981,7 @@ paths: - sha - type - url - verification: *555 + verification: *557 required: - sha - url @@ -76691,7 +76991,7 @@ paths: - tag - message examples: - default: &557 + default: &559 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -76764,8 +77064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *379 - - *380 + - *381 + - *382 - name: tag_sha in: path required: true @@ -76776,9 +77076,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *557 + default: *559 '404': *6 '409': *96 x-github: @@ -76802,8 +77102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -76876,7 +77176,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &560 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76972,8 +77272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *379 - - *380 + - *381 + - *382 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76996,7 +77296,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: default-response: summary: Default response @@ -77055,8 +77355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -77066,7 +77366,7 @@ paths: application/json: schema: type: array - items: &559 + items: &561 title: Webhook description: Webhooks for repositories. type: object @@ -77120,7 +77420,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &807 + last_response: &823 title: Hook Response type: object properties: @@ -77194,8 +77494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -77247,9 +77547,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: &560 + default: &562 value: type: Repository id: 12345678 @@ -77297,17 +77597,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 responses: '200': description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: *560 + default: *562 '404': *6 x-github: githubCloudOnly: false @@ -77327,9 +77627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 requestBody: required: true content: @@ -77374,9 +77674,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: *560 + default: *562 '422': *15 '404': *6 x-github: @@ -77397,9 +77697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 responses: '204': description: Response @@ -77423,9 +77723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 responses: '200': description: Response @@ -77452,9 +77752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 requestBody: required: false content: @@ -77498,11 +77798,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 - *17 - - *267 + - *269 responses: '200': description: Response @@ -77510,9 +77810,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *269 + default: *271 '400': *14 '422': *15 x-github: @@ -77531,18 +77831,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 - *16 responses: '200': description: Response content: application/json: - schema: *270 + schema: *272 examples: - default: *271 + default: *273 '400': *14 '422': *15 x-github: @@ -77561,9 +77861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 - *16 responses: '202': *39 @@ -77586,9 +77886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 responses: '204': description: Response @@ -77613,9 +77913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *379 - - *380 - - *266 + - *381 + - *382 + - *268 responses: '204': description: Response @@ -77673,14 +77973,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: &561 + schema: &563 title: Import description: A repository import from an external source. type: object @@ -77779,7 +78079,7 @@ paths: - html_url - authors_url examples: - default: &564 + default: &566 value: vcs: subversion use_lfs: true @@ -77795,7 +78095,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': &562 + '503': &564 description: Unavailable due to service under maintenance. content: application/json: @@ -77824,8 +78124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -77873,7 +78173,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -77898,7 +78198,7 @@ paths: type: string '422': *15 '404': *6 - '503': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77926,8 +78226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -77976,7 +78276,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: example-1: summary: Example 1 @@ -78024,7 +78324,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': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78047,12 +78347,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response - '503': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78078,9 +78378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *379 - - *380 - - &753 + - *381 + - *382 + - &769 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -78094,7 +78394,7 @@ paths: application/json: schema: type: array - items: &563 + items: &565 title: Porter Author description: Porter Author type: object @@ -78148,7 +78448,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': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78173,8 +78473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *379 - - *380 + - *381 + - *382 - name: author_id in: path required: true @@ -78204,7 +78504,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *565 examples: default: value: @@ -78217,7 +78517,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78241,8 +78541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -78283,7 +78583,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78311,8 +78611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -78339,11 +78639,11 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *564 + default: *566 '422': *15 - '503': *562 + '503': *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78366,8 +78666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -78375,8 +78675,8 @@ paths: application/json: schema: *22 examples: - default: *565 - '301': *393 + default: *567 + '301': *395 '404': *6 x-github: githubCloudOnly: false @@ -78396,8 +78696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -78405,12 +78705,12 @@ paths: application/json: schema: anyOf: - - *284 + - *286 - type: object properties: {} additionalProperties: false examples: - default: &567 + default: &569 value: limit: collaborators_only origin: repository @@ -78435,13 +78735,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: application/json: - schema: *566 + schema: *568 examples: default: summary: Example request body @@ -78453,9 +78753,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *567 + default: *569 '409': description: Response x-github: @@ -78477,8 +78777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -78501,8 +78801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -78512,9 +78812,9 @@ paths: application/json: schema: type: array - items: *568 + items: *570 examples: - default: &746 + default: &762 value: - id: 1 repository: @@ -78645,9 +78945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *379 - - *380 - - *288 + - *381 + - *382 + - *290 requestBody: required: false content: @@ -78676,7 +78976,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: default: value: @@ -78807,9 +79107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *379 - - *380 - - *288 + - *381 + - *382 + - *290 responses: '204': description: Response @@ -78840,8 +79140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *379 - - *380 + - *381 + - *382 - 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 @@ -78889,7 +79189,7 @@ paths: required: false schema: type: string - - *292 + - *294 - name: sort description: What to sort results by. in: query @@ -78914,7 +79214,7 @@ paths: type: array items: *155 examples: - default: &579 + default: &581 value: - id: 1 node_id: MDU6SXNzdWUx @@ -79062,7 +79362,7 @@ paths: state_reason: completed headers: Link: *40 - '301': *393 + '301': *395 '422': *15 '404': *6 x-github: @@ -79091,8 +79391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -79176,7 +79476,7 @@ paths: application/json: schema: *155 examples: - default: &574 + default: &576 value: id: 1 node_id: MDU6SXNzdWUx @@ -79332,7 +79632,7 @@ paths: '422': *15 '503': *134 '404': *6 - '410': *390 + '410': *392 x-github: triggersNotification: true githubCloudOnly: false @@ -79360,8 +79660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *165 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -79382,9 +79682,9 @@ paths: application/json: schema: type: array - items: *569 + items: *571 examples: - default: &576 + default: &578 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79442,17 +79742,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '200': description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: &570 + default: &572 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79506,8 +79806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -79530,9 +79830,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '422': *15 x-github: githubCloudOnly: false @@ -79550,8 +79850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '204': @@ -79572,8 +79872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -79600,9 +79900,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 '404': *6 @@ -79623,8 +79923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -79657,16 +79957,16 @@ paths: description: Reaction exists content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Reaction created content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '422': *15 x-github: githubCloudOnly: false @@ -79688,10 +79988,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *379 - - *380 + - *381 + - *382 - *154 - - *371 + - *373 responses: '204': description: Response @@ -79711,8 +80011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -79722,7 +80022,7 @@ paths: application/json: schema: type: array - items: &573 + items: &575 title: Issue Event description: Issue Event type: object @@ -79765,8 +80065,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *571 - required: *572 + properties: *573 + required: *574 nullable: true label: title: Issue Event Label @@ -79810,7 +80110,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *229 + requested_team: *231 dismissed_review: title: Issue Event Dismissed Review type: object @@ -80073,8 +80373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *379 - - *380 + - *381 + - *382 - name: event_id in: path required: true @@ -80085,7 +80385,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: default: value: @@ -80278,7 +80578,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *390 + '410': *392 '403': *29 x-github: githubCloudOnly: false @@ -80312,9 +80612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *379 - - *380 - - &575 + - *381 + - *382 + - &577 name: issue_number description: The number that identifies the issue. in: path @@ -80328,10 +80628,10 @@ paths: application/json: schema: *155 examples: - default: *574 - '301': *393 + default: *576 + '301': *395 '404': *6 - '410': *390 + '410': *392 '304': *37 x-github: githubCloudOnly: false @@ -80356,9 +80656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: false content: @@ -80463,13 +80763,13 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 '422': *15 '503': *134 '403': *29 - '301': *393 + '301': *395 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80487,9 +80787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: false content: @@ -80517,7 +80817,7 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80533,9 +80833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: content: application/json: @@ -80562,7 +80862,7 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80584,9 +80884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - name: assignee in: path required: true @@ -80626,9 +80926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - *145 - *17 - *19 @@ -80639,13 +80939,13 @@ paths: application/json: schema: type: array - items: *569 + items: *571 examples: - default: *576 + default: *578 headers: Link: *40 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80674,9 +80974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: true content: @@ -80698,16 +80998,16 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *390 + '410': *392 '422': *15 '404': *6 x-github: @@ -80727,9 +81027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - *17 - *19 responses: @@ -80743,7 +81043,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &580 + - &582 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -80797,7 +81097,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &583 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80933,7 +81233,7 @@ paths: - performed_via_github_app - assignee - assigner - - &582 + - &584 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80984,7 +81284,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &585 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81035,7 +81335,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &586 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81089,7 +81389,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &587 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81123,7 +81423,7 @@ paths: properties: *140 required: *141 review_requester: *4 - requested_team: *229 + requested_team: *231 requested_reviewer: *4 required: - review_requester @@ -81136,7 +81436,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &586 + - &588 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81170,7 +81470,7 @@ paths: properties: *140 required: *141 review_requester: *4 - requested_team: *229 + requested_team: *231 requested_reviewer: *4 required: - review_requester @@ -81183,7 +81483,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &587 + - &589 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -81243,7 +81543,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &588 + - &590 title: Locked Issue Event description: Locked Issue Event type: object @@ -81291,7 +81591,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &589 + - &591 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -81357,7 +81657,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &590 + - &592 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -81423,7 +81723,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &591 + - &593 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81489,7 +81789,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &592 + - &594 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -81580,7 +81880,7 @@ paths: color: red headers: Link: *40 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81597,9 +81897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - *17 - *19 responses: @@ -81609,7 +81909,7 @@ paths: application/json: schema: type: array - items: &577 + items: &579 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -81656,7 +81956,7 @@ paths: - color - default examples: - default: &578 + default: &580 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81674,9 +81974,9 @@ paths: default: false headers: Link: *40 - '301': *393 + '301': *395 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81693,9 +81993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: false content: @@ -81754,12 +82054,12 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: *578 - '301': *393 + default: *580 + '301': *395 '404': *6 - '410': *390 + '410': *392 '422': *15 x-github: githubCloudOnly: false @@ -81776,9 +82076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: false content: @@ -81838,12 +82138,12 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: *578 - '301': *393 + default: *580 + '301': *395 '404': *6 - '410': *390 + '410': *392 '422': *15 x-github: githubCloudOnly: false @@ -81860,15 +82160,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 responses: '204': description: Response - '301': *393 + '301': *395 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81887,9 +82187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - name: name in: path required: true @@ -81902,7 +82202,7 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: default: value: @@ -81913,9 +82213,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *393 + '301': *395 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81935,9 +82235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: false content: @@ -81965,7 +82265,7 @@ paths: '204': description: Response '403': *29 - '410': *390 + '410': *392 '404': *6 '422': *15 x-github: @@ -81983,9 +82283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 responses: '204': description: Response @@ -82007,9 +82307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -82035,13 +82335,13 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82059,9 +82359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: true content: @@ -82093,16 +82393,16 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '422': *15 x-github: githubCloudOnly: false @@ -82124,10 +82424,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *379 - - *380 - - *575 - - *371 + - *381 + - *382 + - *577 + - *373 responses: '204': description: Response @@ -82156,9 +82456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: true content: @@ -82182,7 +82482,7 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -82215,9 +82515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - *17 - *19 responses: @@ -82229,11 +82529,11 @@ paths: type: array items: *155 examples: - default: *579 + default: *581 headers: Link: *40 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82261,9 +82561,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: true content: @@ -82292,14 +82592,14 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *390 + '410': *392 '422': *15 '404': *6 x-github: @@ -82319,9 +82619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 requestBody: required: true content: @@ -82354,7 +82654,7 @@ paths: application/json: schema: *155 examples: - default: *574 + default: *576 '403': *29 '404': *6 '422': *7 @@ -82376,9 +82676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *379 - - *380 - - *575 + - *381 + - *382 + - *577 - *17 - *19 responses: @@ -82393,8 +82693,6 @@ paths: description: Timeline Event type: object anyOf: - - *580 - - *581 - *582 - *583 - *584 @@ -82406,6 +82704,8 @@ paths: - *590 - *591 - *592 + - *593 + - *594 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82710,7 +83010,7 @@ paths: type: string comments: type: array - items: &613 + items: &615 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -82919,7 +83219,7 @@ paths: type: string comments: type: array - items: *499 + items: *501 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -83208,7 +83508,7 @@ paths: headers: Link: *40 '404': *6 - '410': *390 + '410': *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83225,8 +83525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -83236,7 +83536,7 @@ paths: application/json: schema: type: array - items: &593 + items: &595 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -83301,8 +83601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -83338,9 +83638,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *595 examples: - default: &594 + default: &596 value: id: 1 key: ssh-rsa AAA... @@ -83374,9 +83674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *379 - - *380 - - &595 + - *381 + - *382 + - &597 name: key_id description: The unique identifier of the key. in: path @@ -83388,9 +83688,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *595 examples: - default: *594 + default: *596 '404': *6 x-github: githubCloudOnly: false @@ -83408,9 +83708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *379 - - *380 - - *595 + - *381 + - *382 + - *597 responses: '204': description: Response @@ -83430,8 +83730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -83441,9 +83741,9 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: *578 + default: *580 headers: Link: *40 '404': *6 @@ -83464,8 +83764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -83501,9 +83801,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: &596 + default: &598 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83535,8 +83835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *379 - - *380 + - *381 + - *382 - name: name in: path required: true @@ -83547,9 +83847,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *596 + default: *598 '404': *6 x-github: githubCloudOnly: false @@ -83566,8 +83866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *379 - - *380 + - *381 + - *382 - name: name in: path required: true @@ -83606,7 +83906,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: default: value: @@ -83632,8 +83932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *379 - - *380 + - *381 + - *382 - name: name in: path required: true @@ -83659,8 +83959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -83696,8 +83996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '202': *39 '403': @@ -83725,8 +84025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -83752,9 +84052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *379 - - *380 - - *475 + - *381 + - *382 + - *477 responses: '200': description: Response @@ -83899,8 +84199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -83965,8 +84265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -84000,9 +84300,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *500 + schema: *502 examples: - default: *597 + default: *599 '204': description: Response when already merged '404': @@ -84027,8 +84327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *379 - - *380 + - *381 + - *382 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84069,12 +84369,12 @@ paths: application/json: schema: type: array - items: &598 + items: &600 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *504 - required: *505 + properties: *506 + required: *507 examples: default: value: @@ -84130,8 +84430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -84171,9 +84471,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: &599 + default: &601 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -84232,9 +84532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *379 - - *380 - - &600 + - *381 + - *382 + - &602 name: milestone_number description: The number that identifies the milestone. in: path @@ -84246,9 +84546,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: *599 + default: *601 '404': *6 x-github: githubCloudOnly: false @@ -84265,9 +84565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *379 - - *380 - - *600 + - *381 + - *382 + - *602 requestBody: required: false content: @@ -84305,9 +84605,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: *599 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84323,9 +84623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *379 - - *380 - - *600 + - *381 + - *382 + - *602 responses: '204': description: Response @@ -84346,9 +84646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *379 - - *380 - - *600 + - *381 + - *382 + - *602 - *17 - *19 responses: @@ -84358,9 +84658,9 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: *578 + default: *580 headers: Link: *40 x-github: @@ -84379,12 +84679,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *379 - - *380 - - *601 - - *602 - - *145 + - *381 + - *382 - *603 + - *604 + - *145 + - *605 - *17 - *19 responses: @@ -84396,7 +84696,7 @@ paths: type: array items: *168 examples: - default: *604 + default: *606 headers: Link: *40 x-github: @@ -84420,8 +84720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -84479,14 +84779,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: &605 + schema: &607 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -84611,7 +84911,7 @@ paths: - custom_404 - public examples: - default: &606 + default: &608 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -84652,8 +84952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -84707,9 +85007,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: *606 + default: *608 '422': *15 '409': *96 x-github: @@ -84732,8 +85032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -84840,8 +85140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -84867,8 +85167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -84878,7 +85178,7 @@ paths: application/json: schema: type: array - items: &607 + items: &609 title: Page Build description: Page Build type: object @@ -84972,8 +85272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *379 - - *380 + - *381 + - *382 responses: '201': description: Response @@ -85018,16 +85318,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: &608 + default: &610 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85075,8 +85375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *379 - - *380 + - *381 + - *382 - name: build_id in: path required: true @@ -85087,9 +85387,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: - default: *608 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85109,8 +85409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -85215,9 +85515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *379 - - *380 - - &609 + - *381 + - *382 + - &611 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -85275,9 +85575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *379 - - *380 - - *609 + - *381 + - *382 + - *611 responses: '204': *120 '404': *6 @@ -85304,8 +85604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -85536,7 +85836,7 @@ paths: description: Empty response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -85563,8 +85863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Private vulnerability reporting status @@ -85601,8 +85901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': *120 '422': *14 @@ -85623,8 +85923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': *120 '422': *14 @@ -85647,8 +85947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *379 - - *380 + - *381 + - *382 - name: state description: Indicates the state of the projects to return. in: query @@ -85669,7 +85969,7 @@ paths: application/json: schema: type: array - items: *323 + items: *325 examples: default: value: @@ -85709,7 +86009,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *390 + '410': *392 '422': *7 x-github: githubCloudOnly: false @@ -85732,8 +86032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -85759,13 +86059,13 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: *389 + default: *391 '401': *25 '403': *29 '404': *6 - '410': *390 + '410': *392 '422': *7 x-github: githubCloudOnly: false @@ -85788,8 +86088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -85797,7 +86097,7 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: default: value: @@ -85828,8 +86128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -85841,7 +86141,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *325 + items: *327 required: - properties examples: @@ -85891,8 +86191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *379 - - *380 + - *381 + - *382 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85952,9 +86252,9 @@ paths: application/json: schema: type: array - items: *610 + items: *612 examples: - default: *611 + default: *613 headers: Link: *40 '304': *37 @@ -85986,8 +86286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -86052,7 +86352,7 @@ paths: description: Response content: application/json: - schema: &615 + schema: &617 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -86163,8 +86463,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *504 - required: *505 + properties: *506 + required: *507 nullable: true active_lock_reason: type: string @@ -86209,7 +86509,7 @@ paths: nullable: true requested_teams: type: array - items: *346 + items: *348 nullable: true head: type: object @@ -86248,14 +86548,14 @@ paths: _links: type: object properties: - comments: *506 - commits: *506 - statuses: *506 - html: *506 - issue: *506 - review_comments: *506 - review_comment: *506 - self: *506 + comments: *508 + commits: *508 + statuses: *508 + html: *508 + issue: *508 + review_comments: *508 + review_comment: *508 + self: *508 required: - comments - commits @@ -86266,7 +86566,7 @@ paths: - review_comment - self author_association: *142 - auto_merge: *612 + auto_merge: *614 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -86358,7 +86658,7 @@ paths: - merged_by - review_comments examples: - default: &616 + default: &618 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86885,8 +87185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: sort in: query required: false @@ -86915,9 +87215,9 @@ paths: application/json: schema: type: array - items: *613 + items: *615 examples: - default: &618 + default: &620 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86994,17 +87294,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '200': description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: &614 + default: &616 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87079,8 +87379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -87103,9 +87403,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: *614 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87121,8 +87421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *379 - - *380 + - *381 + - *382 - *154 responses: '204': @@ -87144,8 +87444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -87172,9 +87472,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 '404': *6 @@ -87195,8 +87495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *379 - - *380 + - *381 + - *382 - *154 requestBody: required: true @@ -87229,16 +87529,16 @@ paths: description: Reaction exists content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Reaction created content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '422': *15 x-github: githubCloudOnly: false @@ -87260,10 +87560,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *379 - - *380 + - *381 + - *382 - *154 - - *371 + - *373 responses: '204': description: Response @@ -87306,9 +87606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *379 - - *380 - - &617 + - *381 + - *382 + - &619 name: pull_number description: The number that identifies the pull request. in: path @@ -87321,9 +87621,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 '304': *37 '404': *6 '406': @@ -87358,9 +87658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: false content: @@ -87402,9 +87702,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 '422': *15 '403': *29 x-github: @@ -87426,9 +87726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: true content: @@ -87488,17 +87788,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '401': *25 '403': *29 '404': *6 @@ -87528,9 +87828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 - *165 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -87551,9 +87851,9 @@ paths: application/json: schema: type: array - items: *613 + items: *615 examples: - default: *618 + default: *620 headers: Link: *40 x-github: @@ -87586,9 +87886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: true content: @@ -87693,7 +87993,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: example-for-a-multi-line-comment: value: @@ -87781,9 +88081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 - *154 requestBody: required: true @@ -87806,7 +88106,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: default: value: @@ -87892,9 +88192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 - *17 - *19 responses: @@ -87904,9 +88204,9 @@ paths: application/json: schema: type: array - items: *500 + items: *502 examples: - default: *619 + default: *621 headers: Link: *40 x-github: @@ -87936,9 +88236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 - *17 - *19 responses: @@ -87948,7 +88248,7 @@ paths: application/json: schema: type: array - items: *515 + items: *517 examples: default: value: @@ -87986,9 +88286,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 responses: '204': description: Response if pull request has been merged @@ -88011,9 +88311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: false content: @@ -88124,9 +88424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 responses: '200': description: Response @@ -88142,7 +88442,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *231 required: - users - teams @@ -88201,9 +88501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: false content: @@ -88240,7 +88540,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: default: value: @@ -88776,9 +89076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: true content: @@ -88812,7 +89112,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: default: value: @@ -89317,9 +89617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 - *17 - *19 responses: @@ -89329,7 +89629,7 @@ paths: application/json: schema: type: array - items: &620 + items: &622 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -89480,9 +89780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: false content: @@ -89568,9 +89868,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: - default: &622 + default: &624 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89633,10 +89933,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 - - &621 + - *381 + - *382 + - *619 + - &623 name: review_id description: The unique identifier of the review. in: path @@ -89648,9 +89948,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: - default: &623 + default: &625 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -89709,10 +90009,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 - - *621 + - *381 + - *382 + - *619 + - *623 requestBody: required: true content: @@ -89735,7 +90035,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: default: value: @@ -89797,18 +90097,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 - - *621 + - *381 + - *382 + - *619 + - *623 responses: '200': description: Response content: application/json: - schema: *620 + schema: *622 examples: - default: *622 + default: *624 '422': *7 '404': *6 x-github: @@ -89835,10 +90135,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *379 - - *380 - - *617 - - *621 + - *381 + - *382 + - *619 + - *623 - *17 - *19 responses: @@ -89921,9 +90221,9 @@ paths: _links: type: object properties: - self: *506 - html: *506 - pull_request: *506 + self: *508 + html: *508 + pull_request: *508 required: - self - html @@ -90066,10 +90366,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 - - *621 + - *381 + - *382 + - *619 + - *623 requestBody: required: true content: @@ -90097,7 +90397,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: default: value: @@ -90160,10 +90460,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *379 - - *380 - - *617 - - *621 + - *381 + - *382 + - *619 + - *623 requestBody: required: true content: @@ -90198,9 +90498,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: - default: *623 + default: *625 '404': *6 '422': *7 '403': *29 @@ -90222,9 +90522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *379 - - *380 - - *617 + - *381 + - *382 + - *619 requestBody: required: false content: @@ -90287,8 +90587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *379 - - *380 + - *381 + - *382 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90301,9 +90601,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: &625 + default: &627 value: type: file encoding: base64 @@ -90345,8 +90645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *379 - - *380 + - *381 + - *382 - name: dir description: The alternate path to look for a README file in: path @@ -90366,9 +90666,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *625 + default: *627 '404': *6 '422': *15 x-github: @@ -90390,8 +90690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -90401,7 +90701,7 @@ paths: application/json: schema: type: array - items: &626 + items: &628 title: Release description: A release. type: object @@ -90464,7 +90764,7 @@ paths: author: *4 assets: type: array - items: &627 + items: &629 title: Release Asset description: Data related to a release. type: object @@ -90650,8 +90950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -90727,9 +91027,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: &630 + default: &632 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -90833,9 +91133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *379 - - *380 - - &628 + - *381 + - *382 + - &630 name: asset_id description: The unique identifier of the asset. in: path @@ -90847,9 +91147,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *629 examples: - default: &629 + default: &631 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 @@ -90884,7 +91184,7 @@ paths: type: User site_admin: false '404': *6 - '302': *517 + '302': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90900,9 +91200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *379 - - *380 - - *628 + - *381 + - *382 + - *630 requestBody: required: false content: @@ -90930,9 +91230,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *629 examples: - default: *629 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90948,9 +91248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *379 - - *380 - - *628 + - *381 + - *382 + - *630 responses: '204': description: Response @@ -90974,8 +91274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -91060,16 +91360,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: *630 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91086,8 +91386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *379 - - *380 + - *381 + - *382 - name: tag description: tag parameter in: path @@ -91100,9 +91400,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: *630 + default: *632 '404': *6 x-github: githubCloudOnly: false @@ -91124,9 +91424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *379 - - *380 - - &631 + - *381 + - *382 + - &633 name: release_id description: The unique identifier of the release. in: path @@ -91140,9 +91440,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *626 + schema: *628 examples: - default: *630 + default: *632 '401': description: Unauthorized x-github: @@ -91160,9 +91460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 requestBody: required: false content: @@ -91226,9 +91526,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: *630 + default: *632 '404': description: Not Found if the discussion category name is invalid content: @@ -91249,9 +91549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 responses: '204': description: Response @@ -91271,9 +91571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 - *17 - *19 responses: @@ -91283,7 +91583,7 @@ paths: application/json: schema: type: array - items: *627 + items: *629 examples: default: value: @@ -91365,9 +91665,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: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 - name: name in: query required: true @@ -91393,7 +91693,7 @@ paths: description: Response for successful upload content: application/json: - schema: *627 + schema: *629 examples: response-for-successful-upload: value: @@ -91448,9 +91748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -91474,9 +91774,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 '404': *6 @@ -91497,9 +91797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *379 - - *380 - - *631 + - *381 + - *382 + - *633 requestBody: required: true content: @@ -91529,16 +91829,16 @@ paths: description: Reaction exists content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '201': description: Reaction created content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '422': *15 x-github: githubCloudOnly: false @@ -91560,10 +91860,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *379 - - *380 - - *631 - - *371 + - *381 + - *382 + - *633 + - *373 responses: '204': description: Response @@ -91587,9 +91887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *379 - - *380 - - *438 + - *381 + - *382 + - *440 - *17 - *19 responses: @@ -91605,8 +91905,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *632 - - &634 + - *634 + - &636 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -91625,66 +91925,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *633 - - *634 - allOf: - *635 - - *634 - - allOf: - *636 - - *634 - allOf: - *637 - - *634 + - *636 - allOf: - *638 - - *634 + - *636 - allOf: - *639 - - *634 + - *636 - allOf: - *640 - - *634 + - *636 - allOf: - *641 - - *634 + - *636 - allOf: - *642 - - *634 + - *636 - allOf: - *643 - - *634 + - *636 - allOf: - *644 - - *634 + - *636 - allOf: - *645 - - *634 + - *636 - allOf: - *646 - - *634 + - *636 - allOf: - *647 - - *634 + - *636 - allOf: - *648 - - *634 + - *636 - allOf: - *649 - - *634 + - *636 - allOf: - *650 - - *634 + - *636 - allOf: - *651 - - *634 + - *636 - allOf: - *652 - - *634 + - *636 - allOf: - *653 - - *634 + - *636 + - allOf: + - *654 + - *636 + - allOf: + - *655 + - *636 examples: default: value: @@ -91723,8 +92023,8 @@ paths: category: repos subcategory: rules parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 - name: includes_parents @@ -91735,7 +92035,7 @@ paths: schema: type: boolean default: true - - *654 + - *656 responses: '200': description: Response @@ -91790,8 +92090,8 @@ paths: category: repos subcategory: rules parameters: - - *379 - - *380 + - *381 + - *382 requestBody: description: Request body required: true @@ -91853,7 +92153,7 @@ paths: application/json: schema: *130 examples: - default: &663 + default: &665 value: id: 42 name: super cool ruleset @@ -91900,12 +92200,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *379 - - *380 - - *655 - - *223 - - *656 + - *381 + - *382 - *657 + - *225 + - *658 + - *659 - *17 - *19 responses: @@ -91913,9 +92213,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *660 examples: - default: *659 + default: *661 '404': *6 '500': *85 x-github: @@ -91936,17 +92236,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *379 - - *380 - - *660 + - *381 + - *382 + - *662 responses: '200': description: Response content: application/json: - schema: *661 + schema: *663 examples: - default: *662 + default: *664 '404': *6 '500': *85 x-github: @@ -91974,8 +92274,8 @@ paths: category: repos subcategory: rules parameters: - - *379 - - *380 + - *381 + - *382 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91997,7 +92297,7 @@ paths: application/json: schema: *130 examples: - default: *663 + default: *665 '404': *6 '500': *85 put: @@ -92015,8 +92315,8 @@ paths: category: repos subcategory: rules parameters: - - *379 - - *380 + - *381 + - *382 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92080,7 +92380,7 @@ paths: application/json: schema: *130 examples: - default: *663 + default: *665 '404': *6 '500': *85 delete: @@ -92098,8 +92398,8 @@ paths: category: repos subcategory: rules parameters: - - *379 - - *380 + - *381 + - *382 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92122,8 +92422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 - name: ruleset_id @@ -92141,7 +92441,7 @@ paths: type: array items: *133 examples: - default: *333 + default: *335 '404': *6 '500': *85 x-github: @@ -92160,8 +92460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *379 - - *380 + - *381 + - *382 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92179,7 +92479,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: default: value: @@ -92234,21 +92534,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *379 - - *380 - - *335 - - *336 + - *381 + - *382 - *337 - *338 + - *339 + - *340 - *88 - *19 - *17 - - *664 - - *665 - - *339 - - *340 + - *666 + - *667 - *341 - *342 + - *343 + - *344 responses: '200': description: Response @@ -92256,7 +92556,7 @@ paths: application/json: schema: type: array - items: &668 + items: &671 type: object properties: number: *100 @@ -92275,8 +92575,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *666 - resolution: *667 + state: *668 + resolution: *669 resolved_at: type: string format: date-time @@ -92366,6 +92666,18 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: *670 + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: value: @@ -92494,16 +92806,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *379 - - *380 - - *469 - - *342 + - *381 + - *382 + - *471 + - *344 responses: '200': description: Response content: application/json: - schema: *668 + schema: *671 examples: default: value: @@ -92555,9 +92867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 requestBody: required: true content: @@ -92565,8 +92877,8 @@ paths: schema: type: object properties: - state: *666 - resolution: *667 + state: *668 + resolution: *669 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -92584,7 +92896,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *671 examples: default: value: @@ -92659,9 +92971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *379 - - *380 - - *469 + - *381 + - *382 + - *471 - *19 - *17 responses: @@ -92672,7 +92984,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &828 + items: &844 type: object properties: type: @@ -92698,254 +93010,19 @@ paths: example: commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *672 + - *673 + - *674 + - *675 + - *676 + - *677 + - *678 + - *679 + - *680 + - *681 + - *682 + - *683 + - *684 examples: default: value: @@ -93031,8 +93108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -93040,14 +93117,14 @@ paths: schema: type: object properties: - reason: &670 + reason: &686 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *669 + placeholder_id: *685 required: - reason - placeholder_id @@ -93064,7 +93141,7 @@ paths: schema: type: object properties: - reason: *670 + reason: *686 expire_at: type: string format: date-time @@ -93107,8 +93184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -93123,7 +93200,7 @@ paths: properties: incremental_scans: type: array - items: &671 + items: &687 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93149,15 +93226,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *671 + items: *687 backfill_scans: type: array - items: *671 + items: *687 custom_pattern_backfill_scans: type: array items: allOf: - - *671 + - *687 - type: object properties: pattern_name: @@ -93227,8 +93304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *379 - - *380 + - *381 + - *382 - *88 - name: sort description: The property to sort the results by. @@ -93272,9 +93349,9 @@ paths: application/json: schema: type: array - items: *672 + items: *688 examples: - default: *673 + default: *689 '400': *14 '404': *6 x-github: @@ -93297,8 +93374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -93371,7 +93448,7 @@ paths: login: type: string description: The username of the user credited. - type: *345 + type: *347 required: - login - type @@ -93458,9 +93535,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *688 examples: - default: &675 + default: &691 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -93693,8 +93770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -93798,7 +93875,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *688 examples: default: value: @@ -93945,17 +94022,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *379 - - *380 - - *674 + - *381 + - *382 + - *690 responses: '200': description: Response content: application/json: - schema: *672 + schema: *688 examples: - default: *675 + default: *691 '403': *29 '404': *6 x-github: @@ -93979,9 +94056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *379 - - *380 - - *674 + - *381 + - *382 + - *690 requestBody: required: true content: @@ -94054,7 +94131,7 @@ paths: login: type: string description: The username of the user credited. - type: *345 + type: *347 required: - login - type @@ -94140,17 +94217,17 @@ paths: description: Response content: application/json: - schema: *672 + schema: *688 examples: - default: *675 - add_credit: *675 + default: *691 + add_credit: *691 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *181 + schema: *183 examples: invalid_state_transition: value: @@ -94181,9 +94258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *379 - - *380 - - *674 + - *381 + - *382 + - *690 responses: '202': *39 '400': *14 @@ -94210,17 +94287,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *379 - - *380 - - *674 + - *381 + - *382 + - *690 responses: '202': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *394 + default: *396 '400': *14 '422': *15 '403': *29 @@ -94246,8 +94323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -94346,8 +94423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -94356,7 +94433,7 @@ paths: application/json: schema: type: array - items: &676 + items: &692 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94389,8 +94466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -94466,8 +94543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -94563,8 +94640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -94718,8 +94795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -94729,7 +94806,7 @@ paths: application/json: schema: type: array - items: *676 + items: *692 examples: default: value: @@ -94762,8 +94839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *379 - - *380 + - *381 + - *382 - name: sha in: path required: true @@ -94817,7 +94894,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *693 examples: default: value: @@ -94871,8 +94948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -94884,7 +94961,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -94904,14 +94981,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &678 + schema: &694 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94979,8 +95056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: false content: @@ -95006,7 +95083,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *694 examples: default: value: @@ -95033,8 +95110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -95054,8 +95131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -95134,8 +95211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -95143,7 +95220,7 @@ paths: application/json: schema: type: array - items: &679 + items: &695 title: Tag protection description: Tag protection type: object @@ -95195,8 +95272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -95219,7 +95296,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *695 examples: default: value: @@ -95250,8 +95327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -95288,8 +95365,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *379 - - *380 + - *381 + - *382 - name: ref in: path required: true @@ -95325,8 +95402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *379 - - *380 + - *381 + - *382 - *17 - *19 responses: @@ -95336,9 +95413,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *306 + default: *308 headers: Link: *40 '404': *6 @@ -95358,8 +95435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *379 - - *380 + - *381 + - *382 - *19 - *17 responses: @@ -95367,7 +95444,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &696 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95379,7 +95456,7 @@ paths: required: - names examples: - default: &681 + default: &697 value: names: - octocat @@ -95402,8 +95479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -95434,9 +95511,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *696 examples: - default: *681 + default: *697 '404': *6 '422': *7 x-github: @@ -95457,9 +95534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *379 - - *380 - - &682 + - *381 + - *382 + - &698 name: per description: The time frame to display results for. in: query @@ -95488,7 +95565,7 @@ paths: example: 128 clones: type: array - items: &683 + items: &699 title: Traffic type: object properties: @@ -95575,8 +95652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -95666,8 +95743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *379 - - *380 + - *381 + - *382 responses: '200': description: Response @@ -95727,9 +95804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *379 - - *380 - - *682 + - *381 + - *382 + - *698 responses: '200': description: Response @@ -95748,7 +95825,7 @@ paths: example: 3782 views: type: array - items: *683 + items: *699 required: - uniques - count @@ -95825,8 +95902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *379 - - *380 + - *381 + - *382 requestBody: required: true content: @@ -95862,7 +95939,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: default: value: @@ -96100,8 +96177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -96124,8 +96201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -96147,8 +96224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -96174,8 +96251,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *379 - - *380 + - *381 + - *382 - name: ref in: path required: true @@ -96267,9 +96344,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *394 + default: *396 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96310,7 +96387,7 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: default: value: @@ -96420,7 +96497,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &691 + - &707 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -96429,7 +96506,7 @@ paths: schema: type: string example: members - - &696 + - &712 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -96440,7 +96517,7 @@ paths: default: 1 format: int32 example: 1 - - &697 + - &713 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -96482,7 +96559,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &685 + items: &701 allOf: - type: object required: @@ -96557,7 +96634,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &698 + meta: &714 type: object description: The metadata associated with the creation/updates to the user. @@ -96617,31 +96694,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &686 + '400': &702 description: Bad request content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 - '401': &687 + schema: *700 + '401': &703 description: Authorization failure - '403': &688 + '403': &704 description: Permission denied - '429': &689 + '429': &705 description: Too many requests content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 - '500': &690 + schema: *700 + '500': &706 description: Internal server error content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 + schema: *700 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96665,7 +96742,7 @@ paths: required: true content: application/json: - schema: &694 + schema: &710 type: object required: - schemas @@ -96721,9 +96798,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *685 + schema: *701 examples: - group: &692 + group: &708 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -96742,13 +96819,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *686 - '401': *687 - '403': *688 - '409': &695 + '400': *702 + '401': *703 + '403': *704 + '409': &711 description: Duplicate record detected - '429': *689 - '500': *690 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96765,7 +96842,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &693 + - &709 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -96773,22 +96850,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *691 + - *707 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *685 + schema: *701 examples: - default: *692 - '400': *686 - '401': *687 - '403': *688 + default: *708 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '429': *689 - '500': *690 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96807,13 +96884,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *693 + - *709 - *41 requestBody: required: true content: application/json: - schema: *694 + schema: *710 examples: group: summary: Group @@ -96839,17 +96916,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *685 + schema: *701 examples: - group: *692 - groupWithMembers: *692 - '400': *686 - '401': *687 - '403': *688 + group: *708 + groupWithMembers: *708 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *711 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96873,13 +96950,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *693 + - *709 - *41 requestBody: required: true content: application/json: - schema: &705 + schema: &721 type: object required: - Operations @@ -96939,17 +97016,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *685 + schema: *701 examples: - updateGroup: *692 - addMembers: *692 - '400': *686 - '401': *687 - '403': *688 + updateGroup: *708 + addMembers: *708 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *711 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96965,17 +97042,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *693 + - *709 - *41 responses: '204': description: Group was deleted, no content - '400': *686 - '401': *687 - '403': *688 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '429': *689 - '500': *690 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97009,8 +97086,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *696 - - *697 + - *712 + - *713 - *41 responses: '200': @@ -97043,7 +97120,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &700 + items: &716 allOf: - type: object required: @@ -97122,7 +97199,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &699 + roles: &715 type: array description: The roles assigned to the user. items: @@ -97178,7 +97255,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *698 + meta: *714 startIndex: type: integer description: A starting index for the returned page @@ -97215,11 +97292,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *686 - '401': *687 - '403': *688 - '429': *689 - '500': *690 + '400': *702 + '401': *703 + '403': *704 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97243,7 +97320,7 @@ paths: required: true content: application/json: - schema: &703 + schema: &719 type: object required: - schemas @@ -97325,9 +97402,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *699 + roles: *715 examples: - user: &704 + user: &720 summary: User value: schemas: @@ -97374,9 +97451,9 @@ paths: description: User has been created content: application/scim+json: - schema: *700 + schema: *716 examples: - user: &701 + user: &717 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97402,13 +97479,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *701 - '400': *686 - '401': *687 - '403': *688 - '409': *695 - '429': *689 - '500': *690 + enterpriseOwner: *717 + '400': *702 + '401': *703 + '403': *704 + '409': *711 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97425,7 +97502,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &702 + - &718 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -97438,15 +97515,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *700 + schema: *716 examples: - default: *701 - '400': *686 - '401': *687 - '403': *688 + default: *717 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '429': *689 - '500': *690 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97468,30 +97545,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *702 + - *718 - *41 requestBody: required: true content: application/json: - schema: *703 + schema: *719 examples: - user: *704 + user: *720 responses: '200': description: User was updated content: application/scim+json: - schema: *700 + schema: *716 examples: - user: *701 - '400': *686 - '401': *687 - '403': *688 + user: *717 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *711 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97526,13 +97603,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *702 + - *718 - *41 requestBody: required: true content: application/json: - schema: *705 + schema: *721 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -97572,18 +97649,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *700 - examples: - userMultiValuedProperties: *701 - userSingleValuedProperties: *701 - disableUser: *701 - '400': *686 - '401': *687 - '403': *688 + schema: *716 + examples: + userMultiValuedProperties: *717 + userSingleValuedProperties: *717 + disableUser: *717 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *711 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97603,17 +97680,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *702 + - *718 - *41 responses: '204': description: User was deleted, no content - '400': *686 - '401': *687 - '403': *688 + '400': *702 + '401': *703 + '403': *704 '404': *6 - '429': *689 - '500': *690 + '429': *705 + '500': *706 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97700,7 +97777,7 @@ paths: example: 1 Resources: type: array - items: &706 + items: &722 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97931,22 +98008,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &707 + '404': &723 description: Resource not found content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 - '403': &708 + schema: *700 + '403': &724 description: Forbidden content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 - '400': *686 - '429': *689 + schema: *700 + '400': *702 + '429': *705 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -97972,9 +98049,9 @@ paths: description: Response content: application/scim+json: - schema: *706 + schema: *722 examples: - default: &709 + default: &725 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97997,17 +98074,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *707 - '403': *708 - '500': *690 + '404': *723 + '403': *724 + '500': *706 '409': description: Conflict content: application/json: - schema: *684 + schema: *700 application/scim+json: - schema: *684 - '400': *686 + schema: *700 + '400': *702 requestBody: required: true content: @@ -98105,17 +98182,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *172 - - *702 + - *718 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *722 examples: - default: *709 - '404': *707 - '403': *708 + default: *725 + '404': *723 + '403': *724 '304': *37 x-github: githubCloudOnly: true @@ -98139,18 +98216,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *172 - - *702 + - *718 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *722 examples: - default: *709 + default: *725 '304': *37 - '404': *707 - '403': *708 + '404': *723 + '403': *724 requestBody: required: true content: @@ -98263,19 +98340,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *172 - - *702 + - *718 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *722 examples: - default: *709 + default: *725 '304': *37 - '404': *707 - '403': *708 - '400': *686 + '404': *723 + '403': *724 + '400': *702 '429': description: Response content: @@ -98366,12 +98443,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *172 - - *702 + - *718 responses: '204': description: Response - '404': *707 - '403': *708 + '404': *723 + '403': *724 '304': *37 x-github: githubCloudOnly: true @@ -98486,7 +98563,7 @@ paths: html_url: type: string format: uri - repository: *198 + repository: *200 score: type: number file_size: @@ -98504,7 +98581,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &710 + text_matches: &726 title: Search Result Text Matches type: array items: @@ -98667,7 +98744,7 @@ paths: enum: - author-date - committer-date - - &711 + - &727 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 @@ -98738,7 +98815,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *436 + properties: *438 nullable: true comment_count: type: integer @@ -98758,7 +98835,7 @@ paths: url: type: string format: uri - verification: *555 + verification: *557 required: - author - committer @@ -98777,7 +98854,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *436 + properties: *438 nullable: true parents: type: array @@ -98790,12 +98867,12 @@ paths: type: string sha: type: string - repository: *198 + repository: *200 score: type: number node_id: type: string - text_matches: *710 + text_matches: *726 required: - sha - node_id @@ -98978,7 +99055,7 @@ paths: - interactions - created - updated - - *711 + - *727 - *17 - *19 - name: advanced_search @@ -99105,8 +99182,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *504 - required: *505 + properties: *506 + required: *507 nullable: true comments: type: integer @@ -99120,7 +99197,7 @@ paths: type: string format: date-time nullable: true - text_matches: *710 + text_matches: *726 pull_request: type: object properties: @@ -99164,7 +99241,7 @@ paths: timeline_url: type: string format: uri - type: *289 + type: *291 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -99348,7 +99425,7 @@ paths: enum: - created - updated - - *711 + - *727 - *17 - *19 responses: @@ -99392,7 +99469,7 @@ paths: nullable: true score: type: number - text_matches: *710 + text_matches: *726 required: - id - node_id @@ -99478,7 +99555,7 @@ paths: - forks - help-wanted-issues - updated - - *711 + - *727 - *17 - *19 responses: @@ -99717,7 +99794,7 @@ paths: - admin - pull - push - text_matches: *710 + text_matches: *726 temp_clone_token: type: string allow_merge_commit: @@ -100018,7 +100095,7 @@ paths: type: string format: uri nullable: true - text_matches: *710 + text_matches: *726 related: type: array nullable: true @@ -100211,7 +100288,7 @@ paths: - followers - repositories - joined - - *711 + - *727 - *17 - *19 responses: @@ -100315,7 +100392,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *710 + text_matches: *726 blog: type: string nullable: true @@ -100394,7 +100471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &712 + - &728 name: team_id description: The unique identifier of the team. in: path @@ -100406,9 +100483,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '404': *6 x-github: githubCloudOnly: false @@ -100435,7 +100512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *712 + - *728 requestBody: required: true content: @@ -100498,16 +100575,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '201': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 '404': *6 '422': *15 '403': *29 @@ -100535,7 +100612,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *712 + - *728 responses: '204': description: Response @@ -100566,7 +100643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *712 + - *728 - *88 - *17 - *19 @@ -100577,9 +100654,9 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: - default: *713 + default: *729 headers: Link: *40 x-github: @@ -100608,7 +100685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *712 + - *728 requestBody: required: true content: @@ -100642,9 +100719,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 x-github: triggersNotification: true githubCloudOnly: false @@ -100671,16 +100748,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *712 - - *364 + - *728 + - *366 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100705,8 +100782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *712 - - *364 + - *728 + - *366 requestBody: required: false content: @@ -100729,9 +100806,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *714 + default: *730 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100756,8 +100833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *712 - - *364 + - *728 + - *366 responses: '204': description: Response @@ -100786,8 +100863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *712 - - *364 + - *728 + - *366 - *88 - *17 - *19 @@ -100798,9 +100875,9 @@ paths: application/json: schema: type: array - items: *365 + items: *367 examples: - default: *715 + default: *731 headers: Link: *40 x-github: @@ -100829,8 +100906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *712 - - *364 + - *728 + - *366 requestBody: required: true content: @@ -100852,9 +100929,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: triggersNotification: true githubCloudOnly: false @@ -100881,17 +100958,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *712 - - *364 - - *367 + - *728 + - *366 + - *369 responses: '200': description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100916,9 +100993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *712 - - *364 - - *367 + - *728 + - *366 + - *369 requestBody: required: true content: @@ -100940,9 +101017,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: *716 + default: *732 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100967,9 +101044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *712 - - *364 - - *367 + - *728 + - *366 + - *369 responses: '204': description: Response @@ -100998,9 +101075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *712 - - *364 - - *367 + - *728 + - *366 + - *369 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -101026,9 +101103,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 x-github: @@ -101057,9 +101134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *712 - - *364 - - *367 + - *728 + - *366 + - *369 requestBody: required: true content: @@ -101091,9 +101168,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101119,8 +101196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *712 - - *364 + - *728 + - *366 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -101146,9 +101223,9 @@ paths: application/json: schema: type: array - items: *368 + items: *370 examples: - default: *370 + default: *372 headers: Link: *40 x-github: @@ -101177,8 +101254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *712 - - *364 + - *728 + - *366 requestBody: required: true content: @@ -101210,9 +101287,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101236,7 +101313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *712 + - *728 - *17 - *19 responses: @@ -101246,9 +101323,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *40 x-github: @@ -101274,7 +101351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *712 + - *728 - name: role description: Filters members returned by their role in the team. in: query @@ -101297,7 +101374,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '404': *6 @@ -101325,8 +101402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *712 - - *220 + - *728 + - *222 responses: '204': description: if user is a member @@ -101362,8 +101439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *712 - - *220 + - *728 + - *222 responses: '204': description: Response @@ -101402,8 +101479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *712 - - *220 + - *728 + - *222 responses: '204': description: Response @@ -101439,16 +101516,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *712 - - *220 + - *728 + - *222 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: - response-if-user-is-a-team-maintainer: *717 + response-if-user-is-a-team-maintainer: *733 '404': *6 x-github: githubCloudOnly: false @@ -101481,8 +101558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *712 - - *220 + - *728 + - *222 requestBody: required: false content: @@ -101507,9 +101584,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - response-if-users-membership-with-team-is-now-pending: *718 + response-if-users-membership-with-team-is-now-pending: *734 '403': description: Forbidden if team synchronization is set up '422': @@ -101543,8 +101620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *712 - - *220 + - *728 + - *222 responses: '204': description: Response @@ -101572,7 +101649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *712 + - *728 - *17 - *19 responses: @@ -101582,9 +101659,9 @@ paths: application/json: schema: type: array - items: *377 + items: *379 examples: - default: *719 + default: *735 headers: Link: *40 '404': *6 @@ -101610,16 +101687,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *712 - - *378 + - *728 + - *380 responses: '200': description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: *720 + default: *736 '404': description: Not Found if project is not managed by this team x-github: @@ -101643,8 +101720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *712 - - *378 + - *728 + - *380 requestBody: required: false content: @@ -101711,8 +101788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *712 - - *378 + - *728 + - *380 responses: '204': description: Response @@ -101739,7 +101816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *712 + - *728 - *17 - *19 responses: @@ -101749,9 +101826,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 '404': *6 @@ -101781,15 +101858,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *712 - - *379 - - *380 + - *728 + - *381 + - *382 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *721 + schema: *737 examples: alternative-response-with-extra-repository-information: value: @@ -101940,9 +102017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *712 - - *379 - - *380 + - *728 + - *381 + - *382 requestBody: required: false content: @@ -101992,9 +102069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *712 - - *379 - - *380 + - *728 + - *381 + - *382 responses: '204': description: Response @@ -102023,15 +102100,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *712 + - *728 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *382 + default: *384 '403': *29 '404': *6 x-github: @@ -102058,7 +102135,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *712 + - *728 requestBody: required: true content: @@ -102115,7 +102192,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -102146,7 +102223,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *712 + - *728 - *17 - *19 responses: @@ -102156,9 +102233,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - response-if-child-teams-exist: *722 + response-if-child-teams-exist: *738 headers: Link: *40 '404': *6 @@ -102191,7 +102268,7 @@ paths: application/json: schema: oneOf: - - &724 + - &740 title: Private User description: Private User type: object @@ -102394,7 +102471,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *723 + - *739 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -102547,7 +102624,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *740 examples: default: value: @@ -102626,7 +102703,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 '304': *37 '404': *6 '403': *29 @@ -102649,7 +102726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *220 + - *222 responses: '204': description: If the user is blocked @@ -102677,7 +102754,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *220 + - *222 responses: '204': description: Response @@ -102701,7 +102778,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *220 + - *222 responses: '204': description: Response @@ -102750,9 +102827,9 @@ paths: type: integer codespaces: type: array - items: *295 + items: *297 examples: - default: *296 + default: *298 '304': *37 '500': *85 '401': *25 @@ -102891,17 +102968,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '401': *25 '403': *29 '404': *6 @@ -102945,7 +103022,7 @@ paths: type: integer secrets: type: array - items: &725 + items: &741 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -102985,7 +103062,7 @@ paths: - visibility - selected_repositories_url examples: - default: *492 + default: *494 headers: Link: *40 x-github: @@ -103055,13 +103132,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *208 + - *210 responses: '200': description: Response content: application/json: - schema: *725 + schema: *741 examples: default: value: @@ -103091,7 +103168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *208 + - *210 requestBody: required: true content: @@ -103136,7 +103213,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -103164,7 +103241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *208 + - *210 responses: '204': description: Response @@ -103189,7 +103266,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *208 + - *210 responses: '200': description: Response @@ -103205,9 +103282,9 @@ paths: type: integer repositories: type: array - items: *198 + items: *200 examples: - default: *726 + default: *742 '401': *25 '403': *29 '404': *6 @@ -103232,7 +103309,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *208 + - *210 requestBody: required: true content: @@ -103286,7 +103363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *208 + - *210 - name: repository_id in: path required: true @@ -103319,7 +103396,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *208 + - *210 - name: repository_id in: path required: true @@ -103351,15 +103428,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '304': *37 '500': *85 '401': *25 @@ -103385,7 +103462,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 requestBody: required: false content: @@ -103415,9 +103492,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '401': *25 '403': *29 '404': *6 @@ -103439,7 +103516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 responses: '202': *39 '304': *37 @@ -103468,13 +103545,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 responses: '202': description: Response content: application/json: - schema: &727 + schema: &743 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -103515,7 +103592,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &728 + default: &744 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -103547,7 +103624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *297 + - *299 - name: export_id in: path required: true @@ -103560,9 +103637,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *743 examples: - default: *728 + default: *744 '404': *6 x-github: githubCloudOnly: false @@ -103583,7 +103660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *297 + - *299 responses: '200': description: Response @@ -103599,9 +103676,9 @@ paths: type: integer machines: type: array - items: *729 + items: *745 examples: - default: *730 + default: *746 '304': *37 '500': *85 '401': *25 @@ -103630,7 +103707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *297 + - *299 requestBody: required: true content: @@ -103680,13 +103757,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *392 + repository: *394 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *490 - required: *491 + properties: *492 + required: *493 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -104460,15 +104537,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '304': *37 '500': *85 '400': *14 @@ -104500,15 +104577,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *297 + - *299 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *489 + default: *491 '500': *85 '401': *25 '403': *29 @@ -104538,9 +104615,9 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: &743 + default: &759 value: - id: 197 name: hello_docker @@ -104641,7 +104718,7 @@ paths: application/json: schema: type: array - items: &731 + items: &747 title: Email description: Email type: object @@ -104706,9 +104783,9 @@ paths: application/json: schema: type: array - items: *731 + items: *747 examples: - default: &745 + default: &761 value: - email: octocat@github.com verified: true @@ -104783,7 +104860,7 @@ paths: application/json: schema: type: array - items: *731 + items: *747 examples: default: value: @@ -104893,7 +104970,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '304': *37 @@ -104926,7 +105003,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 '304': *37 @@ -104948,7 +105025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *220 + - *222 responses: '204': description: if the person is followed by the authenticated user @@ -104978,7 +105055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *220 + - *222 responses: '204': description: Response @@ -105003,7 +105080,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *220 + - *222 responses: '204': description: Response @@ -105039,7 +105116,7 @@ paths: application/json: schema: type: array - items: &732 + items: &748 title: GPG Key description: A unique encryption key type: object @@ -105170,7 +105247,7 @@ paths: - subkeys - revoked examples: - default: &756 + default: &772 value: - id: 3 name: Octocat's GPG Key @@ -105255,9 +105332,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *748 examples: - default: &733 + default: &749 value: id: 3 name: Octocat's GPG Key @@ -105314,7 +105391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &734 + - &750 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -105326,9 +105403,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *748 examples: - default: *733 + default: *749 '404': *6 '304': *37 '403': *29 @@ -105351,7 +105428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *734 + - *750 responses: '204': description: Response @@ -105542,7 +105619,7 @@ paths: type: array items: *64 examples: - default: *735 + default: *751 headers: Link: *40 '404': *6 @@ -105567,7 +105644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *193 + - *195 responses: '204': description: Response @@ -105593,7 +105670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *193 + - *195 responses: '204': description: Response @@ -105627,12 +105704,12 @@ paths: application/json: schema: anyOf: - - *284 + - *286 - type: object properties: {} additionalProperties: false examples: - default: *285 + default: *287 '204': description: Response when there are no restrictions x-github: @@ -105656,7 +105733,7 @@ paths: required: true content: application/json: - schema: *566 + schema: *568 examples: default: value: @@ -105667,7 +105744,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: default: value: @@ -105748,7 +105825,7 @@ paths: - closed - all default: open - - *292 + - *294 - name: sort description: What to sort results by. in: query @@ -105773,7 +105850,7 @@ paths: type: array items: *155 examples: - default: *293 + default: *295 headers: Link: *40 '404': *6 @@ -105806,7 +105883,7 @@ paths: application/json: schema: type: array - items: &736 + items: &752 title: Key description: Key type: object @@ -105903,9 +105980,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *752 examples: - default: &737 + default: &753 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105938,15 +106015,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *595 + - *597 responses: '200': description: Response content: application/json: - schema: *736 + schema: *752 examples: - default: *737 + default: *753 '404': *6 '304': *37 '403': *29 @@ -105969,7 +106046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *595 + - *597 responses: '204': description: Response @@ -106002,7 +106079,7 @@ paths: application/json: schema: type: array - items: &738 + items: &754 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -106070,7 +106147,7 @@ paths: - account - plan examples: - default: &739 + default: &755 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106132,9 +106209,9 @@ paths: application/json: schema: type: array - items: *738 + items: *754 examples: - default: *739 + default: *755 headers: Link: *40 '304': *37 @@ -106174,7 +106251,7 @@ paths: application/json: schema: type: array - items: *298 + items: *300 examples: default: value: @@ -106282,7 +106359,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -106365,7 +106442,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -106433,7 +106510,7 @@ paths: application/json: schema: type: array - items: *300 + items: *302 examples: default: value: @@ -106686,7 +106763,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -106866,7 +106943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *301 + - *303 - name: exclude in: query required: false @@ -106879,7 +106956,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -107073,7 +107150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *301 + - *303 responses: '302': description: Response @@ -107099,7 +107176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *301 + - *303 responses: '204': description: Response @@ -107128,8 +107205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *301 - - *740 + - *303 + - *756 responses: '204': description: Response @@ -107153,7 +107230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *301 + - *303 - *17 - *19 responses: @@ -107163,9 +107240,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 '404': *6 @@ -107202,7 +107279,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *757 headers: Link: *40 '304': *37 @@ -107244,7 +107321,7 @@ paths: - docker - nuget - container - - *742 + - *758 - *19 - *17 responses: @@ -107254,10 +107331,10 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: *743 - '400': *744 + default: *759 + '400': *760 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107277,16 +107354,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &757 + default: &773 value: id: 40201 name: octo-name @@ -107399,8 +107476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -107430,8 +107507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 - name: token description: package token schema: @@ -107463,8 +107540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 - *19 - *17 - name: state @@ -107484,7 +107561,7 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: default: value: @@ -107533,15 +107610,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 - *312 + - *314 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: default: value: @@ -107577,9 +107654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 - *312 + - *314 responses: '204': description: Response @@ -107609,9 +107686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 - *312 + - *314 responses: '204': description: Response @@ -107667,7 +107744,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: default: value: @@ -107739,9 +107816,9 @@ paths: application/json: schema: type: array - items: *731 + items: *747 examples: - default: *745 + default: *761 headers: Link: *40 '304': *37 @@ -107854,7 +107931,7 @@ paths: type: array items: *64 examples: - default: &752 + default: &768 summary: Default response value: - id: 1296269 @@ -108158,9 +108235,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *394 + default: *396 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108198,9 +108275,9 @@ paths: application/json: schema: type: array - items: *568 + items: *570 examples: - default: *746 + default: *762 headers: Link: *40 '304': *37 @@ -108223,7 +108300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *288 + - *290 responses: '204': description: Response @@ -108246,7 +108323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *288 + - *290 responses: '204': description: Response @@ -108279,7 +108356,7 @@ paths: application/json: schema: type: array - items: &747 + items: &763 title: Social account description: Social media account type: object @@ -108294,7 +108371,7 @@ paths: - provider - url examples: - default: &748 + default: &764 value: - provider: twitter url: https://twitter.com/github @@ -108356,9 +108433,9 @@ paths: application/json: schema: type: array - items: *747 + items: *763 examples: - default: *748 + default: *764 '422': *15 '304': *37 '404': *6 @@ -108445,7 +108522,7 @@ paths: application/json: schema: type: array - items: &749 + items: &765 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -108465,7 +108542,7 @@ paths: - title - created_at examples: - default: &758 + default: &774 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108531,9 +108608,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *765 examples: - default: &750 + default: &766 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108564,7 +108641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &751 + - &767 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -108576,9 +108653,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *765 examples: - default: *750 + default: *766 '404': *6 '304': *37 '403': *29 @@ -108601,7 +108678,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *751 + - *767 responses: '204': description: Response @@ -108630,7 +108707,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &759 + - &775 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 @@ -108655,11 +108732,11 @@ paths: type: array items: *64 examples: - default-response: *752 + default-response: *768 application/vnd.github.v3.star+json: schema: type: array - items: &760 + items: &776 title: Starred Repository description: Starred Repository type: object @@ -108815,8 +108892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response if this repository is starred by you @@ -108844,8 +108921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -108869,8 +108946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *379 - - *380 + - *381 + - *382 responses: '204': description: Response @@ -108903,9 +108980,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 '304': *37 @@ -108942,7 +109019,7 @@ paths: application/json: schema: type: array - items: *360 + items: *362 examples: default: value: @@ -109028,10 +109105,10 @@ paths: application/json: schema: oneOf: - - *724 - - *723 + - *740 + - *739 examples: - default-response: &754 + default-response: &770 summary: Default response value: login: octocat @@ -109066,7 +109143,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &755 + response-with-git-hub-plan-information: &771 summary: Response with GitHub plan information value: login: octocat @@ -109126,7 +109203,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *753 + - *769 - *17 responses: '200': @@ -109137,7 +109214,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: example: ; rel="next" @@ -109167,7 +109244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *220 + - *222 responses: '200': description: Response @@ -109175,11 +109252,11 @@ paths: application/json: schema: oneOf: - - *724 - - *723 + - *740 + - *739 examples: - default-response: *754 - response-with-git-hub-plan-information: *755 + default-response: *770 + response-with-git-hub-plan-information: *771 '404': *6 x-github: githubCloudOnly: false @@ -109205,7 +109282,7 @@ paths: - *17 - *86 - *87 - - *220 + - *222 - name: subject_digest description: Subject Digest in: path @@ -109255,12 +109332,12 @@ paths: bundle_url: type: string examples: - default: *432 + default: *434 '201': description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -109286,7 +109363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *220 + - *222 responses: '200': description: Response @@ -109294,9 +109371,9 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: *743 + default: *759 '403': *29 '401': *25 x-github: @@ -109319,7 +109396,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109400,7 +109477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *220 + - *222 - *172 - *17 - *19 @@ -109490,7 +109567,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109567,7 +109644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109579,7 +109656,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -109598,7 +109675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109610,7 +109687,7 @@ paths: type: array items: *4 examples: - default: *294 + default: *296 headers: Link: *40 x-github: @@ -109629,7 +109706,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *220 + - *222 - name: target_user in: path required: true @@ -109656,7 +109733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *220 + - *222 - *145 - *17 - *19 @@ -109690,7 +109767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109700,9 +109777,9 @@ paths: application/json: schema: type: array - items: *732 + items: *748 examples: - default: *756 + default: *772 headers: Link: *40 x-github: @@ -109726,7 +109803,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *220 + - *222 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -109798,7 +109875,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *220 + - *222 responses: '200': description: Response @@ -109806,7 +109883,7 @@ paths: application/json: schema: *22 examples: - default: *565 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109824,7 +109901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109872,7 +109949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -109884,7 +109961,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *757 headers: Link: *40 x-github: @@ -109923,8 +110000,8 @@ paths: - docker - nuget - container - - *742 - - *220 + - *758 + - *222 - *19 - *17 responses: @@ -109934,12 +110011,12 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: *743 + default: *759 '403': *29 '401': *25 - '400': *744 + '400': *760 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109959,17 +110036,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *309 - - *310 - - *220 + - *311 + - *312 + - *222 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *757 + default: *773 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109990,9 +110067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *309 - - *310 - - *220 + - *311 + - *312 + - *222 responses: '204': description: Response @@ -110024,9 +110101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *309 - - *310 - - *220 + - *311 + - *312 + - *222 - name: token description: package token schema: @@ -110058,9 +110135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *309 - - *310 - - *220 + - *311 + - *312 + - *222 responses: '200': description: Response @@ -110068,7 +110145,7 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: default: value: @@ -110126,16 +110203,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *309 - - *310 + - *311 - *312 - - *220 + - *314 + - *222 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: default: value: @@ -110170,10 +110247,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *309 - - *310 - - *220 + - *311 - *312 + - *222 + - *314 responses: '204': description: Response @@ -110205,10 +110282,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *309 - - *310 - - *220 + - *311 - *312 + - *222 + - *314 responses: '204': description: Response @@ -110234,7 +110311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *220 + - *222 - name: state description: Indicates the state of the projects to return. in: query @@ -110255,7 +110332,7 @@ paths: application/json: schema: type: array - items: *323 + items: *325 examples: default: value: @@ -110317,7 +110394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -110406,7 +110483,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -110493,7 +110570,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *220 + - *222 - name: type description: Limit results to repositories of the specified type. in: query @@ -110536,9 +110613,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -110562,15 +110639,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *220 + - *222 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110592,15 +110669,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *220 + - *222 responses: '200': description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110622,15 +110699,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *220 + - *222 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110650,11 +110727,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *220 - - *173 - - *174 + - *222 - *175 - *176 + - *177 + - *178 responses: '200': description: Response when getting a billing usage report @@ -110743,7 +110820,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -110753,9 +110830,9 @@ paths: application/json: schema: type: array - items: *747 + items: *763 examples: - default: *748 + default: *764 headers: Link: *40 x-github: @@ -110775,7 +110852,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -110785,9 +110862,9 @@ paths: application/json: schema: type: array - items: *749 + items: *765 examples: - default: *758 + default: *774 headers: Link: *40 x-github: @@ -110811,8 +110888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *220 - - *759 + - *222 + - *775 - *88 - *17 - *19 @@ -110824,11 +110901,11 @@ paths: schema: anyOf: - type: array - items: *760 + items: *776 - type: array items: *64 examples: - default-response: *752 + default-response: *768 headers: Link: *40 x-github: @@ -110847,7 +110924,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *220 + - *222 - *17 - *19 responses: @@ -110857,9 +110934,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *313 + default: *315 headers: Link: *40 x-github: @@ -110987,7 +111064,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &761 + enterprise: &777 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -111045,7 +111122,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &762 + installation: &778 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -111064,7 +111141,7 @@ x-webhooks: required: - id - node_id - organization: &763 + organization: &779 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -111124,13 +111201,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &764 + repository: &780 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: &801 + properties: &817 id: description: Unique identifier of the repository example: 42 @@ -111813,7 +111890,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &802 + required: &818 - archive_url - assignees_url - blobs_url @@ -111964,10 +112041,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -112043,11 +112120,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: &765 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + rule: &781 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -112270,11 +112347,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + rule: *781 sender: *4 required: - action @@ -112457,11 +112534,11 @@ x-webhooks: - everyone required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + rule: *781 sender: *4 required: - action @@ -112532,7 +112609,7 @@ x-webhooks: required: true content: application/json: - schema: &768 + schema: &784 title: Exemption request cancellation event type: object properties: @@ -112540,11 +112617,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: &766 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + exemption_request: &782 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -112777,7 +112854,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &767 + items: &783 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -112885,7 +112962,7 @@ x-webhooks: required: true content: application/json: - schema: &769 + schema: &785 title: Exemption request completed event type: object properties: @@ -112893,11 +112970,11 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + exemption_request: *782 sender: *4 required: - action @@ -112967,7 +113044,7 @@ x-webhooks: required: true content: application/json: - schema: &770 + schema: &786 title: Exemption request created event type: object properties: @@ -112975,11 +113052,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + exemption_request: *782 sender: *4 required: - action @@ -113049,7 +113126,7 @@ x-webhooks: required: true content: application/json: - schema: &771 + schema: &787 title: Exemption response dismissed event type: object properties: @@ -113057,12 +113134,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + exemption_request: *782 + exemption_response: *783 sender: *4 required: - action @@ -113134,7 +113211,7 @@ x-webhooks: required: true content: application/json: - schema: &772 + schema: &788 title: Exemption response submitted event type: object properties: @@ -113142,12 +113219,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + exemption_request: *782 + exemption_response: *783 sender: *4 required: - action @@ -113220,7 +113297,7 @@ x-webhooks: required: true content: application/json: - schema: *768 + schema: *784 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113287,7 +113364,7 @@ x-webhooks: required: true content: application/json: - schema: *769 + schema: *785 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113354,7 +113431,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113421,7 +113498,7 @@ x-webhooks: required: true content: application/json: - schema: *771 + schema: *787 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113489,7 +113566,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *788 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113567,7 +113644,7 @@ x-webhooks: type: string enum: - completed - check_run: &774 + check_run: &790 title: CheckRun description: A check performed on the code of a given code change type: object @@ -113630,8 +113707,8 @@ x-webhooks: type: string pull_requests: type: array - items: *451 - repository: *198 + items: *453 + repository: *200 status: example: completed type: string @@ -113668,7 +113745,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *773 + deployment: *789 details_url: example: https://example.com type: string @@ -113718,7 +113795,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *451 + items: *453 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -113753,9 +113830,9 @@ x-webhooks: - output - app - pull_requests - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - check_run @@ -114148,10 +114225,10 @@ x-webhooks: type: string enum: - created - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *790 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - check_run @@ -114547,10 +114624,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *790 + installation: *778 + organization: *779 + repository: *780 requested_action: description: The action requested by the user. type: object @@ -114955,10 +115032,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *790 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - check_run @@ -115935,10 +116012,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -116608,10 +116685,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -117275,10 +117352,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -117441,7 +117518,7 @@ x-webhooks: required: - login - id - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -117586,20 +117663,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &775 + commit_oid: &791 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: *761 - installation: *762 - organization: *763 - ref: &776 + enterprise: *777 + installation: *778 + organization: *779 + ref: &792 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: *764 + repository: *780 sender: *4 required: - action @@ -117761,7 +117838,7 @@ x-webhooks: required: - login - id - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -117991,12 +118068,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *791 + enterprise: *777 + installation: *778 + organization: *779 + ref: *792 + repository: *780 sender: *4 required: - action @@ -118091,7 +118168,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118259,12 +118336,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *791 + enterprise: *777 + installation: *778 + organization: *779 + ref: *792 + repository: *780 sender: *4 required: - action @@ -118427,7 +118504,7 @@ x-webhooks: required: - login - id - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -118593,12 +118670,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *791 + enterprise: *777 + installation: *778 + organization: *779 + ref: *792 + repository: *780 sender: *4 required: - action @@ -118695,7 +118772,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118863,16 +118940,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 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: *764 + repository: *780 sender: *4 required: - action @@ -118966,7 +119043,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *464 + dismissed_comment: *466 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119106,12 +119183,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *791 + enterprise: *777 + installation: *778 + organization: *779 + ref: *792 + repository: *780 sender: *4 required: - action @@ -119368,10 +119445,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -119451,18 +119528,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *763 - pusher_type: &777 + organization: *779 + pusher_type: &793 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &778 + ref: &794 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -119472,7 +119549,7 @@ x-webhooks: enum: - tag - branch - repository: *764 + repository: *780 sender: *4 required: - ref @@ -119555,9 +119632,9 @@ x-webhooks: enum: - created definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 sender: *4 required: - action @@ -119642,9 +119719,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 sender: *4 required: - action @@ -119722,9 +119799,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 sender: *4 required: - action @@ -119802,9 +119879,9 @@ x-webhooks: enum: - updated definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 sender: *4 required: - action @@ -119881,19 +119958,19 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - repository: *764 - organization: *763 + enterprise: *777 + installation: *778 + repository: *780 + organization: *779 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *325 + items: *327 old_property_values: type: array description: The old custom property values for the repository. - items: *325 + items: *327 required: - action - repository @@ -119969,18 +120046,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - pusher_type: *777 - ref: *778 + enterprise: *777 + installation: *778 + organization: *779 + pusher_type: *793 + ref: *794 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *764 + repository: *780 sender: *4 required: - ref @@ -120064,11 +120141,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120152,11 +120229,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120240,11 +120317,11 @@ x-webhooks: type: string enum: - created - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120326,11 +120403,11 @@ x-webhooks: type: string enum: - dismissed - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120412,11 +120489,11 @@ x-webhooks: type: string enum: - fixed - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120499,11 +120576,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120585,11 +120662,11 @@ x-webhooks: type: string enum: - reopened - alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *523 + installation: *778 + organization: *779 + enterprise: *777 + repository: *780 sender: *4 required: - action @@ -120666,9 +120743,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - key: &779 + enterprise: *777 + installation: *778 + key: &795 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -120704,8 +120781,8 @@ x-webhooks: - verified - created_at - read_only - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -120782,11 +120859,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - key: *779 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + key: *795 + organization: *779 + repository: *780 sender: *4 required: - action @@ -121347,12 +121424,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - workflow: &783 + workflow: &799 title: Workflow type: object nullable: true @@ -122078,13 +122155,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *527 + deployment: *529 pull_requests: type: array - items: *615 - repository: *764 - organization: *763 - installation: *762 + items: *617 + repository: *780 + organization: *779 + installation: *778 sender: *4 responses: '200': @@ -122155,7 +122232,7 @@ x-webhooks: type: string enum: - approved - approver: &780 + approver: &796 type: object properties: avatar_url: @@ -122198,11 +122275,11 @@ x-webhooks: type: string comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: &781 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + reviewers: &797 type: array items: type: object @@ -122281,7 +122358,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &782 + workflow_job_run: &798 type: object properties: conclusion: @@ -123012,18 +123089,18 @@ x-webhooks: type: string enum: - rejected - approver: *780 + approver: *796 comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: *781 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + reviewers: *797 sender: *4 since: type: string - workflow_job_run: *782 + workflow_job_run: *798 workflow_job_runs: type: array items: @@ -123727,13 +123804,13 @@ x-webhooks: type: string enum: - requested - enterprise: *761 + enterprise: *777 environment: type: string - installation: *762 - organization: *763 - repository: *764 - requestor: &788 + installation: *778 + organization: *779 + repository: *780 + requestor: &804 title: User type: object nullable: true @@ -125632,12 +125709,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - workflow: *783 + workflow: *799 workflow_run: title: Deployment Workflow Run type: object @@ -126317,7 +126394,7 @@ x-webhooks: type: string enum: - answered - answer: &786 + answer: &802 type: object properties: author_association: @@ -126474,7 +126551,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &784 + discussion: &800 title: Discussion description: A Discussion in a repository. type: object @@ -126760,7 +126837,7 @@ x-webhooks: - id labels: type: array - items: *577 + items: *579 required: - repository_url - category @@ -126782,10 +126859,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -126912,11 +126989,11 @@ x-webhooks: - from required: - category - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -126999,11 +127076,11 @@ x-webhooks: type: string enum: - closed - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127085,7 +127162,7 @@ x-webhooks: type: string enum: - created - comment: &785 + comment: &801 type: object properties: author_association: @@ -127242,11 +127319,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127329,12 +127406,12 @@ x-webhooks: type: string enum: - deleted - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *801 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127429,12 +127506,12 @@ x-webhooks: - from required: - body - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *801 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127518,11 +127595,11 @@ x-webhooks: type: string enum: - created - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127604,11 +127681,11 @@ x-webhooks: type: string enum: - deleted - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127708,11 +127785,11 @@ x-webhooks: type: string required: - from - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127794,10 +127871,10 @@ x-webhooks: type: string enum: - labeled - discussion: *784 - enterprise: *761 - installation: *762 - label: &787 + discussion: *800 + enterprise: *777 + installation: *778 + label: &803 title: Label type: object properties: @@ -127829,8 +127906,8 @@ x-webhooks: - color - default - description - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127913,11 +127990,11 @@ x-webhooks: type: string enum: - locked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -127999,11 +128076,11 @@ x-webhooks: type: string enum: - pinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128085,11 +128162,11 @@ x-webhooks: type: string enum: - reopened - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128174,16 +128251,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *784 - new_repository: *764 + new_discussion: *800 + new_repository: *780 required: - new_discussion - new_repository - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128266,10 +128343,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *784 - old_answer: *786 - organization: *763 - repository: *764 + discussion: *800 + old_answer: *802 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128351,12 +128428,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *784 - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128439,11 +128516,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128525,11 +128602,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *800 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -128601,7 +128678,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128667,7 +128744,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *788 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128733,7 +128810,7 @@ x-webhooks: required: true content: application/json: - schema: *768 + schema: *784 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128799,7 +128876,7 @@ x-webhooks: required: true content: application/json: - schema: *769 + schema: *785 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128865,7 +128942,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128931,7 +129008,7 @@ x-webhooks: required: true content: application/json: - schema: *771 + schema: *787 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128997,7 +129074,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *788 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129064,7 +129141,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *761 + enterprise: *777 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -129724,9 +129801,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - forkee @@ -129872,9 +129949,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pages: description: The pages that were updated. type: array @@ -129911,7 +129988,7 @@ x-webhooks: - action - sha - html_url - repository: *764 + repository: *780 sender: *4 required: - pages @@ -129987,10 +130064,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories: &789 + organization: *779 + repositories: &805 description: An array of repository objects that the installation can access. type: array @@ -130016,8 +130093,8 @@ x-webhooks: - name - full_name - private - repository: *764 - requester: *788 + repository: *780 + requester: *804 sender: *4 required: - action @@ -130092,11 +130169,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *779 + repositories: *805 + repository: *780 requester: nullable: true sender: *4 @@ -130172,11 +130249,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *779 + repositories: *805 + repository: *780 requester: nullable: true sender: *4 @@ -130252,10 +130329,10 @@ x-webhooks: type: string enum: - added - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories_added: &790 + organization: *779 + repositories_added: &806 description: An array of repository objects, which were added to the installation. type: array @@ -130301,15 +130378,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *764 - repository_selection: &791 + repository: *780 + repository_selection: &807 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *788 + requester: *804 sender: *4 required: - action @@ -130388,10 +130465,10 @@ x-webhooks: type: string enum: - removed - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories_added: *790 + organization: *779 + repositories_added: *806 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -130418,9 +130495,9 @@ x-webhooks: - name - full_name - private - repository: *764 - repository_selection: *791 - requester: *788 + repository: *780 + repository_selection: *807 + requester: *804 sender: *4 required: - action @@ -130499,11 +130576,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *779 + repositories: *805 + repository: *780 requester: nullable: true sender: *4 @@ -130682,10 +130759,10 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 target_type: type: string @@ -130764,11 +130841,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *761 + enterprise: *777 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *779 + repositories: *805 + repository: *780 requester: nullable: true sender: *4 @@ -131020,8 +131097,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131844,7 +131921,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -132177,8 +132254,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -132258,7 +132335,7 @@ x-webhooks: type: string enum: - deleted - comment: &792 + comment: &808 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -132423,8 +132500,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133243,7 +133320,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -133578,8 +133655,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -133659,7 +133736,7 @@ x-webhooks: type: string enum: - edited - changes: &820 + changes: &836 description: The changes to the comment. type: object properties: @@ -133671,9 +133748,9 @@ x-webhooks: type: string required: - from - comment: *792 - enterprise: *761 - installation: *762 + comment: *808 + enterprise: *777 + installation: *778 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134495,7 +134572,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -134828,8 +134905,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -134911,10 +134988,10 @@ x-webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - issue: &795 + assignee: *804 + enterprise: *777 + installation: *778 + issue: &811 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -135732,7 +135809,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -135833,8 +135910,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -135914,8 +135991,8 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136738,7 +136815,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -136974,8 +137051,8 @@ x-webhooks: required: - state - closed_at - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -137054,8 +137131,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137869,7 +137946,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -137969,8 +138046,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -138049,8 +138126,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138886,7 +138963,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -138965,7 +139042,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &809 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139103,8 +139180,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -139203,8 +139280,8 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140019,7 +140096,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *289 + type: *291 title: description: Title of the issue type: string @@ -140123,9 +140200,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -140205,8 +140282,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141020,7 +141097,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *289 + type: *291 title: description: Title of the issue type: string @@ -141124,9 +141201,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -141206,8 +141283,8 @@ x-webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142045,7 +142122,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *289 + type: *291 title: description: Title of the issue type: string @@ -142126,8 +142203,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -142206,8 +142283,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143042,7 +143119,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -143120,9 +143197,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *763 - repository: *764 + milestone: *809 + organization: *779 + repository: *780 sender: *4 required: - action @@ -144096,7 +144173,7 @@ x-webhooks: required: - login - id - type: *289 + type: *291 required: - id - number @@ -144565,8 +144642,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145384,7 +145461,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -145484,8 +145561,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -145565,9 +145642,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *761 - installation: *762 - issue: &794 + enterprise: *777 + installation: *778 + issue: &810 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146379,7 +146456,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -146479,8 +146556,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -146559,8 +146636,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147477,9 +147554,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *289 - organization: *763 - repository: *764 + type: *291 + organization: *779 + repository: *780 sender: *4 required: - action @@ -148374,7 +148451,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -148942,11 +149019,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *810 + organization: *779 + repository: *780 sender: *4 required: - action @@ -149026,12 +149103,12 @@ x-webhooks: type: string enum: - typed - enterprise: *761 - installation: *762 - issue: *795 - type: *289 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *811 + type: *291 + organization: *779 + repository: *780 sender: *4 required: - action @@ -149112,7 +149189,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &823 + assignee: &839 title: User type: object nullable: true @@ -149182,11 +149259,11 @@ x-webhooks: required: - login - id - enterprise: *761 - installation: *762 - issue: *795 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *811 + organization: *779 + repository: *780 sender: *4 required: - action @@ -149265,12 +149342,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - issue: *795 - label: *787 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *811 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -149350,8 +149427,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150190,7 +150267,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *289 + type: *291 updated_at: type: string format: date-time @@ -150268,8 +150345,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150349,11 +150426,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *810 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150432,12 +150509,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *761 - installation: *762 - issue: *795 - type: *289 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + issue: *811 + type: *291 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150517,11 +150594,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150599,11 +150676,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150713,11 +150790,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + label: *803 + organization: *779 + repository: *780 sender: *4 required: - action @@ -150799,9 +150876,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: &796 + enterprise: *777 + installation: *778 + marketplace_purchase: &812 title: Marketplace Purchase type: object required: @@ -150884,8 +150961,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: &797 + organization: *779 + previous_marketplace_purchase: &813 title: Marketplace Purchase type: object properties: @@ -150965,7 +151042,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *780 sender: *4 required: - action @@ -151045,10 +151122,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *777 + installation: *778 + marketplace_purchase: *812 + organization: *779 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151131,7 +151208,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *780 sender: *4 required: - action @@ -151213,10 +151290,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *777 + installation: *778 + marketplace_purchase: *812 + organization: *779 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151298,7 +151375,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *780 sender: *4 required: - action @@ -151379,8 +151456,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 marketplace_purchase: title: Marketplace Purchase type: object @@ -151462,9 +151539,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + organization: *779 + previous_marketplace_purchase: *813 + repository: *780 sender: *4 required: - action @@ -151544,12 +151621,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + enterprise: *777 + installation: *778 + marketplace_purchase: *812 + organization: *779 + previous_marketplace_purchase: *813 + repository: *780 sender: *4 required: - action @@ -151651,11 +151728,11 @@ x-webhooks: type: string required: - to - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + member: *804 + organization: *779 + repository: *780 sender: *4 required: - action @@ -151755,11 +151832,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + member: *804 + organization: *779 + repository: *780 sender: *4 required: - action @@ -151838,11 +151915,11 @@ x-webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + member: *804 + organization: *779 + repository: *780 sender: *4 required: - action @@ -151920,11 +151997,11 @@ x-webhooks: type: string enum: - added - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + member: *804 + organization: *779 + repository: *780 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152000,7 +152077,7 @@ x-webhooks: required: - login - id - team: &798 + team: &814 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152190,11 +152267,11 @@ x-webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + member: *804 + organization: *779 + repository: *780 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152271,7 +152348,7 @@ x-webhooks: required: - login - id - team: *798 + team: *814 required: - action - scope @@ -152353,8 +152430,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *762 - merge_group: &800 + installation: *778 + merge_group: &816 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -152373,15 +152450,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *799 + head_commit: *815 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -152467,10 +152544,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *762 - merge_group: *800 - organization: *763 - repository: *764 + installation: *778 + merge_group: *816 + organization: *779 + repository: *780 sender: *4 required: - action @@ -152543,7 +152620,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *777 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -152651,16 +152728,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *762 - organization: *763 + installation: *778 + organization: *779 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: *801 - required: *802 + properties: *817 + required: *818 nullable: true sender: *4 required: @@ -152741,11 +152818,11 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + milestone: *809 + organization: *779 + repository: *780 sender: *4 required: - action @@ -152824,9 +152901,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - milestone: &803 + enterprise: *777 + installation: *778 + milestone: &819 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152963,8 +153040,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153043,11 +153120,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + milestone: *809 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153157,11 +153234,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + milestone: *809 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153241,11 +153318,11 @@ x-webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - milestone: *803 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + milestone: *819 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153324,11 +153401,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *804 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153407,11 +153484,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *804 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153490,9 +153567,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - membership: &804 + enterprise: *777 + installation: *778 + membership: &820 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -153584,8 +153661,8 @@ x-webhooks: - role - organization_url - user - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153663,11 +153740,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + membership: *820 + organization: *779 + repository: *780 sender: *4 required: - action @@ -153746,8 +153823,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -153863,10 +153940,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 - user: *788 + user: *804 required: - action - invitation @@ -153944,11 +154021,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + membership: *820 + organization: *779 + repository: *780 sender: *4 required: - action @@ -154035,11 +154112,11 @@ x-webhooks: properties: from: type: string - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + membership: *820 + organization: *779 + repository: *780 sender: *4 required: - action @@ -154115,9 +154192,9 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 package: description: Information about the package. type: object @@ -154616,7 +154693,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &805 + items: &821 title: Ruby Gems metadata type: object properties: @@ -154711,7 +154788,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *780 sender: *4 required: - action @@ -154787,9 +154864,9 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 package: description: Information about the package. type: object @@ -155142,7 +155219,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *821 source_url: type: string format: uri @@ -155212,7 +155289,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *780 sender: *4 required: - action @@ -155389,12 +155466,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *761 + enterprise: *777 id: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - id @@ -155471,7 +155548,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &806 + personal_access_token_request: &822 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -155617,10 +155694,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *761 - organization: *763 + enterprise: *777 + organization: *779 sender: *4 - installation: *762 + installation: *778 required: - action - personal_access_token_request @@ -155697,11 +155774,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *806 - enterprise: *761 - organization: *763 + personal_access_token_request: *822 + enterprise: *777 + organization: *779 sender: *4 - installation: *762 + installation: *778 required: - action - personal_access_token_request @@ -155777,11 +155854,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *806 - enterprise: *761 - organization: *763 + personal_access_token_request: *822 + enterprise: *777 + organization: *779 sender: *4 - installation: *762 + installation: *778 required: - action - personal_access_token_request @@ -155856,11 +155933,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *806 - organization: *763 - enterprise: *761 + personal_access_token_request: *822 + organization: *779 + enterprise: *777 sender: *4 - installation: *762 + installation: *778 required: - action - personal_access_token_request @@ -155965,7 +156042,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *807 + last_response: *823 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -155997,8 +156074,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 zen: description: Random string of GitHub zen. @@ -156243,10 +156320,10 @@ x-webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: &808 + enterprise: *777 + installation: *778 + organization: *779 + project_card: &824 title: Project Card type: object properties: @@ -156365,7 +156442,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *780 sender: *4 required: - action @@ -156446,11 +156523,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_card: *808 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project_card: *824 + repository: *780 sender: *4 required: - action @@ -156530,9 +156607,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 project_card: title: Project Card type: object @@ -156660,8 +156737,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: *801 - required: *802 + properties: *817 + required: *818 nullable: true sender: *4 required: @@ -156755,11 +156832,11 @@ x-webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: *808 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project_card: *824 + repository: *780 sender: *4 required: - action @@ -156853,9 +156930,9 @@ x-webhooks: - from required: - column_id - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 project_card: allOf: - title: Project Card @@ -157045,7 +157122,7 @@ x-webhooks: type: string required: - after_id - repository: *764 + repository: *780 sender: *4 required: - action @@ -157125,10 +157202,10 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - organization: *763 - project: &810 + enterprise: *777 + installation: *778 + organization: *779 + project: &826 title: Project type: object properties: @@ -157252,7 +157329,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *780 sender: *4 required: - action @@ -157332,10 +157409,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_column: &809 + enterprise: *777 + installation: *778 + organization: *779 + project_column: &825 title: Project Column type: object properties: @@ -157374,7 +157451,7 @@ x-webhooks: - name - created_at - updated_at - repository: *764 + repository: *780 sender: *4 required: - action @@ -157453,18 +157530,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 + enterprise: *777 + installation: *778 + organization: *779 + project_column: *825 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: *801 - required: *802 + properties: *817 + required: *818 nullable: true sender: *4 required: @@ -157554,11 +157631,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project_column: *825 + repository: *780 sender: *4 required: - action @@ -157638,11 +157715,11 @@ x-webhooks: type: string enum: - moved - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project_column: *825 + repository: *780 sender: *4 required: - action @@ -157722,11 +157799,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project: *826 + repository: *780 sender: *4 required: - action @@ -157806,18 +157883,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project: *810 + enterprise: *777 + installation: *778 + organization: *779 + project: *826 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: *801 - required: *802 + properties: *817 + required: *818 nullable: true sender: *4 required: @@ -157919,11 +157996,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project: *826 + repository: *780 sender: *4 required: - action @@ -158002,11 +158079,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + project: *826 + repository: *780 sender: *4 required: - action @@ -158087,9 +158164,9 @@ x-webhooks: type: string enum: - closed - installation: *762 - organization: *763 - projects_v2: &811 + installation: *778 + organization: *779 + projects_v2: &827 title: Projects v2 Project description: A projects v2 project type: object @@ -158232,9 +158309,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2: *811 + installation: *778 + organization: *779 + projects_v2: *827 sender: *4 required: - action @@ -158315,9 +158392,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2: *811 + installation: *778 + organization: *779 + projects_v2: *827 sender: *4 required: - action @@ -158434,9 +158511,9 @@ x-webhooks: type: string to: type: string - installation: *762 - organization: *763 - projects_v2: *811 + installation: *778 + organization: *779 + projects_v2: *827 sender: *4 required: - action @@ -158519,7 +158596,7 @@ x-webhooks: type: string enum: - archived - changes: &815 + changes: &831 type: object properties: archived_at: @@ -158533,9 +158610,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *762 - organization: *763 - projects_v2_item: &812 + installation: *778 + organization: *779 + projects_v2_item: &828 title: Projects v2 Item description: An item belonging to a project type: object @@ -158669,9 +158746,9 @@ x-webhooks: nullable: true to: type: string - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -158753,9 +158830,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -158836,9 +158913,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -158944,7 +159021,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &813 + - &829 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -158962,7 +159039,7 @@ x-webhooks: required: - id - name - - &814 + - &830 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -158985,8 +159062,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *813 - - *814 + - *829 + - *830 required: - field_value - type: object @@ -159002,9 +159079,9 @@ x-webhooks: nullable: true required: - body - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -159099,9 +159176,9 @@ x-webhooks: to: type: string nullable: true - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -159184,10 +159261,10 @@ x-webhooks: type: string enum: - restored - changes: *815 - installation: *762 - organization: *763 - projects_v2_item: *812 + changes: *831 + installation: *778 + organization: *779 + projects_v2_item: *828 sender: *4 required: - action @@ -159269,9 +159346,9 @@ x-webhooks: type: string enum: - reopened - installation: *762 - organization: *763 - projects_v2: *811 + installation: *778 + organization: *779 + projects_v2: *827 sender: *4 required: - action @@ -159352,9 +159429,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_status_update: &816 + installation: *778 + organization: *779 + projects_v2_status_update: &832 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -159481,9 +159558,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_status_update: *816 + installation: *778 + organization: *779 + projects_v2_status_update: *832 sender: *4 required: - action @@ -159619,9 +159696,9 @@ x-webhooks: type: string format: date nullable: true - installation: *762 - organization: *763 - projects_v2_status_update: *816 + installation: *778 + organization: *779 + projects_v2_status_update: *832 sender: *4 required: - action @@ -159692,10 +159769,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - repository @@ -159772,13 +159849,13 @@ x-webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - number: &817 + assignee: *804 + enterprise: *777 + installation: *778 + number: &833 description: The pull request number. type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -162061,7 +162138,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -162143,11 +162220,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -164425,7 +164502,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *780 sender: *4 required: - action @@ -164507,11 +164584,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -166789,7 +166866,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *780 sender: *4 required: - action @@ -166871,13 +166948,13 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: &818 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: &834 allOf: - - *615 + - *617 - type: object properties: allow_auto_merge: @@ -166939,7 +167016,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *764 + repository: *780 sender: *4 required: - action @@ -167020,12 +167097,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: *834 + repository: *780 sender: *4 required: - action @@ -167105,11 +167182,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *761 - milestone: *598 - number: *817 - organization: *763 - pull_request: &819 + enterprise: *777 + milestone: *600 + number: *833 + organization: *779 + pull_request: &835 title: Pull Request type: object properties: @@ -169372,7 +169449,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -169451,11 +169528,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -171737,7 +171814,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *764 + repository: *780 sender: *4 required: - action @@ -171861,12 +171938,12 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: *834 + repository: *780 sender: *4 required: - action @@ -171946,11 +172023,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -174217,7 +174294,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -174297,11 +174374,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 - label: *787 - number: *817 - organization: *763 + enterprise: *777 + installation: *778 + label: *803 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -176583,7 +176660,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -176664,10 +176741,10 @@ x-webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -178947,7 +179024,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -179027,12 +179104,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *761 - milestone: *598 - number: *817 - organization: *763 - pull_request: *819 - repository: *764 + enterprise: *777 + milestone: *600 + number: *833 + organization: *779 + pull_request: *835 + repository: *780 sender: *4 required: - action @@ -179111,12 +179188,12 @@ x-webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: *834 + repository: *780 sender: *4 required: - action @@ -179197,12 +179274,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: *834 + repository: *780 sender: *4 required: - action @@ -179282,12 +179359,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 + pull_request: *834 + repository: *780 sender: *4 required: - action @@ -179653,9 +179730,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: type: object properties: @@ -181825,7 +181902,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *780 sender: *4 required: - action @@ -181905,7 +181982,7 @@ x-webhooks: type: string enum: - deleted - comment: &821 + comment: &837 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -182190,9 +182267,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: type: object properties: @@ -184350,7 +184427,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *780 sender: *4 required: - action @@ -184430,11 +184507,11 @@ x-webhooks: type: string enum: - edited - changes: *820 - comment: *821 - enterprise: *761 - installation: *762 - organization: *763 + changes: *836 + comment: *837 + enterprise: *777 + installation: *778 + organization: *779 pull_request: type: object properties: @@ -186595,7 +186672,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *780 sender: *4 required: - action @@ -186676,9 +186753,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: title: Simple Pull Request type: object @@ -188851,7 +188928,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *780 review: description: The review that was affected. type: object @@ -189094,9 +189171,9 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: title: Simple Pull Request type: object @@ -191150,8 +191227,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: &822 + repository: *780 + review: &838 description: The review that was affected. type: object properties: @@ -191380,12 +191457,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: description: The pull request number. type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -193668,7 +193745,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 requested_reviewer: title: User type: object @@ -193752,12 +193829,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: description: The pull request number. type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -196047,7 +196124,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196239,12 +196316,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: description: The pull request number. type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -198529,7 +198606,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 requested_reviewer: title: User type: object @@ -198614,12 +198691,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *777 + installation: *778 number: description: The pull request number. type: integer - organization: *763 + organization: *779 pull_request: title: Pull Request type: object @@ -200895,7 +200972,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201076,9 +201153,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: title: Simple Pull Request type: object @@ -203253,8 +203330,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: *822 + repository: *780 + review: *838 sender: *4 required: - action @@ -203334,9 +203411,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: title: Simple Pull Request type: object @@ -205406,7 +205483,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *780 sender: *4 thread: type: object @@ -205789,9 +205866,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 pull_request: title: Simple Pull Request type: object @@ -207847,7 +207924,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *780 sender: *4 thread: type: object @@ -208233,10 +208310,10 @@ x-webhooks: type: string before: type: string - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -210507,7 +210584,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -210589,11 +210666,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *823 - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + assignee: *839 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -212876,7 +212953,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -212955,11 +213032,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - label: *787 - number: *817 - organization: *763 + enterprise: *777 + installation: *778 + label: *803 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -215232,7 +215309,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -215313,10 +215390,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *777 + installation: *778 + number: *833 + organization: *779 pull_request: title: Pull Request type: object @@ -217581,7 +217658,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *780 sender: *4 required: - action @@ -217781,7 +217858,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *761 + enterprise: *777 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -217873,8 +217950,8 @@ x-webhooks: - url - author - committer - installation: *762 - organization: *763 + installation: *778 + organization: *779 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -218449,9 +218526,9 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 registry_package: type: object properties: @@ -218897,7 +218974,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *805 + items: *821 summary: type: string tag_name: @@ -218951,7 +219028,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *780 sender: *4 required: - action @@ -219029,9 +219106,9 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 registry_package: type: object properties: @@ -219339,7 +219416,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *821 summary: type: string tag_name: @@ -219388,7 +219465,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *780 sender: *4 required: - action @@ -219465,10 +219542,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - release: &824 + enterprise: *777 + installation: *778 + organization: *779 + release: &840 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219777,7 +219854,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *764 + repository: *780 sender: *4 required: - action @@ -219854,11 +219931,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + release: *840 + repository: *780 sender: *4 required: - action @@ -219975,11 +220052,11 @@ x-webhooks: type: boolean required: - to - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + release: *840 + repository: *780 sender: *4 required: - action @@ -220057,9 +220134,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -220372,7 +220449,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *780 sender: *4 required: - action @@ -220448,10 +220525,10 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - release: &825 + enterprise: *777 + installation: *778 + organization: *779 + release: &841 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -220761,7 +220838,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *780 sender: *4 required: - action @@ -220837,11 +220914,11 @@ x-webhooks: type: string enum: - released - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + release: *840 + repository: *780 sender: *4 required: - action @@ -220917,11 +220994,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *761 - installation: *762 - organization: *763 - release: *825 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + release: *841 + repository: *780 sender: *4 required: - action @@ -220997,11 +221074,11 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *672 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + repository_advisory: *688 sender: *4 required: - action @@ -221077,11 +221154,11 @@ x-webhooks: type: string enum: - reported - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *672 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + repository_advisory: *688 sender: *4 required: - action @@ -221157,10 +221234,10 @@ x-webhooks: type: string enum: - archived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221237,10 +221314,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221318,10 +221395,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221405,10 +221482,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221520,10 +221597,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221595,10 +221672,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 status: type: string @@ -221679,10 +221756,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221759,10 +221836,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221856,10 +221933,10 @@ x-webhooks: - name required: - repository - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -221939,10 +222016,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 repository_ruleset: *130 sender: *4 required: @@ -222021,10 +222098,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 repository_ruleset: *130 sender: *4 required: @@ -222103,10 +222180,10 @@ x-webhooks: type: string enum: - edited - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 repository_ruleset: *130 changes: type: object @@ -222411,10 +222488,10 @@ x-webhooks: - from required: - owner - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -222492,10 +222569,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -222573,7 +222650,7 @@ x-webhooks: type: string enum: - create - alert: &826 + alert: &842 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -222694,10 +222771,10 @@ x-webhooks: type: string enum: - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -222903,10 +222980,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -222984,11 +223061,11 @@ x-webhooks: type: string enum: - reopen - alert: *826 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *842 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223187,10 +223264,10 @@ x-webhooks: enum: - fixed - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223268,7 +223345,7 @@ x-webhooks: type: string enum: - created - alert: &827 + alert: &843 type: object properties: number: *100 @@ -223379,10 +223456,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223463,11 +223540,11 @@ x-webhooks: type: string enum: - created - alert: *827 - installation: *762 - location: *828 - organization: *763 - repository: *764 + alert: *843 + installation: *778 + location: *844 + organization: *779 + repository: *780 sender: *4 required: - location @@ -223705,11 +223782,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *843 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223787,11 +223864,11 @@ x-webhooks: type: string enum: - reopened - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *843 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223869,11 +223946,11 @@ x-webhooks: type: string enum: - resolved - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *843 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -223951,11 +224028,11 @@ x-webhooks: type: string enum: - validated - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *843 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -224081,10 +224158,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *764 - enterprise: *761 - installation: *762 - organization: *763 + repository: *780 + enterprise: *777 + installation: *778 + organization: *779 sender: *4 required: - action @@ -224162,11 +224239,11 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: &829 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + security_advisory: &845 description: The details of the security advisory, including summary, description, and severity. type: object @@ -224349,11 +224426,11 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: *829 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 + security_advisory: *845 sender: *4 required: - action @@ -224426,10 +224503,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -224613,11 +224690,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *328 - enterprise: *761 - installation: *762 - organization: *763 - repository: *392 + security_and_analysis: *330 + enterprise: *777 + installation: *778 + organization: *779 + repository: *394 sender: *4 required: - changes @@ -224695,12 +224772,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: &830 + sponsorship: &846 type: object properties: created_at: @@ -225001,12 +225078,12 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: *830 + sponsorship: *846 required: - action - sponsorship @@ -225094,12 +225171,12 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: *830 + sponsorship: *846 required: - action - changes @@ -225176,17 +225253,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &831 + effective_date: &847 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: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: *830 + sponsorship: *846 required: - action - sponsorship @@ -225260,7 +225337,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &832 + changes: &848 type: object properties: tier: @@ -225304,13 +225381,13 @@ x-webhooks: - from required: - tier - effective_date: *831 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + effective_date: *847 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: *830 + sponsorship: *846 required: - action - changes @@ -225387,13 +225464,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *832 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + changes: *848 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - sponsorship: *830 + sponsorship: *846 required: - action - changes @@ -225467,10 +225544,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225553,10 +225630,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225976,15 +226053,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *761 + enterprise: *777 id: description: The unique identifier of the status. type: integer - installation: *762 + installation: *778 name: type: string - organization: *763 - repository: *764 + organization: *779 + repository: *780 sender: *4 sha: description: The Commit SHA. @@ -226099,9 +226176,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -226191,9 +226268,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -226283,9 +226360,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -226375,9 +226452,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -226454,12 +226531,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - team: &833 + team: &849 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -226649,9 +226726,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 repository: title: Repository description: A git repository @@ -227109,7 +227186,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *849 required: - action - team @@ -227185,9 +227262,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 repository: title: Repository description: A git repository @@ -227645,7 +227722,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *849 required: - action - team @@ -227722,9 +227799,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 repository: title: Repository description: A git repository @@ -228182,7 +228259,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *849 required: - action - team @@ -228326,9 +228403,9 @@ x-webhooks: - from required: - permissions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 repository: title: Repository description: A git repository @@ -228786,7 +228863,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *849 required: - action - changes @@ -228864,9 +228941,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *777 + installation: *778 + organization: *779 repository: title: Repository description: A git repository @@ -229324,7 +229401,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *849 required: - action - team @@ -229400,10 +229477,10 @@ x-webhooks: type: string enum: - started - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 required: - action @@ -229476,16 +229553,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *761 + enterprise: *777 inputs: type: object nullable: true additionalProperties: true - installation: *762 - organization: *763 + installation: *778 + organization: *779 ref: type: string - repository: *764 + repository: *780 sender: *4 workflow: type: string @@ -229567,10 +229644,10 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 workflow_job: allOf: @@ -229807,7 +229884,7 @@ x-webhooks: type: string required: - conclusion - deployment: *527 + deployment: *529 required: - action - repository @@ -229886,10 +229963,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 workflow_job: allOf: @@ -230149,7 +230226,7 @@ x-webhooks: required: - status - steps - deployment: *527 + deployment: *529 required: - action - repository @@ -230228,10 +230305,10 @@ x-webhooks: type: string enum: - queued - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 workflow_job: type: object @@ -230366,7 +230443,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *527 + deployment: *529 required: - action - repository @@ -230445,10 +230522,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 workflow_job: type: object @@ -230584,7 +230661,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *527 + deployment: *529 required: - action - repository @@ -230664,12 +230741,12 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - workflow: *783 + workflow: *799 workflow_run: title: Workflow Run type: object @@ -231668,12 +231745,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - workflow: *783 + workflow: *799 workflow_run: title: Workflow Run type: object @@ -232657,12 +232734,12 @@ x-webhooks: type: string enum: - requested - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *777 + installation: *778 + organization: *779 + repository: *780 sender: *4 - workflow: *783 + workflow: *799 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 7429af9cf7..dd3f4ca27b 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -12080,6 +12080,29 @@ "parameters": [ { "$ref": "#/components/parameters/org" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -12134,7 +12157,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -113450,6 +113473,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -113461,6 +113487,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -113492,7 +113522,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -116051,6 +116080,330 @@ "used_in_tests" ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -116165,6 +116518,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -119449,6 +119809,305 @@ "updated_at" ] }, + "nullable-simple-repository": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "nullable": true + }, "dependabot-repository-access-details": { "title": "Dependabot Repository Access Details", "description": "Information about repositories that Dependabot is able to access in an organization", @@ -119467,7 +120126,7 @@ "accessible_repositories": { "type": "array", "items": { - "$ref": "#/components/schemas/simple-repository" + "$ref": "#/components/schemas/nullable-simple-repository" } } }, @@ -139566,6 +140225,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -139574,285 +140240,6 @@ "type": "string", "nullable": true }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "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.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "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.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "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.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "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.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index bfc6f64a56..ca031294c8 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -8575,6 +8575,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - "$ref": "#/components/parameters/org" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -8615,7 +8632,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -82504,6 +82521,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -82512,6 +82531,9 @@ components: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -82536,7 +82558,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -84528,6 +84549,264 @@ components: - wont_fix - revoked - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true organization-secret-scanning-alert: type: object properties: @@ -84621,6 +84900,12 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. actions-billing-usage: type: object properties: @@ -87110,6 +87395,279 @@ components: - organization - created_at - updated_at + nullable-simple-repository: + title: Simple Repository + description: A GitHub repository. + type: object + properties: + id: + type: integer + format: int64 + example: 1296269 + description: A unique identifier of the repository. + node_id: + type: string + example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + description: The GraphQL identifier of the repository. + name: + type: string + example: Hello-World + description: The name of the repository. + full_name: + type: string + example: octocat/Hello-World + description: The full, globally unique, name of the repository. + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + description: Whether the repository is private. + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World + description: The URL to view the repository on GitHub.com. + description: + type: string + example: This your first repo! + nullable: true + description: The repository description. + fork: + type: boolean + description: Whether the repository is a fork. + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World + description: The URL to get more information about the repository from the + GitHub API. + archive_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + description: A template for the API URL to download the repository as an + archive. + assignees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + description: A template for the API URL to list the available assignees + for issues in the repository. + blobs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + description: A template for the API URL to create or retrieve a raw Git + blob in the repository. + branches_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + description: A template for the API URL to get information about branches + in the repository. + collaborators_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + description: A template for the API URL to get information about collaborators + of the repository. + comments_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/comments{/number} + description: A template for the API URL to get information about comments + on the repository. + commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + description: A template for the API URL to get information about commits + on the repository. + compare_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + description: A template for the API URL to compare two commits or refs. + contents_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + description: A template for the API URL to get the contents of the repository. + contributors_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/contributors + description: A template for the API URL to list the contributors to the + repository. + deployments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/deployments + description: The API URL to list the deployments of the repository. + downloads_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/downloads + description: The API URL to list the downloads on the repository. + events_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/events + description: The API URL to list the events of the repository. + forks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/forks + description: The API URL to list the forks of the repository. + git_commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + description: A template for the API URL to get information about Git commits + of the repository. + git_refs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + description: A template for the API URL to get information about Git refs + of the repository. + git_tags_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + description: A template for the API URL to get information about Git tags + of the repository. + issue_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + description: A template for the API URL to get information about issue comments + on the repository. + issue_events_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + description: A template for the API URL to get information about issue events + on the repository. + issues_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues{/number} + description: A template for the API URL to get information about issues + on the repository. + keys_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + description: A template for the API URL to get information about deploy + keys on the repository. + labels_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/labels{/name} + description: A template for the API URL to get information about labels + of the repository. + languages_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/languages + description: The API URL to get information about the languages of the repository. + merges_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/merges + description: The API URL to merge branches in the repository. + milestones_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + description: A template for the API URL to get information about milestones + of the repository. + notifications_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + description: A template for the API URL to get information about notifications + on the repository. + pulls_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + description: A template for the API URL to get information about pull requests + on the repository. + releases_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/releases{/id} + description: A template for the API URL to get information about releases + on the repository. + stargazers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/stargazers + description: The API URL to list the stargazers on the repository. + statuses_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + description: A template for the API URL to get information about statuses + of a commit. + subscribers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscribers + description: The API URL to list the subscribers on the repository. + subscription_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscription + description: The API URL to subscribe to notifications for this repository. + tags_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/tags + description: The API URL to get information about tags on the repository. + teams_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/teams + description: The API URL to list the teams on the repository. + trees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + description: A template for the API URL to create or retrieve a raw Git + tree of the repository. + hooks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/hooks + description: The API URL to list the hooks on the repository. + required: + - archive_url + - assignees_url + - blobs_url + - branches_url + - collaborators_url + - comments_url + - commits_url + - compare_url + - contents_url + - contributors_url + - deployments_url + - description + - downloads_url + - events_url + - fork + - forks_url + - full_name + - git_commits_url + - git_refs_url + - git_tags_url + - hooks_url + - html_url + - id + - node_id + - issue_comment_url + - issue_events_url + - issues_url + - keys_url + - labels_url + - languages_url + - merges_url + - milestones_url + - name + - notifications_url + - owner + - private + - pulls_url + - releases_url + - stargazers_url + - statuses_url + - subscribers_url + - subscription_url + - tags_url + - teams_url + - trees_url + - url + nullable: true dependabot-repository-access-details: title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access @@ -87127,7 +87685,7 @@ components: accessible_repositories: type: array items: - "$ref": "#/components/schemas/simple-repository" + "$ref": "#/components/schemas/nullable-simple-repository" additionalProperties: false organization-full: title: Organization Full @@ -102731,249 +103289,17 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: string nullable: true - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 7429af9cf7..dd3f4ca27b 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -12080,6 +12080,29 @@ "parameters": [ { "$ref": "#/components/parameters/org" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -12134,7 +12157,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -113450,6 +113473,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -113461,6 +113487,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -113492,7 +113522,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -116051,6 +116080,330 @@ "used_in_tests" ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "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.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "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.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "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.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "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.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "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.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -116165,6 +116518,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -119449,6 +119809,305 @@ "updated_at" ] }, + "nullable-simple-repository": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ], + "nullable": true + }, "dependabot-repository-access-details": { "title": "Dependabot Repository Access Details", "description": "Information about repositories that Dependabot is able to access in an organization", @@ -119467,7 +120126,7 @@ "accessible_repositories": { "type": "array", "items": { - "$ref": "#/components/schemas/simple-repository" + "$ref": "#/components/schemas/nullable-simple-repository" } } }, @@ -139566,6 +140225,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -139574,285 +140240,6 @@ "type": "string", "nullable": true }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "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.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "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.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "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.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "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.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "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.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index bfc6f64a56..ca031294c8 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -8575,6 +8575,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - "$ref": "#/components/parameters/org" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -8615,7 +8632,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -82504,6 +82521,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -82512,6 +82531,9 @@ components: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -82536,7 +82558,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -84528,6 +84549,264 @@ components: - wont_fix - revoked - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + 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. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + 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. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + 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. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + 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. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + 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. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + 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. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true organization-secret-scanning-alert: type: object properties: @@ -84621,6 +84900,12 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. actions-billing-usage: type: object properties: @@ -87110,6 +87395,279 @@ components: - organization - created_at - updated_at + nullable-simple-repository: + title: Simple Repository + description: A GitHub repository. + type: object + properties: + id: + type: integer + format: int64 + example: 1296269 + description: A unique identifier of the repository. + node_id: + type: string + example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + description: The GraphQL identifier of the repository. + name: + type: string + example: Hello-World + description: The name of the repository. + full_name: + type: string + example: octocat/Hello-World + description: The full, globally unique, name of the repository. + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + description: Whether the repository is private. + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World + description: The URL to view the repository on GitHub.com. + description: + type: string + example: This your first repo! + nullable: true + description: The repository description. + fork: + type: boolean + description: Whether the repository is a fork. + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World + description: The URL to get more information about the repository from the + GitHub API. + archive_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + description: A template for the API URL to download the repository as an + archive. + assignees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + description: A template for the API URL to list the available assignees + for issues in the repository. + blobs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + description: A template for the API URL to create or retrieve a raw Git + blob in the repository. + branches_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + description: A template for the API URL to get information about branches + in the repository. + collaborators_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + description: A template for the API URL to get information about collaborators + of the repository. + comments_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/comments{/number} + description: A template for the API URL to get information about comments + on the repository. + commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + description: A template for the API URL to get information about commits + on the repository. + compare_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + description: A template for the API URL to compare two commits or refs. + contents_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + description: A template for the API URL to get the contents of the repository. + contributors_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/contributors + description: A template for the API URL to list the contributors to the + repository. + deployments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/deployments + description: The API URL to list the deployments of the repository. + downloads_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/downloads + description: The API URL to list the downloads on the repository. + events_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/events + description: The API URL to list the events of the repository. + forks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/forks + description: The API URL to list the forks of the repository. + git_commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + description: A template for the API URL to get information about Git commits + of the repository. + git_refs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + description: A template for the API URL to get information about Git refs + of the repository. + git_tags_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + description: A template for the API URL to get information about Git tags + of the repository. + issue_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + description: A template for the API URL to get information about issue comments + on the repository. + issue_events_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + description: A template for the API URL to get information about issue events + on the repository. + issues_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues{/number} + description: A template for the API URL to get information about issues + on the repository. + keys_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + description: A template for the API URL to get information about deploy + keys on the repository. + labels_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/labels{/name} + description: A template for the API URL to get information about labels + of the repository. + languages_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/languages + description: The API URL to get information about the languages of the repository. + merges_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/merges + description: The API URL to merge branches in the repository. + milestones_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + description: A template for the API URL to get information about milestones + of the repository. + notifications_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + description: A template for the API URL to get information about notifications + on the repository. + pulls_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + description: A template for the API URL to get information about pull requests + on the repository. + releases_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/releases{/id} + description: A template for the API URL to get information about releases + on the repository. + stargazers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/stargazers + description: The API URL to list the stargazers on the repository. + statuses_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + description: A template for the API URL to get information about statuses + of a commit. + subscribers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscribers + description: The API URL to list the subscribers on the repository. + subscription_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscription + description: The API URL to subscribe to notifications for this repository. + tags_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/tags + description: The API URL to get information about tags on the repository. + teams_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/teams + description: The API URL to list the teams on the repository. + trees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + description: A template for the API URL to create or retrieve a raw Git + tree of the repository. + hooks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/hooks + description: The API URL to list the hooks on the repository. + required: + - archive_url + - assignees_url + - blobs_url + - branches_url + - collaborators_url + - comments_url + - commits_url + - compare_url + - contents_url + - contributors_url + - deployments_url + - description + - downloads_url + - events_url + - fork + - forks_url + - full_name + - git_commits_url + - git_refs_url + - git_tags_url + - hooks_url + - html_url + - id + - node_id + - issue_comment_url + - issue_events_url + - issues_url + - keys_url + - labels_url + - languages_url + - merges_url + - milestones_url + - name + - notifications_url + - owner + - private + - pulls_url + - releases_url + - stargazers_url + - statuses_url + - subscribers_url + - subscription_url + - tags_url + - teams_url + - trees_url + - url + nullable: true dependabot-repository-access-details: title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access @@ -87127,7 +87685,7 @@ components: accessible_repositories: type: array items: - "$ref": "#/components/schemas/simple-repository" + "$ref": "#/components/schemas/nullable-simple-repository" additionalProperties: false organization-full: title: Organization Full @@ -102731,249 +103289,17 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: string nullable: true - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - 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. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - 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. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - 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. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - 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. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - 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. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - 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. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: