diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 4fffde0207..bf25c73b14 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -6402,7 +6402,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -100539,6 +100539,367 @@ null ] }, + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "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" + } + ] + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -100701,6 +101062,16 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] } } }, @@ -106723,6 +107094,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -106736,6 +107110,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -106777,7 +107157,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -128689,6 +129068,16 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] } } }, @@ -128699,323 +129088,6 @@ "null" ] }, - "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", - "examples": [ - "/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", - "examples": [ - "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", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 7b47862f62..208a84cc29 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -4521,7 +4521,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -72881,6 +72881,282 @@ components: - 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 + examples: + - "/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 + examples: + - 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 + examples: + - 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 + examples: + - "/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 + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + 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" organization-secret-scanning-alert: type: object properties: @@ -72992,6 +73268,10 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" actor: title: Actor description: Actor @@ -77446,6 +77726,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -77455,6 +77737,10 @@ components: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -77484,7 +77770,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -93267,269 +93552,16 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: - string - 'null' - 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 - examples: - - "/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 - examples: - - 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 - examples: - - 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 - examples: - - "/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 - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 4fffde0207..bf25c73b14 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -6402,7 +6402,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -100539,6 +100539,367 @@ null ] }, + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "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" + } + ] + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -100701,6 +101062,16 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] } } }, @@ -106723,6 +107094,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -106736,6 +107110,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -106777,7 +107157,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -128689,6 +129068,16 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] } } }, @@ -128699,323 +129088,6 @@ "null" ] }, - "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", - "examples": [ - "/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", - "examples": [ - "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", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 7b47862f62..208a84cc29 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -4521,7 +4521,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -72881,6 +72881,282 @@ components: - 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 + examples: + - "/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 + examples: + - 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 + examples: + - 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 + examples: + - "/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 + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + 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" organization-secret-scanning-alert: type: object properties: @@ -72992,6 +73268,10 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" actor: title: Actor description: Actor @@ -77446,6 +77726,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -77455,6 +77737,10 @@ components: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -77484,7 +77770,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -93267,269 +93552,16 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: - string - 'null' - 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 - examples: - - "/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 - examples: - - 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 - examples: - - 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 - examples: - - "/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 - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 54765577be..cfc5473e48 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -25684,6 +25684,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -58795,7 +59124,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -90749,6 +91078,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -90762,6 +91094,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -90803,7 +91141,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -118702,6 +119039,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -118715,6 +119055,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -118756,7 +119102,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -157368,6 +157713,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -494590,6 +495264,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -495485,6 +496488,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, @@ -496338,6 +497670,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index d3b8a4496f..3de292c1aa 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1067,7 +1067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &564 + - &578 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9894,6 +9894,300 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &558 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &560 + 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 + examples: + - "/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 + examples: + - 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 + examples: + - 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 + - &561 + 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 + examples: + - "/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 + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - 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 + - &562 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &563 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &564 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &565 + 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. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &566 + 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. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &567 + 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. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &568 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &569 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &570 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &571 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &572 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url examples: default: &245 value: @@ -11240,7 +11534,7 @@ paths: url: type: string format: uri - user: &587 + user: &601 title: Public User description: Public User type: object @@ -15862,7 +16156,7 @@ paths: - avatar_url - description examples: - default: &604 + default: &618 value: - login: github id: 1 @@ -16037,7 +16331,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -16131,7 +16425,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *90 - - &627 + - &641 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, @@ -16140,7 +16434,7 @@ paths: required: false schema: type: integer - - &628 + - &642 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 @@ -16149,7 +16443,7 @@ paths: required: false schema: type: integer - - &629 + - &643 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 @@ -16158,7 +16452,7 @@ paths: required: false schema: type: integer - - &630 + - &644 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 @@ -18049,7 +18343,7 @@ paths: type: array items: *59 examples: - default: &598 + default: &612 value: total_count: 1 repositories: @@ -18921,7 +19215,7 @@ paths: type: array items: *116 examples: - default: &590 + default: &604 value: total_count: 1 repositories: @@ -25260,6 +25554,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -25269,6 +25565,10 @@ paths: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -25298,7 +25598,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -30560,7 +30859,7 @@ paths: parameters: - *90 - *198 - - &603 + - &617 name: repo_name description: repo_name parameter in: path @@ -31606,7 +31905,7 @@ paths: - nuget - container - *90 - - &605 + - &619 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -31647,7 +31946,7 @@ paths: default: *205 '403': *27 '401': *23 - '400': &607 + '400': &621 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37452,7 +37751,7 @@ paths: application/json: schema: type: array - items: &562 + items: &576 description: A repository security advisory. type: object properties: @@ -37771,7 +38070,7 @@ paths: - private_fork additionalProperties: false examples: - default: &563 + default: &577 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -38245,7 +38544,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &635 type: object properties: total_minutes_used: @@ -38315,7 +38614,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &622 + default: &636 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -38351,7 +38650,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &637 type: object properties: total_gigabytes_bandwidth_used: @@ -38369,7 +38668,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &624 + default: &638 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -38401,7 +38700,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &639 type: object properties: days_left_in_billing_cycle: @@ -38419,7 +38718,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &626 + default: &640 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -39723,7 +40022,7 @@ paths: - updated_at - url examples: - default: &577 + default: &591 value: - author: login: octocat @@ -39971,7 +40270,7 @@ paths: application/json: schema: *255 examples: - default: &578 + default: &592 value: author: login: octocat @@ -40162,7 +40461,7 @@ paths: - updated_at - url examples: - default: &579 + default: &593 value: - author: login: octocat @@ -40388,7 +40687,7 @@ paths: application/json: schema: *258 examples: - default: &580 + default: &594 value: author: login: octocat @@ -41006,7 +41305,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &581 + response-if-user-is-a-team-maintainer: &595 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -41071,7 +41370,7 @@ paths: application/json: schema: *265 examples: - response-if-users-membership-with-team-is-now-pending: &582 + response-if-users-membership-with-team-is-now-pending: &596 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -41213,7 +41512,7 @@ paths: - updated_at - permissions examples: - default: &583 + default: &597 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41292,7 +41591,7 @@ paths: application/json: schema: *266 examples: - default: &584 + default: &598 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41503,7 +41802,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &585 + schema: &599 title: Team Repository description: A team's access to a repository. type: object @@ -42232,7 +42531,7 @@ paths: type: array items: *146 examples: - response-if-child-teams-exist: &586 + response-if-child-teams-exist: &600 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54355,7 +54654,7 @@ paths: check. type: array items: *347 - deployment: &639 + deployment: &653 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59557,7 +59856,7 @@ paths: type: array items: *388 examples: - default: &593 + default: &607 value: total_count: 2 machines: @@ -62905,7 +63204,7 @@ paths: application/json: schema: type: array - items: &567 + items: &581 title: Status description: The status of a commit. type: object @@ -64504,7 +64803,7 @@ paths: items: type: object properties: - placeholder_id: &559 + placeholder_id: &573 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70400,7 +70699,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &670 + last_response: &684 title: Hook Response type: object properties: @@ -71375,7 +71674,7 @@ paths: parameters: - *268 - *269 - - &616 + - &630 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71809,7 +72108,7 @@ paths: type: array items: *458 examples: - default: &609 + default: &623 value: - id: 1 repository: @@ -85631,7 +85930,7 @@ paths: application/json: schema: type: array - items: &558 + items: &559 type: object properties: number: *52 @@ -85739,6 +86038,10 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *558 examples: default: value: @@ -85876,7 +86179,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -85958,7 +86261,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -86046,7 +86349,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &691 + items: &705 type: object properties: type: @@ -86073,273 +86376,19 @@ paths: - 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 - examples: - - "/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 - examples: - - 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 - examples: - - 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 - examples: - - "/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 - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *560 + - *561 + - *562 + - *563 + - *564 + - *565 + - *566 + - *567 + - *568 + - *569 + - *570 + - *571 + - *572 examples: default: value: @@ -86434,14 +86483,14 @@ paths: schema: type: object properties: - reason: &560 + reason: &574 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *559 + placeholder_id: *573 required: - reason - placeholder_id @@ -86458,7 +86507,7 @@ paths: schema: type: object properties: - reason: *560 + reason: *574 expire_at: type: - string @@ -86518,7 +86567,7 @@ paths: properties: incremental_scans: type: array - items: &561 + items: &575 description: Information on a single scan performed by secret scanning on the repository type: object @@ -86546,15 +86595,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *561 + items: *575 backfill_scans: type: array - items: *561 + items: *575 custom_pattern_backfill_scans: type: array items: allOf: - - *561 + - *575 - type: object properties: pattern_name: @@ -86669,9 +86718,9 @@ paths: application/json: schema: type: array - items: *562 + items: *576 examples: - default: *563 + default: *577 '400': *14 '404': *6 x-github: @@ -86865,9 +86914,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: &565 + default: &579 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87214,7 +87263,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: default: value: @@ -87363,15 +87412,15 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '200': description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: *565 + default: *579 '403': *27 '404': *6 x-github: @@ -87397,7 +87446,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 requestBody: required: true content: @@ -87568,10 +87617,10 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: *565 - add_credit: *565 + default: *579 + add_credit: *579 '403': *27 '404': *6 '422': @@ -87611,7 +87660,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': *37 '400': *14 @@ -87640,7 +87689,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': description: Response @@ -87781,7 +87830,7 @@ paths: application/json: schema: type: array - items: &566 + items: &580 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -88154,7 +88203,7 @@ paths: application/json: schema: type: array - items: *566 + items: *580 examples: default: value: @@ -88244,7 +88293,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *581 examples: default: value: @@ -88338,7 +88387,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &568 + schema: &582 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88438,7 +88487,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *582 examples: default: value: @@ -88578,7 +88627,7 @@ paths: application/json: schema: type: array - items: &569 + items: &583 title: Tag protection description: Tag protection type: object @@ -88659,7 +88708,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *583 examples: default: value: @@ -88807,7 +88856,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &584 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88819,7 +88868,7 @@ paths: required: - names examples: - default: &571 + default: &585 value: names: - octocat @@ -88874,9 +88923,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *584 examples: - default: *571 + default: *585 '404': *6 '422': *7 x-github: @@ -88899,7 +88948,7 @@ paths: parameters: - *268 - *269 - - &572 + - &586 name: per description: The time frame to display results for. in: query @@ -88930,7 +88979,7 @@ paths: - 128 clones: type: array - items: &573 + items: &587 title: Traffic type: object properties: @@ -89178,7 +89227,7 @@ paths: parameters: - *268 - *269 - - *572 + - *586 responses: '200': description: Response @@ -89199,7 +89248,7 @@ paths: - 3782 views: type: array - items: *573 + items: *587 required: - uniques - count @@ -89969,7 +90018,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &574 + text_matches: &588 title: Search Result Text Matches type: array items: @@ -90132,7 +90181,7 @@ paths: enum: - author-date - committer-date - - &575 + - &589 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 @@ -90252,7 +90301,7 @@ paths: type: number node_id: type: string - text_matches: *574 + text_matches: *588 required: - sha - node_id @@ -90434,7 +90483,7 @@ paths: - interactions - created - updated - - *575 + - *589 - *17 - *19 - name: advanced_search @@ -90572,7 +90621,7 @@ paths: - string - 'null' format: date-time - text_matches: *574 + text_matches: *588 pull_request: type: object properties: @@ -90798,7 +90847,7 @@ paths: enum: - created - updated - - *575 + - *589 - *17 - *19 responses: @@ -90843,7 +90892,7 @@ paths: - 'null' score: type: number - text_matches: *574 + text_matches: *588 required: - id - node_id @@ -90928,7 +90977,7 @@ paths: - forks - help-wanted-issues - updated - - *575 + - *589 - *17 - *19 responses: @@ -91165,7 +91214,7 @@ paths: - admin - pull - push - text_matches: *574 + text_matches: *588 temp_clone_token: type: string allow_merge_commit: @@ -91473,7 +91522,7 @@ paths: - string - 'null' format: uri - text_matches: *574 + text_matches: *588 related: type: - array @@ -91666,7 +91715,7 @@ paths: - followers - repositories - joined - - *575 + - *589 - *17 - *19 responses: @@ -91776,7 +91825,7 @@ paths: type: - boolean - 'null' - text_matches: *574 + text_matches: *588 blog: type: - string @@ -91858,7 +91907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &576 + - &590 name: team_id description: The unique identifier of the team. in: path @@ -91899,7 +91948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *576 + - *590 requestBody: required: true content: @@ -92000,7 +92049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *576 + - *590 responses: '204': description: Response @@ -92031,7 +92080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *576 + - *590 - *46 - *17 - *19 @@ -92044,7 +92093,7 @@ paths: type: array items: *255 examples: - default: *577 + default: *591 headers: Link: *57 x-github: @@ -92073,7 +92122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *576 + - *590 requestBody: required: true content: @@ -92136,7 +92185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *576 + - *590 - *257 responses: '200': @@ -92170,7 +92219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *576 + - *590 - *257 requestBody: required: false @@ -92196,7 +92245,7 @@ paths: application/json: schema: *255 examples: - default: *578 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92221,7 +92270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *576 + - *590 - *257 responses: '204': @@ -92251,7 +92300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *576 + - *590 - *257 - *46 - *17 @@ -92265,7 +92314,7 @@ paths: type: array items: *258 examples: - default: *579 + default: *593 headers: Link: *57 x-github: @@ -92294,7 +92343,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 requestBody: required: true @@ -92346,7 +92395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 responses: @@ -92381,7 +92430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 requestBody: @@ -92407,7 +92456,7 @@ paths: application/json: schema: *258 examples: - default: *580 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92432,7 +92481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 responses: @@ -92463,7 +92512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 - name: content @@ -92522,7 +92571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 requestBody: @@ -92584,7 +92633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *576 + - *590 - *257 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -92642,7 +92691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *576 + - *590 - *257 requestBody: required: true @@ -92701,7 +92750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -92739,7 +92788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *576 + - *590 - name: role description: Filters members returned by their role in the team. in: query @@ -92790,7 +92839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92827,7 +92876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92867,7 +92916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92904,7 +92953,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 responses: '200': @@ -92913,7 +92962,7 @@ paths: application/json: schema: *265 examples: - response-if-user-is-a-team-maintainer: *581 + response-if-user-is-a-team-maintainer: *595 '404': *6 x-github: githubCloudOnly: false @@ -92946,7 +92995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 requestBody: required: false @@ -92974,7 +93023,7 @@ paths: application/json: schema: *265 examples: - response-if-users-membership-with-team-is-now-pending: *582 + response-if-users-membership-with-team-is-now-pending: *596 '403': description: Forbidden if team synchronization is set up '422': @@ -93008,7 +93057,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -93037,7 +93086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93049,7 +93098,7 @@ paths: type: array items: *266 examples: - default: *583 + default: *597 headers: Link: *57 '404': *6 @@ -93075,7 +93124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *576 + - *590 - *267 responses: '200': @@ -93084,7 +93133,7 @@ paths: application/json: schema: *266 examples: - default: *584 + default: *598 '404': description: Not Found if project is not managed by this team x-github: @@ -93108,7 +93157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *576 + - *590 - *267 requestBody: required: false @@ -93176,7 +93225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *576 + - *590 - *267 responses: '204': @@ -93204,7 +93253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93246,7 +93295,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *576 + - *590 - *268 - *269 responses: @@ -93254,7 +93303,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *585 + schema: *599 examples: alternative-response-with-extra-repository-information: value: @@ -93405,7 +93454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *576 + - *590 - *268 - *269 requestBody: @@ -93457,7 +93506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *576 + - *590 - *268 - *269 responses: @@ -93484,7 +93533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93496,7 +93545,7 @@ paths: type: array items: *146 examples: - response-if-child-teams-exist: *586 + response-if-child-teams-exist: *600 headers: Link: *57 '404': *6 @@ -93529,7 +93578,7 @@ paths: application/json: schema: oneOf: - - &588 + - &602 title: Private User description: Private User type: object @@ -93779,7 +93828,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *587 + - *601 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -93939,7 +93988,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *602 examples: default: value: @@ -94337,7 +94386,7 @@ paths: type: integer secrets: type: array - items: &589 + items: &603 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94457,7 +94506,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *603 examples: default: value: @@ -94603,7 +94652,7 @@ paths: type: array items: *116 examples: - default: *590 + default: *604 '401': *23 '403': *27 '404': *6 @@ -94870,7 +94919,7 @@ paths: description: Response content: application/json: - schema: &591 + schema: &605 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94923,7 +94972,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &592 + default: &606 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -94968,9 +95017,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *605 examples: - default: *592 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -95009,7 +95058,7 @@ paths: type: array items: *388 examples: - default: *593 + default: *607 '304': *35 '500': *91 '401': *23 @@ -95975,7 +96024,7 @@ paths: type: array items: *204 examples: - default: &606 + default: &620 value: - id: 197 name: hello_docker @@ -96076,7 +96125,7 @@ paths: application/json: schema: type: array - items: &594 + items: &608 title: Email description: Email type: object @@ -96146,9 +96195,9 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: - default: &608 + default: &622 value: - email: octocat@github.com verified: true @@ -96225,7 +96274,7 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: default: value: @@ -96483,7 +96532,7 @@ paths: application/json: schema: type: array - items: &595 + items: &609 title: GPG Key description: A unique encryption key type: object @@ -96628,7 +96677,7 @@ paths: - subkeys - revoked examples: - default: &619 + default: &633 value: - id: 3 name: Octocat's GPG Key @@ -96713,9 +96762,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *609 examples: - default: &596 + default: &610 value: id: 3 name: Octocat's GPG Key @@ -96772,7 +96821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &597 + - &611 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96784,9 +96833,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *609 examples: - default: *596 + default: *610 '404': *6 '304': *35 '403': *27 @@ -96809,7 +96858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *597 + - *611 responses: '204': description: Response @@ -97000,7 +97049,7 @@ paths: type: array items: *59 examples: - default: *598 + default: *612 headers: Link: *57 '404': *6 @@ -97264,7 +97313,7 @@ paths: application/json: schema: type: array - items: &599 + items: &613 title: Key description: Key type: object @@ -97362,9 +97411,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: &600 + default: &614 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97403,9 +97452,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: *600 + default: *614 '404': *6 '304': *35 '403': *27 @@ -97461,7 +97510,7 @@ paths: application/json: schema: type: array - items: &601 + items: &615 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97540,7 +97589,7 @@ paths: - account - plan examples: - default: &602 + default: &616 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97602,9 +97651,9 @@ paths: application/json: schema: type: array - items: *601 + items: *615 examples: - default: *602 + default: *616 headers: Link: *57 '304': *35 @@ -98608,7 +98657,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *198 - - *603 + - *617 responses: '204': description: Response @@ -98681,7 +98730,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 '304': *35 @@ -98723,7 +98772,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *19 - *17 responses: @@ -98735,8 +98784,8 @@ paths: type: array items: *204 examples: - default: *606 - '400': *607 + default: *620 + '400': *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98765,7 +98814,7 @@ paths: application/json: schema: *204 examples: - default: &620 + default: &634 value: id: 40201 name: octo-name @@ -99220,9 +99269,9 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: - default: *608 + default: *622 headers: Link: *57 '304': *35 @@ -99335,7 +99384,7 @@ paths: type: array items: *59 examples: - default: &615 + default: &629 summary: Default response value: - id: 1296269 @@ -99695,7 +99744,7 @@ paths: type: array items: *458 examples: - default: *609 + default: *623 headers: Link: *57 '304': *35 @@ -99774,7 +99823,7 @@ paths: application/json: schema: type: array - items: &610 + items: &624 title: Social account description: Social media account type: object @@ -99791,7 +99840,7 @@ paths: - provider - url examples: - default: &611 + default: &625 value: - provider: twitter url: https://twitter.com/github @@ -99854,9 +99903,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 '422': *15 '304': *35 '404': *6 @@ -99944,7 +99993,7 @@ paths: application/json: schema: type: array - items: &612 + items: &626 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99964,7 +100013,7 @@ paths: - title - created_at examples: - default: &631 + default: &645 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100031,9 +100080,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: &613 + default: &627 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100064,7 +100113,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: - - &614 + - &628 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -100076,9 +100125,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: *613 + default: *627 '404': *6 '304': *35 '403': *27 @@ -100101,7 +100150,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: - - *614 + - *628 responses: '204': description: Response @@ -100130,7 +100179,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &632 + - &646 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 @@ -100155,11 +100204,11 @@ paths: type: array items: *59 examples: - default-response: *615 + default-response: *629 application/vnd.github.v3.star+json: schema: type: array - items: &633 + items: &647 title: Starred Repository description: Starred Repository type: object @@ -100528,10 +100577,10 @@ paths: application/json: schema: oneOf: - - *588 - - *587 + - *602 + - *601 examples: - default-response: &617 + default-response: &631 summary: Default response value: login: octocat @@ -100566,7 +100615,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &618 + response-with-git-hub-plan-information: &632 summary: Response with GitHub plan information value: login: octocat @@ -100626,7 +100675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *616 + - *630 - *17 responses: '200': @@ -100675,11 +100724,11 @@ paths: application/json: schema: oneOf: - - *588 - - *587 + - *602 + - *601 examples: - default-response: *617 - response-with-git-hub-plan-information: *618 + default-response: *631 + response-with-git-hub-plan-information: *632 '404': *6 x-github: githubCloudOnly: false @@ -100796,7 +100845,7 @@ paths: type: array items: *204 examples: - default: *606 + default: *620 '403': *27 '401': *23 x-github: @@ -101200,9 +101249,9 @@ paths: application/json: schema: type: array - items: *595 + items: *609 examples: - default: *619 + default: *633 headers: Link: *57 x-github: @@ -101384,7 +101433,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 x-github: @@ -101423,7 +101472,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *129 - *19 - *17 @@ -101436,10 +101485,10 @@ paths: type: array items: *204 examples: - default: *606 + default: *620 '403': *27 '401': *23 - '400': *607 + '400': *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101469,7 +101518,7 @@ paths: application/json: schema: *204 examples: - default: *620 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102068,9 +102117,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *635 examples: - default: *622 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102098,9 +102147,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *637 examples: - default: *624 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102128,9 +102177,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *639 examples: - default: *626 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102151,10 +102200,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *129 - - *627 - - *628 - - *629 - - *630 + - *641 + - *642 + - *643 + - *644 responses: '200': description: Response when getting a billing usage report @@ -102253,9 +102302,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 headers: Link: *57 x-github: @@ -102285,9 +102334,9 @@ paths: application/json: schema: type: array - items: *612 + items: *626 examples: - default: *631 + default: *645 headers: Link: *57 x-github: @@ -102312,7 +102361,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *129 - - *632 + - *646 - *46 - *17 - *19 @@ -102324,11 +102373,11 @@ paths: schema: anyOf: - type: array - items: *633 + items: *647 - type: array items: *59 examples: - default-response: *615 + default-response: *629 headers: Link: *57 x-github: @@ -102488,7 +102537,7 @@ webhooks: type: string enum: - disabled - enterprise: &634 + enterprise: &648 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102557,7 +102606,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &635 + installation: &649 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102578,7 +102627,7 @@ webhooks: required: - id - node_id - organization: &636 + organization: &650 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102651,7 +102700,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &637 + repository: &651 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -103564,10 +103613,10 @@ webhooks: type: string enum: - enabled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -103643,11 +103692,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: &638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: &652 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) @@ -103870,11 +103919,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -104062,11 +104111,11 @@ webhooks: - everyone required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -104150,7 +104199,7 @@ webhooks: type: string enum: - completed - check_run: &640 + check_run: &654 title: CheckRun description: A check performed on the code of a given code change type: object @@ -104263,7 +104312,7 @@ webhooks: - examples: - neutral - deployment: *639 + deployment: *653 details_url: type: string examples: @@ -104361,9 +104410,9 @@ webhooks: - output - app - pull_requests - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -104756,10 +104805,10 @@ webhooks: type: string enum: - created - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -105155,10 +105204,10 @@ webhooks: type: string enum: - requested_action - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 requested_action: description: The action requested by the user. type: object @@ -105563,10 +105612,10 @@ webhooks: type: string enum: - rerequested - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -106558,10 +106607,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -107246,10 +107295,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -107928,10 +107977,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -108249,20 +108298,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &641 + commit_oid: &655 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: *634 - installation: *635 - organization: *636 - ref: &642 + enterprise: *648 + installation: *649 + organization: *650 + ref: &656 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: *637 + repository: *651 sender: *4 required: - action @@ -108667,12 +108716,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -108952,12 +109001,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -109300,12 +109349,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -109585,9 +109634,9 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -109595,7 +109644,7 @@ webhooks: type: - string - 'null' - repository: *637 + repository: *651 sender: *4 required: - action @@ -109838,12 +109887,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -110105,10 +110154,10 @@ webhooks: - updated_at - author_association - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -110189,18 +110238,18 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *636 - pusher_type: &643 + organization: *650 + pusher_type: &657 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &644 + ref: &658 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -110210,7 +110259,7 @@ webhooks: enum: - tag - branch - repository: *637 + repository: *651 sender: *4 required: - ref @@ -110293,9 +110342,9 @@ webhooks: enum: - created definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110380,9 +110429,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110460,9 +110509,9 @@ webhooks: enum: - promote_to_enterprise definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110540,9 +110589,9 @@ webhooks: enum: - updated definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110619,10 +110668,10 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - repository: *637 - organization: *636 + enterprise: *648 + installation: *649 + repository: *651 + organization: *650 sender: *4 new_property_values: type: array @@ -110707,18 +110756,18 @@ webhooks: title: delete event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - pusher_type: *643 - ref: *644 + enterprise: *648 + installation: *649 + organization: *650 + pusher_type: *657 + ref: *658 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *637 + repository: *651 sender: *4 required: - ref @@ -110803,10 +110852,10 @@ webhooks: enum: - auto_dismissed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -110891,10 +110940,10 @@ webhooks: enum: - auto_reopened alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -110979,10 +111028,10 @@ webhooks: enum: - created alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111065,10 +111114,10 @@ webhooks: enum: - dismissed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111151,10 +111200,10 @@ webhooks: enum: - fixed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111238,10 +111287,10 @@ webhooks: enum: - reintroduced alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111324,10 +111373,10 @@ webhooks: enum: - reopened alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111404,9 +111453,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - key: &645 + enterprise: *648 + installation: *649 + key: &659 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111444,8 +111493,8 @@ webhooks: - verified - created_at - read_only - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -111522,11 +111571,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - key: *645 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + key: *659 + organization: *650 + repository: *651 sender: *4 required: - action @@ -112098,12 +112147,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: &649 + workflow: &663 title: Workflow type: - object @@ -112845,9 +112894,9 @@ webhooks: pull_requests: type: array items: *502 - repository: *637 - organization: *636 - installation: *635 + repository: *651 + organization: *650 + installation: *649 sender: *4 responses: '200': @@ -112918,7 +112967,7 @@ webhooks: type: string enum: - approved - approver: &646 + approver: &660 type: object properties: avatar_url: @@ -112961,11 +113010,11 @@ webhooks: type: string comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: &647 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: &661 type: array items: type: object @@ -113046,7 +113095,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &648 + workflow_job_run: &662 type: object properties: conclusion: @@ -113792,18 +113841,18 @@ webhooks: type: string enum: - rejected - approver: *646 + approver: *660 comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: *647 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: *661 sender: *4 since: type: string - workflow_job_run: *648 + workflow_job_run: *662 workflow_job_runs: type: array items: @@ -114520,13 +114569,13 @@ webhooks: type: string enum: - requested - enterprise: *634 + enterprise: *648 environment: type: string - installation: *635 - organization: *636 - repository: *637 - requestor: &654 + installation: *649 + organization: *650 + repository: *651 + requestor: &668 title: User type: - object @@ -116469,12 +116518,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Deployment Workflow Run type: @@ -117165,7 +117214,7 @@ webhooks: type: string enum: - answered - answer: &652 + answer: &666 type: object properties: author_association: @@ -117325,7 +117374,7 @@ webhooks: - created_at - updated_at - body - discussion: &650 + discussion: &664 title: Discussion description: A Discussion in a repository. type: object @@ -117643,10 +117692,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117773,11 +117822,11 @@ webhooks: - from required: - category - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117860,11 +117909,11 @@ webhooks: type: string enum: - closed - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117946,7 +117995,7 @@ webhooks: type: string enum: - created - comment: &651 + comment: &665 type: object properties: author_association: @@ -118106,11 +118155,11 @@ webhooks: - updated_at - body - reactions - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118193,12 +118242,12 @@ webhooks: type: string enum: - deleted - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118293,12 +118342,12 @@ webhooks: - from required: - body - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118382,11 +118431,11 @@ webhooks: type: string enum: - created - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118468,11 +118517,11 @@ webhooks: type: string enum: - deleted - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118572,11 +118621,11 @@ webhooks: type: string required: - from - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118658,10 +118707,10 @@ webhooks: type: string enum: - labeled - discussion: *650 - enterprise: *634 - installation: *635 - label: &653 + discussion: *664 + enterprise: *648 + installation: *649 + label: &667 title: Label type: object properties: @@ -118694,8 +118743,8 @@ webhooks: - color - default - description - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118778,11 +118827,11 @@ webhooks: type: string enum: - locked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118864,11 +118913,11 @@ webhooks: type: string enum: - pinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118950,11 +118999,11 @@ webhooks: type: string enum: - reopened - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119039,16 +119088,16 @@ webhooks: changes: type: object properties: - new_discussion: *650 - new_repository: *637 + new_discussion: *664 + new_repository: *651 required: - new_discussion - new_repository - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119131,10 +119180,10 @@ webhooks: type: string enum: - unanswered - discussion: *650 - old_answer: *652 - organization: *636 - repository: *637 + discussion: *664 + old_answer: *666 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119216,12 +119265,12 @@ webhooks: type: string enum: - unlabeled - discussion: *650 - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119304,11 +119353,11 @@ webhooks: type: string enum: - unlocked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119390,11 +119439,11 @@ webhooks: type: string enum: - unpinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119467,7 +119516,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *634 + enterprise: *648 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -120145,9 +120194,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - forkee @@ -120293,9 +120342,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pages: description: The pages that were updated. type: array @@ -120333,7 +120382,7 @@ webhooks: - action - sha - html_url - repository: *637 + repository: *651 sender: *4 required: - pages @@ -120409,10 +120458,10 @@ webhooks: type: string enum: - created - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: &655 + organization: *650 + repositories: &669 description: An array of repository objects that the installation can access. type: array @@ -120438,8 +120487,8 @@ webhooks: - name - full_name - private - repository: *637 - requester: *654 + repository: *651 + requester: *668 sender: *4 required: - action @@ -120514,11 +120563,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -120595,11 +120644,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -120676,10 +120725,10 @@ webhooks: type: string enum: - added - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories_added: &656 + organization: *650 + repositories_added: &670 description: An array of repository objects, which were added to the installation. type: array @@ -120725,15 +120774,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *637 - repository_selection: &657 + repository: *651 + repository_selection: &671 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *654 + requester: *668 sender: *4 required: - action @@ -120812,10 +120861,10 @@ webhooks: type: string enum: - removed - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories_added: *656 + organization: *650 + repositories_added: *670 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -120842,9 +120891,9 @@ webhooks: - name - full_name - private - repository: *637 - repository_selection: *657 - requester: *654 + repository: *651 + repository_selection: *671 + requester: *668 sender: *4 required: - action @@ -120923,11 +120972,11 @@ webhooks: type: string enum: - suspend - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -121109,10 +121158,10 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 target_type: type: string @@ -121191,11 +121240,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -121443,8 +121492,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122635,8 +122684,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -122716,7 +122765,7 @@ webhooks: type: string enum: - deleted - comment: &658 + comment: &672 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -122883,8 +122932,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124073,8 +124122,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -124154,7 +124203,7 @@ webhooks: type: string enum: - edited - changes: &683 + changes: &697 description: The changes to the comment. type: object properties: @@ -124166,9 +124215,9 @@ webhooks: type: string required: - from - comment: *658 - enterprise: *634 - installation: *635 + comment: *672 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125358,8 +125407,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -125441,10 +125490,10 @@ webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - issue: &661 + assignee: *668 + enterprise: *648 + installation: *649 + issue: &675 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126389,8 +126438,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -126470,8 +126519,8 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -127564,8 +127613,8 @@ webhooks: required: - state - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -127644,8 +127693,8 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128585,8 +128634,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -128665,8 +128714,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129608,7 +129657,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &659 + milestone: &673 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129751,8 +129800,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -129851,8 +129900,8 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130797,9 +130846,9 @@ webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -130879,8 +130928,8 @@ webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131824,9 +131873,9 @@ webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -131906,8 +131955,8 @@ webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132853,8 +132902,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -132933,8 +132982,8 @@ webhooks: type: string enum: - milestoned - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133874,9 +133923,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *659 - organization: *636 - repository: *637 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -135358,8 +135407,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136303,8 +136352,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136384,9 +136433,9 @@ webhooks: type: string enum: - pinned - enterprise: *634 - installation: *635 - issue: &660 + enterprise: *648 + installation: *649 + issue: &674 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -137324,8 +137373,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137404,8 +137453,8 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138350,8 +138399,8 @@ webhooks: user_view_type: type: string type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139852,11 +139901,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139936,12 +139985,12 @@ webhooks: type: string enum: - typed - enterprise: *634 - installation: *635 - issue: *661 + enterprise: *648 + installation: *649 + issue: *675 type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140022,7 +140071,7 @@ webhooks: type: string enum: - unassigned - assignee: &686 + assignee: &700 title: User type: - object @@ -140094,11 +140143,11 @@ webhooks: required: - login - id - enterprise: *634 - installation: *635 - issue: *661 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *675 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140177,12 +140226,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - issue: *661 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *675 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140262,8 +140311,8 @@ webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141207,8 +141256,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141288,11 +141337,11 @@ webhooks: type: string enum: - unpinned - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141371,12 +141420,12 @@ webhooks: type: string enum: - untyped - enterprise: *634 - installation: *635 - issue: *661 + enterprise: *648 + installation: *649 + issue: *675 type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141456,11 +141505,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141538,11 +141587,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141652,11 +141701,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141738,9 +141787,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: &662 + enterprise: *648 + installation: *649 + marketplace_purchase: &676 title: Marketplace Purchase type: object required: @@ -141828,8 +141877,8 @@ webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: &663 + organization: *650 + previous_marketplace_purchase: &677 title: Marketplace Purchase type: object properties: @@ -141913,7 +141962,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -141993,10 +142042,10 @@ webhooks: - changed effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142084,7 +142133,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142166,10 +142215,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142255,7 +142304,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142336,8 +142385,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 marketplace_purchase: title: Marketplace Purchase type: object @@ -142423,9 +142472,9 @@ webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -142505,12 +142554,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -142612,11 +142661,11 @@ webhooks: type: string required: - to - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142718,11 +142767,11 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142801,11 +142850,11 @@ webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142883,11 +142932,11 @@ webhooks: type: string enum: - added - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142965,7 +143014,7 @@ webhooks: required: - login - id - team: &664 + team: &678 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -143158,11 +143207,11 @@ webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143241,7 +143290,7 @@ webhooks: required: - login - id - team: *664 + team: *678 required: - action - scope @@ -143323,8 +143372,8 @@ webhooks: type: string enum: - checks_requested - installation: *635 - merge_group: &665 + installation: *649 + merge_group: &679 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -143350,8 +143399,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143437,10 +143486,10 @@ webhooks: - merged - invalidated - dequeued - installation: *635 - merge_group: *665 - organization: *636 - repository: *637 + installation: *649 + merge_group: *679 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143513,7 +143562,7 @@ webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *648 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -143621,12 +143670,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *635 - organization: *636 + installation: *649 + organization: *650 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -143706,11 +143755,11 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143789,9 +143838,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - milestone: &666 + enterprise: *648 + installation: *649 + milestone: &680 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143933,8 +143982,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144013,11 +144062,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144127,11 +144176,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144211,11 +144260,11 @@ webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - milestone: *666 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *680 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144294,11 +144343,11 @@ webhooks: type: string enum: - blocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144377,11 +144426,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144460,9 +144509,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - membership: &667 + enterprise: *648 + installation: *649 + membership: &681 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -144556,8 +144605,8 @@ webhooks: - role - organization_url - user - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144635,11 +144684,11 @@ webhooks: type: string enum: - member_added - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144718,8 +144767,8 @@ webhooks: type: string enum: - member_invited - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144841,10 +144890,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 - user: *654 + user: *668 required: - action - invitation @@ -144922,11 +144971,11 @@ webhooks: type: string enum: - member_removed - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -145013,11 +145062,11 @@ webhooks: properties: from: type: string - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -145093,9 +145142,9 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -145618,7 +145667,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &668 + items: &682 title: Ruby Gems metadata type: object properties: @@ -145715,7 +145764,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -145791,9 +145840,9 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -146155,7 +146204,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 source_url: type: string format: uri @@ -146226,7 +146275,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -146407,12 +146456,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *634 + enterprise: *648 id: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - id @@ -146489,7 +146538,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &669 + personal_access_token_request: &683 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -146639,10 +146688,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *634 - organization: *636 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146719,11 +146768,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *669 - enterprise: *634 - organization: *636 + personal_access_token_request: *683 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146799,11 +146848,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *669 - enterprise: *634 - organization: *636 + personal_access_token_request: *683 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146878,11 +146927,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *669 - organization: *636 - enterprise: *634 + personal_access_token_request: *683 + organization: *650 + enterprise: *648 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146987,7 +147036,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *670 + last_response: *684 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -147019,8 +147068,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 zen: description: Random string of GitHub zen. @@ -147265,10 +147314,10 @@ webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: &671 + enterprise: *648 + installation: *649 + organization: *650 + project_card: &685 title: Project Card type: object properties: @@ -147391,7 +147440,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -147472,11 +147521,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_card: *671 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *685 + repository: *651 sender: *4 required: - action @@ -147556,9 +147605,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 project_card: title: Project Card type: object @@ -147688,7 +147737,7 @@ webhooks: repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -147782,11 +147831,11 @@ webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: *671 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *685 + repository: *651 sender: *4 required: - action @@ -147880,9 +147929,9 @@ webhooks: - from required: - column_id - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 project_card: allOf: - title: Project Card @@ -148079,7 +148128,7 @@ webhooks: type: string required: - after_id - repository: *637 + repository: *651 sender: *4 required: - action @@ -148159,10 +148208,10 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - organization: *636 - project: &673 + enterprise: *648 + installation: *649 + organization: *650 + project: &687 title: Project type: object properties: @@ -148289,7 +148338,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148369,10 +148418,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_column: &672 + enterprise: *648 + installation: *649 + organization: *650 + project_column: &686 title: Project Column type: object properties: @@ -148412,7 +148461,7 @@ webhooks: - name - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148491,14 +148540,14 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -148587,11 +148636,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 + repository: *651 sender: *4 required: - action @@ -148671,11 +148720,11 @@ webhooks: type: string enum: - moved - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 + repository: *651 sender: *4 required: - action @@ -148755,11 +148804,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -148839,14 +148888,14 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project: *673 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -148947,11 +148996,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -149030,11 +149079,11 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -149115,9 +149164,9 @@ webhooks: type: string enum: - closed - installation: *635 - organization: *636 - projects_v2: &674 + installation: *649 + organization: *650 + projects_v2: &688 title: Projects v2 Project description: A projects v2 project type: object @@ -149265,9 +149314,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149348,9 +149397,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149471,9 +149520,9 @@ webhooks: type: string to: type: string - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149556,7 +149605,7 @@ webhooks: type: string enum: - archived - changes: &678 + changes: &692 type: object properties: archived_at: @@ -149572,9 +149621,9 @@ webhooks: - string - 'null' format: date-time - installation: *635 - organization: *636 - projects_v2_item: &675 + installation: *649 + organization: *650 + projects_v2_item: &689 title: Projects v2 Item description: An item belonging to a project type: object @@ -149713,9 +149762,9 @@ webhooks: - 'null' to: type: string - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149797,9 +149846,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149880,9 +149929,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149987,7 +150036,7 @@ webhooks: oneOf: - type: string - type: integer - - &676 + - &690 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -150007,7 +150056,7 @@ webhooks: required: - id - name - - &677 + - &691 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150036,8 +150085,8 @@ webhooks: oneOf: - type: string - type: integer - - *676 - - *677 + - *690 + - *691 type: - 'null' - string @@ -150060,9 +150109,9 @@ webhooks: - 'null' required: - body - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150159,9 +150208,9 @@ webhooks: type: - string - 'null' - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150244,10 +150293,10 @@ webhooks: type: string enum: - restored - changes: *678 - installation: *635 - organization: *636 - projects_v2_item: *675 + changes: *692 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150329,9 +150378,9 @@ webhooks: type: string enum: - reopened - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -150412,9 +150461,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_status_update: &679 + installation: *649 + organization: *650 + projects_v2_status_update: &693 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -150549,9 +150598,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_status_update: *679 + installation: *649 + organization: *650 + projects_v2_status_update: *693 sender: *4 required: - action @@ -150697,9 +150746,9 @@ webhooks: - string - 'null' format: date - installation: *635 - organization: *636 - projects_v2_status_update: *679 + installation: *649 + organization: *650 + projects_v2_status_update: *693 sender: *4 required: - action @@ -150770,10 +150819,10 @@ webhooks: title: public event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - repository @@ -150850,13 +150899,13 @@ webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - number: &680 + assignee: *668 + enterprise: *648 + installation: *649 + number: &694 description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -153205,7 +153254,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -153287,11 +153336,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -155633,7 +155682,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -155715,11 +155764,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -158061,7 +158110,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -158143,11 +158192,11 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: &681 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: &695 allOf: - *502 - type: object @@ -158211,7 +158260,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *637 + repository: *651 sender: *4 required: - action @@ -158292,12 +158341,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -158377,11 +158426,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *634 + enterprise: *648 milestone: *400 - number: *680 - organization: *636 - pull_request: &682 + number: *694 + organization: *650 + pull_request: &696 title: Pull Request type: object properties: @@ -160708,7 +160757,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -160787,11 +160836,11 @@ webhooks: type: string enum: - dequeued - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -163137,7 +163186,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *637 + repository: *651 sender: *4 required: - action @@ -163261,12 +163310,12 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -163346,11 +163395,11 @@ webhooks: type: string enum: - enqueued - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -165681,7 +165730,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -165761,11 +165810,11 @@ webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 - label: *653 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + label: *667 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -168113,7 +168162,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -168194,10 +168243,10 @@ webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -170543,7 +170592,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -170623,12 +170672,12 @@ webhooks: type: string enum: - milestoned - enterprise: *634 + enterprise: *648 milestone: *400 - number: *680 - organization: *636 - pull_request: *682 - repository: *637 + number: *694 + organization: *650 + pull_request: *696 + repository: *651 sender: *4 required: - action @@ -170707,12 +170756,12 @@ webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -170793,12 +170842,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -170878,12 +170927,12 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -171258,9 +171307,9 @@ webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -173490,7 +173539,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -173570,7 +173619,7 @@ webhooks: type: string enum: - deleted - comment: &684 + comment: &698 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -173863,9 +173912,9 @@ webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -176083,7 +176132,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -176163,11 +176212,11 @@ webhooks: type: string enum: - edited - changes: *683 - comment: *684 - enterprise: *634 - installation: *635 - organization: *636 + changes: *697 + comment: *698 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -178388,7 +178437,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -178469,9 +178518,9 @@ webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -180704,7 +180753,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 review: description: The review that was affected. type: object @@ -180950,9 +180999,9 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -183066,8 +183115,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: &685 + repository: *651 + review: &699 description: The review that was affected. type: object properties: @@ -183300,12 +183349,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -185652,7 +185701,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -185738,12 +185787,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -188097,7 +188146,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188292,12 +188341,12 @@ webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -190646,7 +190695,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -190733,12 +190782,12 @@ webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -193078,7 +193127,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193262,9 +193311,9 @@ webhooks: type: string enum: - submitted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -195500,8 +195549,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: *685 + repository: *651 + review: *699 sender: *4 required: - action @@ -195581,9 +195630,9 @@ webhooks: type: string enum: - resolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -197714,7 +197763,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -198106,9 +198155,9 @@ webhooks: type: string enum: - unresolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -200222,7 +200271,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -200616,10 +200665,10 @@ webhooks: type: string before: type: string - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -202954,7 +203003,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -203036,11 +203085,11 @@ webhooks: type: string enum: - unassigned - assignee: *686 - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + assignee: *700 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -205390,7 +205439,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -205469,11 +205518,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - label: *653 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + label: *667 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -207812,7 +207861,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -207893,10 +207942,10 @@ webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -210225,7 +210274,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -210428,7 +210477,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *634 + enterprise: *648 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -210523,8 +210572,8 @@ webhooks: - url - author - committer - installation: *635 - organization: *636 + installation: *649 + organization: *650 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -211112,9 +211161,9 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -211591,7 +211640,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -211647,7 +211696,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -211725,9 +211774,9 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -212039,7 +212088,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -212089,7 +212138,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -212166,10 +212215,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - release: &687 + enterprise: *648 + installation: *649 + organization: *650 + release: &701 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212490,7 +212539,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *637 + repository: *651 sender: *4 required: - action @@ -212567,11 +212616,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -212688,11 +212737,11 @@ webhooks: type: boolean required: - to - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -212770,9 +212819,9 @@ webhooks: type: string enum: - prereleased - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -213098,7 +213147,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213174,10 +213223,10 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - release: &688 + enterprise: *648 + installation: *649 + organization: *650 + release: &702 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213500,7 +213549,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213576,11 +213625,11 @@ webhooks: type: string enum: - released - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -213656,11 +213705,11 @@ webhooks: type: string enum: - unpublished - enterprise: *634 - installation: *635 - organization: *636 - release: *688 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *702 + repository: *651 sender: *4 required: - action @@ -213736,11 +213785,11 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *562 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *576 sender: *4 required: - action @@ -213816,11 +213865,11 @@ webhooks: type: string enum: - reported - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *562 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *576 sender: *4 required: - action @@ -213896,10 +213945,10 @@ webhooks: type: string enum: - archived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213976,10 +214025,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214057,10 +214106,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214145,10 +214194,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214263,10 +214312,10 @@ webhooks: - 'null' items: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214338,10 +214387,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 status: type: string @@ -214422,10 +214471,10 @@ webhooks: type: string enum: - privatized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214502,10 +214551,10 @@ webhooks: type: string enum: - publicized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214599,10 +214648,10 @@ webhooks: - name required: - repository - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214682,10 +214731,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 sender: *4 required: @@ -214764,10 +214813,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 sender: *4 required: @@ -214846,10 +214895,10 @@ webhooks: type: string enum: - edited - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 changes: type: object @@ -215157,10 +215206,10 @@ webhooks: - from required: - owner - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215238,10 +215287,10 @@ webhooks: type: string enum: - unarchived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215319,7 +215368,7 @@ webhooks: type: string enum: - create - alert: &689 + alert: &703 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -215443,10 +215492,10 @@ webhooks: type: string enum: - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215656,10 +215705,10 @@ webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215737,11 +215786,11 @@ webhooks: type: string enum: - reopen - alert: *689 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *703 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215943,10 +215992,10 @@ webhooks: enum: - fixed - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216024,7 +216073,7 @@ webhooks: type: string enum: - created - alert: &690 + alert: &704 type: object properties: number: *52 @@ -216134,10 +216183,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216218,11 +216267,11 @@ webhooks: type: string enum: - created - alert: *690 - installation: *635 - location: *691 - organization: *636 - repository: *637 + alert: *704 + installation: *649 + location: *705 + organization: *650 + repository: *651 sender: *4 required: - location @@ -216460,11 +216509,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216542,11 +216591,11 @@ webhooks: type: string enum: - reopened - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216624,11 +216673,11 @@ webhooks: type: string enum: - resolved - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216706,11 +216755,11 @@ webhooks: type: string enum: - validated - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216840,10 +216889,10 @@ webhooks: - organization - enterprise - - repository: *637 - enterprise: *634 - installation: *635 - organization: *636 + repository: *651 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -216921,11 +216970,11 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: &692 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: &706 description: The details of the security advisory, including summary, description, and severity. type: object @@ -217111,11 +217160,11 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: *692 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: *706 sender: *4 required: - action @@ -217188,10 +217237,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -217378,9 +217427,9 @@ webhooks: type: object properties: security_and_analysis: *226 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: *279 sender: *4 required: @@ -217459,12 +217508,12 @@ webhooks: type: string enum: - cancelled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: &693 + sponsorship: &707 type: object properties: created_at: @@ -217769,12 +217818,12 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - sponsorship @@ -217862,12 +217911,12 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -217944,17 +217993,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &694 + effective_date: &708 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: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - sponsorship @@ -218028,7 +218077,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &695 + changes: &709 type: object properties: tier: @@ -218072,13 +218121,13 @@ webhooks: - from required: - tier - effective_date: *694 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + effective_date: *708 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -218155,13 +218204,13 @@ webhooks: type: string enum: - tier_changed - changes: *695 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + changes: *709 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -218235,10 +218284,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218322,10 +218371,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218759,15 +218808,15 @@ webhooks: type: - string - 'null' - enterprise: *634 + enterprise: *648 id: description: The unique identifier of the status. type: integer - installation: *635 + installation: *649 name: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 sha: description: The Commit SHA. @@ -218883,9 +218932,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -218975,9 +219024,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219067,9 +219116,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219159,9 +219208,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219238,12 +219287,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - team: &696 + team: &710 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -219436,9 +219485,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -219908,7 +219957,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -219984,9 +220033,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -220456,7 +220505,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -220533,9 +220582,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -221005,7 +221054,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -221149,9 +221198,9 @@ webhooks: - from required: - permissions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -221621,7 +221670,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - changes @@ -221699,9 +221748,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -222171,7 +222220,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -222247,10 +222296,10 @@ webhooks: type: string enum: - started - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -222323,17 +222372,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *634 + enterprise: *648 inputs: type: - object - 'null' additionalProperties: true - installation: *635 - organization: *636 + installation: *649 + organization: *650 ref: type: string - repository: *637 + repository: *651 sender: *4 workflow: type: string @@ -222415,10 +222464,10 @@ webhooks: type: string enum: - completed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: allOf: @@ -222753,10 +222802,10 @@ webhooks: type: string enum: - in_progress - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: allOf: @@ -223117,10 +223166,10 @@ webhooks: type: string enum: - queued - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: type: object @@ -223345,10 +223394,10 @@ webhooks: type: string enum: - waiting - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: type: object @@ -223575,12 +223624,12 @@ webhooks: type: string enum: - completed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Workflow Run type: object @@ -224599,12 +224648,12 @@ webhooks: type: string enum: - in_progress - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Workflow Run type: object @@ -225608,12 +225657,12 @@ webhooks: type: string enum: - requested - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 54765577be..cfc5473e48 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -25684,6 +25684,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -58795,7 +59124,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -90749,6 +91078,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -90762,6 +91094,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -90803,7 +91141,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -118702,6 +119039,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -118715,6 +119055,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -118756,7 +119102,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -157368,6 +157713,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -494590,6 +495264,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -495485,6 +496488,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, @@ -496338,6 +497670,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index d3b8a4496f..3de292c1aa 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1067,7 +1067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &564 + - &578 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9894,6 +9894,300 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &558 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &560 + 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 + examples: + - "/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 + examples: + - 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 + examples: + - 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 + - &561 + 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 + examples: + - "/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 + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - 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 + - &562 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &563 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &564 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &565 + 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. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &566 + 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. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &567 + 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. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &568 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &569 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &570 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &571 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &572 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url examples: default: &245 value: @@ -11240,7 +11534,7 @@ paths: url: type: string format: uri - user: &587 + user: &601 title: Public User description: Public User type: object @@ -15862,7 +16156,7 @@ paths: - avatar_url - description examples: - default: &604 + default: &618 value: - login: github id: 1 @@ -16037,7 +16331,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -16131,7 +16425,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *90 - - &627 + - &641 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, @@ -16140,7 +16434,7 @@ paths: required: false schema: type: integer - - &628 + - &642 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 @@ -16149,7 +16443,7 @@ paths: required: false schema: type: integer - - &629 + - &643 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 @@ -16158,7 +16452,7 @@ paths: required: false schema: type: integer - - &630 + - &644 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 @@ -18049,7 +18343,7 @@ paths: type: array items: *59 examples: - default: &598 + default: &612 value: total_count: 1 repositories: @@ -18921,7 +19215,7 @@ paths: type: array items: *116 examples: - default: &590 + default: &604 value: total_count: 1 repositories: @@ -25260,6 +25554,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -25269,6 +25565,10 @@ paths: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -25298,7 +25598,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -30560,7 +30859,7 @@ paths: parameters: - *90 - *198 - - &603 + - &617 name: repo_name description: repo_name parameter in: path @@ -31606,7 +31905,7 @@ paths: - nuget - container - *90 - - &605 + - &619 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -31647,7 +31946,7 @@ paths: default: *205 '403': *27 '401': *23 - '400': &607 + '400': &621 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37452,7 +37751,7 @@ paths: application/json: schema: type: array - items: &562 + items: &576 description: A repository security advisory. type: object properties: @@ -37771,7 +38070,7 @@ paths: - private_fork additionalProperties: false examples: - default: &563 + default: &577 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -38245,7 +38544,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &635 type: object properties: total_minutes_used: @@ -38315,7 +38614,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &622 + default: &636 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -38351,7 +38650,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &637 type: object properties: total_gigabytes_bandwidth_used: @@ -38369,7 +38668,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &624 + default: &638 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -38401,7 +38700,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &639 type: object properties: days_left_in_billing_cycle: @@ -38419,7 +38718,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &626 + default: &640 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -39723,7 +40022,7 @@ paths: - updated_at - url examples: - default: &577 + default: &591 value: - author: login: octocat @@ -39971,7 +40270,7 @@ paths: application/json: schema: *255 examples: - default: &578 + default: &592 value: author: login: octocat @@ -40162,7 +40461,7 @@ paths: - updated_at - url examples: - default: &579 + default: &593 value: - author: login: octocat @@ -40388,7 +40687,7 @@ paths: application/json: schema: *258 examples: - default: &580 + default: &594 value: author: login: octocat @@ -41006,7 +41305,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &581 + response-if-user-is-a-team-maintainer: &595 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -41071,7 +41370,7 @@ paths: application/json: schema: *265 examples: - response-if-users-membership-with-team-is-now-pending: &582 + response-if-users-membership-with-team-is-now-pending: &596 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -41213,7 +41512,7 @@ paths: - updated_at - permissions examples: - default: &583 + default: &597 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41292,7 +41591,7 @@ paths: application/json: schema: *266 examples: - default: &584 + default: &598 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41503,7 +41802,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &585 + schema: &599 title: Team Repository description: A team's access to a repository. type: object @@ -42232,7 +42531,7 @@ paths: type: array items: *146 examples: - response-if-child-teams-exist: &586 + response-if-child-teams-exist: &600 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54355,7 +54654,7 @@ paths: check. type: array items: *347 - deployment: &639 + deployment: &653 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59557,7 +59856,7 @@ paths: type: array items: *388 examples: - default: &593 + default: &607 value: total_count: 2 machines: @@ -62905,7 +63204,7 @@ paths: application/json: schema: type: array - items: &567 + items: &581 title: Status description: The status of a commit. type: object @@ -64504,7 +64803,7 @@ paths: items: type: object properties: - placeholder_id: &559 + placeholder_id: &573 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70400,7 +70699,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &670 + last_response: &684 title: Hook Response type: object properties: @@ -71375,7 +71674,7 @@ paths: parameters: - *268 - *269 - - &616 + - &630 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71809,7 +72108,7 @@ paths: type: array items: *458 examples: - default: &609 + default: &623 value: - id: 1 repository: @@ -85631,7 +85930,7 @@ paths: application/json: schema: type: array - items: &558 + items: &559 type: object properties: number: *52 @@ -85739,6 +86038,10 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *558 examples: default: value: @@ -85876,7 +86179,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -85958,7 +86261,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -86046,7 +86349,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &691 + items: &705 type: object properties: type: @@ -86073,273 +86376,19 @@ paths: - 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 - examples: - - "/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 - examples: - - 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 - examples: - - 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 - examples: - - "/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 - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *560 + - *561 + - *562 + - *563 + - *564 + - *565 + - *566 + - *567 + - *568 + - *569 + - *570 + - *571 + - *572 examples: default: value: @@ -86434,14 +86483,14 @@ paths: schema: type: object properties: - reason: &560 + reason: &574 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *559 + placeholder_id: *573 required: - reason - placeholder_id @@ -86458,7 +86507,7 @@ paths: schema: type: object properties: - reason: *560 + reason: *574 expire_at: type: - string @@ -86518,7 +86567,7 @@ paths: properties: incremental_scans: type: array - items: &561 + items: &575 description: Information on a single scan performed by secret scanning on the repository type: object @@ -86546,15 +86595,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *561 + items: *575 backfill_scans: type: array - items: *561 + items: *575 custom_pattern_backfill_scans: type: array items: allOf: - - *561 + - *575 - type: object properties: pattern_name: @@ -86669,9 +86718,9 @@ paths: application/json: schema: type: array - items: *562 + items: *576 examples: - default: *563 + default: *577 '400': *14 '404': *6 x-github: @@ -86865,9 +86914,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: &565 + default: &579 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87214,7 +87263,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: default: value: @@ -87363,15 +87412,15 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '200': description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: *565 + default: *579 '403': *27 '404': *6 x-github: @@ -87397,7 +87446,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 requestBody: required: true content: @@ -87568,10 +87617,10 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: *565 - add_credit: *565 + default: *579 + add_credit: *579 '403': *27 '404': *6 '422': @@ -87611,7 +87660,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': *37 '400': *14 @@ -87640,7 +87689,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': description: Response @@ -87781,7 +87830,7 @@ paths: application/json: schema: type: array - items: &566 + items: &580 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -88154,7 +88203,7 @@ paths: application/json: schema: type: array - items: *566 + items: *580 examples: default: value: @@ -88244,7 +88293,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *581 examples: default: value: @@ -88338,7 +88387,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &568 + schema: &582 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88438,7 +88487,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *582 examples: default: value: @@ -88578,7 +88627,7 @@ paths: application/json: schema: type: array - items: &569 + items: &583 title: Tag protection description: Tag protection type: object @@ -88659,7 +88708,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *583 examples: default: value: @@ -88807,7 +88856,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &584 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88819,7 +88868,7 @@ paths: required: - names examples: - default: &571 + default: &585 value: names: - octocat @@ -88874,9 +88923,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *584 examples: - default: *571 + default: *585 '404': *6 '422': *7 x-github: @@ -88899,7 +88948,7 @@ paths: parameters: - *268 - *269 - - &572 + - &586 name: per description: The time frame to display results for. in: query @@ -88930,7 +88979,7 @@ paths: - 128 clones: type: array - items: &573 + items: &587 title: Traffic type: object properties: @@ -89178,7 +89227,7 @@ paths: parameters: - *268 - *269 - - *572 + - *586 responses: '200': description: Response @@ -89199,7 +89248,7 @@ paths: - 3782 views: type: array - items: *573 + items: *587 required: - uniques - count @@ -89969,7 +90018,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &574 + text_matches: &588 title: Search Result Text Matches type: array items: @@ -90132,7 +90181,7 @@ paths: enum: - author-date - committer-date - - &575 + - &589 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 @@ -90252,7 +90301,7 @@ paths: type: number node_id: type: string - text_matches: *574 + text_matches: *588 required: - sha - node_id @@ -90434,7 +90483,7 @@ paths: - interactions - created - updated - - *575 + - *589 - *17 - *19 - name: advanced_search @@ -90572,7 +90621,7 @@ paths: - string - 'null' format: date-time - text_matches: *574 + text_matches: *588 pull_request: type: object properties: @@ -90798,7 +90847,7 @@ paths: enum: - created - updated - - *575 + - *589 - *17 - *19 responses: @@ -90843,7 +90892,7 @@ paths: - 'null' score: type: number - text_matches: *574 + text_matches: *588 required: - id - node_id @@ -90928,7 +90977,7 @@ paths: - forks - help-wanted-issues - updated - - *575 + - *589 - *17 - *19 responses: @@ -91165,7 +91214,7 @@ paths: - admin - pull - push - text_matches: *574 + text_matches: *588 temp_clone_token: type: string allow_merge_commit: @@ -91473,7 +91522,7 @@ paths: - string - 'null' format: uri - text_matches: *574 + text_matches: *588 related: type: - array @@ -91666,7 +91715,7 @@ paths: - followers - repositories - joined - - *575 + - *589 - *17 - *19 responses: @@ -91776,7 +91825,7 @@ paths: type: - boolean - 'null' - text_matches: *574 + text_matches: *588 blog: type: - string @@ -91858,7 +91907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &576 + - &590 name: team_id description: The unique identifier of the team. in: path @@ -91899,7 +91948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *576 + - *590 requestBody: required: true content: @@ -92000,7 +92049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *576 + - *590 responses: '204': description: Response @@ -92031,7 +92080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *576 + - *590 - *46 - *17 - *19 @@ -92044,7 +92093,7 @@ paths: type: array items: *255 examples: - default: *577 + default: *591 headers: Link: *57 x-github: @@ -92073,7 +92122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *576 + - *590 requestBody: required: true content: @@ -92136,7 +92185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *576 + - *590 - *257 responses: '200': @@ -92170,7 +92219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *576 + - *590 - *257 requestBody: required: false @@ -92196,7 +92245,7 @@ paths: application/json: schema: *255 examples: - default: *578 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92221,7 +92270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *576 + - *590 - *257 responses: '204': @@ -92251,7 +92300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *576 + - *590 - *257 - *46 - *17 @@ -92265,7 +92314,7 @@ paths: type: array items: *258 examples: - default: *579 + default: *593 headers: Link: *57 x-github: @@ -92294,7 +92343,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 requestBody: required: true @@ -92346,7 +92395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 responses: @@ -92381,7 +92430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 requestBody: @@ -92407,7 +92456,7 @@ paths: application/json: schema: *258 examples: - default: *580 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92432,7 +92481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 responses: @@ -92463,7 +92512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 - name: content @@ -92522,7 +92571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 requestBody: @@ -92584,7 +92633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *576 + - *590 - *257 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -92642,7 +92691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *576 + - *590 - *257 requestBody: required: true @@ -92701,7 +92750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -92739,7 +92788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *576 + - *590 - name: role description: Filters members returned by their role in the team. in: query @@ -92790,7 +92839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92827,7 +92876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92867,7 +92916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92904,7 +92953,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 responses: '200': @@ -92913,7 +92962,7 @@ paths: application/json: schema: *265 examples: - response-if-user-is-a-team-maintainer: *581 + response-if-user-is-a-team-maintainer: *595 '404': *6 x-github: githubCloudOnly: false @@ -92946,7 +92995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 requestBody: required: false @@ -92974,7 +93023,7 @@ paths: application/json: schema: *265 examples: - response-if-users-membership-with-team-is-now-pending: *582 + response-if-users-membership-with-team-is-now-pending: *596 '403': description: Forbidden if team synchronization is set up '422': @@ -93008,7 +93057,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -93037,7 +93086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93049,7 +93098,7 @@ paths: type: array items: *266 examples: - default: *583 + default: *597 headers: Link: *57 '404': *6 @@ -93075,7 +93124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *576 + - *590 - *267 responses: '200': @@ -93084,7 +93133,7 @@ paths: application/json: schema: *266 examples: - default: *584 + default: *598 '404': description: Not Found if project is not managed by this team x-github: @@ -93108,7 +93157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *576 + - *590 - *267 requestBody: required: false @@ -93176,7 +93225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *576 + - *590 - *267 responses: '204': @@ -93204,7 +93253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93246,7 +93295,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *576 + - *590 - *268 - *269 responses: @@ -93254,7 +93303,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *585 + schema: *599 examples: alternative-response-with-extra-repository-information: value: @@ -93405,7 +93454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *576 + - *590 - *268 - *269 requestBody: @@ -93457,7 +93506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *576 + - *590 - *268 - *269 responses: @@ -93484,7 +93533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93496,7 +93545,7 @@ paths: type: array items: *146 examples: - response-if-child-teams-exist: *586 + response-if-child-teams-exist: *600 headers: Link: *57 '404': *6 @@ -93529,7 +93578,7 @@ paths: application/json: schema: oneOf: - - &588 + - &602 title: Private User description: Private User type: object @@ -93779,7 +93828,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *587 + - *601 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -93939,7 +93988,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *602 examples: default: value: @@ -94337,7 +94386,7 @@ paths: type: integer secrets: type: array - items: &589 + items: &603 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94457,7 +94506,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *603 examples: default: value: @@ -94603,7 +94652,7 @@ paths: type: array items: *116 examples: - default: *590 + default: *604 '401': *23 '403': *27 '404': *6 @@ -94870,7 +94919,7 @@ paths: description: Response content: application/json: - schema: &591 + schema: &605 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94923,7 +94972,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &592 + default: &606 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -94968,9 +95017,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *605 examples: - default: *592 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -95009,7 +95058,7 @@ paths: type: array items: *388 examples: - default: *593 + default: *607 '304': *35 '500': *91 '401': *23 @@ -95975,7 +96024,7 @@ paths: type: array items: *204 examples: - default: &606 + default: &620 value: - id: 197 name: hello_docker @@ -96076,7 +96125,7 @@ paths: application/json: schema: type: array - items: &594 + items: &608 title: Email description: Email type: object @@ -96146,9 +96195,9 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: - default: &608 + default: &622 value: - email: octocat@github.com verified: true @@ -96225,7 +96274,7 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: default: value: @@ -96483,7 +96532,7 @@ paths: application/json: schema: type: array - items: &595 + items: &609 title: GPG Key description: A unique encryption key type: object @@ -96628,7 +96677,7 @@ paths: - subkeys - revoked examples: - default: &619 + default: &633 value: - id: 3 name: Octocat's GPG Key @@ -96713,9 +96762,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *609 examples: - default: &596 + default: &610 value: id: 3 name: Octocat's GPG Key @@ -96772,7 +96821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &597 + - &611 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96784,9 +96833,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *609 examples: - default: *596 + default: *610 '404': *6 '304': *35 '403': *27 @@ -96809,7 +96858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *597 + - *611 responses: '204': description: Response @@ -97000,7 +97049,7 @@ paths: type: array items: *59 examples: - default: *598 + default: *612 headers: Link: *57 '404': *6 @@ -97264,7 +97313,7 @@ paths: application/json: schema: type: array - items: &599 + items: &613 title: Key description: Key type: object @@ -97362,9 +97411,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: &600 + default: &614 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97403,9 +97452,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: *600 + default: *614 '404': *6 '304': *35 '403': *27 @@ -97461,7 +97510,7 @@ paths: application/json: schema: type: array - items: &601 + items: &615 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97540,7 +97589,7 @@ paths: - account - plan examples: - default: &602 + default: &616 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97602,9 +97651,9 @@ paths: application/json: schema: type: array - items: *601 + items: *615 examples: - default: *602 + default: *616 headers: Link: *57 '304': *35 @@ -98608,7 +98657,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *198 - - *603 + - *617 responses: '204': description: Response @@ -98681,7 +98730,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 '304': *35 @@ -98723,7 +98772,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *19 - *17 responses: @@ -98735,8 +98784,8 @@ paths: type: array items: *204 examples: - default: *606 - '400': *607 + default: *620 + '400': *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98765,7 +98814,7 @@ paths: application/json: schema: *204 examples: - default: &620 + default: &634 value: id: 40201 name: octo-name @@ -99220,9 +99269,9 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: - default: *608 + default: *622 headers: Link: *57 '304': *35 @@ -99335,7 +99384,7 @@ paths: type: array items: *59 examples: - default: &615 + default: &629 summary: Default response value: - id: 1296269 @@ -99695,7 +99744,7 @@ paths: type: array items: *458 examples: - default: *609 + default: *623 headers: Link: *57 '304': *35 @@ -99774,7 +99823,7 @@ paths: application/json: schema: type: array - items: &610 + items: &624 title: Social account description: Social media account type: object @@ -99791,7 +99840,7 @@ paths: - provider - url examples: - default: &611 + default: &625 value: - provider: twitter url: https://twitter.com/github @@ -99854,9 +99903,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 '422': *15 '304': *35 '404': *6 @@ -99944,7 +99993,7 @@ paths: application/json: schema: type: array - items: &612 + items: &626 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99964,7 +100013,7 @@ paths: - title - created_at examples: - default: &631 + default: &645 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100031,9 +100080,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: &613 + default: &627 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100064,7 +100113,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: - - &614 + - &628 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -100076,9 +100125,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: *613 + default: *627 '404': *6 '304': *35 '403': *27 @@ -100101,7 +100150,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: - - *614 + - *628 responses: '204': description: Response @@ -100130,7 +100179,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &632 + - &646 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 @@ -100155,11 +100204,11 @@ paths: type: array items: *59 examples: - default-response: *615 + default-response: *629 application/vnd.github.v3.star+json: schema: type: array - items: &633 + items: &647 title: Starred Repository description: Starred Repository type: object @@ -100528,10 +100577,10 @@ paths: application/json: schema: oneOf: - - *588 - - *587 + - *602 + - *601 examples: - default-response: &617 + default-response: &631 summary: Default response value: login: octocat @@ -100566,7 +100615,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &618 + response-with-git-hub-plan-information: &632 summary: Response with GitHub plan information value: login: octocat @@ -100626,7 +100675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *616 + - *630 - *17 responses: '200': @@ -100675,11 +100724,11 @@ paths: application/json: schema: oneOf: - - *588 - - *587 + - *602 + - *601 examples: - default-response: *617 - response-with-git-hub-plan-information: *618 + default-response: *631 + response-with-git-hub-plan-information: *632 '404': *6 x-github: githubCloudOnly: false @@ -100796,7 +100845,7 @@ paths: type: array items: *204 examples: - default: *606 + default: *620 '403': *27 '401': *23 x-github: @@ -101200,9 +101249,9 @@ paths: application/json: schema: type: array - items: *595 + items: *609 examples: - default: *619 + default: *633 headers: Link: *57 x-github: @@ -101384,7 +101433,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 x-github: @@ -101423,7 +101472,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *129 - *19 - *17 @@ -101436,10 +101485,10 @@ paths: type: array items: *204 examples: - default: *606 + default: *620 '403': *27 '401': *23 - '400': *607 + '400': *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101469,7 +101518,7 @@ paths: application/json: schema: *204 examples: - default: *620 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102068,9 +102117,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *635 examples: - default: *622 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102098,9 +102147,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *637 examples: - default: *624 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102128,9 +102177,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *639 examples: - default: *626 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102151,10 +102200,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *129 - - *627 - - *628 - - *629 - - *630 + - *641 + - *642 + - *643 + - *644 responses: '200': description: Response when getting a billing usage report @@ -102253,9 +102302,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 headers: Link: *57 x-github: @@ -102285,9 +102334,9 @@ paths: application/json: schema: type: array - items: *612 + items: *626 examples: - default: *631 + default: *645 headers: Link: *57 x-github: @@ -102312,7 +102361,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *129 - - *632 + - *646 - *46 - *17 - *19 @@ -102324,11 +102373,11 @@ paths: schema: anyOf: - type: array - items: *633 + items: *647 - type: array items: *59 examples: - default-response: *615 + default-response: *629 headers: Link: *57 x-github: @@ -102488,7 +102537,7 @@ webhooks: type: string enum: - disabled - enterprise: &634 + enterprise: &648 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102557,7 +102606,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &635 + installation: &649 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102578,7 +102627,7 @@ webhooks: required: - id - node_id - organization: &636 + organization: &650 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102651,7 +102700,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &637 + repository: &651 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -103564,10 +103613,10 @@ webhooks: type: string enum: - enabled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -103643,11 +103692,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: &638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: &652 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) @@ -103870,11 +103919,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -104062,11 +104111,11 @@ webhooks: - everyone required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -104150,7 +104199,7 @@ webhooks: type: string enum: - completed - check_run: &640 + check_run: &654 title: CheckRun description: A check performed on the code of a given code change type: object @@ -104263,7 +104312,7 @@ webhooks: - examples: - neutral - deployment: *639 + deployment: *653 details_url: type: string examples: @@ -104361,9 +104410,9 @@ webhooks: - output - app - pull_requests - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -104756,10 +104805,10 @@ webhooks: type: string enum: - created - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -105155,10 +105204,10 @@ webhooks: type: string enum: - requested_action - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 requested_action: description: The action requested by the user. type: object @@ -105563,10 +105612,10 @@ webhooks: type: string enum: - rerequested - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -106558,10 +106607,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -107246,10 +107295,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -107928,10 +107977,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -108249,20 +108298,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &641 + commit_oid: &655 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: *634 - installation: *635 - organization: *636 - ref: &642 + enterprise: *648 + installation: *649 + organization: *650 + ref: &656 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: *637 + repository: *651 sender: *4 required: - action @@ -108667,12 +108716,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -108952,12 +109001,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -109300,12 +109349,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -109585,9 +109634,9 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -109595,7 +109644,7 @@ webhooks: type: - string - 'null' - repository: *637 + repository: *651 sender: *4 required: - action @@ -109838,12 +109887,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -110105,10 +110154,10 @@ webhooks: - updated_at - author_association - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -110189,18 +110238,18 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *636 - pusher_type: &643 + organization: *650 + pusher_type: &657 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &644 + ref: &658 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -110210,7 +110259,7 @@ webhooks: enum: - tag - branch - repository: *637 + repository: *651 sender: *4 required: - ref @@ -110293,9 +110342,9 @@ webhooks: enum: - created definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110380,9 +110429,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110460,9 +110509,9 @@ webhooks: enum: - promote_to_enterprise definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110540,9 +110589,9 @@ webhooks: enum: - updated definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110619,10 +110668,10 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - repository: *637 - organization: *636 + enterprise: *648 + installation: *649 + repository: *651 + organization: *650 sender: *4 new_property_values: type: array @@ -110707,18 +110756,18 @@ webhooks: title: delete event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - pusher_type: *643 - ref: *644 + enterprise: *648 + installation: *649 + organization: *650 + pusher_type: *657 + ref: *658 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *637 + repository: *651 sender: *4 required: - ref @@ -110803,10 +110852,10 @@ webhooks: enum: - auto_dismissed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -110891,10 +110940,10 @@ webhooks: enum: - auto_reopened alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -110979,10 +111028,10 @@ webhooks: enum: - created alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111065,10 +111114,10 @@ webhooks: enum: - dismissed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111151,10 +111200,10 @@ webhooks: enum: - fixed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111238,10 +111287,10 @@ webhooks: enum: - reintroduced alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111324,10 +111373,10 @@ webhooks: enum: - reopened alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111404,9 +111453,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - key: &645 + enterprise: *648 + installation: *649 + key: &659 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111444,8 +111493,8 @@ webhooks: - verified - created_at - read_only - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -111522,11 +111571,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - key: *645 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + key: *659 + organization: *650 + repository: *651 sender: *4 required: - action @@ -112098,12 +112147,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: &649 + workflow: &663 title: Workflow type: - object @@ -112845,9 +112894,9 @@ webhooks: pull_requests: type: array items: *502 - repository: *637 - organization: *636 - installation: *635 + repository: *651 + organization: *650 + installation: *649 sender: *4 responses: '200': @@ -112918,7 +112967,7 @@ webhooks: type: string enum: - approved - approver: &646 + approver: &660 type: object properties: avatar_url: @@ -112961,11 +113010,11 @@ webhooks: type: string comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: &647 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: &661 type: array items: type: object @@ -113046,7 +113095,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &648 + workflow_job_run: &662 type: object properties: conclusion: @@ -113792,18 +113841,18 @@ webhooks: type: string enum: - rejected - approver: *646 + approver: *660 comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: *647 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: *661 sender: *4 since: type: string - workflow_job_run: *648 + workflow_job_run: *662 workflow_job_runs: type: array items: @@ -114520,13 +114569,13 @@ webhooks: type: string enum: - requested - enterprise: *634 + enterprise: *648 environment: type: string - installation: *635 - organization: *636 - repository: *637 - requestor: &654 + installation: *649 + organization: *650 + repository: *651 + requestor: &668 title: User type: - object @@ -116469,12 +116518,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Deployment Workflow Run type: @@ -117165,7 +117214,7 @@ webhooks: type: string enum: - answered - answer: &652 + answer: &666 type: object properties: author_association: @@ -117325,7 +117374,7 @@ webhooks: - created_at - updated_at - body - discussion: &650 + discussion: &664 title: Discussion description: A Discussion in a repository. type: object @@ -117643,10 +117692,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117773,11 +117822,11 @@ webhooks: - from required: - category - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117860,11 +117909,11 @@ webhooks: type: string enum: - closed - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117946,7 +117995,7 @@ webhooks: type: string enum: - created - comment: &651 + comment: &665 type: object properties: author_association: @@ -118106,11 +118155,11 @@ webhooks: - updated_at - body - reactions - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118193,12 +118242,12 @@ webhooks: type: string enum: - deleted - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118293,12 +118342,12 @@ webhooks: - from required: - body - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118382,11 +118431,11 @@ webhooks: type: string enum: - created - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118468,11 +118517,11 @@ webhooks: type: string enum: - deleted - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118572,11 +118621,11 @@ webhooks: type: string required: - from - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118658,10 +118707,10 @@ webhooks: type: string enum: - labeled - discussion: *650 - enterprise: *634 - installation: *635 - label: &653 + discussion: *664 + enterprise: *648 + installation: *649 + label: &667 title: Label type: object properties: @@ -118694,8 +118743,8 @@ webhooks: - color - default - description - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118778,11 +118827,11 @@ webhooks: type: string enum: - locked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118864,11 +118913,11 @@ webhooks: type: string enum: - pinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118950,11 +118999,11 @@ webhooks: type: string enum: - reopened - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119039,16 +119088,16 @@ webhooks: changes: type: object properties: - new_discussion: *650 - new_repository: *637 + new_discussion: *664 + new_repository: *651 required: - new_discussion - new_repository - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119131,10 +119180,10 @@ webhooks: type: string enum: - unanswered - discussion: *650 - old_answer: *652 - organization: *636 - repository: *637 + discussion: *664 + old_answer: *666 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119216,12 +119265,12 @@ webhooks: type: string enum: - unlabeled - discussion: *650 - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119304,11 +119353,11 @@ webhooks: type: string enum: - unlocked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119390,11 +119439,11 @@ webhooks: type: string enum: - unpinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119467,7 +119516,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *634 + enterprise: *648 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -120145,9 +120194,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - forkee @@ -120293,9 +120342,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pages: description: The pages that were updated. type: array @@ -120333,7 +120382,7 @@ webhooks: - action - sha - html_url - repository: *637 + repository: *651 sender: *4 required: - pages @@ -120409,10 +120458,10 @@ webhooks: type: string enum: - created - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: &655 + organization: *650 + repositories: &669 description: An array of repository objects that the installation can access. type: array @@ -120438,8 +120487,8 @@ webhooks: - name - full_name - private - repository: *637 - requester: *654 + repository: *651 + requester: *668 sender: *4 required: - action @@ -120514,11 +120563,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -120595,11 +120644,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -120676,10 +120725,10 @@ webhooks: type: string enum: - added - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories_added: &656 + organization: *650 + repositories_added: &670 description: An array of repository objects, which were added to the installation. type: array @@ -120725,15 +120774,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *637 - repository_selection: &657 + repository: *651 + repository_selection: &671 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *654 + requester: *668 sender: *4 required: - action @@ -120812,10 +120861,10 @@ webhooks: type: string enum: - removed - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories_added: *656 + organization: *650 + repositories_added: *670 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -120842,9 +120891,9 @@ webhooks: - name - full_name - private - repository: *637 - repository_selection: *657 - requester: *654 + repository: *651 + repository_selection: *671 + requester: *668 sender: *4 required: - action @@ -120923,11 +120972,11 @@ webhooks: type: string enum: - suspend - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -121109,10 +121158,10 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 target_type: type: string @@ -121191,11 +121240,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -121443,8 +121492,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122635,8 +122684,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -122716,7 +122765,7 @@ webhooks: type: string enum: - deleted - comment: &658 + comment: &672 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -122883,8 +122932,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124073,8 +124122,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -124154,7 +124203,7 @@ webhooks: type: string enum: - edited - changes: &683 + changes: &697 description: The changes to the comment. type: object properties: @@ -124166,9 +124215,9 @@ webhooks: type: string required: - from - comment: *658 - enterprise: *634 - installation: *635 + comment: *672 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125358,8 +125407,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -125441,10 +125490,10 @@ webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - issue: &661 + assignee: *668 + enterprise: *648 + installation: *649 + issue: &675 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126389,8 +126438,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -126470,8 +126519,8 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -127564,8 +127613,8 @@ webhooks: required: - state - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -127644,8 +127693,8 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128585,8 +128634,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -128665,8 +128714,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129608,7 +129657,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &659 + milestone: &673 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129751,8 +129800,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -129851,8 +129900,8 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130797,9 +130846,9 @@ webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -130879,8 +130928,8 @@ webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131824,9 +131873,9 @@ webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -131906,8 +131955,8 @@ webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132853,8 +132902,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -132933,8 +132982,8 @@ webhooks: type: string enum: - milestoned - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133874,9 +133923,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *659 - organization: *636 - repository: *637 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -135358,8 +135407,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136303,8 +136352,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136384,9 +136433,9 @@ webhooks: type: string enum: - pinned - enterprise: *634 - installation: *635 - issue: &660 + enterprise: *648 + installation: *649 + issue: &674 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -137324,8 +137373,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137404,8 +137453,8 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138350,8 +138399,8 @@ webhooks: user_view_type: type: string type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139852,11 +139901,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139936,12 +139985,12 @@ webhooks: type: string enum: - typed - enterprise: *634 - installation: *635 - issue: *661 + enterprise: *648 + installation: *649 + issue: *675 type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140022,7 +140071,7 @@ webhooks: type: string enum: - unassigned - assignee: &686 + assignee: &700 title: User type: - object @@ -140094,11 +140143,11 @@ webhooks: required: - login - id - enterprise: *634 - installation: *635 - issue: *661 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *675 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140177,12 +140226,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - issue: *661 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *675 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140262,8 +140311,8 @@ webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141207,8 +141256,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141288,11 +141337,11 @@ webhooks: type: string enum: - unpinned - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141371,12 +141420,12 @@ webhooks: type: string enum: - untyped - enterprise: *634 - installation: *635 - issue: *661 + enterprise: *648 + installation: *649 + issue: *675 type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141456,11 +141505,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141538,11 +141587,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141652,11 +141701,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141738,9 +141787,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: &662 + enterprise: *648 + installation: *649 + marketplace_purchase: &676 title: Marketplace Purchase type: object required: @@ -141828,8 +141877,8 @@ webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: &663 + organization: *650 + previous_marketplace_purchase: &677 title: Marketplace Purchase type: object properties: @@ -141913,7 +141962,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -141993,10 +142042,10 @@ webhooks: - changed effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142084,7 +142133,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142166,10 +142215,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142255,7 +142304,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142336,8 +142385,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 marketplace_purchase: title: Marketplace Purchase type: object @@ -142423,9 +142472,9 @@ webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -142505,12 +142554,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -142612,11 +142661,11 @@ webhooks: type: string required: - to - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142718,11 +142767,11 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142801,11 +142850,11 @@ webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142883,11 +142932,11 @@ webhooks: type: string enum: - added - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142965,7 +143014,7 @@ webhooks: required: - login - id - team: &664 + team: &678 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -143158,11 +143207,11 @@ webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143241,7 +143290,7 @@ webhooks: required: - login - id - team: *664 + team: *678 required: - action - scope @@ -143323,8 +143372,8 @@ webhooks: type: string enum: - checks_requested - installation: *635 - merge_group: &665 + installation: *649 + merge_group: &679 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -143350,8 +143399,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143437,10 +143486,10 @@ webhooks: - merged - invalidated - dequeued - installation: *635 - merge_group: *665 - organization: *636 - repository: *637 + installation: *649 + merge_group: *679 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143513,7 +143562,7 @@ webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *648 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -143621,12 +143670,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *635 - organization: *636 + installation: *649 + organization: *650 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -143706,11 +143755,11 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143789,9 +143838,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - milestone: &666 + enterprise: *648 + installation: *649 + milestone: &680 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143933,8 +143982,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144013,11 +144062,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144127,11 +144176,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144211,11 +144260,11 @@ webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - milestone: *666 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *680 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144294,11 +144343,11 @@ webhooks: type: string enum: - blocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144377,11 +144426,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144460,9 +144509,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - membership: &667 + enterprise: *648 + installation: *649 + membership: &681 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -144556,8 +144605,8 @@ webhooks: - role - organization_url - user - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144635,11 +144684,11 @@ webhooks: type: string enum: - member_added - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144718,8 +144767,8 @@ webhooks: type: string enum: - member_invited - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144841,10 +144890,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 - user: *654 + user: *668 required: - action - invitation @@ -144922,11 +144971,11 @@ webhooks: type: string enum: - member_removed - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -145013,11 +145062,11 @@ webhooks: properties: from: type: string - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -145093,9 +145142,9 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -145618,7 +145667,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &668 + items: &682 title: Ruby Gems metadata type: object properties: @@ -145715,7 +145764,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -145791,9 +145840,9 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -146155,7 +146204,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 source_url: type: string format: uri @@ -146226,7 +146275,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -146407,12 +146456,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *634 + enterprise: *648 id: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - id @@ -146489,7 +146538,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &669 + personal_access_token_request: &683 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -146639,10 +146688,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *634 - organization: *636 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146719,11 +146768,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *669 - enterprise: *634 - organization: *636 + personal_access_token_request: *683 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146799,11 +146848,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *669 - enterprise: *634 - organization: *636 + personal_access_token_request: *683 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146878,11 +146927,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *669 - organization: *636 - enterprise: *634 + personal_access_token_request: *683 + organization: *650 + enterprise: *648 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146987,7 +147036,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *670 + last_response: *684 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -147019,8 +147068,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 zen: description: Random string of GitHub zen. @@ -147265,10 +147314,10 @@ webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: &671 + enterprise: *648 + installation: *649 + organization: *650 + project_card: &685 title: Project Card type: object properties: @@ -147391,7 +147440,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -147472,11 +147521,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_card: *671 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *685 + repository: *651 sender: *4 required: - action @@ -147556,9 +147605,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 project_card: title: Project Card type: object @@ -147688,7 +147737,7 @@ webhooks: repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -147782,11 +147831,11 @@ webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: *671 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *685 + repository: *651 sender: *4 required: - action @@ -147880,9 +147929,9 @@ webhooks: - from required: - column_id - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 project_card: allOf: - title: Project Card @@ -148079,7 +148128,7 @@ webhooks: type: string required: - after_id - repository: *637 + repository: *651 sender: *4 required: - action @@ -148159,10 +148208,10 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - organization: *636 - project: &673 + enterprise: *648 + installation: *649 + organization: *650 + project: &687 title: Project type: object properties: @@ -148289,7 +148338,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148369,10 +148418,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_column: &672 + enterprise: *648 + installation: *649 + organization: *650 + project_column: &686 title: Project Column type: object properties: @@ -148412,7 +148461,7 @@ webhooks: - name - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148491,14 +148540,14 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -148587,11 +148636,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 + repository: *651 sender: *4 required: - action @@ -148671,11 +148720,11 @@ webhooks: type: string enum: - moved - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 + repository: *651 sender: *4 required: - action @@ -148755,11 +148804,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -148839,14 +148888,14 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project: *673 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -148947,11 +148996,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -149030,11 +149079,11 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -149115,9 +149164,9 @@ webhooks: type: string enum: - closed - installation: *635 - organization: *636 - projects_v2: &674 + installation: *649 + organization: *650 + projects_v2: &688 title: Projects v2 Project description: A projects v2 project type: object @@ -149265,9 +149314,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149348,9 +149397,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149471,9 +149520,9 @@ webhooks: type: string to: type: string - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149556,7 +149605,7 @@ webhooks: type: string enum: - archived - changes: &678 + changes: &692 type: object properties: archived_at: @@ -149572,9 +149621,9 @@ webhooks: - string - 'null' format: date-time - installation: *635 - organization: *636 - projects_v2_item: &675 + installation: *649 + organization: *650 + projects_v2_item: &689 title: Projects v2 Item description: An item belonging to a project type: object @@ -149713,9 +149762,9 @@ webhooks: - 'null' to: type: string - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149797,9 +149846,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149880,9 +149929,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149987,7 +150036,7 @@ webhooks: oneOf: - type: string - type: integer - - &676 + - &690 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -150007,7 +150056,7 @@ webhooks: required: - id - name - - &677 + - &691 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150036,8 +150085,8 @@ webhooks: oneOf: - type: string - type: integer - - *676 - - *677 + - *690 + - *691 type: - 'null' - string @@ -150060,9 +150109,9 @@ webhooks: - 'null' required: - body - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150159,9 +150208,9 @@ webhooks: type: - string - 'null' - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150244,10 +150293,10 @@ webhooks: type: string enum: - restored - changes: *678 - installation: *635 - organization: *636 - projects_v2_item: *675 + changes: *692 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150329,9 +150378,9 @@ webhooks: type: string enum: - reopened - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -150412,9 +150461,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_status_update: &679 + installation: *649 + organization: *650 + projects_v2_status_update: &693 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -150549,9 +150598,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_status_update: *679 + installation: *649 + organization: *650 + projects_v2_status_update: *693 sender: *4 required: - action @@ -150697,9 +150746,9 @@ webhooks: - string - 'null' format: date - installation: *635 - organization: *636 - projects_v2_status_update: *679 + installation: *649 + organization: *650 + projects_v2_status_update: *693 sender: *4 required: - action @@ -150770,10 +150819,10 @@ webhooks: title: public event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - repository @@ -150850,13 +150899,13 @@ webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - number: &680 + assignee: *668 + enterprise: *648 + installation: *649 + number: &694 description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -153205,7 +153254,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -153287,11 +153336,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -155633,7 +155682,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -155715,11 +155764,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -158061,7 +158110,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -158143,11 +158192,11 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: &681 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: &695 allOf: - *502 - type: object @@ -158211,7 +158260,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *637 + repository: *651 sender: *4 required: - action @@ -158292,12 +158341,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -158377,11 +158426,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *634 + enterprise: *648 milestone: *400 - number: *680 - organization: *636 - pull_request: &682 + number: *694 + organization: *650 + pull_request: &696 title: Pull Request type: object properties: @@ -160708,7 +160757,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -160787,11 +160836,11 @@ webhooks: type: string enum: - dequeued - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -163137,7 +163186,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *637 + repository: *651 sender: *4 required: - action @@ -163261,12 +163310,12 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -163346,11 +163395,11 @@ webhooks: type: string enum: - enqueued - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -165681,7 +165730,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -165761,11 +165810,11 @@ webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 - label: *653 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + label: *667 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -168113,7 +168162,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -168194,10 +168243,10 @@ webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -170543,7 +170592,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -170623,12 +170672,12 @@ webhooks: type: string enum: - milestoned - enterprise: *634 + enterprise: *648 milestone: *400 - number: *680 - organization: *636 - pull_request: *682 - repository: *637 + number: *694 + organization: *650 + pull_request: *696 + repository: *651 sender: *4 required: - action @@ -170707,12 +170756,12 @@ webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -170793,12 +170842,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -170878,12 +170927,12 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -171258,9 +171307,9 @@ webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -173490,7 +173539,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -173570,7 +173619,7 @@ webhooks: type: string enum: - deleted - comment: &684 + comment: &698 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -173863,9 +173912,9 @@ webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -176083,7 +176132,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -176163,11 +176212,11 @@ webhooks: type: string enum: - edited - changes: *683 - comment: *684 - enterprise: *634 - installation: *635 - organization: *636 + changes: *697 + comment: *698 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -178388,7 +178437,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -178469,9 +178518,9 @@ webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -180704,7 +180753,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 review: description: The review that was affected. type: object @@ -180950,9 +180999,9 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -183066,8 +183115,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: &685 + repository: *651 + review: &699 description: The review that was affected. type: object properties: @@ -183300,12 +183349,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -185652,7 +185701,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -185738,12 +185787,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -188097,7 +188146,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188292,12 +188341,12 @@ webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -190646,7 +190695,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -190733,12 +190782,12 @@ webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -193078,7 +193127,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193262,9 +193311,9 @@ webhooks: type: string enum: - submitted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -195500,8 +195549,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: *685 + repository: *651 + review: *699 sender: *4 required: - action @@ -195581,9 +195630,9 @@ webhooks: type: string enum: - resolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -197714,7 +197763,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -198106,9 +198155,9 @@ webhooks: type: string enum: - unresolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -200222,7 +200271,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -200616,10 +200665,10 @@ webhooks: type: string before: type: string - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -202954,7 +203003,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -203036,11 +203085,11 @@ webhooks: type: string enum: - unassigned - assignee: *686 - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + assignee: *700 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -205390,7 +205439,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -205469,11 +205518,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - label: *653 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + label: *667 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -207812,7 +207861,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -207893,10 +207942,10 @@ webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -210225,7 +210274,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -210428,7 +210477,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *634 + enterprise: *648 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -210523,8 +210572,8 @@ webhooks: - url - author - committer - installation: *635 - organization: *636 + installation: *649 + organization: *650 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -211112,9 +211161,9 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -211591,7 +211640,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -211647,7 +211696,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -211725,9 +211774,9 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -212039,7 +212088,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -212089,7 +212138,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -212166,10 +212215,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - release: &687 + enterprise: *648 + installation: *649 + organization: *650 + release: &701 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212490,7 +212539,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *637 + repository: *651 sender: *4 required: - action @@ -212567,11 +212616,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -212688,11 +212737,11 @@ webhooks: type: boolean required: - to - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -212770,9 +212819,9 @@ webhooks: type: string enum: - prereleased - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -213098,7 +213147,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213174,10 +213223,10 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - release: &688 + enterprise: *648 + installation: *649 + organization: *650 + release: &702 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213500,7 +213549,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213576,11 +213625,11 @@ webhooks: type: string enum: - released - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -213656,11 +213705,11 @@ webhooks: type: string enum: - unpublished - enterprise: *634 - installation: *635 - organization: *636 - release: *688 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *702 + repository: *651 sender: *4 required: - action @@ -213736,11 +213785,11 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *562 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *576 sender: *4 required: - action @@ -213816,11 +213865,11 @@ webhooks: type: string enum: - reported - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *562 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *576 sender: *4 required: - action @@ -213896,10 +213945,10 @@ webhooks: type: string enum: - archived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213976,10 +214025,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214057,10 +214106,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214145,10 +214194,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214263,10 +214312,10 @@ webhooks: - 'null' items: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214338,10 +214387,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 status: type: string @@ -214422,10 +214471,10 @@ webhooks: type: string enum: - privatized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214502,10 +214551,10 @@ webhooks: type: string enum: - publicized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214599,10 +214648,10 @@ webhooks: - name required: - repository - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214682,10 +214731,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 sender: *4 required: @@ -214764,10 +214813,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 sender: *4 required: @@ -214846,10 +214895,10 @@ webhooks: type: string enum: - edited - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 changes: type: object @@ -215157,10 +215206,10 @@ webhooks: - from required: - owner - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215238,10 +215287,10 @@ webhooks: type: string enum: - unarchived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215319,7 +215368,7 @@ webhooks: type: string enum: - create - alert: &689 + alert: &703 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -215443,10 +215492,10 @@ webhooks: type: string enum: - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215656,10 +215705,10 @@ webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215737,11 +215786,11 @@ webhooks: type: string enum: - reopen - alert: *689 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *703 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215943,10 +215992,10 @@ webhooks: enum: - fixed - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216024,7 +216073,7 @@ webhooks: type: string enum: - created - alert: &690 + alert: &704 type: object properties: number: *52 @@ -216134,10 +216183,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216218,11 +216267,11 @@ webhooks: type: string enum: - created - alert: *690 - installation: *635 - location: *691 - organization: *636 - repository: *637 + alert: *704 + installation: *649 + location: *705 + organization: *650 + repository: *651 sender: *4 required: - location @@ -216460,11 +216509,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216542,11 +216591,11 @@ webhooks: type: string enum: - reopened - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216624,11 +216673,11 @@ webhooks: type: string enum: - resolved - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216706,11 +216755,11 @@ webhooks: type: string enum: - validated - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216840,10 +216889,10 @@ webhooks: - organization - enterprise - - repository: *637 - enterprise: *634 - installation: *635 - organization: *636 + repository: *651 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -216921,11 +216970,11 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: &692 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: &706 description: The details of the security advisory, including summary, description, and severity. type: object @@ -217111,11 +217160,11 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: *692 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: *706 sender: *4 required: - action @@ -217188,10 +217237,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -217378,9 +217427,9 @@ webhooks: type: object properties: security_and_analysis: *226 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: *279 sender: *4 required: @@ -217459,12 +217508,12 @@ webhooks: type: string enum: - cancelled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: &693 + sponsorship: &707 type: object properties: created_at: @@ -217769,12 +217818,12 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - sponsorship @@ -217862,12 +217911,12 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -217944,17 +217993,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &694 + effective_date: &708 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: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - sponsorship @@ -218028,7 +218077,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &695 + changes: &709 type: object properties: tier: @@ -218072,13 +218121,13 @@ webhooks: - from required: - tier - effective_date: *694 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + effective_date: *708 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -218155,13 +218204,13 @@ webhooks: type: string enum: - tier_changed - changes: *695 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + changes: *709 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -218235,10 +218284,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218322,10 +218371,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218759,15 +218808,15 @@ webhooks: type: - string - 'null' - enterprise: *634 + enterprise: *648 id: description: The unique identifier of the status. type: integer - installation: *635 + installation: *649 name: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 sha: description: The Commit SHA. @@ -218883,9 +218932,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -218975,9 +219024,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219067,9 +219116,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219159,9 +219208,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219238,12 +219287,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - team: &696 + team: &710 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -219436,9 +219485,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -219908,7 +219957,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -219984,9 +220033,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -220456,7 +220505,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -220533,9 +220582,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -221005,7 +221054,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -221149,9 +221198,9 @@ webhooks: - from required: - permissions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -221621,7 +221670,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - changes @@ -221699,9 +221748,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -222171,7 +222220,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -222247,10 +222296,10 @@ webhooks: type: string enum: - started - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -222323,17 +222372,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *634 + enterprise: *648 inputs: type: - object - 'null' additionalProperties: true - installation: *635 - organization: *636 + installation: *649 + organization: *650 ref: type: string - repository: *637 + repository: *651 sender: *4 workflow: type: string @@ -222415,10 +222464,10 @@ webhooks: type: string enum: - completed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: allOf: @@ -222753,10 +222802,10 @@ webhooks: type: string enum: - in_progress - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: allOf: @@ -223117,10 +223166,10 @@ webhooks: type: string enum: - queued - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: type: object @@ -223345,10 +223394,10 @@ webhooks: type: string enum: - waiting - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: type: object @@ -223575,12 +223624,12 @@ webhooks: type: string enum: - completed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Workflow Run type: object @@ -224599,12 +224648,12 @@ webhooks: type: string enum: - in_progress - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Workflow Run type: object @@ -225608,12 +225657,12 @@ webhooks: type: string enum: - requested - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index d3bcabad2c..d9a77118b0 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -36200,6 +36200,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -36213,6 +36216,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -36254,7 +36263,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -39833,6 +39841,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -39846,6 +39857,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -39887,7 +39904,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -51239,6 +51255,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -86982,7 +87327,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -120549,6 +120894,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -120562,6 +120910,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -120603,7 +120957,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -152690,6 +153043,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -152703,6 +153059,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -152744,7 +153106,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -192747,6 +193108,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -534823,6 +535513,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -535718,6 +536737,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, @@ -536571,6 +537919,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index be4791eca5..2ba7f995bd 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1075,7 +1075,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: - - &652 + - &666 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1804,7 +1804,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &662 + schema: &676 title: Scim Error description: Scim Error type: object @@ -14286,6 +14286,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -14295,6 +14297,10 @@ paths: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -14324,7 +14330,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -18279,6 +18284,300 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &646 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &648 + 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 + examples: + - "/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 + examples: + - 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 + examples: + - 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 + - &649 + 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 + examples: + - "/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 + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - 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 + - &650 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &651 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &652 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &653 + 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. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &654 + 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. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &655 + 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. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &656 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &657 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &658 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &659 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &660 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url examples: default: &332 value: @@ -20420,7 +20719,7 @@ paths: url: type: string format: uri - user: &701 + user: &715 title: Public User description: Public User type: object @@ -24982,7 +25281,7 @@ paths: type: array items: *57 examples: - default: &718 + default: &732 value: - login: github id: 1 @@ -25272,7 +25571,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -26881,7 +27180,7 @@ paths: type: array items: *62 examples: - default: &712 + default: &726 value: total_count: 1 repositories: @@ -27704,7 +28003,7 @@ paths: type: array items: *191 examples: - default: &704 + default: &718 value: total_count: 1 repositories: @@ -39404,7 +39703,7 @@ paths: parameters: - *165 - *292 - - &717 + - &731 name: repo_name description: repo_name parameter in: path @@ -40737,7 +41036,7 @@ paths: - nuget - container - *165 - - &719 + - &733 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40778,7 +41077,7 @@ paths: default: *298 '403': *27 '401': *23 - '400': &721 + '400': &735 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45429,7 +45728,7 @@ paths: application/json: schema: type: array - items: &650 + items: &664 description: A repository security advisory. type: object properties: @@ -45748,7 +46047,7 @@ paths: - private_fork additionalProperties: false examples: - default: &651 + default: &665 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47600,7 +47899,7 @@ paths: - updated_at - url examples: - default: &691 + default: &705 value: - author: login: octocat @@ -47848,7 +48147,7 @@ paths: application/json: schema: *349 examples: - default: &692 + default: &706 value: author: login: octocat @@ -48039,7 +48338,7 @@ paths: - updated_at - url examples: - default: &693 + default: &707 value: - author: login: octocat @@ -48265,7 +48564,7 @@ paths: application/json: schema: *352 examples: - default: &694 + default: &708 value: author: login: octocat @@ -48981,7 +49280,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &695 + response-if-user-is-a-team-maintainer: &709 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -49046,7 +49345,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: &696 + response-if-users-membership-with-team-is-now-pending: &710 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49188,7 +49487,7 @@ paths: - updated_at - permissions examples: - default: &697 + default: &711 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49267,7 +49566,7 @@ paths: application/json: schema: *364 examples: - default: &698 + default: &712 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49478,7 +49777,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &699 + schema: &713 title: Team Repository description: A team's access to a repository. type: object @@ -50316,7 +50615,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: &700 + response-if-child-teams-exist: &714 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62791,7 +63090,7 @@ paths: check. type: array items: *438 - deployment: &750 + deployment: &764 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67993,7 +68292,7 @@ paths: type: array items: *476 examples: - default: &707 + default: &721 value: total_count: 2 machines: @@ -71341,7 +71640,7 @@ paths: application/json: schema: type: array - items: &655 + items: &669 title: Status description: The status of a commit. type: object @@ -72940,7 +73239,7 @@ paths: items: type: object properties: - placeholder_id: &647 + placeholder_id: &661 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79021,7 +79320,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &781 + last_response: &795 title: Hook Response type: object properties: @@ -79996,7 +80295,7 @@ paths: parameters: - *366 - *367 - - &730 + - &744 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -80430,7 +80729,7 @@ paths: type: array items: *549 examples: - default: &723 + default: &737 value: - id: 1 repository: @@ -94314,7 +94613,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 type: object properties: number: *96 @@ -94422,6 +94721,10 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *646 examples: default: value: @@ -94559,7 +94862,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94641,7 +94944,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94729,7 +95032,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &802 + items: &816 type: object properties: type: @@ -94756,273 +95059,19 @@ paths: - 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 - examples: - - "/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 - examples: - - 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 - examples: - - 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 - examples: - - "/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 - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *648 + - *649 + - *650 + - *651 + - *652 + - *653 + - *654 + - *655 + - *656 + - *657 + - *658 + - *659 + - *660 examples: default: value: @@ -95117,14 +95166,14 @@ paths: schema: type: object properties: - reason: &648 + reason: &662 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *647 + placeholder_id: *661 required: - reason - placeholder_id @@ -95141,7 +95190,7 @@ paths: schema: type: object properties: - reason: *648 + reason: *662 expire_at: type: - string @@ -95201,7 +95250,7 @@ paths: properties: incremental_scans: type: array - items: &649 + items: &663 description: Information on a single scan performed by secret scanning on the repository type: object @@ -95229,15 +95278,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *649 + items: *663 backfill_scans: type: array - items: *649 + items: *663 custom_pattern_backfill_scans: type: array items: allOf: - - *649 + - *663 - type: object properties: pattern_name: @@ -95352,9 +95401,9 @@ paths: application/json: schema: type: array - items: *650 + items: *664 examples: - default: *651 + default: *665 '400': *14 '404': *6 x-github: @@ -95548,9 +95597,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: &653 + default: &667 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -95897,7 +95946,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: default: value: @@ -96046,15 +96095,15 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '200': description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: *653 + default: *667 '403': *27 '404': *6 x-github: @@ -96080,7 +96129,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 requestBody: required: true content: @@ -96251,10 +96300,10 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: *653 - add_credit: *653 + default: *667 + add_credit: *667 '403': *27 '404': *6 '422': @@ -96294,7 +96343,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': *37 '400': *14 @@ -96323,7 +96372,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': description: Response @@ -96464,7 +96513,7 @@ paths: application/json: schema: type: array - items: &654 + items: &668 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -96837,7 +96886,7 @@ paths: application/json: schema: type: array - items: *654 + items: *668 examples: default: value: @@ -96927,7 +96976,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *669 examples: default: value: @@ -97021,7 +97070,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &656 + schema: &670 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -97121,7 +97170,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *670 examples: default: value: @@ -97261,7 +97310,7 @@ paths: application/json: schema: type: array - items: &657 + items: &671 title: Tag protection description: Tag protection type: object @@ -97342,7 +97391,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *671 examples: default: value: @@ -97490,7 +97539,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &672 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -97502,7 +97551,7 @@ paths: required: - names examples: - default: &659 + default: &673 value: names: - octocat @@ -97557,9 +97606,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *672 examples: - default: *659 + default: *673 '404': *6 '422': *7 x-github: @@ -97582,7 +97631,7 @@ paths: parameters: - *366 - *367 - - &660 + - &674 name: per description: The time frame to display results for. in: query @@ -97613,7 +97662,7 @@ paths: - 128 clones: type: array - items: &661 + items: &675 title: Traffic type: object properties: @@ -97861,7 +97910,7 @@ paths: parameters: - *366 - *367 - - *660 + - *674 responses: '200': description: Response @@ -97882,7 +97931,7 @@ paths: - 3782 views: type: array - items: *661 + items: *675 required: - uniques - count @@ -98554,7 +98603,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &669 + - &683 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -98564,7 +98613,7 @@ paths: type: string examples: - members - - &674 + - &688 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -98576,7 +98625,7 @@ paths: format: int32 examples: - 1 - - &675 + - &689 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -98620,7 +98669,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &663 + items: &677 allOf: - type: object required: @@ -98702,7 +98751,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: &676 + meta: &690 type: object description: The metadata associated with the creation/updates to the user. @@ -98767,31 +98816,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &664 + '400': &678 description: Bad request content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '401': &665 + schema: *676 + '401': &679 description: Authorization failure - '403': &666 + '403': &680 description: Permission denied - '429': &667 + '429': &681 description: Too many requests content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '500': &668 + schema: *676 + '500': &682 description: Internal server error content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 + schema: *676 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98815,7 +98864,7 @@ paths: required: true content: application/json: - schema: &672 + schema: &686 type: object required: - schemas @@ -98875,9 +98924,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *663 + schema: *677 examples: - group: &670 + group: &684 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -98896,13 +98945,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': *664 - '401': *665 - '403': *666 - '409': &673 + '400': *678 + '401': *679 + '403': *680 + '409': &687 description: Duplicate record detected - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98919,7 +98968,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: - - &671 + - &685 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -98928,22 +98977,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *669 + - *683 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *663 + schema: *677 examples: - default: *670 - '400': *664 - '401': *665 - '403': *666 + default: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98962,13 +99011,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: - - *671 + - *685 - *39 requestBody: required: true content: application/json: - schema: *672 + schema: *686 examples: group: summary: Group @@ -98994,17 +99043,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *663 + schema: *677 examples: - group: *670 - groupWithMembers: *670 - '400': *664 - '401': *665 - '403': *666 + group: *684 + groupWithMembers: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99028,13 +99077,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: - - *671 + - *685 - *39 requestBody: required: true content: application/json: - schema: &683 + schema: &697 type: object required: - Operations @@ -99094,17 +99143,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *663 + schema: *677 examples: - updateGroup: *670 - addMembers: *670 - '400': *664 - '401': *665 - '403': *666 + updateGroup: *684 + addMembers: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99120,17 +99169,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: - - *671 + - *685 - *39 responses: '204': description: Group was deleted, no content - '400': *664 - '401': *665 - '403': *666 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99164,8 +99213,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *674 - - *675 + - *688 + - *689 - *39 responses: '200': @@ -99199,7 +99248,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &678 + items: &692 allOf: - type: object required: @@ -99291,7 +99340,7 @@ paths: address. examples: - true - roles: &677 + roles: &691 type: array description: The roles assigned to the user. items: @@ -99350,7 +99399,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *676 + meta: *690 startIndex: type: integer description: A starting index for the returned page @@ -99389,11 +99438,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *664 - '401': *665 - '403': *666 - '429': *667 - '500': *668 + '400': *678 + '401': *679 + '403': *680 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99417,7 +99466,7 @@ paths: required: true content: application/json: - schema: &681 + schema: &695 type: object required: - schemas @@ -99510,9 +99559,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *677 + roles: *691 examples: - user: &682 + user: &696 summary: User value: schemas: @@ -99559,9 +99608,9 @@ paths: description: User has been created content: application/scim+json: - schema: *678 + schema: *692 examples: - user: &679 + user: &693 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99587,13 +99636,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: *679 - '400': *664 - '401': *665 - '403': *666 - '409': *673 - '429': *667 - '500': *668 + enterpriseOwner: *693 + '400': *678 + '401': *679 + '403': *680 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99610,7 +99659,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: - - &680 + - &694 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -99623,15 +99672,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *678 + schema: *692 examples: - default: *679 - '400': *664 - '401': *665 - '403': *666 + default: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99653,30 +99702,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: - - *680 + - *694 - *39 requestBody: required: true content: application/json: - schema: *681 + schema: *695 examples: - user: *682 + user: *696 responses: '200': description: User was updated content: application/scim+json: - schema: *678 + schema: *692 examples: - user: *679 - '400': *664 - '401': *665 - '403': *666 + user: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99711,13 +99760,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: - - *680 + - *694 - *39 requestBody: required: true content: application/json: - schema: *683 + schema: *697 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -99757,18 +99806,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *678 - examples: - userMultiValuedProperties: *679 - userSingleValuedProperties: *679 - disableUser: *679 - '400': *664 - '401': *665 - '403': *666 + schema: *692 + examples: + userMultiValuedProperties: *693 + userSingleValuedProperties: *693 + disableUser: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99788,17 +99837,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: - - *680 + - *694 - *39 responses: '204': description: User was deleted, no content - '400': *664 - '401': *665 - '403': *666 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99889,7 +99938,7 @@ paths: - 1 Resources: type: array - items: &684 + items: &698 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -100136,22 +100185,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &685 + '404': &699 description: Resource not found content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '403': &686 + schema: *676 + '403': &700 description: Forbidden content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '400': *664 - '429': *667 + schema: *676 + '400': *678 + '429': *681 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -100177,9 +100226,9 @@ paths: description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: &687 + default: &701 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -100202,17 +100251,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *685 - '403': *686 - '500': *668 + '404': *699 + '403': *700 + '500': *682 '409': description: Conflict content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '400': *664 + schema: *676 + '400': *678 requestBody: required: true content: @@ -100312,17 +100361,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 - '404': *685 - '403': *686 + default: *701 + '404': *699 + '403': *700 '304': *35 x-github: githubCloudOnly: true @@ -100346,18 +100395,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 + default: *701 '304': *35 - '404': *685 - '403': *686 + '404': *699 + '403': *700 requestBody: required: true content: @@ -100472,19 +100521,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 + default: *701 '304': *35 - '404': *685 - '403': *686 - '400': *664 + '404': *699 + '403': *700 + '400': *678 '429': description: Response content: @@ -100580,12 +100629,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *165 - - *680 + - *694 responses: '204': description: Response - '404': *685 - '403': *686 + '404': *699 + '403': *700 '304': *35 x-github: githubCloudOnly: true @@ -100719,7 +100768,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &688 + text_matches: &702 title: Search Result Text Matches type: array items: @@ -100883,7 +100932,7 @@ paths: enum: - author-date - committer-date - - &689 + - &703 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 @@ -101003,7 +101052,7 @@ paths: type: number node_id: type: string - text_matches: *688 + text_matches: *702 required: - sha - node_id @@ -101186,7 +101235,7 @@ paths: - interactions - created - updated - - *689 + - *703 - *17 - *19 - name: advanced_search @@ -101324,7 +101373,7 @@ paths: - string - 'null' format: date-time - text_matches: *688 + text_matches: *702 pull_request: type: object properties: @@ -101550,7 +101599,7 @@ paths: enum: - created - updated - - *689 + - *703 - *17 - *19 responses: @@ -101595,7 +101644,7 @@ paths: - 'null' score: type: number - text_matches: *688 + text_matches: *702 required: - id - node_id @@ -101681,7 +101730,7 @@ paths: - forks - help-wanted-issues - updated - - *689 + - *703 - *17 - *19 responses: @@ -101918,7 +101967,7 @@ paths: - admin - pull - push - text_matches: *688 + text_matches: *702 temp_clone_token: type: string allow_merge_commit: @@ -102227,7 +102276,7 @@ paths: - string - 'null' format: uri - text_matches: *688 + text_matches: *702 related: type: - array @@ -102422,7 +102471,7 @@ paths: - followers - repositories - joined - - *689 + - *703 - *17 - *19 responses: @@ -102532,7 +102581,7 @@ paths: type: - boolean - 'null' - text_matches: *688 + text_matches: *702 blog: type: - string @@ -102614,7 +102663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &690 + - &704 name: team_id description: The unique identifier of the team. in: path @@ -102655,7 +102704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *690 + - *704 requestBody: required: true content: @@ -102756,7 +102805,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *690 + - *704 responses: '204': description: Response @@ -102787,7 +102836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *690 + - *704 - *86 - *17 - *19 @@ -102800,7 +102849,7 @@ paths: type: array items: *349 examples: - default: *691 + default: *705 headers: Link: *38 x-github: @@ -102829,7 +102878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *690 + - *704 requestBody: required: true content: @@ -102892,7 +102941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *690 + - *704 - *351 responses: '200': @@ -102926,7 +102975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *690 + - *704 - *351 requestBody: required: false @@ -102952,7 +103001,7 @@ paths: application/json: schema: *349 examples: - default: *692 + default: *706 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102977,7 +103026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *690 + - *704 - *351 responses: '204': @@ -103007,7 +103056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *690 + - *704 - *351 - *86 - *17 @@ -103021,7 +103070,7 @@ paths: type: array items: *352 examples: - default: *693 + default: *707 headers: Link: *38 x-github: @@ -103050,7 +103099,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 requestBody: required: true @@ -103102,7 +103151,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 responses: @@ -103137,7 +103186,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 requestBody: @@ -103163,7 +103212,7 @@ paths: application/json: schema: *352 examples: - default: *694 + default: *708 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103188,7 +103237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 responses: @@ -103219,7 +103268,7 @@ 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: - - *690 + - *704 - *351 - *354 - name: content @@ -103278,7 +103327,7 @@ 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: - - *690 + - *704 - *351 - *354 requestBody: @@ -103340,7 +103389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *690 + - *704 - *351 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -103398,7 +103447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *690 + - *704 - *351 requestBody: required: true @@ -103457,7 +103506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -103495,7 +103544,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *690 + - *704 - name: role description: Filters members returned by their role in the team. in: query @@ -103546,7 +103595,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103583,7 +103632,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103623,7 +103672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103660,7 +103709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 responses: '200': @@ -103669,7 +103718,7 @@ paths: application/json: schema: *363 examples: - response-if-user-is-a-team-maintainer: *695 + response-if-user-is-a-team-maintainer: *709 '404': *6 x-github: githubCloudOnly: false @@ -103702,7 +103751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 requestBody: required: false @@ -103730,7 +103779,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: *696 + response-if-users-membership-with-team-is-now-pending: *710 '403': description: Forbidden if team synchronization is set up '422': @@ -103764,7 +103813,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103793,7 +103842,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -103805,7 +103854,7 @@ paths: type: array items: *364 examples: - default: *697 + default: *711 headers: Link: *38 '404': *6 @@ -103831,7 +103880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *690 + - *704 - *365 responses: '200': @@ -103840,7 +103889,7 @@ paths: application/json: schema: *364 examples: - default: *698 + default: *712 '404': description: Not Found if project is not managed by this team x-github: @@ -103864,7 +103913,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *690 + - *704 - *365 requestBody: required: false @@ -103932,7 +103981,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *690 + - *704 - *365 responses: '204': @@ -103960,7 +104009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -104002,7 +104051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *690 + - *704 - *366 - *367 responses: @@ -104010,7 +104059,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *699 + schema: *713 examples: alternative-response-with-extra-repository-information: value: @@ -104161,7 +104210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *690 + - *704 - *366 - *367 requestBody: @@ -104213,7 +104262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *690 + - *704 - *366 - *367 responses: @@ -104244,7 +104293,7 @@ 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: - - *690 + - *704 responses: '200': description: Response @@ -104279,7 +104328,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: - - *690 + - *704 requestBody: required: true content: @@ -104371,7 +104420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -104383,7 +104432,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: *700 + response-if-child-teams-exist: *714 headers: Link: *38 '404': *6 @@ -104416,7 +104465,7 @@ paths: application/json: schema: oneOf: - - &702 + - &716 title: Private User description: Private User type: object @@ -104666,7 +104715,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *701 + - *715 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -104826,7 +104875,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *716 examples: default: value: @@ -105224,7 +105273,7 @@ paths: type: integer secrets: type: array - items: &703 + items: &717 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -105344,7 +105393,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *717 examples: default: value: @@ -105490,7 +105539,7 @@ paths: type: array items: *191 examples: - default: *704 + default: *718 '401': *23 '403': *27 '404': *6 @@ -105757,7 +105806,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &719 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -105810,7 +105859,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &706 + default: &720 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -105855,9 +105904,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *719 examples: - default: *706 + default: *720 '404': *6 x-github: githubCloudOnly: false @@ -105896,7 +105945,7 @@ paths: type: array items: *476 examples: - default: *707 + default: *721 '304': *35 '500': *83 '401': *23 @@ -106862,7 +106911,7 @@ paths: type: array items: *297 examples: - default: &720 + default: &734 value: - id: 197 name: hello_docker @@ -106963,7 +107012,7 @@ paths: application/json: schema: type: array - items: &708 + items: &722 title: Email description: Email type: object @@ -107033,9 +107082,9 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: - default: &722 + default: &736 value: - email: octocat@github.com verified: true @@ -107112,7 +107161,7 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: default: value: @@ -107370,7 +107419,7 @@ paths: application/json: schema: type: array - items: &709 + items: &723 title: GPG Key description: A unique encryption key type: object @@ -107515,7 +107564,7 @@ paths: - subkeys - revoked examples: - default: &733 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -107600,9 +107649,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *723 examples: - default: &710 + default: &724 value: id: 3 name: Octocat's GPG Key @@ -107659,7 +107708,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: - - &711 + - &725 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -107671,9 +107720,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *723 examples: - default: *710 + default: *724 '404': *6 '304': *35 '403': *27 @@ -107696,7 +107745,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: - - *711 + - *725 responses: '204': description: Response @@ -107887,7 +107936,7 @@ paths: type: array items: *62 examples: - default: *712 + default: *726 headers: Link: *38 '404': *6 @@ -108151,7 +108200,7 @@ paths: application/json: schema: type: array - items: &713 + items: &727 title: Key description: Key type: object @@ -108249,9 +108298,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: &714 + default: &728 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108290,9 +108339,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: *714 + default: *728 '404': *6 '304': *35 '403': *27 @@ -108348,7 +108397,7 @@ paths: application/json: schema: type: array - items: &715 + items: &729 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -108427,7 +108476,7 @@ paths: - account - plan examples: - default: &716 + default: &730 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -108489,9 +108538,9 @@ paths: application/json: schema: type: array - items: *715 + items: *729 examples: - default: *716 + default: *730 headers: Link: *38 '304': *35 @@ -109495,7 +109544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *292 - - *717 + - *731 responses: '204': description: Response @@ -109568,7 +109617,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 '304': *35 @@ -109610,7 +109659,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *19 - *17 responses: @@ -109622,8 +109671,8 @@ paths: type: array items: *297 examples: - default: *720 - '400': *721 + default: *734 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109652,7 +109701,7 @@ paths: application/json: schema: *297 examples: - default: &734 + default: &748 value: id: 40201 name: octo-name @@ -110107,9 +110156,9 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: - default: *722 + default: *736 headers: Link: *38 '304': *35 @@ -110222,7 +110271,7 @@ paths: type: array items: *62 examples: - default: &729 + default: &743 summary: Default response value: - id: 1296269 @@ -110582,7 +110631,7 @@ paths: type: array items: *549 examples: - default: *723 + default: *737 headers: Link: *38 '304': *35 @@ -110661,7 +110710,7 @@ paths: application/json: schema: type: array - items: &724 + items: &738 title: Social account description: Social media account type: object @@ -110678,7 +110727,7 @@ paths: - provider - url examples: - default: &725 + default: &739 value: - provider: twitter url: https://twitter.com/github @@ -110741,9 +110790,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 '422': *15 '304': *35 '404': *6 @@ -110831,7 +110880,7 @@ paths: application/json: schema: type: array - items: &726 + items: &740 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -110851,7 +110900,7 @@ paths: - title - created_at examples: - default: &735 + default: &749 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110918,9 +110967,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: &727 + default: &741 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110951,7 +111000,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: - - &728 + - &742 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -110963,9 +111012,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: *727 + default: *741 '404': *6 '304': *35 '403': *27 @@ -110988,7 +111037,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: - - *728 + - *742 responses: '204': description: Response @@ -111017,7 +111066,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: - - &736 + - &750 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 @@ -111042,11 +111091,11 @@ paths: type: array items: *62 examples: - default-response: *729 + default-response: *743 application/vnd.github.v3.star+json: schema: type: array - items: &737 + items: &751 title: Starred Repository description: Starred Repository type: object @@ -111415,10 +111464,10 @@ paths: application/json: schema: oneOf: - - *702 - - *701 + - *716 + - *715 examples: - default-response: &731 + default-response: &745 summary: Default response value: login: octocat @@ -111453,7 +111502,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &732 + response-with-git-hub-plan-information: &746 summary: Response with GitHub plan information value: login: octocat @@ -111513,7 +111562,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *730 + - *744 - *17 responses: '200': @@ -111562,11 +111611,11 @@ paths: application/json: schema: oneOf: - - *702 - - *701 + - *716 + - *715 examples: - default-response: *731 - response-with-git-hub-plan-information: *732 + default-response: *745 + response-with-git-hub-plan-information: *746 '404': *6 x-github: githubCloudOnly: false @@ -111683,7 +111732,7 @@ paths: type: array items: *297 examples: - default: *720 + default: *734 '403': *27 '401': *23 x-github: @@ -112087,9 +112136,9 @@ paths: application/json: schema: type: array - items: *709 + items: *723 examples: - default: *733 + default: *747 headers: Link: *38 x-github: @@ -112271,7 +112320,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 x-github: @@ -112310,7 +112359,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *213 - *19 - *17 @@ -112323,10 +112372,10 @@ paths: type: array items: *297 examples: - default: *720 + default: *734 '403': *27 '401': *23 - '400': *721 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112356,7 +112405,7 @@ paths: application/json: schema: *297 examples: - default: *734 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113140,9 +113189,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 headers: Link: *38 x-github: @@ -113172,9 +113221,9 @@ paths: application/json: schema: type: array - items: *726 + items: *740 examples: - default: *735 + default: *749 headers: Link: *38 x-github: @@ -113199,7 +113248,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *213 - - *736 + - *750 - *86 - *17 - *19 @@ -113211,11 +113260,11 @@ paths: schema: anyOf: - type: array - items: *737 + items: *751 - type: array items: *62 examples: - default-response: *729 + default-response: *743 headers: Link: *38 x-github: @@ -113375,7 +113424,7 @@ webhooks: type: string enum: - disabled - enterprise: &738 + enterprise: &752 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -113444,7 +113493,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &739 + installation: &753 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -113465,7 +113514,7 @@ webhooks: required: - id - node_id - organization: &740 + organization: &754 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -113538,7 +113587,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &741 + repository: &755 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -114451,10 +114500,10 @@ webhooks: type: string enum: - enabled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -114530,11 +114579,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: &742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: &756 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) @@ -114757,11 +114806,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -114949,11 +114998,11 @@ webhooks: - everyone required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -115024,7 +115073,7 @@ webhooks: required: true content: application/json: - schema: &745 + schema: &759 title: Exemption request cancellation event type: object properties: @@ -115032,11 +115081,11 @@ webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: &743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: &757 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -115274,7 +115323,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &744 + items: &758 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -115384,7 +115433,7 @@ webhooks: required: true content: application/json: - schema: &746 + schema: &760 title: Exemption request completed event type: object properties: @@ -115392,11 +115441,11 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -115466,7 +115515,7 @@ webhooks: required: true content: application/json: - schema: &747 + schema: &761 title: Exemption request created event type: object properties: @@ -115474,11 +115523,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -115548,7 +115597,7 @@ webhooks: required: true content: application/json: - schema: &748 + schema: &762 title: Exemption response dismissed event type: object properties: @@ -115556,12 +115605,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -115633,7 +115682,7 @@ webhooks: required: true content: application/json: - schema: &749 + schema: &763 title: Exemption response submitted event type: object properties: @@ -115641,12 +115690,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -115719,7 +115768,7 @@ webhooks: required: true content: application/json: - schema: *745 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115786,7 +115835,7 @@ webhooks: required: true content: application/json: - schema: *746 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115853,7 +115902,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115920,7 +115969,7 @@ webhooks: required: true content: application/json: - schema: *748 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115988,7 +116037,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116066,7 +116115,7 @@ webhooks: type: string enum: - completed - check_run: &751 + check_run: &765 title: CheckRun description: A check performed on the code of a given code change type: object @@ -116179,7 +116228,7 @@ webhooks: - examples: - neutral - deployment: *750 + deployment: *764 details_url: type: string examples: @@ -116277,9 +116326,9 @@ webhooks: - output - app - pull_requests - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -116672,10 +116721,10 @@ webhooks: type: string enum: - created - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -117071,10 +117120,10 @@ webhooks: type: string enum: - requested_action - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 requested_action: description: The action requested by the user. type: object @@ -117479,10 +117528,10 @@ webhooks: type: string enum: - rerequested - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -118474,10 +118523,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -119162,10 +119211,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -119844,10 +119893,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -120165,20 +120214,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &752 + commit_oid: &766 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: *738 - installation: *739 - organization: *740 - ref: &753 + enterprise: *752 + installation: *753 + organization: *754 + ref: &767 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: *741 + repository: *755 sender: *4 required: - action @@ -120583,12 +120632,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -120868,12 +120917,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -121216,12 +121265,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -121501,9 +121550,9 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -121511,7 +121560,7 @@ webhooks: type: - string - 'null' - repository: *741 + repository: *755 sender: *4 required: - action @@ -121754,12 +121803,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -122021,10 +122070,10 @@ webhooks: - updated_at - author_association - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -122105,18 +122154,18 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *740 - pusher_type: &754 + organization: *754 + pusher_type: &768 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &755 + ref: &769 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -122126,7 +122175,7 @@ webhooks: enum: - tag - branch - repository: *741 + repository: *755 sender: *4 required: - ref @@ -122209,9 +122258,9 @@ webhooks: enum: - created definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122296,9 +122345,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122376,9 +122425,9 @@ webhooks: enum: - promote_to_enterprise definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122456,9 +122505,9 @@ webhooks: enum: - updated definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122535,10 +122584,10 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - repository: *741 - organization: *740 + enterprise: *752 + installation: *753 + repository: *755 + organization: *754 sender: *4 new_property_values: type: array @@ -122623,18 +122672,18 @@ webhooks: title: delete event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - pusher_type: *754 - ref: *755 + enterprise: *752 + installation: *753 + organization: *754 + pusher_type: *768 + ref: *769 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *741 + repository: *755 sender: *4 required: - ref @@ -122719,10 +122768,10 @@ webhooks: enum: - auto_dismissed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122807,10 +122856,10 @@ webhooks: enum: - auto_reopened alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122895,10 +122944,10 @@ webhooks: enum: - created alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122981,10 +123030,10 @@ webhooks: enum: - dismissed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123067,10 +123116,10 @@ webhooks: enum: - fixed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123154,10 +123203,10 @@ webhooks: enum: - reintroduced alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123240,10 +123289,10 @@ webhooks: enum: - reopened alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123320,9 +123369,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - key: &756 + enterprise: *752 + installation: *753 + key: &770 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -123360,8 +123409,8 @@ webhooks: - verified - created_at - read_only - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -123438,11 +123487,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - key: *756 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + key: *770 + organization: *754 + repository: *755 sender: *4 required: - action @@ -124014,12 +124063,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: &760 + workflow: &774 title: Workflow type: - object @@ -124761,9 +124810,9 @@ webhooks: pull_requests: type: array items: *593 - repository: *741 - organization: *740 - installation: *739 + repository: *755 + organization: *754 + installation: *753 sender: *4 responses: '200': @@ -124834,7 +124883,7 @@ webhooks: type: string enum: - approved - approver: &757 + approver: &771 type: object properties: avatar_url: @@ -124877,11 +124926,11 @@ webhooks: type: string comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: &758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: &772 type: array items: type: object @@ -124962,7 +125011,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &759 + workflow_job_run: &773 type: object properties: conclusion: @@ -125708,18 +125757,18 @@ webhooks: type: string enum: - rejected - approver: *757 + approver: *771 comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: *758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: *772 sender: *4 since: type: string - workflow_job_run: *759 + workflow_job_run: *773 workflow_job_runs: type: array items: @@ -126436,13 +126485,13 @@ webhooks: type: string enum: - requested - enterprise: *738 + enterprise: *752 environment: type: string - installation: *739 - organization: *740 - repository: *741 - requestor: &765 + installation: *753 + organization: *754 + repository: *755 + requestor: &779 title: User type: - object @@ -128385,12 +128434,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Deployment Workflow Run type: @@ -129081,7 +129130,7 @@ webhooks: type: string enum: - answered - answer: &763 + answer: &777 type: object properties: author_association: @@ -129241,7 +129290,7 @@ webhooks: - created_at - updated_at - body - discussion: &761 + discussion: &775 title: Discussion description: A Discussion in a repository. type: object @@ -129559,10 +129608,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129689,11 +129738,11 @@ webhooks: - from required: - category - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129776,11 +129825,11 @@ webhooks: type: string enum: - closed - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129862,7 +129911,7 @@ webhooks: type: string enum: - created - comment: &762 + comment: &776 type: object properties: author_association: @@ -130022,11 +130071,11 @@ webhooks: - updated_at - body - reactions - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130109,12 +130158,12 @@ webhooks: type: string enum: - deleted - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130209,12 +130258,12 @@ webhooks: - from required: - body - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130298,11 +130347,11 @@ webhooks: type: string enum: - created - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130384,11 +130433,11 @@ webhooks: type: string enum: - deleted - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130488,11 +130537,11 @@ webhooks: type: string required: - from - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130574,10 +130623,10 @@ webhooks: type: string enum: - labeled - discussion: *761 - enterprise: *738 - installation: *739 - label: &764 + discussion: *775 + enterprise: *752 + installation: *753 + label: &778 title: Label type: object properties: @@ -130610,8 +130659,8 @@ webhooks: - color - default - description - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130694,11 +130743,11 @@ webhooks: type: string enum: - locked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130780,11 +130829,11 @@ webhooks: type: string enum: - pinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130866,11 +130915,11 @@ webhooks: type: string enum: - reopened - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130955,16 +131004,16 @@ webhooks: changes: type: object properties: - new_discussion: *761 - new_repository: *741 + new_discussion: *775 + new_repository: *755 required: - new_discussion - new_repository - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131047,10 +131096,10 @@ webhooks: type: string enum: - unanswered - discussion: *761 - old_answer: *763 - organization: *740 - repository: *741 + discussion: *775 + old_answer: *777 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131132,12 +131181,12 @@ webhooks: type: string enum: - unlabeled - discussion: *761 - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131220,11 +131269,11 @@ webhooks: type: string enum: - unlocked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131306,11 +131355,11 @@ webhooks: type: string enum: - unpinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131382,7 +131431,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131448,7 +131497,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131514,7 +131563,7 @@ webhooks: required: true content: application/json: - schema: *745 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131580,7 +131629,7 @@ webhooks: required: true content: application/json: - schema: *746 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131646,7 +131695,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131712,7 +131761,7 @@ webhooks: required: true content: application/json: - schema: *748 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131778,7 +131827,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131845,7 +131894,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *738 + enterprise: *752 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -132523,9 +132572,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - forkee @@ -132671,9 +132720,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pages: description: The pages that were updated. type: array @@ -132711,7 +132760,7 @@ webhooks: - action - sha - html_url - repository: *741 + repository: *755 sender: *4 required: - pages @@ -132787,10 +132836,10 @@ webhooks: type: string enum: - created - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: &766 + organization: *754 + repositories: &780 description: An array of repository objects that the installation can access. type: array @@ -132816,8 +132865,8 @@ webhooks: - name - full_name - private - repository: *741 - requester: *765 + repository: *755 + requester: *779 sender: *4 required: - action @@ -132892,11 +132941,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -132973,11 +133022,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133054,10 +133103,10 @@ webhooks: type: string enum: - added - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories_added: &767 + organization: *754 + repositories_added: &781 description: An array of repository objects, which were added to the installation. type: array @@ -133103,15 +133152,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *741 - repository_selection: &768 + repository: *755 + repository_selection: &782 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *765 + requester: *779 sender: *4 required: - action @@ -133190,10 +133239,10 @@ webhooks: type: string enum: - removed - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories_added: *767 + organization: *754 + repositories_added: *781 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -133220,9 +133269,9 @@ webhooks: - name - full_name - private - repository: *741 - repository_selection: *768 - requester: *765 + repository: *755 + repository_selection: *782 + requester: *779 sender: *4 required: - action @@ -133301,11 +133350,11 @@ webhooks: type: string enum: - suspend - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133488,10 +133537,10 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 target_type: type: string @@ -133570,11 +133619,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133822,8 +133871,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135014,8 +135063,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -135095,7 +135144,7 @@ webhooks: type: string enum: - deleted - comment: &769 + comment: &783 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -135262,8 +135311,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -136452,8 +136501,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -136533,7 +136582,7 @@ webhooks: type: string enum: - edited - changes: &794 + changes: &808 description: The changes to the comment. type: object properties: @@ -136545,9 +136594,9 @@ webhooks: type: string required: - from - comment: *769 - enterprise: *738 - installation: *739 + comment: *783 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -137737,8 +137786,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -137820,10 +137869,10 @@ webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - issue: &772 + assignee: *779 + enterprise: *752 + installation: *753 + issue: &786 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138768,8 +138817,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -138849,8 +138898,8 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139943,8 +139992,8 @@ webhooks: required: - state - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140023,8 +140072,8 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140964,8 +141013,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -141044,8 +141093,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141987,7 +142036,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &770 + milestone: &784 title: Milestone description: A collection of related issues and pull requests. type: object @@ -142130,8 +142179,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -142230,8 +142279,8 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143176,9 +143225,9 @@ webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -143258,8 +143307,8 @@ webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144203,9 +144252,9 @@ webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -144285,8 +144334,8 @@ webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145232,8 +145281,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -145312,8 +145361,8 @@ webhooks: type: string enum: - milestoned - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146253,9 +146302,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *770 - organization: *740 - repository: *741 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -147737,8 +147786,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148682,8 +148731,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148763,9 +148812,9 @@ webhooks: type: string enum: - pinned - enterprise: *738 - installation: *739 - issue: &771 + enterprise: *752 + installation: *753 + issue: &785 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149703,8 +149752,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149783,8 +149832,8 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150729,8 +150778,8 @@ webhooks: user_view_type: type: string type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152231,11 +152280,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152315,12 +152364,12 @@ webhooks: type: string enum: - typed - enterprise: *738 - installation: *739 - issue: *772 + enterprise: *752 + installation: *753 + issue: *786 type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152401,7 +152450,7 @@ webhooks: type: string enum: - unassigned - assignee: &797 + assignee: &811 title: User type: - object @@ -152473,11 +152522,11 @@ webhooks: required: - login - id - enterprise: *738 - installation: *739 - issue: *772 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *786 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152556,12 +152605,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - issue: *772 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *786 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152641,8 +152690,8 @@ webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153586,8 +153635,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153667,11 +153716,11 @@ webhooks: type: string enum: - unpinned - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153750,12 +153799,12 @@ webhooks: type: string enum: - untyped - enterprise: *738 - installation: *739 - issue: *772 + enterprise: *752 + installation: *753 + issue: *786 type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153835,11 +153884,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153917,11 +153966,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -154031,11 +154080,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -154117,9 +154166,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: &773 + enterprise: *752 + installation: *753 + marketplace_purchase: &787 title: Marketplace Purchase type: object required: @@ -154207,8 +154256,8 @@ webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: &774 + organization: *754 + previous_marketplace_purchase: &788 title: Marketplace Purchase type: object properties: @@ -154292,7 +154341,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154372,10 +154421,10 @@ webhooks: - changed effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154463,7 +154512,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154545,10 +154594,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154634,7 +154683,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154715,8 +154764,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 marketplace_purchase: title: Marketplace Purchase type: object @@ -154802,9 +154851,9 @@ webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -154884,12 +154933,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -154991,11 +155040,11 @@ webhooks: type: string required: - to - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155097,11 +155146,11 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155180,11 +155229,11 @@ webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155262,11 +155311,11 @@ webhooks: type: string enum: - added - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -155344,7 +155393,7 @@ webhooks: required: - login - id - team: &775 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -155537,11 +155586,11 @@ webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -155620,7 +155669,7 @@ webhooks: required: - login - id - team: *775 + team: *789 required: - action - scope @@ -155702,8 +155751,8 @@ webhooks: type: string enum: - checks_requested - installation: *739 - merge_group: &776 + installation: *753 + merge_group: &790 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -155729,8 +155778,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155816,10 +155865,10 @@ webhooks: - merged - invalidated - dequeued - installation: *739 - merge_group: *776 - organization: *740 - repository: *741 + installation: *753 + merge_group: *790 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155892,7 +155941,7 @@ webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *752 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -156000,12 +156049,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *739 - organization: *740 + installation: *753 + organization: *754 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -156085,11 +156134,11 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156168,9 +156217,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - milestone: &777 + enterprise: *752 + installation: *753 + milestone: &791 title: Milestone description: A collection of related issues and pull requests. type: object @@ -156312,8 +156361,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156392,11 +156441,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156506,11 +156555,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156590,11 +156639,11 @@ webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - milestone: *777 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *791 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156673,11 +156722,11 @@ webhooks: type: string enum: - blocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156756,11 +156805,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156839,9 +156888,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - membership: &778 + enterprise: *752 + installation: *753 + membership: &792 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -156935,8 +156984,8 @@ webhooks: - role - organization_url - user - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157014,11 +157063,11 @@ webhooks: type: string enum: - member_added - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157097,8 +157146,8 @@ webhooks: type: string enum: - member_invited - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -157220,10 +157269,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 - user: *765 + user: *779 required: - action - invitation @@ -157301,11 +157350,11 @@ webhooks: type: string enum: - member_removed - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157392,11 +157441,11 @@ webhooks: properties: from: type: string - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157472,9 +157521,9 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -157997,7 +158046,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &779 + items: &793 title: Ruby Gems metadata type: object properties: @@ -158094,7 +158143,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158170,9 +158219,9 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -158534,7 +158583,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 source_url: type: string format: uri @@ -158605,7 +158654,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158786,12 +158835,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *738 + enterprise: *752 id: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - id @@ -158868,7 +158917,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &780 + personal_access_token_request: &794 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -159018,10 +159067,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *738 - organization: *740 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159098,11 +159147,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *780 - enterprise: *738 - organization: *740 + personal_access_token_request: *794 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159178,11 +159227,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *780 - enterprise: *738 - organization: *740 + personal_access_token_request: *794 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159257,11 +159306,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *780 - organization: *740 - enterprise: *738 + personal_access_token_request: *794 + organization: *754 + enterprise: *752 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159366,7 +159415,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *781 + last_response: *795 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -159398,8 +159447,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 zen: description: Random string of GitHub zen. @@ -159644,10 +159693,10 @@ webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: &782 + enterprise: *752 + installation: *753 + organization: *754 + project_card: &796 title: Project Card type: object properties: @@ -159770,7 +159819,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -159851,11 +159900,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_card: *782 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *796 + repository: *755 sender: *4 required: - action @@ -159935,9 +159984,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 project_card: title: Project Card type: object @@ -160067,7 +160116,7 @@ webhooks: repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -160161,11 +160210,11 @@ webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: *782 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *796 + repository: *755 sender: *4 required: - action @@ -160259,9 +160308,9 @@ webhooks: - from required: - column_id - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 project_card: allOf: - title: Project Card @@ -160458,7 +160507,7 @@ webhooks: type: string required: - after_id - repository: *741 + repository: *755 sender: *4 required: - action @@ -160538,10 +160587,10 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - organization: *740 - project: &784 + enterprise: *752 + installation: *753 + organization: *754 + project: &798 title: Project type: object properties: @@ -160668,7 +160717,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160748,10 +160797,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_column: &783 + enterprise: *752 + installation: *753 + organization: *754 + project_column: &797 title: Project Column type: object properties: @@ -160791,7 +160840,7 @@ webhooks: - name - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160870,14 +160919,14 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -160966,11 +161015,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 + repository: *755 sender: *4 required: - action @@ -161050,11 +161099,11 @@ webhooks: type: string enum: - moved - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 + repository: *755 sender: *4 required: - action @@ -161134,11 +161183,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161218,14 +161267,14 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project: *784 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -161326,11 +161375,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161409,11 +161458,11 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161494,9 +161543,9 @@ webhooks: type: string enum: - closed - installation: *739 - organization: *740 - projects_v2: &785 + installation: *753 + organization: *754 + projects_v2: &799 title: Projects v2 Project description: A projects v2 project type: object @@ -161644,9 +161693,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161727,9 +161776,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161850,9 +161899,9 @@ webhooks: type: string to: type: string - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161935,7 +161984,7 @@ webhooks: type: string enum: - archived - changes: &789 + changes: &803 type: object properties: archived_at: @@ -161951,9 +162000,9 @@ webhooks: - string - 'null' format: date-time - installation: *739 - organization: *740 - projects_v2_item: &786 + installation: *753 + organization: *754 + projects_v2_item: &800 title: Projects v2 Item description: An item belonging to a project type: object @@ -162092,9 +162141,9 @@ webhooks: - 'null' to: type: string - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162176,9 +162225,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162259,9 +162308,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162366,7 +162415,7 @@ webhooks: oneOf: - type: string - type: integer - - &787 + - &801 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -162386,7 +162435,7 @@ webhooks: required: - id - name - - &788 + - &802 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -162415,8 +162464,8 @@ webhooks: oneOf: - type: string - type: integer - - *787 - - *788 + - *801 + - *802 type: - 'null' - string @@ -162439,9 +162488,9 @@ webhooks: - 'null' required: - body - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162538,9 +162587,9 @@ webhooks: type: - string - 'null' - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162623,10 +162672,10 @@ webhooks: type: string enum: - restored - changes: *789 - installation: *739 - organization: *740 - projects_v2_item: *786 + changes: *803 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162708,9 +162757,9 @@ webhooks: type: string enum: - reopened - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -162791,9 +162840,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_status_update: &790 + installation: *753 + organization: *754 + projects_v2_status_update: &804 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -162928,9 +162977,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_status_update: *790 + installation: *753 + organization: *754 + projects_v2_status_update: *804 sender: *4 required: - action @@ -163076,9 +163125,9 @@ webhooks: - string - 'null' format: date - installation: *739 - organization: *740 - projects_v2_status_update: *790 + installation: *753 + organization: *754 + projects_v2_status_update: *804 sender: *4 required: - action @@ -163149,10 +163198,10 @@ webhooks: title: public event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - repository @@ -163229,13 +163278,13 @@ webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - number: &791 + assignee: *779 + enterprise: *752 + installation: *753 + number: &805 description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -165584,7 +165633,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -165666,11 +165715,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -168012,7 +168061,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -168094,11 +168143,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -170440,7 +170489,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -170522,11 +170571,11 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: &792 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: &806 allOf: - *593 - type: object @@ -170590,7 +170639,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *741 + repository: *755 sender: *4 required: - action @@ -170671,12 +170720,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -170756,11 +170805,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *738 + enterprise: *752 milestone: *488 - number: *791 - organization: *740 - pull_request: &793 + number: *805 + organization: *754 + pull_request: &807 title: Pull Request type: object properties: @@ -173087,7 +173136,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -173166,11 +173215,11 @@ webhooks: type: string enum: - dequeued - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -175516,7 +175565,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *741 + repository: *755 sender: *4 required: - action @@ -175640,12 +175689,12 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -175725,11 +175774,11 @@ webhooks: type: string enum: - enqueued - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -178060,7 +178109,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -178140,11 +178189,11 @@ webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 - label: *764 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + label: *778 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -180492,7 +180541,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -180573,10 +180622,10 @@ webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -182922,7 +182971,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -183002,12 +183051,12 @@ webhooks: type: string enum: - milestoned - enterprise: *738 + enterprise: *752 milestone: *488 - number: *791 - organization: *740 - pull_request: *793 - repository: *741 + number: *805 + organization: *754 + pull_request: *807 + repository: *755 sender: *4 required: - action @@ -183086,12 +183135,12 @@ webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183172,12 +183221,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183257,12 +183306,12 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183637,9 +183686,9 @@ webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -185869,7 +185918,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -185949,7 +185998,7 @@ webhooks: type: string enum: - deleted - comment: &795 + comment: &809 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. @@ -186242,9 +186291,9 @@ webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -188462,7 +188511,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -188542,11 +188591,11 @@ webhooks: type: string enum: - edited - changes: *794 - comment: *795 - enterprise: *738 - installation: *739 - organization: *740 + changes: *808 + comment: *809 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -190767,7 +190816,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -190848,9 +190897,9 @@ webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -193083,7 +193132,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 review: description: The review that was affected. type: object @@ -193329,9 +193378,9 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -195445,8 +195494,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: &796 + repository: *755 + review: &810 description: The review that was affected. type: object properties: @@ -195679,12 +195728,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -198031,7 +198080,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -198117,12 +198166,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -200476,7 +200525,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200671,12 +200720,12 @@ webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -203025,7 +203074,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -203112,12 +203161,12 @@ webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -205457,7 +205506,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205641,9 +205690,9 @@ webhooks: type: string enum: - submitted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -207879,8 +207928,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: *796 + repository: *755 + review: *810 sender: *4 required: - action @@ -207960,9 +208009,9 @@ webhooks: type: string enum: - resolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -210093,7 +210142,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -210485,9 +210534,9 @@ webhooks: type: string enum: - unresolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -212601,7 +212650,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -212995,10 +213044,10 @@ webhooks: type: string before: type: string - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -215333,7 +215382,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -215415,11 +215464,11 @@ webhooks: type: string enum: - unassigned - assignee: *797 - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + assignee: *811 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -217769,7 +217818,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -217848,11 +217897,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - label: *764 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + label: *778 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -220191,7 +220240,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -220272,10 +220321,10 @@ webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -222604,7 +222653,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -222807,7 +222856,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *738 + enterprise: *752 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -222902,8 +222951,8 @@ webhooks: - url - author - committer - installation: *739 - organization: *740 + installation: *753 + organization: *754 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -223491,9 +223540,9 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -223970,7 +224019,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224026,7 +224075,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224104,9 +224153,9 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -224418,7 +224467,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224468,7 +224517,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224545,10 +224594,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - release: &798 + enterprise: *752 + installation: *753 + organization: *754 + release: &812 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -224869,7 +224918,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *741 + repository: *755 sender: *4 required: - action @@ -224946,11 +224995,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -225067,11 +225116,11 @@ webhooks: type: boolean required: - to - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -225149,9 +225198,9 @@ webhooks: type: string enum: - prereleased - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -225477,7 +225526,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225553,10 +225602,10 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - release: &799 + enterprise: *752 + installation: *753 + organization: *754 + release: &813 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -225879,7 +225928,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225955,11 +226004,11 @@ webhooks: type: string enum: - released - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -226035,11 +226084,11 @@ webhooks: type: string enum: - unpublished - enterprise: *738 - installation: *739 - organization: *740 - release: *799 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *813 + repository: *755 sender: *4 required: - action @@ -226115,11 +226164,11 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *650 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *664 sender: *4 required: - action @@ -226195,11 +226244,11 @@ webhooks: type: string enum: - reported - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *650 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *664 sender: *4 required: - action @@ -226275,10 +226324,10 @@ webhooks: type: string enum: - archived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226355,10 +226404,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226436,10 +226485,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226524,10 +226573,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226642,10 +226691,10 @@ webhooks: - 'null' items: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226717,10 +226766,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 status: type: string @@ -226801,10 +226850,10 @@ webhooks: type: string enum: - privatized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226881,10 +226930,10 @@ webhooks: type: string enum: - publicized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226978,10 +227027,10 @@ webhooks: - name required: - repository - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227061,10 +227110,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 sender: *4 required: @@ -227143,10 +227192,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 sender: *4 required: @@ -227225,10 +227274,10 @@ webhooks: type: string enum: - edited - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 changes: type: object @@ -227536,10 +227585,10 @@ webhooks: - from required: - owner - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227617,10 +227666,10 @@ webhooks: type: string enum: - unarchived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227698,7 +227747,7 @@ webhooks: type: string enum: - create - alert: &800 + alert: &814 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -227822,10 +227871,10 @@ webhooks: type: string enum: - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228035,10 +228084,10 @@ webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228116,11 +228165,11 @@ webhooks: type: string enum: - reopen - alert: *800 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228322,10 +228371,10 @@ webhooks: enum: - fixed - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228403,7 +228452,7 @@ webhooks: type: string enum: - created - alert: &801 + alert: &815 type: object properties: number: *96 @@ -228513,10 +228562,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228597,11 +228646,11 @@ webhooks: type: string enum: - created - alert: *801 - installation: *739 - location: *802 - organization: *740 - repository: *741 + alert: *815 + installation: *753 + location: *816 + organization: *754 + repository: *755 sender: *4 required: - location @@ -228839,11 +228888,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228921,11 +228970,11 @@ webhooks: type: string enum: - reopened - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229003,11 +229052,11 @@ webhooks: type: string enum: - resolved - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229085,11 +229134,11 @@ webhooks: type: string enum: - validated - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229219,10 +229268,10 @@ webhooks: - organization - enterprise - - repository: *741 - enterprise: *738 - installation: *739 - organization: *740 + repository: *755 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -229300,11 +229349,11 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: &803 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: &817 description: The details of the security advisory, including summary, description, and severity. type: object @@ -229490,11 +229539,11 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: *803 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: *817 sender: *4 required: - action @@ -229567,10 +229616,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -229757,9 +229806,9 @@ webhooks: type: object properties: security_and_analysis: *316 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: *379 sender: *4 required: @@ -229838,12 +229887,12 @@ webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: &804 + sponsorship: &818 type: object properties: created_at: @@ -230148,12 +230197,12 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - sponsorship @@ -230241,12 +230290,12 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230323,17 +230372,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &805 + effective_date: &819 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: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - sponsorship @@ -230407,7 +230456,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &806 + changes: &820 type: object properties: tier: @@ -230451,13 +230500,13 @@ webhooks: - from required: - tier - effective_date: *805 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + effective_date: *819 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230534,13 +230583,13 @@ webhooks: type: string enum: - tier_changed - changes: *806 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + changes: *820 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230614,10 +230663,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -230701,10 +230750,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231138,15 +231187,15 @@ webhooks: type: - string - 'null' - enterprise: *738 + enterprise: *752 id: description: The unique identifier of the status. type: integer - installation: *739 + installation: *753 name: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 sha: description: The Commit SHA. @@ -231262,9 +231311,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231354,9 +231403,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231446,9 +231495,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231538,9 +231587,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231617,12 +231666,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - team: &807 + team: &821 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -231815,9 +231864,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -232287,7 +232336,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232363,9 +232412,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -232835,7 +232884,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232912,9 +232961,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -233384,7 +233433,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -233528,9 +233577,9 @@ webhooks: - from required: - permissions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -234000,7 +234049,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - changes @@ -234078,9 +234127,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -234550,7 +234599,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -234626,10 +234675,10 @@ webhooks: type: string enum: - started - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -234702,17 +234751,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *738 + enterprise: *752 inputs: type: - object - 'null' additionalProperties: true - installation: *739 - organization: *740 + installation: *753 + organization: *754 ref: type: string - repository: *741 + repository: *755 sender: *4 workflow: type: string @@ -234794,10 +234843,10 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -235132,10 +235181,10 @@ webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -235496,10 +235545,10 @@ webhooks: type: string enum: - queued - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -235724,10 +235773,10 @@ webhooks: type: string enum: - waiting - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -235954,12 +236003,12 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -236978,12 +237027,12 @@ webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -237987,12 +238036,12 @@ webhooks: type: string enum: - requested - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index d3bcabad2c..d9a77118b0 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -36200,6 +36200,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -36213,6 +36216,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -36254,7 +36263,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -39833,6 +39841,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -39846,6 +39857,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -39887,7 +39904,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -51239,6 +51255,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -86982,7 +87327,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -120549,6 +120894,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -120562,6 +120910,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -120603,7 +120957,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -152690,6 +153043,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -152703,6 +153059,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -152744,7 +153106,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -192747,6 +193108,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -534823,6 +535513,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -535718,6 +536737,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, @@ -536571,6 +537919,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index be4791eca5..2ba7f995bd 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -1075,7 +1075,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: - - &652 + - &666 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1804,7 +1804,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &662 + schema: &676 title: Scim Error description: Scim Error type: object @@ -14286,6 +14286,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -14295,6 +14297,10 @@ paths: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -14324,7 +14330,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -18279,6 +18284,300 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &646 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &648 + 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 + examples: + - "/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 + examples: + - 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 + examples: + - 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 + - &649 + 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 + examples: + - "/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 + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - 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 + - &650 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &651 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &652 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &653 + 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. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &654 + 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. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &655 + 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. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &656 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &657 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &658 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &659 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &660 + 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url examples: default: &332 value: @@ -20420,7 +20719,7 @@ paths: url: type: string format: uri - user: &701 + user: &715 title: Public User description: Public User type: object @@ -24982,7 +25281,7 @@ paths: type: array items: *57 examples: - default: &718 + default: &732 value: - login: github id: 1 @@ -25272,7 +25571,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -26881,7 +27180,7 @@ paths: type: array items: *62 examples: - default: &712 + default: &726 value: total_count: 1 repositories: @@ -27704,7 +28003,7 @@ paths: type: array items: *191 examples: - default: &704 + default: &718 value: total_count: 1 repositories: @@ -39404,7 +39703,7 @@ paths: parameters: - *165 - *292 - - &717 + - &731 name: repo_name description: repo_name parameter in: path @@ -40737,7 +41036,7 @@ paths: - nuget - container - *165 - - &719 + - &733 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40778,7 +41077,7 @@ paths: default: *298 '403': *27 '401': *23 - '400': &721 + '400': &735 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45429,7 +45728,7 @@ paths: application/json: schema: type: array - items: &650 + items: &664 description: A repository security advisory. type: object properties: @@ -45748,7 +46047,7 @@ paths: - private_fork additionalProperties: false examples: - default: &651 + default: &665 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47600,7 +47899,7 @@ paths: - updated_at - url examples: - default: &691 + default: &705 value: - author: login: octocat @@ -47848,7 +48147,7 @@ paths: application/json: schema: *349 examples: - default: &692 + default: &706 value: author: login: octocat @@ -48039,7 +48338,7 @@ paths: - updated_at - url examples: - default: &693 + default: &707 value: - author: login: octocat @@ -48265,7 +48564,7 @@ paths: application/json: schema: *352 examples: - default: &694 + default: &708 value: author: login: octocat @@ -48981,7 +49280,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &695 + response-if-user-is-a-team-maintainer: &709 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -49046,7 +49345,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: &696 + response-if-users-membership-with-team-is-now-pending: &710 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49188,7 +49487,7 @@ paths: - updated_at - permissions examples: - default: &697 + default: &711 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49267,7 +49566,7 @@ paths: application/json: schema: *364 examples: - default: &698 + default: &712 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49478,7 +49777,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &699 + schema: &713 title: Team Repository description: A team's access to a repository. type: object @@ -50316,7 +50615,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: &700 + response-if-child-teams-exist: &714 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62791,7 +63090,7 @@ paths: check. type: array items: *438 - deployment: &750 + deployment: &764 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67993,7 +68292,7 @@ paths: type: array items: *476 examples: - default: &707 + default: &721 value: total_count: 2 machines: @@ -71341,7 +71640,7 @@ paths: application/json: schema: type: array - items: &655 + items: &669 title: Status description: The status of a commit. type: object @@ -72940,7 +73239,7 @@ paths: items: type: object properties: - placeholder_id: &647 + placeholder_id: &661 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79021,7 +79320,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &781 + last_response: &795 title: Hook Response type: object properties: @@ -79996,7 +80295,7 @@ paths: parameters: - *366 - *367 - - &730 + - &744 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -80430,7 +80729,7 @@ paths: type: array items: *549 examples: - default: &723 + default: &737 value: - id: 1 repository: @@ -94314,7 +94613,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 type: object properties: number: *96 @@ -94422,6 +94721,10 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *646 examples: default: value: @@ -94559,7 +94862,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94641,7 +94944,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94729,7 +95032,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &802 + items: &816 type: object properties: type: @@ -94756,273 +95059,19 @@ paths: - 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 - examples: - - "/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 - examples: - - 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 - examples: - - 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 - examples: - - "/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 - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *648 + - *649 + - *650 + - *651 + - *652 + - *653 + - *654 + - *655 + - *656 + - *657 + - *658 + - *659 + - *660 examples: default: value: @@ -95117,14 +95166,14 @@ paths: schema: type: object properties: - reason: &648 + reason: &662 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *647 + placeholder_id: *661 required: - reason - placeholder_id @@ -95141,7 +95190,7 @@ paths: schema: type: object properties: - reason: *648 + reason: *662 expire_at: type: - string @@ -95201,7 +95250,7 @@ paths: properties: incremental_scans: type: array - items: &649 + items: &663 description: Information on a single scan performed by secret scanning on the repository type: object @@ -95229,15 +95278,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *649 + items: *663 backfill_scans: type: array - items: *649 + items: *663 custom_pattern_backfill_scans: type: array items: allOf: - - *649 + - *663 - type: object properties: pattern_name: @@ -95352,9 +95401,9 @@ paths: application/json: schema: type: array - items: *650 + items: *664 examples: - default: *651 + default: *665 '400': *14 '404': *6 x-github: @@ -95548,9 +95597,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: &653 + default: &667 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -95897,7 +95946,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: default: value: @@ -96046,15 +96095,15 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '200': description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: *653 + default: *667 '403': *27 '404': *6 x-github: @@ -96080,7 +96129,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 requestBody: required: true content: @@ -96251,10 +96300,10 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: *653 - add_credit: *653 + default: *667 + add_credit: *667 '403': *27 '404': *6 '422': @@ -96294,7 +96343,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': *37 '400': *14 @@ -96323,7 +96372,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': description: Response @@ -96464,7 +96513,7 @@ paths: application/json: schema: type: array - items: &654 + items: &668 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -96837,7 +96886,7 @@ paths: application/json: schema: type: array - items: *654 + items: *668 examples: default: value: @@ -96927,7 +96976,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *669 examples: default: value: @@ -97021,7 +97070,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &656 + schema: &670 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -97121,7 +97170,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *670 examples: default: value: @@ -97261,7 +97310,7 @@ paths: application/json: schema: type: array - items: &657 + items: &671 title: Tag protection description: Tag protection type: object @@ -97342,7 +97391,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *671 examples: default: value: @@ -97490,7 +97539,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &672 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -97502,7 +97551,7 @@ paths: required: - names examples: - default: &659 + default: &673 value: names: - octocat @@ -97557,9 +97606,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *672 examples: - default: *659 + default: *673 '404': *6 '422': *7 x-github: @@ -97582,7 +97631,7 @@ paths: parameters: - *366 - *367 - - &660 + - &674 name: per description: The time frame to display results for. in: query @@ -97613,7 +97662,7 @@ paths: - 128 clones: type: array - items: &661 + items: &675 title: Traffic type: object properties: @@ -97861,7 +97910,7 @@ paths: parameters: - *366 - *367 - - *660 + - *674 responses: '200': description: Response @@ -97882,7 +97931,7 @@ paths: - 3782 views: type: array - items: *661 + items: *675 required: - uniques - count @@ -98554,7 +98603,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &669 + - &683 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -98564,7 +98613,7 @@ paths: type: string examples: - members - - &674 + - &688 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -98576,7 +98625,7 @@ paths: format: int32 examples: - 1 - - &675 + - &689 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -98620,7 +98669,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &663 + items: &677 allOf: - type: object required: @@ -98702,7 +98751,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: &676 + meta: &690 type: object description: The metadata associated with the creation/updates to the user. @@ -98767,31 +98816,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &664 + '400': &678 description: Bad request content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '401': &665 + schema: *676 + '401': &679 description: Authorization failure - '403': &666 + '403': &680 description: Permission denied - '429': &667 + '429': &681 description: Too many requests content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '500': &668 + schema: *676 + '500': &682 description: Internal server error content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 + schema: *676 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98815,7 +98864,7 @@ paths: required: true content: application/json: - schema: &672 + schema: &686 type: object required: - schemas @@ -98875,9 +98924,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *663 + schema: *677 examples: - group: &670 + group: &684 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -98896,13 +98945,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': *664 - '401': *665 - '403': *666 - '409': &673 + '400': *678 + '401': *679 + '403': *680 + '409': &687 description: Duplicate record detected - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98919,7 +98968,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: - - &671 + - &685 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -98928,22 +98977,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *669 + - *683 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *663 + schema: *677 examples: - default: *670 - '400': *664 - '401': *665 - '403': *666 + default: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98962,13 +99011,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: - - *671 + - *685 - *39 requestBody: required: true content: application/json: - schema: *672 + schema: *686 examples: group: summary: Group @@ -98994,17 +99043,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *663 + schema: *677 examples: - group: *670 - groupWithMembers: *670 - '400': *664 - '401': *665 - '403': *666 + group: *684 + groupWithMembers: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99028,13 +99077,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: - - *671 + - *685 - *39 requestBody: required: true content: application/json: - schema: &683 + schema: &697 type: object required: - Operations @@ -99094,17 +99143,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *663 + schema: *677 examples: - updateGroup: *670 - addMembers: *670 - '400': *664 - '401': *665 - '403': *666 + updateGroup: *684 + addMembers: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99120,17 +99169,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: - - *671 + - *685 - *39 responses: '204': description: Group was deleted, no content - '400': *664 - '401': *665 - '403': *666 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99164,8 +99213,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *674 - - *675 + - *688 + - *689 - *39 responses: '200': @@ -99199,7 +99248,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &678 + items: &692 allOf: - type: object required: @@ -99291,7 +99340,7 @@ paths: address. examples: - true - roles: &677 + roles: &691 type: array description: The roles assigned to the user. items: @@ -99350,7 +99399,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *676 + meta: *690 startIndex: type: integer description: A starting index for the returned page @@ -99389,11 +99438,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *664 - '401': *665 - '403': *666 - '429': *667 - '500': *668 + '400': *678 + '401': *679 + '403': *680 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99417,7 +99466,7 @@ paths: required: true content: application/json: - schema: &681 + schema: &695 type: object required: - schemas @@ -99510,9 +99559,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *677 + roles: *691 examples: - user: &682 + user: &696 summary: User value: schemas: @@ -99559,9 +99608,9 @@ paths: description: User has been created content: application/scim+json: - schema: *678 + schema: *692 examples: - user: &679 + user: &693 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99587,13 +99636,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: *679 - '400': *664 - '401': *665 - '403': *666 - '409': *673 - '429': *667 - '500': *668 + enterpriseOwner: *693 + '400': *678 + '401': *679 + '403': *680 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99610,7 +99659,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: - - &680 + - &694 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -99623,15 +99672,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *678 + schema: *692 examples: - default: *679 - '400': *664 - '401': *665 - '403': *666 + default: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99653,30 +99702,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: - - *680 + - *694 - *39 requestBody: required: true content: application/json: - schema: *681 + schema: *695 examples: - user: *682 + user: *696 responses: '200': description: User was updated content: application/scim+json: - schema: *678 + schema: *692 examples: - user: *679 - '400': *664 - '401': *665 - '403': *666 + user: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99711,13 +99760,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: - - *680 + - *694 - *39 requestBody: required: true content: application/json: - schema: *683 + schema: *697 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -99757,18 +99806,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *678 - examples: - userMultiValuedProperties: *679 - userSingleValuedProperties: *679 - disableUser: *679 - '400': *664 - '401': *665 - '403': *666 + schema: *692 + examples: + userMultiValuedProperties: *693 + userSingleValuedProperties: *693 + disableUser: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99788,17 +99837,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: - - *680 + - *694 - *39 responses: '204': description: User was deleted, no content - '400': *664 - '401': *665 - '403': *666 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99889,7 +99938,7 @@ paths: - 1 Resources: type: array - items: &684 + items: &698 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -100136,22 +100185,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &685 + '404': &699 description: Resource not found content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '403': &686 + schema: *676 + '403': &700 description: Forbidden content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '400': *664 - '429': *667 + schema: *676 + '400': *678 + '429': *681 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -100177,9 +100226,9 @@ paths: description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: &687 + default: &701 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -100202,17 +100251,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *685 - '403': *686 - '500': *668 + '404': *699 + '403': *700 + '500': *682 '409': description: Conflict content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '400': *664 + schema: *676 + '400': *678 requestBody: required: true content: @@ -100312,17 +100361,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 - '404': *685 - '403': *686 + default: *701 + '404': *699 + '403': *700 '304': *35 x-github: githubCloudOnly: true @@ -100346,18 +100395,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 + default: *701 '304': *35 - '404': *685 - '403': *686 + '404': *699 + '403': *700 requestBody: required: true content: @@ -100472,19 +100521,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 + default: *701 '304': *35 - '404': *685 - '403': *686 - '400': *664 + '404': *699 + '403': *700 + '400': *678 '429': description: Response content: @@ -100580,12 +100629,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *165 - - *680 + - *694 responses: '204': description: Response - '404': *685 - '403': *686 + '404': *699 + '403': *700 '304': *35 x-github: githubCloudOnly: true @@ -100719,7 +100768,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &688 + text_matches: &702 title: Search Result Text Matches type: array items: @@ -100883,7 +100932,7 @@ paths: enum: - author-date - committer-date - - &689 + - &703 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 @@ -101003,7 +101052,7 @@ paths: type: number node_id: type: string - text_matches: *688 + text_matches: *702 required: - sha - node_id @@ -101186,7 +101235,7 @@ paths: - interactions - created - updated - - *689 + - *703 - *17 - *19 - name: advanced_search @@ -101324,7 +101373,7 @@ paths: - string - 'null' format: date-time - text_matches: *688 + text_matches: *702 pull_request: type: object properties: @@ -101550,7 +101599,7 @@ paths: enum: - created - updated - - *689 + - *703 - *17 - *19 responses: @@ -101595,7 +101644,7 @@ paths: - 'null' score: type: number - text_matches: *688 + text_matches: *702 required: - id - node_id @@ -101681,7 +101730,7 @@ paths: - forks - help-wanted-issues - updated - - *689 + - *703 - *17 - *19 responses: @@ -101918,7 +101967,7 @@ paths: - admin - pull - push - text_matches: *688 + text_matches: *702 temp_clone_token: type: string allow_merge_commit: @@ -102227,7 +102276,7 @@ paths: - string - 'null' format: uri - text_matches: *688 + text_matches: *702 related: type: - array @@ -102422,7 +102471,7 @@ paths: - followers - repositories - joined - - *689 + - *703 - *17 - *19 responses: @@ -102532,7 +102581,7 @@ paths: type: - boolean - 'null' - text_matches: *688 + text_matches: *702 blog: type: - string @@ -102614,7 +102663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &690 + - &704 name: team_id description: The unique identifier of the team. in: path @@ -102655,7 +102704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *690 + - *704 requestBody: required: true content: @@ -102756,7 +102805,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *690 + - *704 responses: '204': description: Response @@ -102787,7 +102836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *690 + - *704 - *86 - *17 - *19 @@ -102800,7 +102849,7 @@ paths: type: array items: *349 examples: - default: *691 + default: *705 headers: Link: *38 x-github: @@ -102829,7 +102878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *690 + - *704 requestBody: required: true content: @@ -102892,7 +102941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *690 + - *704 - *351 responses: '200': @@ -102926,7 +102975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *690 + - *704 - *351 requestBody: required: false @@ -102952,7 +103001,7 @@ paths: application/json: schema: *349 examples: - default: *692 + default: *706 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102977,7 +103026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *690 + - *704 - *351 responses: '204': @@ -103007,7 +103056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *690 + - *704 - *351 - *86 - *17 @@ -103021,7 +103070,7 @@ paths: type: array items: *352 examples: - default: *693 + default: *707 headers: Link: *38 x-github: @@ -103050,7 +103099,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 requestBody: required: true @@ -103102,7 +103151,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 responses: @@ -103137,7 +103186,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 requestBody: @@ -103163,7 +103212,7 @@ paths: application/json: schema: *352 examples: - default: *694 + default: *708 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103188,7 +103237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 responses: @@ -103219,7 +103268,7 @@ 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: - - *690 + - *704 - *351 - *354 - name: content @@ -103278,7 +103327,7 @@ 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: - - *690 + - *704 - *351 - *354 requestBody: @@ -103340,7 +103389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *690 + - *704 - *351 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -103398,7 +103447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *690 + - *704 - *351 requestBody: required: true @@ -103457,7 +103506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -103495,7 +103544,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *690 + - *704 - name: role description: Filters members returned by their role in the team. in: query @@ -103546,7 +103595,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103583,7 +103632,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103623,7 +103672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103660,7 +103709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 responses: '200': @@ -103669,7 +103718,7 @@ paths: application/json: schema: *363 examples: - response-if-user-is-a-team-maintainer: *695 + response-if-user-is-a-team-maintainer: *709 '404': *6 x-github: githubCloudOnly: false @@ -103702,7 +103751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 requestBody: required: false @@ -103730,7 +103779,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: *696 + response-if-users-membership-with-team-is-now-pending: *710 '403': description: Forbidden if team synchronization is set up '422': @@ -103764,7 +103813,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103793,7 +103842,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -103805,7 +103854,7 @@ paths: type: array items: *364 examples: - default: *697 + default: *711 headers: Link: *38 '404': *6 @@ -103831,7 +103880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *690 + - *704 - *365 responses: '200': @@ -103840,7 +103889,7 @@ paths: application/json: schema: *364 examples: - default: *698 + default: *712 '404': description: Not Found if project is not managed by this team x-github: @@ -103864,7 +103913,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *690 + - *704 - *365 requestBody: required: false @@ -103932,7 +103981,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *690 + - *704 - *365 responses: '204': @@ -103960,7 +104009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -104002,7 +104051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *690 + - *704 - *366 - *367 responses: @@ -104010,7 +104059,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *699 + schema: *713 examples: alternative-response-with-extra-repository-information: value: @@ -104161,7 +104210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *690 + - *704 - *366 - *367 requestBody: @@ -104213,7 +104262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *690 + - *704 - *366 - *367 responses: @@ -104244,7 +104293,7 @@ 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: - - *690 + - *704 responses: '200': description: Response @@ -104279,7 +104328,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: - - *690 + - *704 requestBody: required: true content: @@ -104371,7 +104420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -104383,7 +104432,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: *700 + response-if-child-teams-exist: *714 headers: Link: *38 '404': *6 @@ -104416,7 +104465,7 @@ paths: application/json: schema: oneOf: - - &702 + - &716 title: Private User description: Private User type: object @@ -104666,7 +104715,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *701 + - *715 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -104826,7 +104875,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *716 examples: default: value: @@ -105224,7 +105273,7 @@ paths: type: integer secrets: type: array - items: &703 + items: &717 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -105344,7 +105393,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *717 examples: default: value: @@ -105490,7 +105539,7 @@ paths: type: array items: *191 examples: - default: *704 + default: *718 '401': *23 '403': *27 '404': *6 @@ -105757,7 +105806,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &719 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -105810,7 +105859,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &706 + default: &720 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -105855,9 +105904,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *719 examples: - default: *706 + default: *720 '404': *6 x-github: githubCloudOnly: false @@ -105896,7 +105945,7 @@ paths: type: array items: *476 examples: - default: *707 + default: *721 '304': *35 '500': *83 '401': *23 @@ -106862,7 +106911,7 @@ paths: type: array items: *297 examples: - default: &720 + default: &734 value: - id: 197 name: hello_docker @@ -106963,7 +107012,7 @@ paths: application/json: schema: type: array - items: &708 + items: &722 title: Email description: Email type: object @@ -107033,9 +107082,9 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: - default: &722 + default: &736 value: - email: octocat@github.com verified: true @@ -107112,7 +107161,7 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: default: value: @@ -107370,7 +107419,7 @@ paths: application/json: schema: type: array - items: &709 + items: &723 title: GPG Key description: A unique encryption key type: object @@ -107515,7 +107564,7 @@ paths: - subkeys - revoked examples: - default: &733 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -107600,9 +107649,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *723 examples: - default: &710 + default: &724 value: id: 3 name: Octocat's GPG Key @@ -107659,7 +107708,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: - - &711 + - &725 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -107671,9 +107720,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *723 examples: - default: *710 + default: *724 '404': *6 '304': *35 '403': *27 @@ -107696,7 +107745,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: - - *711 + - *725 responses: '204': description: Response @@ -107887,7 +107936,7 @@ paths: type: array items: *62 examples: - default: *712 + default: *726 headers: Link: *38 '404': *6 @@ -108151,7 +108200,7 @@ paths: application/json: schema: type: array - items: &713 + items: &727 title: Key description: Key type: object @@ -108249,9 +108298,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: &714 + default: &728 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108290,9 +108339,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: *714 + default: *728 '404': *6 '304': *35 '403': *27 @@ -108348,7 +108397,7 @@ paths: application/json: schema: type: array - items: &715 + items: &729 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -108427,7 +108476,7 @@ paths: - account - plan examples: - default: &716 + default: &730 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -108489,9 +108538,9 @@ paths: application/json: schema: type: array - items: *715 + items: *729 examples: - default: *716 + default: *730 headers: Link: *38 '304': *35 @@ -109495,7 +109544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *292 - - *717 + - *731 responses: '204': description: Response @@ -109568,7 +109617,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 '304': *35 @@ -109610,7 +109659,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *19 - *17 responses: @@ -109622,8 +109671,8 @@ paths: type: array items: *297 examples: - default: *720 - '400': *721 + default: *734 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109652,7 +109701,7 @@ paths: application/json: schema: *297 examples: - default: &734 + default: &748 value: id: 40201 name: octo-name @@ -110107,9 +110156,9 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: - default: *722 + default: *736 headers: Link: *38 '304': *35 @@ -110222,7 +110271,7 @@ paths: type: array items: *62 examples: - default: &729 + default: &743 summary: Default response value: - id: 1296269 @@ -110582,7 +110631,7 @@ paths: type: array items: *549 examples: - default: *723 + default: *737 headers: Link: *38 '304': *35 @@ -110661,7 +110710,7 @@ paths: application/json: schema: type: array - items: &724 + items: &738 title: Social account description: Social media account type: object @@ -110678,7 +110727,7 @@ paths: - provider - url examples: - default: &725 + default: &739 value: - provider: twitter url: https://twitter.com/github @@ -110741,9 +110790,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 '422': *15 '304': *35 '404': *6 @@ -110831,7 +110880,7 @@ paths: application/json: schema: type: array - items: &726 + items: &740 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -110851,7 +110900,7 @@ paths: - title - created_at examples: - default: &735 + default: &749 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110918,9 +110967,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: &727 + default: &741 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110951,7 +111000,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: - - &728 + - &742 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -110963,9 +111012,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: *727 + default: *741 '404': *6 '304': *35 '403': *27 @@ -110988,7 +111037,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: - - *728 + - *742 responses: '204': description: Response @@ -111017,7 +111066,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: - - &736 + - &750 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 @@ -111042,11 +111091,11 @@ paths: type: array items: *62 examples: - default-response: *729 + default-response: *743 application/vnd.github.v3.star+json: schema: type: array - items: &737 + items: &751 title: Starred Repository description: Starred Repository type: object @@ -111415,10 +111464,10 @@ paths: application/json: schema: oneOf: - - *702 - - *701 + - *716 + - *715 examples: - default-response: &731 + default-response: &745 summary: Default response value: login: octocat @@ -111453,7 +111502,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &732 + response-with-git-hub-plan-information: &746 summary: Response with GitHub plan information value: login: octocat @@ -111513,7 +111562,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *730 + - *744 - *17 responses: '200': @@ -111562,11 +111611,11 @@ paths: application/json: schema: oneOf: - - *702 - - *701 + - *716 + - *715 examples: - default-response: *731 - response-with-git-hub-plan-information: *732 + default-response: *745 + response-with-git-hub-plan-information: *746 '404': *6 x-github: githubCloudOnly: false @@ -111683,7 +111732,7 @@ paths: type: array items: *297 examples: - default: *720 + default: *734 '403': *27 '401': *23 x-github: @@ -112087,9 +112136,9 @@ paths: application/json: schema: type: array - items: *709 + items: *723 examples: - default: *733 + default: *747 headers: Link: *38 x-github: @@ -112271,7 +112320,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 x-github: @@ -112310,7 +112359,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *213 - *19 - *17 @@ -112323,10 +112372,10 @@ paths: type: array items: *297 examples: - default: *720 + default: *734 '403': *27 '401': *23 - '400': *721 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112356,7 +112405,7 @@ paths: application/json: schema: *297 examples: - default: *734 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113140,9 +113189,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 headers: Link: *38 x-github: @@ -113172,9 +113221,9 @@ paths: application/json: schema: type: array - items: *726 + items: *740 examples: - default: *735 + default: *749 headers: Link: *38 x-github: @@ -113199,7 +113248,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *213 - - *736 + - *750 - *86 - *17 - *19 @@ -113211,11 +113260,11 @@ paths: schema: anyOf: - type: array - items: *737 + items: *751 - type: array items: *62 examples: - default-response: *729 + default-response: *743 headers: Link: *38 x-github: @@ -113375,7 +113424,7 @@ webhooks: type: string enum: - disabled - enterprise: &738 + enterprise: &752 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -113444,7 +113493,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &739 + installation: &753 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -113465,7 +113514,7 @@ webhooks: required: - id - node_id - organization: &740 + organization: &754 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -113538,7 +113587,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &741 + repository: &755 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -114451,10 +114500,10 @@ webhooks: type: string enum: - enabled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -114530,11 +114579,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: &742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: &756 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) @@ -114757,11 +114806,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -114949,11 +114998,11 @@ webhooks: - everyone required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -115024,7 +115073,7 @@ webhooks: required: true content: application/json: - schema: &745 + schema: &759 title: Exemption request cancellation event type: object properties: @@ -115032,11 +115081,11 @@ webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: &743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: &757 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -115274,7 +115323,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &744 + items: &758 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -115384,7 +115433,7 @@ webhooks: required: true content: application/json: - schema: &746 + schema: &760 title: Exemption request completed event type: object properties: @@ -115392,11 +115441,11 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -115466,7 +115515,7 @@ webhooks: required: true content: application/json: - schema: &747 + schema: &761 title: Exemption request created event type: object properties: @@ -115474,11 +115523,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -115548,7 +115597,7 @@ webhooks: required: true content: application/json: - schema: &748 + schema: &762 title: Exemption response dismissed event type: object properties: @@ -115556,12 +115605,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -115633,7 +115682,7 @@ webhooks: required: true content: application/json: - schema: &749 + schema: &763 title: Exemption response submitted event type: object properties: @@ -115641,12 +115690,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -115719,7 +115768,7 @@ webhooks: required: true content: application/json: - schema: *745 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115786,7 +115835,7 @@ webhooks: required: true content: application/json: - schema: *746 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115853,7 +115902,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115920,7 +115969,7 @@ webhooks: required: true content: application/json: - schema: *748 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115988,7 +116037,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116066,7 +116115,7 @@ webhooks: type: string enum: - completed - check_run: &751 + check_run: &765 title: CheckRun description: A check performed on the code of a given code change type: object @@ -116179,7 +116228,7 @@ webhooks: - examples: - neutral - deployment: *750 + deployment: *764 details_url: type: string examples: @@ -116277,9 +116326,9 @@ webhooks: - output - app - pull_requests - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -116672,10 +116721,10 @@ webhooks: type: string enum: - created - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -117071,10 +117120,10 @@ webhooks: type: string enum: - requested_action - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 requested_action: description: The action requested by the user. type: object @@ -117479,10 +117528,10 @@ webhooks: type: string enum: - rerequested - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -118474,10 +118523,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -119162,10 +119211,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -119844,10 +119893,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -120165,20 +120214,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &752 + commit_oid: &766 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: *738 - installation: *739 - organization: *740 - ref: &753 + enterprise: *752 + installation: *753 + organization: *754 + ref: &767 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: *741 + repository: *755 sender: *4 required: - action @@ -120583,12 +120632,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -120868,12 +120917,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -121216,12 +121265,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -121501,9 +121550,9 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -121511,7 +121560,7 @@ webhooks: type: - string - 'null' - repository: *741 + repository: *755 sender: *4 required: - action @@ -121754,12 +121803,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -122021,10 +122070,10 @@ webhooks: - updated_at - author_association - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -122105,18 +122154,18 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *740 - pusher_type: &754 + organization: *754 + pusher_type: &768 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &755 + ref: &769 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -122126,7 +122175,7 @@ webhooks: enum: - tag - branch - repository: *741 + repository: *755 sender: *4 required: - ref @@ -122209,9 +122258,9 @@ webhooks: enum: - created definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122296,9 +122345,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122376,9 +122425,9 @@ webhooks: enum: - promote_to_enterprise definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122456,9 +122505,9 @@ webhooks: enum: - updated definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122535,10 +122584,10 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - repository: *741 - organization: *740 + enterprise: *752 + installation: *753 + repository: *755 + organization: *754 sender: *4 new_property_values: type: array @@ -122623,18 +122672,18 @@ webhooks: title: delete event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - pusher_type: *754 - ref: *755 + enterprise: *752 + installation: *753 + organization: *754 + pusher_type: *768 + ref: *769 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *741 + repository: *755 sender: *4 required: - ref @@ -122719,10 +122768,10 @@ webhooks: enum: - auto_dismissed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122807,10 +122856,10 @@ webhooks: enum: - auto_reopened alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122895,10 +122944,10 @@ webhooks: enum: - created alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122981,10 +123030,10 @@ webhooks: enum: - dismissed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123067,10 +123116,10 @@ webhooks: enum: - fixed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123154,10 +123203,10 @@ webhooks: enum: - reintroduced alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123240,10 +123289,10 @@ webhooks: enum: - reopened alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123320,9 +123369,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - key: &756 + enterprise: *752 + installation: *753 + key: &770 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -123360,8 +123409,8 @@ webhooks: - verified - created_at - read_only - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -123438,11 +123487,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - key: *756 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + key: *770 + organization: *754 + repository: *755 sender: *4 required: - action @@ -124014,12 +124063,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: &760 + workflow: &774 title: Workflow type: - object @@ -124761,9 +124810,9 @@ webhooks: pull_requests: type: array items: *593 - repository: *741 - organization: *740 - installation: *739 + repository: *755 + organization: *754 + installation: *753 sender: *4 responses: '200': @@ -124834,7 +124883,7 @@ webhooks: type: string enum: - approved - approver: &757 + approver: &771 type: object properties: avatar_url: @@ -124877,11 +124926,11 @@ webhooks: type: string comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: &758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: &772 type: array items: type: object @@ -124962,7 +125011,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &759 + workflow_job_run: &773 type: object properties: conclusion: @@ -125708,18 +125757,18 @@ webhooks: type: string enum: - rejected - approver: *757 + approver: *771 comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: *758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: *772 sender: *4 since: type: string - workflow_job_run: *759 + workflow_job_run: *773 workflow_job_runs: type: array items: @@ -126436,13 +126485,13 @@ webhooks: type: string enum: - requested - enterprise: *738 + enterprise: *752 environment: type: string - installation: *739 - organization: *740 - repository: *741 - requestor: &765 + installation: *753 + organization: *754 + repository: *755 + requestor: &779 title: User type: - object @@ -128385,12 +128434,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Deployment Workflow Run type: @@ -129081,7 +129130,7 @@ webhooks: type: string enum: - answered - answer: &763 + answer: &777 type: object properties: author_association: @@ -129241,7 +129290,7 @@ webhooks: - created_at - updated_at - body - discussion: &761 + discussion: &775 title: Discussion description: A Discussion in a repository. type: object @@ -129559,10 +129608,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129689,11 +129738,11 @@ webhooks: - from required: - category - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129776,11 +129825,11 @@ webhooks: type: string enum: - closed - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129862,7 +129911,7 @@ webhooks: type: string enum: - created - comment: &762 + comment: &776 type: object properties: author_association: @@ -130022,11 +130071,11 @@ webhooks: - updated_at - body - reactions - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130109,12 +130158,12 @@ webhooks: type: string enum: - deleted - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130209,12 +130258,12 @@ webhooks: - from required: - body - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130298,11 +130347,11 @@ webhooks: type: string enum: - created - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130384,11 +130433,11 @@ webhooks: type: string enum: - deleted - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130488,11 +130537,11 @@ webhooks: type: string required: - from - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130574,10 +130623,10 @@ webhooks: type: string enum: - labeled - discussion: *761 - enterprise: *738 - installation: *739 - label: &764 + discussion: *775 + enterprise: *752 + installation: *753 + label: &778 title: Label type: object properties: @@ -130610,8 +130659,8 @@ webhooks: - color - default - description - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130694,11 +130743,11 @@ webhooks: type: string enum: - locked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130780,11 +130829,11 @@ webhooks: type: string enum: - pinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130866,11 +130915,11 @@ webhooks: type: string enum: - reopened - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130955,16 +131004,16 @@ webhooks: changes: type: object properties: - new_discussion: *761 - new_repository: *741 + new_discussion: *775 + new_repository: *755 required: - new_discussion - new_repository - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131047,10 +131096,10 @@ webhooks: type: string enum: - unanswered - discussion: *761 - old_answer: *763 - organization: *740 - repository: *741 + discussion: *775 + old_answer: *777 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131132,12 +131181,12 @@ webhooks: type: string enum: - unlabeled - discussion: *761 - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131220,11 +131269,11 @@ webhooks: type: string enum: - unlocked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131306,11 +131355,11 @@ webhooks: type: string enum: - unpinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131382,7 +131431,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131448,7 +131497,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131514,7 +131563,7 @@ webhooks: required: true content: application/json: - schema: *745 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131580,7 +131629,7 @@ webhooks: required: true content: application/json: - schema: *746 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131646,7 +131695,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131712,7 +131761,7 @@ webhooks: required: true content: application/json: - schema: *748 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131778,7 +131827,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131845,7 +131894,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *738 + enterprise: *752 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -132523,9 +132572,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - forkee @@ -132671,9 +132720,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pages: description: The pages that were updated. type: array @@ -132711,7 +132760,7 @@ webhooks: - action - sha - html_url - repository: *741 + repository: *755 sender: *4 required: - pages @@ -132787,10 +132836,10 @@ webhooks: type: string enum: - created - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: &766 + organization: *754 + repositories: &780 description: An array of repository objects that the installation can access. type: array @@ -132816,8 +132865,8 @@ webhooks: - name - full_name - private - repository: *741 - requester: *765 + repository: *755 + requester: *779 sender: *4 required: - action @@ -132892,11 +132941,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -132973,11 +133022,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133054,10 +133103,10 @@ webhooks: type: string enum: - added - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories_added: &767 + organization: *754 + repositories_added: &781 description: An array of repository objects, which were added to the installation. type: array @@ -133103,15 +133152,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *741 - repository_selection: &768 + repository: *755 + repository_selection: &782 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *765 + requester: *779 sender: *4 required: - action @@ -133190,10 +133239,10 @@ webhooks: type: string enum: - removed - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories_added: *767 + organization: *754 + repositories_added: *781 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -133220,9 +133269,9 @@ webhooks: - name - full_name - private - repository: *741 - repository_selection: *768 - requester: *765 + repository: *755 + repository_selection: *782 + requester: *779 sender: *4 required: - action @@ -133301,11 +133350,11 @@ webhooks: type: string enum: - suspend - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133488,10 +133537,10 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 target_type: type: string @@ -133570,11 +133619,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133822,8 +133871,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135014,8 +135063,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -135095,7 +135144,7 @@ webhooks: type: string enum: - deleted - comment: &769 + comment: &783 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -135262,8 +135311,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -136452,8 +136501,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -136533,7 +136582,7 @@ webhooks: type: string enum: - edited - changes: &794 + changes: &808 description: The changes to the comment. type: object properties: @@ -136545,9 +136594,9 @@ webhooks: type: string required: - from - comment: *769 - enterprise: *738 - installation: *739 + comment: *783 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -137737,8 +137786,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -137820,10 +137869,10 @@ webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - issue: &772 + assignee: *779 + enterprise: *752 + installation: *753 + issue: &786 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138768,8 +138817,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -138849,8 +138898,8 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139943,8 +139992,8 @@ webhooks: required: - state - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140023,8 +140072,8 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140964,8 +141013,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -141044,8 +141093,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141987,7 +142036,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &770 + milestone: &784 title: Milestone description: A collection of related issues and pull requests. type: object @@ -142130,8 +142179,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -142230,8 +142279,8 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143176,9 +143225,9 @@ webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -143258,8 +143307,8 @@ webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144203,9 +144252,9 @@ webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -144285,8 +144334,8 @@ webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145232,8 +145281,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -145312,8 +145361,8 @@ webhooks: type: string enum: - milestoned - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146253,9 +146302,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *770 - organization: *740 - repository: *741 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -147737,8 +147786,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148682,8 +148731,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148763,9 +148812,9 @@ webhooks: type: string enum: - pinned - enterprise: *738 - installation: *739 - issue: &771 + enterprise: *752 + installation: *753 + issue: &785 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149703,8 +149752,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149783,8 +149832,8 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150729,8 +150778,8 @@ webhooks: user_view_type: type: string type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152231,11 +152280,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152315,12 +152364,12 @@ webhooks: type: string enum: - typed - enterprise: *738 - installation: *739 - issue: *772 + enterprise: *752 + installation: *753 + issue: *786 type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152401,7 +152450,7 @@ webhooks: type: string enum: - unassigned - assignee: &797 + assignee: &811 title: User type: - object @@ -152473,11 +152522,11 @@ webhooks: required: - login - id - enterprise: *738 - installation: *739 - issue: *772 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *786 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152556,12 +152605,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - issue: *772 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *786 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152641,8 +152690,8 @@ webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153586,8 +153635,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153667,11 +153716,11 @@ webhooks: type: string enum: - unpinned - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153750,12 +153799,12 @@ webhooks: type: string enum: - untyped - enterprise: *738 - installation: *739 - issue: *772 + enterprise: *752 + installation: *753 + issue: *786 type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153835,11 +153884,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153917,11 +153966,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -154031,11 +154080,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -154117,9 +154166,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: &773 + enterprise: *752 + installation: *753 + marketplace_purchase: &787 title: Marketplace Purchase type: object required: @@ -154207,8 +154256,8 @@ webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: &774 + organization: *754 + previous_marketplace_purchase: &788 title: Marketplace Purchase type: object properties: @@ -154292,7 +154341,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154372,10 +154421,10 @@ webhooks: - changed effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154463,7 +154512,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154545,10 +154594,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154634,7 +154683,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154715,8 +154764,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 marketplace_purchase: title: Marketplace Purchase type: object @@ -154802,9 +154851,9 @@ webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -154884,12 +154933,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -154991,11 +155040,11 @@ webhooks: type: string required: - to - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155097,11 +155146,11 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155180,11 +155229,11 @@ webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155262,11 +155311,11 @@ webhooks: type: string enum: - added - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -155344,7 +155393,7 @@ webhooks: required: - login - id - team: &775 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -155537,11 +155586,11 @@ webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -155620,7 +155669,7 @@ webhooks: required: - login - id - team: *775 + team: *789 required: - action - scope @@ -155702,8 +155751,8 @@ webhooks: type: string enum: - checks_requested - installation: *739 - merge_group: &776 + installation: *753 + merge_group: &790 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -155729,8 +155778,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155816,10 +155865,10 @@ webhooks: - merged - invalidated - dequeued - installation: *739 - merge_group: *776 - organization: *740 - repository: *741 + installation: *753 + merge_group: *790 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155892,7 +155941,7 @@ webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *752 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -156000,12 +156049,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *739 - organization: *740 + installation: *753 + organization: *754 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -156085,11 +156134,11 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156168,9 +156217,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - milestone: &777 + enterprise: *752 + installation: *753 + milestone: &791 title: Milestone description: A collection of related issues and pull requests. type: object @@ -156312,8 +156361,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156392,11 +156441,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156506,11 +156555,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156590,11 +156639,11 @@ webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - milestone: *777 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *791 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156673,11 +156722,11 @@ webhooks: type: string enum: - blocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156756,11 +156805,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156839,9 +156888,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - membership: &778 + enterprise: *752 + installation: *753 + membership: &792 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -156935,8 +156984,8 @@ webhooks: - role - organization_url - user - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157014,11 +157063,11 @@ webhooks: type: string enum: - member_added - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157097,8 +157146,8 @@ webhooks: type: string enum: - member_invited - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -157220,10 +157269,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 - user: *765 + user: *779 required: - action - invitation @@ -157301,11 +157350,11 @@ webhooks: type: string enum: - member_removed - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157392,11 +157441,11 @@ webhooks: properties: from: type: string - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157472,9 +157521,9 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -157997,7 +158046,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &779 + items: &793 title: Ruby Gems metadata type: object properties: @@ -158094,7 +158143,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158170,9 +158219,9 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -158534,7 +158583,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 source_url: type: string format: uri @@ -158605,7 +158654,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158786,12 +158835,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *738 + enterprise: *752 id: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - id @@ -158868,7 +158917,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &780 + personal_access_token_request: &794 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -159018,10 +159067,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *738 - organization: *740 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159098,11 +159147,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *780 - enterprise: *738 - organization: *740 + personal_access_token_request: *794 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159178,11 +159227,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *780 - enterprise: *738 - organization: *740 + personal_access_token_request: *794 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159257,11 +159306,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *780 - organization: *740 - enterprise: *738 + personal_access_token_request: *794 + organization: *754 + enterprise: *752 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159366,7 +159415,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *781 + last_response: *795 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -159398,8 +159447,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 zen: description: Random string of GitHub zen. @@ -159644,10 +159693,10 @@ webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: &782 + enterprise: *752 + installation: *753 + organization: *754 + project_card: &796 title: Project Card type: object properties: @@ -159770,7 +159819,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -159851,11 +159900,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_card: *782 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *796 + repository: *755 sender: *4 required: - action @@ -159935,9 +159984,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 project_card: title: Project Card type: object @@ -160067,7 +160116,7 @@ webhooks: repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -160161,11 +160210,11 @@ webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: *782 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *796 + repository: *755 sender: *4 required: - action @@ -160259,9 +160308,9 @@ webhooks: - from required: - column_id - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 project_card: allOf: - title: Project Card @@ -160458,7 +160507,7 @@ webhooks: type: string required: - after_id - repository: *741 + repository: *755 sender: *4 required: - action @@ -160538,10 +160587,10 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - organization: *740 - project: &784 + enterprise: *752 + installation: *753 + organization: *754 + project: &798 title: Project type: object properties: @@ -160668,7 +160717,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160748,10 +160797,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_column: &783 + enterprise: *752 + installation: *753 + organization: *754 + project_column: &797 title: Project Column type: object properties: @@ -160791,7 +160840,7 @@ webhooks: - name - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160870,14 +160919,14 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -160966,11 +161015,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 + repository: *755 sender: *4 required: - action @@ -161050,11 +161099,11 @@ webhooks: type: string enum: - moved - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 + repository: *755 sender: *4 required: - action @@ -161134,11 +161183,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161218,14 +161267,14 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project: *784 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -161326,11 +161375,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161409,11 +161458,11 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161494,9 +161543,9 @@ webhooks: type: string enum: - closed - installation: *739 - organization: *740 - projects_v2: &785 + installation: *753 + organization: *754 + projects_v2: &799 title: Projects v2 Project description: A projects v2 project type: object @@ -161644,9 +161693,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161727,9 +161776,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161850,9 +161899,9 @@ webhooks: type: string to: type: string - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161935,7 +161984,7 @@ webhooks: type: string enum: - archived - changes: &789 + changes: &803 type: object properties: archived_at: @@ -161951,9 +162000,9 @@ webhooks: - string - 'null' format: date-time - installation: *739 - organization: *740 - projects_v2_item: &786 + installation: *753 + organization: *754 + projects_v2_item: &800 title: Projects v2 Item description: An item belonging to a project type: object @@ -162092,9 +162141,9 @@ webhooks: - 'null' to: type: string - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162176,9 +162225,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162259,9 +162308,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162366,7 +162415,7 @@ webhooks: oneOf: - type: string - type: integer - - &787 + - &801 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -162386,7 +162435,7 @@ webhooks: required: - id - name - - &788 + - &802 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -162415,8 +162464,8 @@ webhooks: oneOf: - type: string - type: integer - - *787 - - *788 + - *801 + - *802 type: - 'null' - string @@ -162439,9 +162488,9 @@ webhooks: - 'null' required: - body - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162538,9 +162587,9 @@ webhooks: type: - string - 'null' - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162623,10 +162672,10 @@ webhooks: type: string enum: - restored - changes: *789 - installation: *739 - organization: *740 - projects_v2_item: *786 + changes: *803 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162708,9 +162757,9 @@ webhooks: type: string enum: - reopened - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -162791,9 +162840,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_status_update: &790 + installation: *753 + organization: *754 + projects_v2_status_update: &804 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -162928,9 +162977,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_status_update: *790 + installation: *753 + organization: *754 + projects_v2_status_update: *804 sender: *4 required: - action @@ -163076,9 +163125,9 @@ webhooks: - string - 'null' format: date - installation: *739 - organization: *740 - projects_v2_status_update: *790 + installation: *753 + organization: *754 + projects_v2_status_update: *804 sender: *4 required: - action @@ -163149,10 +163198,10 @@ webhooks: title: public event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - repository @@ -163229,13 +163278,13 @@ webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - number: &791 + assignee: *779 + enterprise: *752 + installation: *753 + number: &805 description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -165584,7 +165633,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -165666,11 +165715,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -168012,7 +168061,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -168094,11 +168143,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -170440,7 +170489,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -170522,11 +170571,11 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: &792 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: &806 allOf: - *593 - type: object @@ -170590,7 +170639,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *741 + repository: *755 sender: *4 required: - action @@ -170671,12 +170720,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -170756,11 +170805,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *738 + enterprise: *752 milestone: *488 - number: *791 - organization: *740 - pull_request: &793 + number: *805 + organization: *754 + pull_request: &807 title: Pull Request type: object properties: @@ -173087,7 +173136,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -173166,11 +173215,11 @@ webhooks: type: string enum: - dequeued - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -175516,7 +175565,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *741 + repository: *755 sender: *4 required: - action @@ -175640,12 +175689,12 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -175725,11 +175774,11 @@ webhooks: type: string enum: - enqueued - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -178060,7 +178109,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -178140,11 +178189,11 @@ webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 - label: *764 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + label: *778 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -180492,7 +180541,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -180573,10 +180622,10 @@ webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -182922,7 +182971,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -183002,12 +183051,12 @@ webhooks: type: string enum: - milestoned - enterprise: *738 + enterprise: *752 milestone: *488 - number: *791 - organization: *740 - pull_request: *793 - repository: *741 + number: *805 + organization: *754 + pull_request: *807 + repository: *755 sender: *4 required: - action @@ -183086,12 +183135,12 @@ webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183172,12 +183221,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183257,12 +183306,12 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183637,9 +183686,9 @@ webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -185869,7 +185918,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -185949,7 +185998,7 @@ webhooks: type: string enum: - deleted - comment: &795 + comment: &809 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. @@ -186242,9 +186291,9 @@ webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -188462,7 +188511,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -188542,11 +188591,11 @@ webhooks: type: string enum: - edited - changes: *794 - comment: *795 - enterprise: *738 - installation: *739 - organization: *740 + changes: *808 + comment: *809 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -190767,7 +190816,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -190848,9 +190897,9 @@ webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -193083,7 +193132,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 review: description: The review that was affected. type: object @@ -193329,9 +193378,9 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -195445,8 +195494,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: &796 + repository: *755 + review: &810 description: The review that was affected. type: object properties: @@ -195679,12 +195728,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -198031,7 +198080,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -198117,12 +198166,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -200476,7 +200525,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200671,12 +200720,12 @@ webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -203025,7 +203074,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -203112,12 +203161,12 @@ webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -205457,7 +205506,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205641,9 +205690,9 @@ webhooks: type: string enum: - submitted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -207879,8 +207928,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: *796 + repository: *755 + review: *810 sender: *4 required: - action @@ -207960,9 +208009,9 @@ webhooks: type: string enum: - resolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -210093,7 +210142,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -210485,9 +210534,9 @@ webhooks: type: string enum: - unresolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -212601,7 +212650,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -212995,10 +213044,10 @@ webhooks: type: string before: type: string - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -215333,7 +215382,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -215415,11 +215464,11 @@ webhooks: type: string enum: - unassigned - assignee: *797 - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + assignee: *811 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -217769,7 +217818,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -217848,11 +217897,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - label: *764 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + label: *778 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -220191,7 +220240,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -220272,10 +220321,10 @@ webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -222604,7 +222653,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -222807,7 +222856,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *738 + enterprise: *752 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -222902,8 +222951,8 @@ webhooks: - url - author - committer - installation: *739 - organization: *740 + installation: *753 + organization: *754 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -223491,9 +223540,9 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -223970,7 +224019,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224026,7 +224075,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224104,9 +224153,9 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -224418,7 +224467,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224468,7 +224517,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224545,10 +224594,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - release: &798 + enterprise: *752 + installation: *753 + organization: *754 + release: &812 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -224869,7 +224918,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *741 + repository: *755 sender: *4 required: - action @@ -224946,11 +224995,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -225067,11 +225116,11 @@ webhooks: type: boolean required: - to - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -225149,9 +225198,9 @@ webhooks: type: string enum: - prereleased - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -225477,7 +225526,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225553,10 +225602,10 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - release: &799 + enterprise: *752 + installation: *753 + organization: *754 + release: &813 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -225879,7 +225928,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225955,11 +226004,11 @@ webhooks: type: string enum: - released - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -226035,11 +226084,11 @@ webhooks: type: string enum: - unpublished - enterprise: *738 - installation: *739 - organization: *740 - release: *799 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *813 + repository: *755 sender: *4 required: - action @@ -226115,11 +226164,11 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *650 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *664 sender: *4 required: - action @@ -226195,11 +226244,11 @@ webhooks: type: string enum: - reported - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *650 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *664 sender: *4 required: - action @@ -226275,10 +226324,10 @@ webhooks: type: string enum: - archived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226355,10 +226404,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226436,10 +226485,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226524,10 +226573,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226642,10 +226691,10 @@ webhooks: - 'null' items: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226717,10 +226766,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 status: type: string @@ -226801,10 +226850,10 @@ webhooks: type: string enum: - privatized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226881,10 +226930,10 @@ webhooks: type: string enum: - publicized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226978,10 +227027,10 @@ webhooks: - name required: - repository - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227061,10 +227110,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 sender: *4 required: @@ -227143,10 +227192,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 sender: *4 required: @@ -227225,10 +227274,10 @@ webhooks: type: string enum: - edited - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 changes: type: object @@ -227536,10 +227585,10 @@ webhooks: - from required: - owner - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227617,10 +227666,10 @@ webhooks: type: string enum: - unarchived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227698,7 +227747,7 @@ webhooks: type: string enum: - create - alert: &800 + alert: &814 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -227822,10 +227871,10 @@ webhooks: type: string enum: - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228035,10 +228084,10 @@ webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228116,11 +228165,11 @@ webhooks: type: string enum: - reopen - alert: *800 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228322,10 +228371,10 @@ webhooks: enum: - fixed - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228403,7 +228452,7 @@ webhooks: type: string enum: - created - alert: &801 + alert: &815 type: object properties: number: *96 @@ -228513,10 +228562,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228597,11 +228646,11 @@ webhooks: type: string enum: - created - alert: *801 - installation: *739 - location: *802 - organization: *740 - repository: *741 + alert: *815 + installation: *753 + location: *816 + organization: *754 + repository: *755 sender: *4 required: - location @@ -228839,11 +228888,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228921,11 +228970,11 @@ webhooks: type: string enum: - reopened - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229003,11 +229052,11 @@ webhooks: type: string enum: - resolved - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229085,11 +229134,11 @@ webhooks: type: string enum: - validated - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229219,10 +229268,10 @@ webhooks: - organization - enterprise - - repository: *741 - enterprise: *738 - installation: *739 - organization: *740 + repository: *755 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -229300,11 +229349,11 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: &803 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: &817 description: The details of the security advisory, including summary, description, and severity. type: object @@ -229490,11 +229539,11 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: *803 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: *817 sender: *4 required: - action @@ -229567,10 +229616,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -229757,9 +229806,9 @@ webhooks: type: object properties: security_and_analysis: *316 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: *379 sender: *4 required: @@ -229838,12 +229887,12 @@ webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: &804 + sponsorship: &818 type: object properties: created_at: @@ -230148,12 +230197,12 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - sponsorship @@ -230241,12 +230290,12 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230323,17 +230372,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &805 + effective_date: &819 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: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - sponsorship @@ -230407,7 +230456,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &806 + changes: &820 type: object properties: tier: @@ -230451,13 +230500,13 @@ webhooks: - from required: - tier - effective_date: *805 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + effective_date: *819 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230534,13 +230583,13 @@ webhooks: type: string enum: - tier_changed - changes: *806 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + changes: *820 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230614,10 +230663,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -230701,10 +230750,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231138,15 +231187,15 @@ webhooks: type: - string - 'null' - enterprise: *738 + enterprise: *752 id: description: The unique identifier of the status. type: integer - installation: *739 + installation: *753 name: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 sha: description: The Commit SHA. @@ -231262,9 +231311,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231354,9 +231403,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231446,9 +231495,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231538,9 +231587,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231617,12 +231666,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - team: &807 + team: &821 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -231815,9 +231864,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -232287,7 +232336,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232363,9 +232412,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -232835,7 +232884,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232912,9 +232961,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -233384,7 +233433,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -233528,9 +233577,9 @@ webhooks: - from required: - permissions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -234000,7 +234049,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - changes @@ -234078,9 +234127,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -234550,7 +234599,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -234626,10 +234675,10 @@ webhooks: type: string enum: - started - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -234702,17 +234751,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *738 + enterprise: *752 inputs: type: - object - 'null' additionalProperties: true - installation: *739 - organization: *740 + installation: *753 + organization: *754 ref: type: string - repository: *741 + repository: *755 sender: *4 workflow: type: string @@ -234794,10 +234843,10 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -235132,10 +235181,10 @@ webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -235496,10 +235545,10 @@ webhooks: type: string enum: - queued - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -235724,10 +235773,10 @@ webhooks: type: string enum: - waiting - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -235954,12 +236003,12 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -236978,12 +237027,12 @@ webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -237987,12 +238036,12 @@ webhooks: type: string enum: - requested - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index da0701b49b..6760f26c09 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -12184,7 +12184,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -114665,6 +114665,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -114678,6 +114681,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -114719,7 +114728,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -117400,6 +117408,367 @@ null ] }, + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "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" + } + ] + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -117562,6 +117931,16 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] } } }, @@ -143267,6 +143646,16 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] } } }, @@ -143277,323 +143666,6 @@ "null" ] }, - "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", - "examples": [ - "/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", - "examples": [ - "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", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index dc1b23c48c..fe78b86795 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -8638,7 +8638,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -83040,6 +83040,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -83049,6 +83051,10 @@ components: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -83078,7 +83084,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -85130,6 +85135,282 @@ components: - 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 + examples: + - "/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 + examples: + - 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 + examples: + - 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 + examples: + - "/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 + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + 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" organization-secret-scanning-alert: type: object properties: @@ -85241,6 +85522,10 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" actions-billing-usage: type: object properties: @@ -103781,269 +104066,16 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: - string - 'null' - 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 - examples: - - "/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 - examples: - - 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 - examples: - - 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 - examples: - - "/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 - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index da0701b49b..6760f26c09 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -12184,7 +12184,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -114665,6 +114665,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -114678,6 +114681,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -114719,7 +114728,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -117400,6 +117408,367 @@ null ] }, + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "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" + } + ] + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -117562,6 +117931,16 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] } } }, @@ -143267,6 +143646,16 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] } } }, @@ -143277,323 +143666,6 @@ "null" ] }, - "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", - "examples": [ - "/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", - "examples": [ - "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", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index dc1b23c48c..fe78b86795 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -8638,7 +8638,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -83040,6 +83040,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -83049,6 +83051,10 @@ components: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -83078,7 +83084,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -85130,6 +85135,282 @@ components: - 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 + examples: + - "/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 + examples: + - 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 + examples: + - 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 + examples: + - "/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 + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - 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. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + 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" organization-secret-scanning-alert: type: object properties: @@ -85241,6 +85522,10 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" actions-billing-usage: type: object properties: @@ -103781,269 +104066,16 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: - string - 'null' - 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 - examples: - - "/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 - examples: - - 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 - examples: - - 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 - examples: - - "/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 - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - 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. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: