diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index ba71abed70..84c670dd77 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -6364,7 +6364,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -99525,6 +99525,330 @@ "used_in_tests" ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -99639,6 +99963,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -104955,6 +105286,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -104966,6 +105300,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -104997,7 +105335,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -125218,6 +125555,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -125226,285 +125570,6 @@ "type": "string", "nullable": true }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index d85c2d5770..865b1ce711 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -4504,7 +4504,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -72420,6 +72420,264 @@ components: - wont_fix - revoked - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true organization-secret-scanning-alert: type: object properties: @@ -72513,6 +72771,12 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. actor: title: Actor description: Actor @@ -76710,6 +76974,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -76718,6 +76984,9 @@ components: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -76742,7 +77011,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -92332,249 +92600,17 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: string nullable: true - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index ba71abed70..84c670dd77 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -6364,7 +6364,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -99525,6 +99525,330 @@ "used_in_tests" ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -99639,6 +99963,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -104955,6 +105286,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -104966,6 +105300,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -104997,7 +105335,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -125218,6 +125555,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -125226,285 +125570,6 @@ "type": "string", "nullable": true }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index d85c2d5770..865b1ce711 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -4504,7 +4504,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -72420,6 +72420,264 @@ components: - wont_fix - revoked - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true organization-secret-scanning-alert: type: object properties: @@ -72513,6 +72771,12 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. actor: title: Actor description: Actor @@ -76710,6 +76974,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -76718,6 +76984,9 @@ components: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -76742,7 +77011,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -92332,249 +92600,17 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: string nullable: true - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 8673583a3c..06382dd6cf 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -23044,6 +23044,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -50779,7 +51068,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -79292,6 +79581,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -79303,6 +79595,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -79334,7 +79630,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -103357,6 +103652,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -103368,6 +103666,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -103399,7 +103701,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -137592,6 +137893,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -420417,6 +421007,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -421133,6 +422012,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -421802,6 +422970,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index fe1ca41cc1..9fadcf9fe7 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1017,7 +1017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &586 + - &600 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9518,6 +9518,279 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &580 + - &582 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &583 + description: Represents a 'wiki_commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &584 + description: Represents an 'issue_title' secret scanning location + type. This location type shows that a secret was detected + in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &585 + description: Represents an 'issue_body' secret scanning location + type. This location type shows that a secret was detected + in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &586 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &587 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &588 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &589 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &590 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &591 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &592 + description: Represents a 'pull_request_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &593 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret was + detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &594 + description: Represents a 'pull_request_review_comment' secret + scanning location type. This location type shows that a + secret was detected in a review comment on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: &257 value: @@ -10829,7 +11102,7 @@ paths: url: type: string format: uri - user: &609 + user: &623 title: Public User description: Public User type: object @@ -15317,7 +15590,7 @@ paths: - avatar_url - description examples: - default: &627 + default: &641 value: - login: github id: 1 @@ -15489,7 +15762,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -15582,7 +15855,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *94 - - &650 + - &664 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -15591,7 +15864,7 @@ paths: required: false schema: type: integer - - &651 + - &665 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -15600,7 +15873,7 @@ paths: required: false schema: type: integer - - &652 + - &666 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -15609,7 +15882,7 @@ paths: required: false schema: type: integer - - &653 + - &667 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 @@ -17403,7 +17676,7 @@ paths: type: array items: *60 examples: - default: &621 + default: &635 value: total_count: 1 repositories: @@ -18271,7 +18544,7 @@ paths: type: array items: *120 examples: - default: &612 + default: &626 value: total_count: 1 repositories: @@ -24508,6 +24781,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -24516,6 +24791,9 @@ paths: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -24540,7 +24818,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -29735,7 +30012,7 @@ paths: parameters: - *94 - *207 - - &626 + - &640 name: repo_name description: repo_name parameter in: path @@ -30763,7 +31040,7 @@ paths: - nuget - container - *94 - - &628 + - &642 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30804,7 +31081,7 @@ paths: default: *215 '403': *29 '401': *25 - '400': &630 + '400': &644 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -36449,7 +36726,7 @@ paths: application/json: schema: type: array - items: &584 + items: &598 description: A repository security advisory. type: object properties: @@ -36740,7 +37017,7 @@ paths: - private_fork additionalProperties: false examples: - default: &585 + default: &599 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -37214,7 +37491,7 @@ paths: description: Response content: application/json: - schema: &644 + schema: &658 type: object properties: total_minutes_used: @@ -37284,7 +37561,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &645 + default: &659 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37320,7 +37597,7 @@ paths: description: Response content: application/json: - schema: &646 + schema: &660 type: object properties: total_gigabytes_bandwidth_used: @@ -37338,7 +37615,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &647 + default: &661 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -37370,7 +37647,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &662 type: object properties: days_left_in_billing_cycle: @@ -37388,7 +37665,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &649 + default: &663 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -38599,7 +38876,7 @@ paths: - updated_at - url examples: - default: &599 + default: &613 value: - author: login: octocat @@ -38847,7 +39124,7 @@ paths: application/json: schema: *268 examples: - default: &600 + default: &614 value: author: login: octocat @@ -39030,7 +39307,7 @@ paths: - updated_at - url examples: - default: &601 + default: &615 value: - author: login: octocat @@ -39256,7 +39533,7 @@ paths: application/json: schema: *271 examples: - default: &602 + default: &616 value: author: login: octocat @@ -39872,7 +40149,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &603 + response-if-user-is-a-team-maintainer: &617 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39937,7 +40214,7 @@ paths: application/json: schema: *278 examples: - response-if-users-membership-with-team-is-now-pending: &604 + response-if-users-membership-with-team-is-now-pending: &618 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40078,7 +40355,7 @@ paths: - updated_at - permissions examples: - default: &605 + default: &619 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40157,7 +40434,7 @@ paths: application/json: schema: *279 examples: - default: &606 + default: &620 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40367,7 +40644,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &607 + schema: &621 title: Team Repository description: A team's access to a repository. type: object @@ -41024,7 +41301,7 @@ paths: type: array items: *152 examples: - response-if-child-teams-exist: &608 + response-if-child-teams-exist: &622 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -52853,7 +53130,7 @@ paths: check. type: array items: *360 - deployment: &662 + deployment: &676 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53765,7 +54042,7 @@ paths: type: string format: date-time nullable: true - head_commit: &688 + head_commit: &702 title: Simple Commit description: A commit. type: object @@ -57985,14 +58262,14 @@ paths: type: integer machines: type: array - items: &615 + items: &629 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *402 required: *403 examples: - default: &616 + default: &630 value: total_count: 2 machines: @@ -61292,7 +61569,7 @@ paths: application/json: schema: type: array - items: &589 + items: &603 title: Status description: The status of a commit. type: object @@ -62848,7 +63125,7 @@ paths: items: type: object properties: - placeholder_id: &581 + placeholder_id: &595 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68601,7 +68878,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &696 + last_response: &710 title: Hook Response type: object properties: @@ -69561,7 +69838,7 @@ paths: parameters: - *281 - *282 - - &639 + - &653 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -69995,7 +70272,7 @@ paths: type: array items: *477 examples: - default: &632 + default: &646 value: - id: 1 repository: @@ -83675,7 +83952,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 type: object properties: number: *54 @@ -83785,6 +84062,18 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: *580 + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: value: @@ -83922,7 +84211,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -84003,7 +84292,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -84091,7 +84380,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &717 + items: &731 type: object properties: type: @@ -84117,254 +84406,19 @@ paths: example: commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *582 + - *583 + - *584 + - *585 + - *586 + - *587 + - *588 + - *589 + - *590 + - *591 + - *592 + - *593 + - *594 examples: default: value: @@ -84459,14 +84513,14 @@ paths: schema: type: object properties: - reason: &582 + reason: &596 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *581 + placeholder_id: *595 required: - reason - placeholder_id @@ -84483,7 +84537,7 @@ paths: schema: type: object properties: - reason: *582 + reason: *596 expire_at: type: string format: date-time @@ -84542,7 +84596,7 @@ paths: properties: incremental_scans: type: array - items: &583 + items: &597 description: Information on a single scan performed by secret scanning on the repository type: object @@ -84568,15 +84622,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *583 + items: *597 backfill_scans: type: array - items: *583 + items: *597 custom_pattern_backfill_scans: type: array items: allOf: - - *583 + - *597 - type: object properties: pattern_name: @@ -84691,9 +84745,9 @@ paths: application/json: schema: type: array - items: *584 + items: *598 examples: - default: *585 + default: *599 '400': *14 '404': *6 x-github: @@ -84877,9 +84931,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *598 examples: - default: &587 + default: &601 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -85217,7 +85271,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *598 examples: default: value: @@ -85366,15 +85420,15 @@ paths: parameters: - *281 - *282 - - *586 + - *600 responses: '200': description: Response content: application/json: - schema: *584 + schema: *598 examples: - default: *587 + default: *601 '403': *29 '404': *6 x-github: @@ -85400,7 +85454,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 requestBody: required: true content: @@ -85559,10 +85613,10 @@ paths: description: Response content: application/json: - schema: *584 + schema: *598 examples: - default: *587 - add_credit: *587 + default: *601 + add_credit: *601 '403': *29 '404': *6 '422': @@ -85602,7 +85656,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 responses: '202': *39 '400': *14 @@ -85631,7 +85685,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 responses: '202': description: Response @@ -85775,7 +85829,7 @@ paths: application/json: schema: type: array - items: &588 + items: &602 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -86148,7 +86202,7 @@ paths: application/json: schema: type: array - items: *588 + items: *602 examples: default: value: @@ -86236,7 +86290,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *603 examples: default: value: @@ -86330,7 +86384,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &590 + schema: &604 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86425,7 +86479,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *604 examples: default: value: @@ -86562,7 +86616,7 @@ paths: application/json: schema: type: array - items: &591 + items: &605 title: Tag protection description: Tag protection type: object @@ -86638,7 +86692,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *605 examples: default: value: @@ -86786,7 +86840,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &606 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -86798,7 +86852,7 @@ paths: required: - names examples: - default: &593 + default: &607 value: names: - octocat @@ -86853,9 +86907,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *606 examples: - default: *593 + default: *607 '404': *6 '422': *7 x-github: @@ -86878,7 +86932,7 @@ paths: parameters: - *281 - *282 - - &594 + - &608 name: per description: The time frame to display results for. in: query @@ -86907,7 +86961,7 @@ paths: example: 128 clones: type: array - items: &595 + items: &609 title: Traffic type: object properties: @@ -87148,7 +87202,7 @@ paths: parameters: - *281 - *282 - - *594 + - *608 responses: '200': description: Response @@ -87167,7 +87221,7 @@ paths: example: 3782 views: type: array - items: *595 + items: *609 required: - uniques - count @@ -87936,7 +87990,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &596 + text_matches: &610 title: Search Result Text Matches type: array items: @@ -88098,7 +88152,7 @@ paths: enum: - author-date - committer-date - - &597 + - &611 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 @@ -88226,7 +88280,7 @@ paths: type: number node_id: type: string - text_matches: *596 + text_matches: *610 required: - sha - node_id @@ -88408,7 +88462,7 @@ paths: - interactions - created - updated - - *597 + - *611 - *17 - *19 - name: advanced_search @@ -88550,7 +88604,7 @@ paths: type: string format: date-time nullable: true - text_matches: *596 + text_matches: *610 pull_request: type: object properties: @@ -88778,7 +88832,7 @@ paths: enum: - created - updated - - *597 + - *611 - *17 - *19 responses: @@ -88822,7 +88876,7 @@ paths: nullable: true score: type: number - text_matches: *596 + text_matches: *610 required: - id - node_id @@ -88907,7 +88961,7 @@ paths: - forks - help-wanted-issues - updated - - *597 + - *611 - *17 - *19 responses: @@ -89146,7 +89200,7 @@ paths: - admin - pull - push - text_matches: *596 + text_matches: *610 temp_clone_token: type: string allow_merge_commit: @@ -89446,7 +89500,7 @@ paths: type: string format: uri nullable: true - text_matches: *596 + text_matches: *610 related: type: array nullable: true @@ -89637,7 +89691,7 @@ paths: - followers - repositories - joined - - *597 + - *611 - *17 - *19 responses: @@ -89741,7 +89795,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *596 + text_matches: *610 blog: type: string nullable: true @@ -89820,7 +89874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &598 + - &612 name: team_id description: The unique identifier of the team. in: path @@ -89861,7 +89915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *598 + - *612 requestBody: required: true content: @@ -89961,7 +90015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *598 + - *612 responses: '204': description: Response @@ -89992,7 +90046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *598 + - *612 - *48 - *17 - *19 @@ -90005,7 +90059,7 @@ paths: type: array items: *268 examples: - default: *599 + default: *613 headers: Link: *58 x-github: @@ -90034,7 +90088,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *598 + - *612 requestBody: required: true content: @@ -90097,7 +90151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *598 + - *612 - *270 responses: '200': @@ -90131,7 +90185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *598 + - *612 - *270 requestBody: required: false @@ -90157,7 +90211,7 @@ paths: application/json: schema: *268 examples: - default: *600 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90182,7 +90236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *598 + - *612 - *270 responses: '204': @@ -90212,7 +90266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *598 + - *612 - *270 - *48 - *17 @@ -90226,7 +90280,7 @@ paths: type: array items: *271 examples: - default: *601 + default: *615 headers: Link: *58 x-github: @@ -90255,7 +90309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *598 + - *612 - *270 requestBody: required: true @@ -90307,7 +90361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *598 + - *612 - *270 - *273 responses: @@ -90342,7 +90396,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *598 + - *612 - *270 - *273 requestBody: @@ -90368,7 +90422,7 @@ paths: application/json: schema: *271 examples: - default: *602 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90393,7 +90447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *598 + - *612 - *270 - *273 responses: @@ -90424,7 +90478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *598 + - *612 - *270 - *273 - name: content @@ -90483,7 +90537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *598 + - *612 - *270 - *273 requestBody: @@ -90545,7 +90599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *598 + - *612 - *270 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -90603,7 +90657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *598 + - *612 - *270 requestBody: required: true @@ -90662,7 +90716,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *598 + - *612 - *17 - *19 responses: @@ -90700,7 +90754,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *598 + - *612 - name: role description: Filters members returned by their role in the team. in: query @@ -90751,7 +90805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *598 + - *612 - *133 responses: '204': @@ -90788,7 +90842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *598 + - *612 - *133 responses: '204': @@ -90828,7 +90882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *598 + - *612 - *133 responses: '204': @@ -90865,7 +90919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *598 + - *612 - *133 responses: '200': @@ -90874,7 +90928,7 @@ paths: application/json: schema: *278 examples: - response-if-user-is-a-team-maintainer: *603 + response-if-user-is-a-team-maintainer: *617 '404': *6 x-github: githubCloudOnly: false @@ -90907,7 +90961,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *598 + - *612 - *133 requestBody: required: false @@ -90935,7 +90989,7 @@ paths: application/json: schema: *278 examples: - response-if-users-membership-with-team-is-now-pending: *604 + response-if-users-membership-with-team-is-now-pending: *618 '403': description: Forbidden if team synchronization is set up '422': @@ -90969,7 +91023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *598 + - *612 - *133 responses: '204': @@ -90998,7 +91052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *598 + - *612 - *17 - *19 responses: @@ -91010,7 +91064,7 @@ paths: type: array items: *279 examples: - default: *605 + default: *619 headers: Link: *58 '404': *6 @@ -91036,7 +91090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *598 + - *612 - *280 responses: '200': @@ -91045,7 +91099,7 @@ paths: application/json: schema: *279 examples: - default: *606 + default: *620 '404': description: Not Found if project is not managed by this team x-github: @@ -91069,7 +91123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *598 + - *612 - *280 requestBody: required: false @@ -91137,7 +91191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *598 + - *612 - *280 responses: '204': @@ -91165,7 +91219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *598 + - *612 - *17 - *19 responses: @@ -91207,7 +91261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *598 + - *612 - *281 - *282 responses: @@ -91215,7 +91269,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *607 + schema: *621 examples: alternative-response-with-extra-repository-information: value: @@ -91366,7 +91420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *598 + - *612 - *281 - *282 requestBody: @@ -91418,7 +91472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *598 + - *612 - *281 - *282 responses: @@ -91445,7 +91499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *598 + - *612 - *17 - *19 responses: @@ -91457,7 +91511,7 @@ paths: type: array items: *152 examples: - response-if-child-teams-exist: *608 + response-if-child-teams-exist: *622 headers: Link: *58 '404': *6 @@ -91490,7 +91544,7 @@ paths: application/json: schema: oneOf: - - &610 + - &624 title: Private User description: Private User type: object @@ -91693,7 +91747,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *609 + - *623 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -91846,7 +91900,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *624 examples: default: value: @@ -92244,7 +92298,7 @@ paths: type: integer secrets: type: array - items: &611 + items: &625 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -92360,7 +92414,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *625 examples: default: value: @@ -92506,7 +92560,7 @@ paths: type: array items: *120 examples: - default: *612 + default: *626 '401': *25 '403': *29 '404': *6 @@ -92773,7 +92827,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &627 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -92814,7 +92868,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &614 + default: &628 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -92859,9 +92913,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *627 examples: - default: *614 + default: *628 '404': *6 x-github: githubCloudOnly: false @@ -92898,9 +92952,9 @@ paths: type: integer machines: type: array - items: *615 + items: *629 examples: - default: *616 + default: *630 '304': *37 '500': *95 '401': *25 @@ -93839,7 +93893,7 @@ paths: type: array items: *214 examples: - default: &629 + default: &643 value: - id: 197 name: hello_docker @@ -93940,7 +93994,7 @@ paths: application/json: schema: type: array - items: &617 + items: &631 title: Email description: Email type: object @@ -94005,9 +94059,9 @@ paths: application/json: schema: type: array - items: *617 + items: *631 examples: - default: &631 + default: &645 value: - email: octocat@github.com verified: true @@ -94082,7 +94136,7 @@ paths: application/json: schema: type: array - items: *617 + items: *631 examples: default: value: @@ -94338,7 +94392,7 @@ paths: application/json: schema: type: array - items: &618 + items: &632 title: GPG Key description: A unique encryption key type: object @@ -94469,7 +94523,7 @@ paths: - subkeys - revoked examples: - default: &642 + default: &656 value: - id: 3 name: Octocat's GPG Key @@ -94554,9 +94608,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *632 examples: - default: &619 + default: &633 value: id: 3 name: Octocat's GPG Key @@ -94613,7 +94667,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &620 + - &634 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -94625,9 +94679,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *632 examples: - default: *619 + default: *633 '404': *6 '304': *37 '403': *29 @@ -94650,7 +94704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *620 + - *634 responses: '204': description: Response @@ -94841,7 +94895,7 @@ paths: type: array items: *60 examples: - default: *621 + default: *635 headers: Link: *58 '404': *6 @@ -95105,7 +95159,7 @@ paths: application/json: schema: type: array - items: &622 + items: &636 title: Key description: Key type: object @@ -95202,9 +95256,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *636 examples: - default: &623 + default: &637 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95243,9 +95297,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *636 examples: - default: *623 + default: *637 '404': *6 '304': *37 '403': *29 @@ -95301,7 +95355,7 @@ paths: application/json: schema: type: array - items: &624 + items: &638 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -95369,7 +95423,7 @@ paths: - account - plan examples: - default: &625 + default: &639 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -95431,9 +95485,9 @@ paths: application/json: schema: type: array - items: *624 + items: *638 examples: - default: *625 + default: *639 headers: Link: *58 '304': *37 @@ -96428,7 +96482,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *207 - - *626 + - *640 responses: '204': description: Response @@ -96501,7 +96555,7 @@ paths: type: array items: *203 examples: - default: *627 + default: *641 headers: Link: *58 '304': *37 @@ -96543,7 +96597,7 @@ paths: - docker - nuget - container - - *628 + - *642 - *19 - *17 responses: @@ -96555,8 +96609,8 @@ paths: type: array items: *214 examples: - default: *629 - '400': *630 + default: *643 + '400': *644 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96585,7 +96639,7 @@ paths: application/json: schema: *214 examples: - default: &643 + default: &657 value: id: 40201 name: octo-name @@ -97038,9 +97092,9 @@ paths: application/json: schema: type: array - items: *617 + items: *631 examples: - default: *631 + default: *645 headers: Link: *58 '304': *37 @@ -97153,7 +97207,7 @@ paths: type: array items: *60 examples: - default: &638 + default: &652 summary: Default response value: - id: 1296269 @@ -97499,7 +97553,7 @@ paths: type: array items: *477 examples: - default: *632 + default: *646 headers: Link: *58 '304': *37 @@ -97578,7 +97632,7 @@ paths: application/json: schema: type: array - items: &633 + items: &647 title: Social account description: Social media account type: object @@ -97593,7 +97647,7 @@ paths: - provider - url examples: - default: &634 + default: &648 value: - provider: twitter url: https://twitter.com/github @@ -97655,9 +97709,9 @@ paths: application/json: schema: type: array - items: *633 + items: *647 examples: - default: *634 + default: *648 '422': *15 '304': *37 '404': *6 @@ -97744,7 +97798,7 @@ paths: application/json: schema: type: array - items: &635 + items: &649 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -97764,7 +97818,7 @@ paths: - title - created_at examples: - default: &654 + default: &668 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97830,9 +97884,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *649 examples: - default: &636 + default: &650 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97863,7 +97917,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &637 + - &651 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -97875,9 +97929,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *649 examples: - default: *636 + default: *650 '404': *6 '304': *37 '403': *29 @@ -97900,7 +97954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *637 + - *651 responses: '204': description: Response @@ -97929,7 +97983,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &655 + - &669 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -97954,11 +98008,11 @@ paths: type: array items: *60 examples: - default-response: *638 + default-response: *652 application/vnd.github.v3.star+json: schema: type: array - items: &656 + items: &670 title: Starred Repository description: Starred Repository type: object @@ -98327,10 +98381,10 @@ paths: application/json: schema: oneOf: - - *610 - - *609 + - *624 + - *623 examples: - default-response: &640 + default-response: &654 summary: Default response value: login: octocat @@ -98365,7 +98419,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &641 + response-with-git-hub-plan-information: &655 summary: Response with GitHub plan information value: login: octocat @@ -98425,7 +98479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *639 + - *653 - *17 responses: '200': @@ -98474,11 +98528,11 @@ paths: application/json: schema: oneOf: - - *610 - - *609 + - *624 + - *623 examples: - default-response: *640 - response-with-git-hub-plan-information: *641 + default-response: *654 + response-with-git-hub-plan-information: *655 '404': *6 x-github: githubCloudOnly: false @@ -98595,7 +98649,7 @@ paths: type: array items: *214 examples: - default: *629 + default: *643 '403': *29 '401': *25 x-github: @@ -98999,9 +99053,9 @@ paths: application/json: schema: type: array - items: *618 + items: *632 examples: - default: *642 + default: *656 headers: Link: *58 x-github: @@ -99183,7 +99237,7 @@ paths: type: array items: *203 examples: - default: *627 + default: *641 headers: Link: *58 x-github: @@ -99222,7 +99276,7 @@ paths: - docker - nuget - container - - *628 + - *642 - *133 - *19 - *17 @@ -99235,10 +99289,10 @@ paths: type: array items: *214 examples: - default: *629 + default: *643 '403': *29 '401': *25 - '400': *630 + '400': *644 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99268,7 +99322,7 @@ paths: application/json: schema: *214 examples: - default: *643 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99867,9 +99921,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *658 examples: - default: *645 + default: *659 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99897,9 +99951,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *660 examples: - default: *647 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99927,9 +99981,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *662 examples: - default: *649 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99950,10 +100004,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *133 - - *650 - - *651 - - *652 - - *653 + - *664 + - *665 + - *666 + - *667 responses: '200': description: Response when getting a billing usage report @@ -100052,9 +100106,9 @@ paths: application/json: schema: type: array - items: *633 + items: *647 examples: - default: *634 + default: *648 headers: Link: *58 x-github: @@ -100084,9 +100138,9 @@ paths: application/json: schema: type: array - items: *635 + items: *649 examples: - default: *654 + default: *668 headers: Link: *58 x-github: @@ -100111,7 +100165,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *133 - - *655 + - *669 - *48 - *17 - *19 @@ -100123,11 +100177,11 @@ paths: schema: anyOf: - type: array - items: *656 + items: *670 - type: array items: *60 examples: - default-response: *638 + default-response: *652 headers: Link: *58 x-github: @@ -100286,7 +100340,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &657 + enterprise: &671 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -100344,7 +100398,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &658 + installation: &672 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -100363,7 +100417,7 @@ x-webhooks: required: - id - node_id - organization: &659 + organization: &673 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -100423,13 +100477,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &660 + repository: &674 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &690 + properties: &704 id: description: Unique identifier of the repository example: 42 @@ -101112,7 +101166,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &691 + required: &705 - archive_url - assignees_url - blobs_url @@ -101263,10 +101317,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -101342,11 +101396,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: &661 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + rule: &675 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -101569,11 +101623,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: *661 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + rule: *675 sender: *4 required: - action @@ -101756,11 +101810,11 @@ x-webhooks: - everyone required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: *661 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + rule: *675 sender: *4 required: - action @@ -101844,7 +101898,7 @@ x-webhooks: type: string enum: - completed - check_run: &663 + check_run: &677 title: CheckRun description: A check performed on the code of a given code change type: object @@ -101945,7 +101999,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *662 + deployment: *676 details_url: example: https://example.com type: string @@ -102030,9 +102084,9 @@ x-webhooks: - output - app - pull_requests - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - check_run @@ -102425,10 +102479,10 @@ x-webhooks: type: string enum: - created - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *677 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - check_run @@ -102824,10 +102878,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *677 + installation: *672 + organization: *673 + repository: *674 requested_action: description: The action requested by the user. type: object @@ -103232,10 +103286,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *677 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - check_run @@ -104212,10 +104266,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -104885,10 +104939,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -105552,10 +105606,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -105863,20 +105917,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &664 + commit_oid: &678 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *657 - installation: *658 - organization: *659 - ref: &665 + enterprise: *671 + installation: *672 + organization: *673 + ref: &679 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *660 + repository: *674 sender: *4 required: - action @@ -106268,12 +106322,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *678 + enterprise: *671 + installation: *672 + organization: *673 + ref: *679 + repository: *674 sender: *4 required: - action @@ -106536,12 +106590,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *678 + enterprise: *671 + installation: *672 + organization: *673 + ref: *679 + repository: *674 sender: *4 required: - action @@ -106870,12 +106924,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *678 + enterprise: *671 + installation: *672 + organization: *673 + ref: *679 + repository: *674 sender: *4 required: - action @@ -107140,16 +107194,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *660 + repository: *674 sender: *4 required: - action @@ -107383,12 +107437,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *678 + enterprise: *671 + installation: *672 + organization: *673 + ref: *679 + repository: *674 sender: *4 required: - action @@ -107645,10 +107699,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -107728,18 +107782,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *659 - pusher_type: &666 + organization: *673 + pusher_type: &680 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &667 + ref: &681 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -107749,7 +107803,7 @@ x-webhooks: enum: - tag - branch - repository: *660 + repository: *674 sender: *4 required: - ref @@ -107832,9 +107886,9 @@ x-webhooks: enum: - created definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 sender: *4 required: - action @@ -107919,9 +107973,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 sender: *4 required: - action @@ -107999,9 +108053,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 sender: *4 required: - action @@ -108079,9 +108133,9 @@ x-webhooks: enum: - updated definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 sender: *4 required: - action @@ -108158,10 +108212,10 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - repository: *660 - organization: *659 + enterprise: *671 + installation: *672 + repository: *674 + organization: *673 sender: *4 new_property_values: type: array @@ -108246,18 +108300,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - pusher_type: *666 - ref: *667 + enterprise: *671 + installation: *672 + organization: *673 + pusher_type: *680 + ref: *681 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *660 + repository: *674 sender: *4 required: - ref @@ -108342,10 +108396,10 @@ x-webhooks: enum: - auto_dismissed alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108430,10 +108484,10 @@ x-webhooks: enum: - auto_reopened alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108518,10 +108572,10 @@ x-webhooks: enum: - created alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108604,10 +108658,10 @@ x-webhooks: enum: - dismissed alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108690,10 +108744,10 @@ x-webhooks: enum: - fixed alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108777,10 +108831,10 @@ x-webhooks: enum: - reintroduced alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108863,10 +108917,10 @@ x-webhooks: enum: - reopened alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108943,9 +108997,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - key: &668 + enterprise: *671 + installation: *672 + key: &682 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -108981,8 +109035,8 @@ x-webhooks: - verified - created_at - read_only - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -109059,11 +109113,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - key: *668 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + key: *682 + organization: *673 + repository: *674 sender: *4 required: - action @@ -109624,12 +109678,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - workflow: &672 + workflow: &686 title: Workflow type: object nullable: true @@ -110359,9 +110413,9 @@ x-webhooks: pull_requests: type: array items: *524 - repository: *660 - organization: *659 - installation: *658 + repository: *674 + organization: *673 + installation: *672 sender: *4 responses: '200': @@ -110432,7 +110486,7 @@ x-webhooks: type: string enum: - approved - approver: &669 + approver: &683 type: object properties: avatar_url: @@ -110475,11 +110529,11 @@ x-webhooks: type: string comment: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - reviewers: &670 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + reviewers: &684 type: array items: type: object @@ -110558,7 +110612,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &671 + workflow_job_run: &685 type: object properties: conclusion: @@ -111289,18 +111343,18 @@ x-webhooks: type: string enum: - rejected - approver: *669 + approver: *683 comment: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - reviewers: *670 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + reviewers: *684 sender: *4 since: type: string - workflow_job_run: *671 + workflow_job_run: *685 workflow_job_runs: type: array items: @@ -112004,13 +112058,13 @@ x-webhooks: type: string enum: - requested - enterprise: *657 + enterprise: *671 environment: type: string - installation: *658 - organization: *659 - repository: *660 - requestor: &677 + installation: *672 + organization: *673 + repository: *674 + requestor: &691 title: User type: object nullable: true @@ -113909,12 +113963,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - workflow: *672 + workflow: *686 workflow_run: title: Deployment Workflow Run type: object @@ -114594,7 +114648,7 @@ x-webhooks: type: string enum: - answered - answer: &675 + answer: &689 type: object properties: author_association: @@ -114751,7 +114805,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &673 + discussion: &687 title: Discussion description: A Discussion in a repository. type: object @@ -115059,10 +115113,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115189,11 +115243,11 @@ x-webhooks: - from required: - category - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115276,11 +115330,11 @@ x-webhooks: type: string enum: - closed - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115362,7 +115416,7 @@ x-webhooks: type: string enum: - created - comment: &674 + comment: &688 type: object properties: author_association: @@ -115519,11 +115573,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115606,12 +115660,12 @@ x-webhooks: type: string enum: - deleted - comment: *674 - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + comment: *688 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115706,12 +115760,12 @@ x-webhooks: - from required: - body - comment: *674 - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + comment: *688 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115795,11 +115849,11 @@ x-webhooks: type: string enum: - created - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115881,11 +115935,11 @@ x-webhooks: type: string enum: - deleted - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115985,11 +116039,11 @@ x-webhooks: type: string required: - from - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116071,10 +116125,10 @@ x-webhooks: type: string enum: - labeled - discussion: *673 - enterprise: *657 - installation: *658 - label: &676 + discussion: *687 + enterprise: *671 + installation: *672 + label: &690 title: Label type: object properties: @@ -116106,8 +116160,8 @@ x-webhooks: - color - default - description - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116190,11 +116244,11 @@ x-webhooks: type: string enum: - locked - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116276,11 +116330,11 @@ x-webhooks: type: string enum: - pinned - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116362,11 +116416,11 @@ x-webhooks: type: string enum: - reopened - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116451,16 +116505,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *673 - new_repository: *660 + new_discussion: *687 + new_repository: *674 required: - new_discussion - new_repository - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116543,10 +116597,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *673 - old_answer: *675 - organization: *659 - repository: *660 + discussion: *687 + old_answer: *689 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116628,12 +116682,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *673 - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116716,11 +116770,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116802,11 +116856,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116879,7 +116933,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *657 + enterprise: *671 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -117539,9 +117593,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - forkee @@ -117687,9 +117741,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pages: description: The pages that were updated. type: array @@ -117726,7 +117780,7 @@ x-webhooks: - action - sha - html_url - repository: *660 + repository: *674 sender: *4 required: - pages @@ -117802,10 +117856,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories: &678 + organization: *673 + repositories: &692 description: An array of repository objects that the installation can access. type: array @@ -117831,8 +117885,8 @@ x-webhooks: - name - full_name - private - repository: *660 - requester: *677 + repository: *674 + requester: *691 sender: *4 required: - action @@ -117907,11 +117961,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *673 + repositories: *692 + repository: *674 requester: nullable: true sender: *4 @@ -117987,11 +118041,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *673 + repositories: *692 + repository: *674 requester: nullable: true sender: *4 @@ -118067,10 +118121,10 @@ x-webhooks: type: string enum: - added - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories_added: &679 + organization: *673 + repositories_added: &693 description: An array of repository objects, which were added to the installation. type: array @@ -118116,15 +118170,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *660 - repository_selection: &680 + repository: *674 + repository_selection: &694 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *677 + requester: *691 sender: *4 required: - action @@ -118203,10 +118257,10 @@ x-webhooks: type: string enum: - removed - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories_added: *679 + organization: *673 + repositories_added: *693 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -118233,9 +118287,9 @@ x-webhooks: - name - full_name - private - repository: *660 - repository_selection: *680 - requester: *677 + repository: *674 + repository_selection: *694 + requester: *691 sender: *4 required: - action @@ -118314,11 +118368,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *673 + repositories: *692 + repository: *674 requester: nullable: true sender: *4 @@ -118496,10 +118550,10 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 target_type: type: string @@ -118578,11 +118632,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *673 + repositories: *692 + repository: *674 requester: nullable: true sender: *4 @@ -118834,8 +118888,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119991,8 +120045,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -120072,7 +120126,7 @@ x-webhooks: type: string enum: - deleted - comment: &681 + comment: &695 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -120237,8 +120291,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121392,8 +121446,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -121473,7 +121527,7 @@ x-webhooks: type: string enum: - edited - changes: &709 + changes: &723 description: The changes to the comment. type: object properties: @@ -121485,9 +121539,9 @@ x-webhooks: type: string required: - from - comment: *681 - enterprise: *657 - installation: *658 + comment: *695 + enterprise: *671 + installation: *672 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122642,8 +122696,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -122725,10 +122779,10 @@ x-webhooks: type: string enum: - assigned - assignee: *677 - enterprise: *657 - installation: *658 - issue: &684 + assignee: *691 + enterprise: *671 + installation: *672 + issue: &698 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123647,8 +123701,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -123728,8 +123782,8 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -124788,8 +124842,8 @@ x-webhooks: required: - state - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -124868,8 +124922,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125783,8 +125837,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -125863,8 +125917,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126779,7 +126833,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &682 + milestone: &696 title: Milestone description: A collection of related issues and pull requests. type: object @@ -126917,8 +126971,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -127017,8 +127071,8 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127937,9 +127991,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *676 - organization: *659 - repository: *660 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -128019,8 +128073,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128938,9 +128992,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *676 - organization: *659 - repository: *660 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -129020,8 +129074,8 @@ x-webhooks: type: string enum: - locked - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129940,8 +129994,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -130020,8 +130074,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130934,9 +130988,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *682 - organization: *659 - repository: *660 + milestone: *696 + organization: *673 + repository: *674 sender: *4 required: - action @@ -132379,8 +132433,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133298,8 +133352,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -133379,9 +133433,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *657 - installation: *658 - issue: &683 + enterprise: *671 + installation: *672 + issue: &697 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -134293,8 +134347,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -134373,8 +134427,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135292,8 +135346,8 @@ x-webhooks: user_view_type: type: string type: *193 - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -136756,11 +136810,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *657 - installation: *658 - issue: *683 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + issue: *697 + organization: *673 + repository: *674 sender: *4 required: - action @@ -136840,12 +136894,12 @@ x-webhooks: type: string enum: - typed - enterprise: *657 - installation: *658 - issue: *684 + enterprise: *671 + installation: *672 + issue: *698 type: *193 - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -136926,7 +136980,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &712 + assignee: &726 title: User type: object nullable: true @@ -136996,11 +137050,11 @@ x-webhooks: required: - login - id - enterprise: *657 - installation: *658 - issue: *684 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + issue: *698 + organization: *673 + repository: *674 sender: *4 required: - action @@ -137079,12 +137133,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *657 - installation: *658 - issue: *684 - label: *676 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + issue: *698 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -137164,8 +137218,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138082,8 +138136,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138163,11 +138217,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *657 - installation: *658 - issue: *683 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + issue: *697 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138246,12 +138300,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *657 - installation: *658 - issue: *684 + enterprise: *671 + installation: *672 + issue: *698 type: *193 - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138331,11 +138385,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138413,11 +138467,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138527,11 +138581,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138613,9 +138667,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: &685 + enterprise: *671 + installation: *672 + marketplace_purchase: &699 title: Marketplace Purchase type: object required: @@ -138698,8 +138752,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *659 - previous_marketplace_purchase: &686 + organization: *673 + previous_marketplace_purchase: &700 title: Marketplace Purchase type: object properties: @@ -138779,7 +138833,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -138859,10 +138913,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 + enterprise: *671 + installation: *672 + marketplace_purchase: *699 + organization: *673 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138945,7 +138999,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -139027,10 +139081,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 + enterprise: *671 + installation: *672 + marketplace_purchase: *699 + organization: *673 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -139112,7 +139166,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -139193,8 +139247,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 marketplace_purchase: title: Marketplace Purchase type: object @@ -139276,9 +139330,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *659 - previous_marketplace_purchase: *686 - repository: *660 + organization: *673 + previous_marketplace_purchase: *700 + repository: *674 sender: *4 required: - action @@ -139358,12 +139412,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 - previous_marketplace_purchase: *686 - repository: *660 + enterprise: *671 + installation: *672 + marketplace_purchase: *699 + organization: *673 + previous_marketplace_purchase: *700 + repository: *674 sender: *4 required: - action @@ -139465,11 +139519,11 @@ x-webhooks: type: string required: - to - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + member: *691 + organization: *673 + repository: *674 sender: *4 required: - action @@ -139569,11 +139623,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + member: *691 + organization: *673 + repository: *674 sender: *4 required: - action @@ -139652,11 +139706,11 @@ x-webhooks: type: string enum: - removed - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + member: *691 + organization: *673 + repository: *674 sender: *4 required: - action @@ -139734,11 +139788,11 @@ x-webhooks: type: string enum: - added - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + member: *691 + organization: *673 + repository: *674 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139814,7 +139868,7 @@ x-webhooks: required: - login - id - team: &687 + team: &701 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -140004,11 +140058,11 @@ x-webhooks: type: string enum: - removed - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + member: *691 + organization: *673 + repository: *674 scope: description: The scope of the membership. Currently, can only be `team`. @@ -140085,7 +140139,7 @@ x-webhooks: required: - login - id - team: *687 + team: *701 required: - action - scope @@ -140167,8 +140221,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *658 - merge_group: &689 + installation: *672 + merge_group: &703 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -140187,15 +140241,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *688 + head_commit: *702 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140281,10 +140335,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *658 - merge_group: *689 - organization: *659 - repository: *660 + installation: *672 + merge_group: *703 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140357,7 +140411,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 + enterprise: *671 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -140465,16 +140519,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *658 - organization: *659 + installation: *672 + organization: *673 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *690 - required: *691 + properties: *704 + required: *705 nullable: true sender: *4 required: @@ -140555,11 +140609,11 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + milestone: *696 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140638,9 +140692,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - milestone: &692 + enterprise: *671 + installation: *672 + milestone: &706 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140777,8 +140831,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140857,11 +140911,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + milestone: *696 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140971,11 +141025,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + milestone: *696 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141055,11 +141109,11 @@ x-webhooks: type: string enum: - opened - enterprise: *657 - installation: *658 - milestone: *692 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + milestone: *706 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141138,11 +141192,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *677 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + blocked_user: *691 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141221,11 +141275,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *677 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + blocked_user: *691 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141304,9 +141358,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - membership: &693 + enterprise: *671 + installation: *672 + membership: &707 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -141398,8 +141452,8 @@ x-webhooks: - role - organization_url - user - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141477,11 +141531,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + membership: *707 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141560,8 +141614,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -141677,10 +141731,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 - user: *677 + user: *691 required: - action - invitation @@ -141758,11 +141812,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + membership: *707 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141849,11 +141903,11 @@ x-webhooks: properties: from: type: string - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + membership: *707 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141929,9 +141983,9 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 package: description: Information about the package. type: object @@ -142430,7 +142484,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &694 + items: &708 title: Ruby Gems metadata type: object properties: @@ -142525,7 +142579,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -142601,9 +142655,9 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 package: description: Information about the package. type: object @@ -142956,7 +143010,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *708 source_url: type: string format: uri @@ -143026,7 +143080,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -143203,12 +143257,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *657 + enterprise: *671 id: type: integer - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - id @@ -143285,7 +143339,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &695 + personal_access_token_request: &709 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -143431,10 +143485,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *657 - organization: *659 + enterprise: *671 + organization: *673 sender: *4 - installation: *658 + installation: *672 required: - action - personal_access_token_request @@ -143511,11 +143565,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *695 - enterprise: *657 - organization: *659 + personal_access_token_request: *709 + enterprise: *671 + organization: *673 sender: *4 - installation: *658 + installation: *672 required: - action - personal_access_token_request @@ -143591,11 +143645,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *695 - enterprise: *657 - organization: *659 + personal_access_token_request: *709 + enterprise: *671 + organization: *673 sender: *4 - installation: *658 + installation: *672 required: - action - personal_access_token_request @@ -143670,11 +143724,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *695 - organization: *659 - enterprise: *657 + personal_access_token_request: *709 + organization: *673 + enterprise: *671 sender: *4 - installation: *658 + installation: *672 required: - action - personal_access_token_request @@ -143779,7 +143833,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *696 + last_response: *710 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -143811,8 +143865,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 zen: description: Random string of GitHub zen. @@ -144057,10 +144111,10 @@ x-webhooks: - from required: - note - enterprise: *657 - installation: *658 - organization: *659 - project_card: &697 + enterprise: *671 + installation: *672 + organization: *673 + project_card: &711 title: Project Card type: object properties: @@ -144179,7 +144233,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -144260,11 +144314,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project_card: *697 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project_card: *711 + repository: *674 sender: *4 required: - action @@ -144344,9 +144398,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 project_card: title: Project Card type: object @@ -144474,8 +144528,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *690 - required: *691 + properties: *704 + required: *705 nullable: true sender: *4 required: @@ -144569,11 +144623,11 @@ x-webhooks: - from required: - note - enterprise: *657 - installation: *658 - organization: *659 - project_card: *697 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project_card: *711 + repository: *674 sender: *4 required: - action @@ -144667,9 +144721,9 @@ x-webhooks: - from required: - column_id - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 project_card: allOf: - title: Project Card @@ -144859,7 +144913,7 @@ x-webhooks: type: string required: - after_id - repository: *660 + repository: *674 sender: *4 required: - action @@ -144939,10 +144993,10 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - organization: *659 - project: &699 + enterprise: *671 + installation: *672 + organization: *673 + project: &713 title: Project type: object properties: @@ -145066,7 +145120,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -145146,10 +145200,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project_column: &698 + enterprise: *671 + installation: *672 + organization: *673 + project_column: &712 title: Project Column type: object properties: @@ -145188,7 +145242,7 @@ x-webhooks: - name - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -145267,18 +145321,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 + enterprise: *671 + installation: *672 + organization: *673 + project_column: *712 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *690 - required: *691 + properties: *704 + required: *705 nullable: true sender: *4 required: @@ -145368,11 +145422,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project_column: *712 + repository: *674 sender: *4 required: - action @@ -145452,11 +145506,11 @@ x-webhooks: type: string enum: - moved - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project_column: *712 + repository: *674 sender: *4 required: - action @@ -145536,11 +145590,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project: *713 + repository: *674 sender: *4 required: - action @@ -145620,18 +145674,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - project: *699 + enterprise: *671 + installation: *672 + organization: *673 + project: *713 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *690 - required: *691 + properties: *704 + required: *705 nullable: true sender: *4 required: @@ -145733,11 +145787,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project: *713 + repository: *674 sender: *4 required: - action @@ -145816,11 +145870,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project: *713 + repository: *674 sender: *4 required: - action @@ -145901,9 +145955,9 @@ x-webhooks: type: string enum: - closed - installation: *658 - organization: *659 - projects_v2: &700 + installation: *672 + organization: *673 + projects_v2: &714 title: Projects v2 Project description: A projects v2 project type: object @@ -146046,9 +146100,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2: *700 + installation: *672 + organization: *673 + projects_v2: *714 sender: *4 required: - action @@ -146129,9 +146183,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2: *700 + installation: *672 + organization: *673 + projects_v2: *714 sender: *4 required: - action @@ -146248,9 +146302,9 @@ x-webhooks: type: string to: type: string - installation: *658 - organization: *659 - projects_v2: *700 + installation: *672 + organization: *673 + projects_v2: *714 sender: *4 required: - action @@ -146333,7 +146387,7 @@ x-webhooks: type: string enum: - archived - changes: &704 + changes: &718 type: object properties: archived_at: @@ -146347,9 +146401,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *658 - organization: *659 - projects_v2_item: &701 + installation: *672 + organization: *673 + projects_v2_item: &715 title: Projects v2 Item description: An item belonging to a project type: object @@ -146483,9 +146537,9 @@ x-webhooks: nullable: true to: type: string - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -146567,9 +146621,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -146650,9 +146704,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -146758,7 +146812,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &702 + - &716 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -146776,7 +146830,7 @@ x-webhooks: required: - id - name - - &703 + - &717 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -146799,8 +146853,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *702 - - *703 + - *716 + - *717 required: - field_value - type: object @@ -146816,9 +146870,9 @@ x-webhooks: nullable: true required: - body - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -146913,9 +146967,9 @@ x-webhooks: to: type: string nullable: true - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -146998,10 +147052,10 @@ x-webhooks: type: string enum: - restored - changes: *704 - installation: *658 - organization: *659 - projects_v2_item: *701 + changes: *718 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -147083,9 +147137,9 @@ x-webhooks: type: string enum: - reopened - installation: *658 - organization: *659 - projects_v2: *700 + installation: *672 + organization: *673 + projects_v2: *714 sender: *4 required: - action @@ -147166,9 +147220,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2_status_update: &705 + installation: *672 + organization: *673 + projects_v2_status_update: &719 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -147295,9 +147349,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2_status_update: *705 + installation: *672 + organization: *673 + projects_v2_status_update: *719 sender: *4 required: - action @@ -147433,9 +147487,9 @@ x-webhooks: type: string format: date nullable: true - installation: *658 - organization: *659 - projects_v2_status_update: *705 + installation: *672 + organization: *673 + projects_v2_status_update: *719 sender: *4 required: - action @@ -147506,10 +147560,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - repository @@ -147586,13 +147640,13 @@ x-webhooks: type: string enum: - assigned - assignee: *677 - enterprise: *657 - installation: *658 - number: &706 + assignee: *691 + enterprise: *671 + installation: *672 + number: &720 description: The pull request number. type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -149875,7 +149929,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -149957,11 +150011,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -152239,7 +152293,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *674 sender: *4 required: - action @@ -152321,11 +152375,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -154603,7 +154657,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *674 sender: *4 required: - action @@ -154685,11 +154739,11 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: &707 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: &721 allOf: - *524 - type: object @@ -154753,7 +154807,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *660 + repository: *674 sender: *4 required: - action @@ -154834,12 +154888,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: *721 + repository: *674 sender: *4 required: - action @@ -154919,11 +154973,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *657 + enterprise: *671 milestone: *507 - number: *706 - organization: *659 - pull_request: &708 + number: *720 + organization: *673 + pull_request: &722 title: Pull Request type: object properties: @@ -157186,7 +157240,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -157265,11 +157319,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -159551,7 +159605,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *660 + repository: *674 sender: *4 required: - action @@ -159675,12 +159729,12 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: *721 + repository: *674 sender: *4 required: - action @@ -159760,11 +159814,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -162031,7 +162085,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -162111,11 +162165,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *657 - installation: *658 - label: *676 - number: *706 - organization: *659 + enterprise: *671 + installation: *672 + label: *690 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -164397,7 +164451,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -164478,10 +164532,10 @@ x-webhooks: type: string enum: - locked - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -166761,7 +166815,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -166841,12 +166895,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *657 + enterprise: *671 milestone: *507 - number: *706 - organization: *659 - pull_request: *708 - repository: *660 + number: *720 + organization: *673 + pull_request: *722 + repository: *674 sender: *4 required: - action @@ -166925,12 +166979,12 @@ x-webhooks: type: string enum: - opened - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: *721 + repository: *674 sender: *4 required: - action @@ -167011,12 +167065,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: *721 + repository: *674 sender: *4 required: - action @@ -167096,12 +167150,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: *721 + repository: *674 sender: *4 required: - action @@ -167467,9 +167521,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: type: object properties: @@ -169639,7 +169693,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -169719,7 +169773,7 @@ x-webhooks: type: string enum: - deleted - comment: &710 + comment: &724 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -170004,9 +170058,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: type: object properties: @@ -172164,7 +172218,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -172244,11 +172298,11 @@ x-webhooks: type: string enum: - edited - changes: *709 - comment: *710 - enterprise: *657 - installation: *658 - organization: *659 + changes: *723 + comment: *724 + enterprise: *671 + installation: *672 + organization: *673 pull_request: type: object properties: @@ -174409,7 +174463,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -174490,9 +174544,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: title: Simple Pull Request type: object @@ -176665,7 +176719,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *674 review: description: The review that was affected. type: object @@ -176908,9 +176962,9 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: title: Simple Pull Request type: object @@ -178964,8 +179018,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 - review: &711 + repository: *674 + review: &725 description: The review that was affected. type: object properties: @@ -179194,12 +179248,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: description: The pull request number. type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -181482,7 +181536,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_reviewer: title: User type: object @@ -181566,12 +181620,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: description: The pull request number. type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -183861,7 +183915,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184053,12 +184107,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: description: The pull request number. type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -186343,7 +186397,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_reviewer: title: User type: object @@ -186428,12 +186482,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: description: The pull request number. type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -188709,7 +188763,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188890,9 +188944,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: title: Simple Pull Request type: object @@ -191067,8 +191121,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 - review: *711 + repository: *674 + review: *725 sender: *4 required: - action @@ -191148,9 +191202,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: title: Simple Pull Request type: object @@ -193220,7 +193274,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *674 sender: *4 thread: type: object @@ -193603,9 +193657,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: title: Simple Pull Request type: object @@ -195661,7 +195715,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *674 sender: *4 thread: type: object @@ -196047,10 +196101,10 @@ x-webhooks: type: string before: type: string - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -198321,7 +198375,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -198403,11 +198457,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *712 - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + assignee: *726 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -200690,7 +200744,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -200769,11 +200823,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *657 - installation: *658 - label: *676 - number: *706 - organization: *659 + enterprise: *671 + installation: *672 + label: *690 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -203046,7 +203100,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -203127,10 +203181,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -205395,7 +205449,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -205595,7 +205649,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *657 + enterprise: *671 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -205687,8 +205741,8 @@ x-webhooks: - url - author - committer - installation: *658 - organization: *659 + installation: *672 + organization: *673 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -206263,9 +206317,9 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 registry_package: type: object properties: @@ -206711,7 +206765,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *694 + items: *708 summary: type: string tag_name: @@ -206765,7 +206819,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -206843,9 +206897,9 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 registry_package: type: object properties: @@ -207153,7 +207207,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *708 summary: type: string tag_name: @@ -207202,7 +207256,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -207279,10 +207333,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - release: &713 + enterprise: *671 + installation: *672 + organization: *673 + release: &727 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207591,7 +207645,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *660 + repository: *674 sender: *4 required: - action @@ -207668,11 +207722,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + release: *727 + repository: *674 sender: *4 required: - action @@ -207789,11 +207843,11 @@ x-webhooks: type: boolean required: - to - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + release: *727 + repository: *674 sender: *4 required: - action @@ -207871,9 +207925,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -208186,7 +208240,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *674 sender: *4 required: - action @@ -208262,10 +208316,10 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - release: &714 + enterprise: *671 + installation: *672 + organization: *673 + release: &728 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208575,7 +208629,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *674 sender: *4 required: - action @@ -208651,11 +208705,11 @@ x-webhooks: type: string enum: - released - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + release: *727 + repository: *674 sender: *4 required: - action @@ -208731,11 +208785,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *657 - installation: *658 - organization: *659 - release: *714 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + release: *728 + repository: *674 sender: *4 required: - action @@ -208811,11 +208865,11 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_advisory: *584 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + repository_advisory: *598 sender: *4 required: - action @@ -208891,11 +208945,11 @@ x-webhooks: type: string enum: - reported - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_advisory: *584 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + repository_advisory: *598 sender: *4 required: - action @@ -208971,10 +209025,10 @@ x-webhooks: type: string enum: - archived - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209051,10 +209105,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209132,10 +209186,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209219,10 +209273,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209334,10 +209388,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209409,10 +209463,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 status: type: string @@ -209493,10 +209547,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209573,10 +209627,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209670,10 +209724,10 @@ x-webhooks: - name required: - repository - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209753,10 +209807,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 repository_ruleset: *245 sender: *4 required: @@ -209835,10 +209889,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 repository_ruleset: *245 sender: *4 required: @@ -209917,10 +209971,10 @@ x-webhooks: type: string enum: - edited - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 repository_ruleset: *245 changes: type: object @@ -210225,10 +210279,10 @@ x-webhooks: - from required: - owner - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -210306,10 +210360,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -210387,7 +210441,7 @@ x-webhooks: type: string enum: - create - alert: &715 + alert: &729 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -210508,10 +210562,10 @@ x-webhooks: type: string enum: - open - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -210717,10 +210771,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -210798,11 +210852,11 @@ x-webhooks: type: string enum: - reopen - alert: *715 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *729 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211001,10 +211055,10 @@ x-webhooks: enum: - fixed - open - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211082,7 +211136,7 @@ x-webhooks: type: string enum: - created - alert: &716 + alert: &730 type: object properties: number: *54 @@ -211193,10 +211247,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211277,11 +211331,11 @@ x-webhooks: type: string enum: - created - alert: *716 - installation: *658 - location: *717 - organization: *659 - repository: *660 + alert: *730 + installation: *672 + location: *731 + organization: *673 + repository: *674 sender: *4 required: - location @@ -211519,11 +211573,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *730 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211601,11 +211655,11 @@ x-webhooks: type: string enum: - reopened - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *730 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211683,11 +211737,11 @@ x-webhooks: type: string enum: - resolved - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *730 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211765,11 +211819,11 @@ x-webhooks: type: string enum: - validated - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *730 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211895,10 +211949,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *660 - enterprise: *657 - installation: *658 - organization: *659 + repository: *674 + enterprise: *671 + installation: *672 + organization: *673 sender: *4 required: - action @@ -211976,11 +212030,11 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - security_advisory: &718 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + security_advisory: &732 description: The details of the security advisory, including summary, description, and severity. type: object @@ -212163,11 +212217,11 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - security_advisory: *718 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + security_advisory: *732 sender: *4 required: - action @@ -212240,10 +212294,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -212428,9 +212482,9 @@ x-webhooks: type: object properties: security_and_analysis: *238 - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: *292 sender: *4 required: @@ -212509,12 +212563,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: &719 + sponsorship: &733 type: object properties: created_at: @@ -212815,12 +212869,12 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: *719 + sponsorship: *733 required: - action - sponsorship @@ -212908,12 +212962,12 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: *719 + sponsorship: *733 required: - action - changes @@ -212990,17 +213044,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &720 + effective_date: &734 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: *719 + sponsorship: *733 required: - action - sponsorship @@ -213074,7 +213128,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &721 + changes: &735 type: object properties: tier: @@ -213118,13 +213172,13 @@ x-webhooks: - from required: - tier - effective_date: *720 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + effective_date: *734 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: *719 + sponsorship: *733 required: - action - changes @@ -213201,13 +213255,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *721 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + changes: *735 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: *719 + sponsorship: *733 required: - action - changes @@ -213281,10 +213335,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213367,10 +213421,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213790,15 +213844,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *657 + enterprise: *671 id: description: The unique identifier of the status. type: integer - installation: *658 + installation: *672 name: type: string - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 sha: description: The Commit SHA. @@ -213913,9 +213967,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -214005,9 +214059,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -214097,9 +214151,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -214189,9 +214243,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -214268,12 +214322,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - team: &722 + team: &736 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -214463,9 +214517,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: title: Repository description: A git repository @@ -214923,7 +214977,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -214999,9 +215053,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: title: Repository description: A git repository @@ -215459,7 +215513,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -215536,9 +215590,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: title: Repository description: A git repository @@ -215996,7 +216050,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -216140,9 +216194,9 @@ x-webhooks: - from required: - permissions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: title: Repository description: A git repository @@ -216600,7 +216654,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - changes @@ -216678,9 +216732,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: title: Repository description: A git repository @@ -217138,7 +217192,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -217214,10 +217268,10 @@ x-webhooks: type: string enum: - started - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -217290,16 +217344,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *657 + enterprise: *671 inputs: type: object nullable: true additionalProperties: true - installation: *658 - organization: *659 + installation: *672 + organization: *673 ref: type: string - repository: *660 + repository: *674 sender: *4 workflow: type: string @@ -217381,10 +217435,10 @@ x-webhooks: type: string enum: - completed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 workflow_job: allOf: @@ -217700,10 +217754,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 workflow_job: allOf: @@ -218042,10 +218096,10 @@ x-webhooks: type: string enum: - queued - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 workflow_job: type: object @@ -218259,10 +218313,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 workflow_job: type: object @@ -218478,12 +218532,12 @@ x-webhooks: type: string enum: - completed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - workflow: *672 + workflow: *686 workflow_run: title: Workflow Run type: object @@ -219482,12 +219536,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - workflow: *672 + workflow: *686 workflow_run: title: Workflow Run type: object @@ -220471,12 +220525,12 @@ x-webhooks: type: string enum: - requested - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - workflow: *672 + workflow: *686 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 8673583a3c..06382dd6cf 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -23044,6 +23044,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -50779,7 +51068,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -79292,6 +79581,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -79303,6 +79595,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -79334,7 +79630,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -103357,6 +103652,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -103368,6 +103666,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -103399,7 +103701,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -137592,6 +137893,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -420417,6 +421007,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -421133,6 +422012,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -421802,6 +422970,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index fe1ca41cc1..9fadcf9fe7 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1017,7 +1017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &586 + - &600 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9518,6 +9518,279 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &580 + - &582 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &583 + description: Represents a 'wiki_commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &584 + description: Represents an 'issue_title' secret scanning location + type. This location type shows that a secret was detected + in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &585 + description: Represents an 'issue_body' secret scanning location + type. This location type shows that a secret was detected + in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &586 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &587 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &588 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &589 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &590 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &591 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &592 + description: Represents a 'pull_request_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &593 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret was + detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &594 + description: Represents a 'pull_request_review_comment' secret + scanning location type. This location type shows that a + secret was detected in a review comment on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: &257 value: @@ -10829,7 +11102,7 @@ paths: url: type: string format: uri - user: &609 + user: &623 title: Public User description: Public User type: object @@ -15317,7 +15590,7 @@ paths: - avatar_url - description examples: - default: &627 + default: &641 value: - login: github id: 1 @@ -15489,7 +15762,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -15582,7 +15855,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *94 - - &650 + - &664 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -15591,7 +15864,7 @@ paths: required: false schema: type: integer - - &651 + - &665 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -15600,7 +15873,7 @@ paths: required: false schema: type: integer - - &652 + - &666 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -15609,7 +15882,7 @@ paths: required: false schema: type: integer - - &653 + - &667 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 @@ -17403,7 +17676,7 @@ paths: type: array items: *60 examples: - default: &621 + default: &635 value: total_count: 1 repositories: @@ -18271,7 +18544,7 @@ paths: type: array items: *120 examples: - default: &612 + default: &626 value: total_count: 1 repositories: @@ -24508,6 +24781,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -24516,6 +24791,9 @@ paths: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -24540,7 +24818,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -29735,7 +30012,7 @@ paths: parameters: - *94 - *207 - - &626 + - &640 name: repo_name description: repo_name parameter in: path @@ -30763,7 +31040,7 @@ paths: - nuget - container - *94 - - &628 + - &642 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30804,7 +31081,7 @@ paths: default: *215 '403': *29 '401': *25 - '400': &630 + '400': &644 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -36449,7 +36726,7 @@ paths: application/json: schema: type: array - items: &584 + items: &598 description: A repository security advisory. type: object properties: @@ -36740,7 +37017,7 @@ paths: - private_fork additionalProperties: false examples: - default: &585 + default: &599 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -37214,7 +37491,7 @@ paths: description: Response content: application/json: - schema: &644 + schema: &658 type: object properties: total_minutes_used: @@ -37284,7 +37561,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &645 + default: &659 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37320,7 +37597,7 @@ paths: description: Response content: application/json: - schema: &646 + schema: &660 type: object properties: total_gigabytes_bandwidth_used: @@ -37338,7 +37615,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &647 + default: &661 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -37370,7 +37647,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &662 type: object properties: days_left_in_billing_cycle: @@ -37388,7 +37665,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &649 + default: &663 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -38599,7 +38876,7 @@ paths: - updated_at - url examples: - default: &599 + default: &613 value: - author: login: octocat @@ -38847,7 +39124,7 @@ paths: application/json: schema: *268 examples: - default: &600 + default: &614 value: author: login: octocat @@ -39030,7 +39307,7 @@ paths: - updated_at - url examples: - default: &601 + default: &615 value: - author: login: octocat @@ -39256,7 +39533,7 @@ paths: application/json: schema: *271 examples: - default: &602 + default: &616 value: author: login: octocat @@ -39872,7 +40149,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &603 + response-if-user-is-a-team-maintainer: &617 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39937,7 +40214,7 @@ paths: application/json: schema: *278 examples: - response-if-users-membership-with-team-is-now-pending: &604 + response-if-users-membership-with-team-is-now-pending: &618 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40078,7 +40355,7 @@ paths: - updated_at - permissions examples: - default: &605 + default: &619 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40157,7 +40434,7 @@ paths: application/json: schema: *279 examples: - default: &606 + default: &620 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40367,7 +40644,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &607 + schema: &621 title: Team Repository description: A team's access to a repository. type: object @@ -41024,7 +41301,7 @@ paths: type: array items: *152 examples: - response-if-child-teams-exist: &608 + response-if-child-teams-exist: &622 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -52853,7 +53130,7 @@ paths: check. type: array items: *360 - deployment: &662 + deployment: &676 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53765,7 +54042,7 @@ paths: type: string format: date-time nullable: true - head_commit: &688 + head_commit: &702 title: Simple Commit description: A commit. type: object @@ -57985,14 +58262,14 @@ paths: type: integer machines: type: array - items: &615 + items: &629 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *402 required: *403 examples: - default: &616 + default: &630 value: total_count: 2 machines: @@ -61292,7 +61569,7 @@ paths: application/json: schema: type: array - items: &589 + items: &603 title: Status description: The status of a commit. type: object @@ -62848,7 +63125,7 @@ paths: items: type: object properties: - placeholder_id: &581 + placeholder_id: &595 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68601,7 +68878,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &696 + last_response: &710 title: Hook Response type: object properties: @@ -69561,7 +69838,7 @@ paths: parameters: - *281 - *282 - - &639 + - &653 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -69995,7 +70272,7 @@ paths: type: array items: *477 examples: - default: &632 + default: &646 value: - id: 1 repository: @@ -83675,7 +83952,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 type: object properties: number: *54 @@ -83785,6 +84062,18 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: *580 + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: value: @@ -83922,7 +84211,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -84003,7 +84292,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -84091,7 +84380,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &717 + items: &731 type: object properties: type: @@ -84117,254 +84406,19 @@ paths: example: commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *582 + - *583 + - *584 + - *585 + - *586 + - *587 + - *588 + - *589 + - *590 + - *591 + - *592 + - *593 + - *594 examples: default: value: @@ -84459,14 +84513,14 @@ paths: schema: type: object properties: - reason: &582 + reason: &596 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *581 + placeholder_id: *595 required: - reason - placeholder_id @@ -84483,7 +84537,7 @@ paths: schema: type: object properties: - reason: *582 + reason: *596 expire_at: type: string format: date-time @@ -84542,7 +84596,7 @@ paths: properties: incremental_scans: type: array - items: &583 + items: &597 description: Information on a single scan performed by secret scanning on the repository type: object @@ -84568,15 +84622,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *583 + items: *597 backfill_scans: type: array - items: *583 + items: *597 custom_pattern_backfill_scans: type: array items: allOf: - - *583 + - *597 - type: object properties: pattern_name: @@ -84691,9 +84745,9 @@ paths: application/json: schema: type: array - items: *584 + items: *598 examples: - default: *585 + default: *599 '400': *14 '404': *6 x-github: @@ -84877,9 +84931,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *598 examples: - default: &587 + default: &601 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -85217,7 +85271,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *598 examples: default: value: @@ -85366,15 +85420,15 @@ paths: parameters: - *281 - *282 - - *586 + - *600 responses: '200': description: Response content: application/json: - schema: *584 + schema: *598 examples: - default: *587 + default: *601 '403': *29 '404': *6 x-github: @@ -85400,7 +85454,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 requestBody: required: true content: @@ -85559,10 +85613,10 @@ paths: description: Response content: application/json: - schema: *584 + schema: *598 examples: - default: *587 - add_credit: *587 + default: *601 + add_credit: *601 '403': *29 '404': *6 '422': @@ -85602,7 +85656,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 responses: '202': *39 '400': *14 @@ -85631,7 +85685,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 responses: '202': description: Response @@ -85775,7 +85829,7 @@ paths: application/json: schema: type: array - items: &588 + items: &602 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -86148,7 +86202,7 @@ paths: application/json: schema: type: array - items: *588 + items: *602 examples: default: value: @@ -86236,7 +86290,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *603 examples: default: value: @@ -86330,7 +86384,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &590 + schema: &604 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86425,7 +86479,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *604 examples: default: value: @@ -86562,7 +86616,7 @@ paths: application/json: schema: type: array - items: &591 + items: &605 title: Tag protection description: Tag protection type: object @@ -86638,7 +86692,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *605 examples: default: value: @@ -86786,7 +86840,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &606 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -86798,7 +86852,7 @@ paths: required: - names examples: - default: &593 + default: &607 value: names: - octocat @@ -86853,9 +86907,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *606 examples: - default: *593 + default: *607 '404': *6 '422': *7 x-github: @@ -86878,7 +86932,7 @@ paths: parameters: - *281 - *282 - - &594 + - &608 name: per description: The time frame to display results for. in: query @@ -86907,7 +86961,7 @@ paths: example: 128 clones: type: array - items: &595 + items: &609 title: Traffic type: object properties: @@ -87148,7 +87202,7 @@ paths: parameters: - *281 - *282 - - *594 + - *608 responses: '200': description: Response @@ -87167,7 +87221,7 @@ paths: example: 3782 views: type: array - items: *595 + items: *609 required: - uniques - count @@ -87936,7 +87990,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &596 + text_matches: &610 title: Search Result Text Matches type: array items: @@ -88098,7 +88152,7 @@ paths: enum: - author-date - committer-date - - &597 + - &611 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 @@ -88226,7 +88280,7 @@ paths: type: number node_id: type: string - text_matches: *596 + text_matches: *610 required: - sha - node_id @@ -88408,7 +88462,7 @@ paths: - interactions - created - updated - - *597 + - *611 - *17 - *19 - name: advanced_search @@ -88550,7 +88604,7 @@ paths: type: string format: date-time nullable: true - text_matches: *596 + text_matches: *610 pull_request: type: object properties: @@ -88778,7 +88832,7 @@ paths: enum: - created - updated - - *597 + - *611 - *17 - *19 responses: @@ -88822,7 +88876,7 @@ paths: nullable: true score: type: number - text_matches: *596 + text_matches: *610 required: - id - node_id @@ -88907,7 +88961,7 @@ paths: - forks - help-wanted-issues - updated - - *597 + - *611 - *17 - *19 responses: @@ -89146,7 +89200,7 @@ paths: - admin - pull - push - text_matches: *596 + text_matches: *610 temp_clone_token: type: string allow_merge_commit: @@ -89446,7 +89500,7 @@ paths: type: string format: uri nullable: true - text_matches: *596 + text_matches: *610 related: type: array nullable: true @@ -89637,7 +89691,7 @@ paths: - followers - repositories - joined - - *597 + - *611 - *17 - *19 responses: @@ -89741,7 +89795,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *596 + text_matches: *610 blog: type: string nullable: true @@ -89820,7 +89874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &598 + - &612 name: team_id description: The unique identifier of the team. in: path @@ -89861,7 +89915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *598 + - *612 requestBody: required: true content: @@ -89961,7 +90015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *598 + - *612 responses: '204': description: Response @@ -89992,7 +90046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *598 + - *612 - *48 - *17 - *19 @@ -90005,7 +90059,7 @@ paths: type: array items: *268 examples: - default: *599 + default: *613 headers: Link: *58 x-github: @@ -90034,7 +90088,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *598 + - *612 requestBody: required: true content: @@ -90097,7 +90151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *598 + - *612 - *270 responses: '200': @@ -90131,7 +90185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *598 + - *612 - *270 requestBody: required: false @@ -90157,7 +90211,7 @@ paths: application/json: schema: *268 examples: - default: *600 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90182,7 +90236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *598 + - *612 - *270 responses: '204': @@ -90212,7 +90266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *598 + - *612 - *270 - *48 - *17 @@ -90226,7 +90280,7 @@ paths: type: array items: *271 examples: - default: *601 + default: *615 headers: Link: *58 x-github: @@ -90255,7 +90309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *598 + - *612 - *270 requestBody: required: true @@ -90307,7 +90361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *598 + - *612 - *270 - *273 responses: @@ -90342,7 +90396,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *598 + - *612 - *270 - *273 requestBody: @@ -90368,7 +90422,7 @@ paths: application/json: schema: *271 examples: - default: *602 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90393,7 +90447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *598 + - *612 - *270 - *273 responses: @@ -90424,7 +90478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *598 + - *612 - *270 - *273 - name: content @@ -90483,7 +90537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *598 + - *612 - *270 - *273 requestBody: @@ -90545,7 +90599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *598 + - *612 - *270 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -90603,7 +90657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *598 + - *612 - *270 requestBody: required: true @@ -90662,7 +90716,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *598 + - *612 - *17 - *19 responses: @@ -90700,7 +90754,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *598 + - *612 - name: role description: Filters members returned by their role in the team. in: query @@ -90751,7 +90805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *598 + - *612 - *133 responses: '204': @@ -90788,7 +90842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *598 + - *612 - *133 responses: '204': @@ -90828,7 +90882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *598 + - *612 - *133 responses: '204': @@ -90865,7 +90919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *598 + - *612 - *133 responses: '200': @@ -90874,7 +90928,7 @@ paths: application/json: schema: *278 examples: - response-if-user-is-a-team-maintainer: *603 + response-if-user-is-a-team-maintainer: *617 '404': *6 x-github: githubCloudOnly: false @@ -90907,7 +90961,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *598 + - *612 - *133 requestBody: required: false @@ -90935,7 +90989,7 @@ paths: application/json: schema: *278 examples: - response-if-users-membership-with-team-is-now-pending: *604 + response-if-users-membership-with-team-is-now-pending: *618 '403': description: Forbidden if team synchronization is set up '422': @@ -90969,7 +91023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *598 + - *612 - *133 responses: '204': @@ -90998,7 +91052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *598 + - *612 - *17 - *19 responses: @@ -91010,7 +91064,7 @@ paths: type: array items: *279 examples: - default: *605 + default: *619 headers: Link: *58 '404': *6 @@ -91036,7 +91090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *598 + - *612 - *280 responses: '200': @@ -91045,7 +91099,7 @@ paths: application/json: schema: *279 examples: - default: *606 + default: *620 '404': description: Not Found if project is not managed by this team x-github: @@ -91069,7 +91123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *598 + - *612 - *280 requestBody: required: false @@ -91137,7 +91191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *598 + - *612 - *280 responses: '204': @@ -91165,7 +91219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *598 + - *612 - *17 - *19 responses: @@ -91207,7 +91261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *598 + - *612 - *281 - *282 responses: @@ -91215,7 +91269,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *607 + schema: *621 examples: alternative-response-with-extra-repository-information: value: @@ -91366,7 +91420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *598 + - *612 - *281 - *282 requestBody: @@ -91418,7 +91472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *598 + - *612 - *281 - *282 responses: @@ -91445,7 +91499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *598 + - *612 - *17 - *19 responses: @@ -91457,7 +91511,7 @@ paths: type: array items: *152 examples: - response-if-child-teams-exist: *608 + response-if-child-teams-exist: *622 headers: Link: *58 '404': *6 @@ -91490,7 +91544,7 @@ paths: application/json: schema: oneOf: - - &610 + - &624 title: Private User description: Private User type: object @@ -91693,7 +91747,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *609 + - *623 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -91846,7 +91900,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *624 examples: default: value: @@ -92244,7 +92298,7 @@ paths: type: integer secrets: type: array - items: &611 + items: &625 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -92360,7 +92414,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *625 examples: default: value: @@ -92506,7 +92560,7 @@ paths: type: array items: *120 examples: - default: *612 + default: *626 '401': *25 '403': *29 '404': *6 @@ -92773,7 +92827,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &627 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -92814,7 +92868,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &614 + default: &628 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -92859,9 +92913,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *627 examples: - default: *614 + default: *628 '404': *6 x-github: githubCloudOnly: false @@ -92898,9 +92952,9 @@ paths: type: integer machines: type: array - items: *615 + items: *629 examples: - default: *616 + default: *630 '304': *37 '500': *95 '401': *25 @@ -93839,7 +93893,7 @@ paths: type: array items: *214 examples: - default: &629 + default: &643 value: - id: 197 name: hello_docker @@ -93940,7 +93994,7 @@ paths: application/json: schema: type: array - items: &617 + items: &631 title: Email description: Email type: object @@ -94005,9 +94059,9 @@ paths: application/json: schema: type: array - items: *617 + items: *631 examples: - default: &631 + default: &645 value: - email: octocat@github.com verified: true @@ -94082,7 +94136,7 @@ paths: application/json: schema: type: array - items: *617 + items: *631 examples: default: value: @@ -94338,7 +94392,7 @@ paths: application/json: schema: type: array - items: &618 + items: &632 title: GPG Key description: A unique encryption key type: object @@ -94469,7 +94523,7 @@ paths: - subkeys - revoked examples: - default: &642 + default: &656 value: - id: 3 name: Octocat's GPG Key @@ -94554,9 +94608,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *632 examples: - default: &619 + default: &633 value: id: 3 name: Octocat's GPG Key @@ -94613,7 +94667,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &620 + - &634 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -94625,9 +94679,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *632 examples: - default: *619 + default: *633 '404': *6 '304': *37 '403': *29 @@ -94650,7 +94704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *620 + - *634 responses: '204': description: Response @@ -94841,7 +94895,7 @@ paths: type: array items: *60 examples: - default: *621 + default: *635 headers: Link: *58 '404': *6 @@ -95105,7 +95159,7 @@ paths: application/json: schema: type: array - items: &622 + items: &636 title: Key description: Key type: object @@ -95202,9 +95256,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *636 examples: - default: &623 + default: &637 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95243,9 +95297,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *636 examples: - default: *623 + default: *637 '404': *6 '304': *37 '403': *29 @@ -95301,7 +95355,7 @@ paths: application/json: schema: type: array - items: &624 + items: &638 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -95369,7 +95423,7 @@ paths: - account - plan examples: - default: &625 + default: &639 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -95431,9 +95485,9 @@ paths: application/json: schema: type: array - items: *624 + items: *638 examples: - default: *625 + default: *639 headers: Link: *58 '304': *37 @@ -96428,7 +96482,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *207 - - *626 + - *640 responses: '204': description: Response @@ -96501,7 +96555,7 @@ paths: type: array items: *203 examples: - default: *627 + default: *641 headers: Link: *58 '304': *37 @@ -96543,7 +96597,7 @@ paths: - docker - nuget - container - - *628 + - *642 - *19 - *17 responses: @@ -96555,8 +96609,8 @@ paths: type: array items: *214 examples: - default: *629 - '400': *630 + default: *643 + '400': *644 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96585,7 +96639,7 @@ paths: application/json: schema: *214 examples: - default: &643 + default: &657 value: id: 40201 name: octo-name @@ -97038,9 +97092,9 @@ paths: application/json: schema: type: array - items: *617 + items: *631 examples: - default: *631 + default: *645 headers: Link: *58 '304': *37 @@ -97153,7 +97207,7 @@ paths: type: array items: *60 examples: - default: &638 + default: &652 summary: Default response value: - id: 1296269 @@ -97499,7 +97553,7 @@ paths: type: array items: *477 examples: - default: *632 + default: *646 headers: Link: *58 '304': *37 @@ -97578,7 +97632,7 @@ paths: application/json: schema: type: array - items: &633 + items: &647 title: Social account description: Social media account type: object @@ -97593,7 +97647,7 @@ paths: - provider - url examples: - default: &634 + default: &648 value: - provider: twitter url: https://twitter.com/github @@ -97655,9 +97709,9 @@ paths: application/json: schema: type: array - items: *633 + items: *647 examples: - default: *634 + default: *648 '422': *15 '304': *37 '404': *6 @@ -97744,7 +97798,7 @@ paths: application/json: schema: type: array - items: &635 + items: &649 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -97764,7 +97818,7 @@ paths: - title - created_at examples: - default: &654 + default: &668 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97830,9 +97884,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *649 examples: - default: &636 + default: &650 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97863,7 +97917,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &637 + - &651 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -97875,9 +97929,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *649 examples: - default: *636 + default: *650 '404': *6 '304': *37 '403': *29 @@ -97900,7 +97954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *637 + - *651 responses: '204': description: Response @@ -97929,7 +97983,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &655 + - &669 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -97954,11 +98008,11 @@ paths: type: array items: *60 examples: - default-response: *638 + default-response: *652 application/vnd.github.v3.star+json: schema: type: array - items: &656 + items: &670 title: Starred Repository description: Starred Repository type: object @@ -98327,10 +98381,10 @@ paths: application/json: schema: oneOf: - - *610 - - *609 + - *624 + - *623 examples: - default-response: &640 + default-response: &654 summary: Default response value: login: octocat @@ -98365,7 +98419,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &641 + response-with-git-hub-plan-information: &655 summary: Response with GitHub plan information value: login: octocat @@ -98425,7 +98479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *639 + - *653 - *17 responses: '200': @@ -98474,11 +98528,11 @@ paths: application/json: schema: oneOf: - - *610 - - *609 + - *624 + - *623 examples: - default-response: *640 - response-with-git-hub-plan-information: *641 + default-response: *654 + response-with-git-hub-plan-information: *655 '404': *6 x-github: githubCloudOnly: false @@ -98595,7 +98649,7 @@ paths: type: array items: *214 examples: - default: *629 + default: *643 '403': *29 '401': *25 x-github: @@ -98999,9 +99053,9 @@ paths: application/json: schema: type: array - items: *618 + items: *632 examples: - default: *642 + default: *656 headers: Link: *58 x-github: @@ -99183,7 +99237,7 @@ paths: type: array items: *203 examples: - default: *627 + default: *641 headers: Link: *58 x-github: @@ -99222,7 +99276,7 @@ paths: - docker - nuget - container - - *628 + - *642 - *133 - *19 - *17 @@ -99235,10 +99289,10 @@ paths: type: array items: *214 examples: - default: *629 + default: *643 '403': *29 '401': *25 - '400': *630 + '400': *644 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99268,7 +99322,7 @@ paths: application/json: schema: *214 examples: - default: *643 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99867,9 +99921,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *658 examples: - default: *645 + default: *659 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99897,9 +99951,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *660 examples: - default: *647 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99927,9 +99981,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *662 examples: - default: *649 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99950,10 +100004,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *133 - - *650 - - *651 - - *652 - - *653 + - *664 + - *665 + - *666 + - *667 responses: '200': description: Response when getting a billing usage report @@ -100052,9 +100106,9 @@ paths: application/json: schema: type: array - items: *633 + items: *647 examples: - default: *634 + default: *648 headers: Link: *58 x-github: @@ -100084,9 +100138,9 @@ paths: application/json: schema: type: array - items: *635 + items: *649 examples: - default: *654 + default: *668 headers: Link: *58 x-github: @@ -100111,7 +100165,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *133 - - *655 + - *669 - *48 - *17 - *19 @@ -100123,11 +100177,11 @@ paths: schema: anyOf: - type: array - items: *656 + items: *670 - type: array items: *60 examples: - default-response: *638 + default-response: *652 headers: Link: *58 x-github: @@ -100286,7 +100340,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &657 + enterprise: &671 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -100344,7 +100398,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &658 + installation: &672 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -100363,7 +100417,7 @@ x-webhooks: required: - id - node_id - organization: &659 + organization: &673 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -100423,13 +100477,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &660 + repository: &674 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &690 + properties: &704 id: description: Unique identifier of the repository example: 42 @@ -101112,7 +101166,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &691 + required: &705 - archive_url - assignees_url - blobs_url @@ -101263,10 +101317,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -101342,11 +101396,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: &661 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + rule: &675 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -101569,11 +101623,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: *661 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + rule: *675 sender: *4 required: - action @@ -101756,11 +101810,11 @@ x-webhooks: - everyone required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - rule: *661 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + rule: *675 sender: *4 required: - action @@ -101844,7 +101898,7 @@ x-webhooks: type: string enum: - completed - check_run: &663 + check_run: &677 title: CheckRun description: A check performed on the code of a given code change type: object @@ -101945,7 +101999,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *662 + deployment: *676 details_url: example: https://example.com type: string @@ -102030,9 +102084,9 @@ x-webhooks: - output - app - pull_requests - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - check_run @@ -102425,10 +102479,10 @@ x-webhooks: type: string enum: - created - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *677 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - check_run @@ -102824,10 +102878,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *677 + installation: *672 + organization: *673 + repository: *674 requested_action: description: The action requested by the user. type: object @@ -103232,10 +103286,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *663 - installation: *658 - organization: *659 - repository: *660 + check_run: *677 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - check_run @@ -104212,10 +104266,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -104885,10 +104939,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -105552,10 +105606,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -105863,20 +105917,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &664 + commit_oid: &678 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *657 - installation: *658 - organization: *659 - ref: &665 + enterprise: *671 + installation: *672 + organization: *673 + ref: &679 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *660 + repository: *674 sender: *4 required: - action @@ -106268,12 +106322,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *678 + enterprise: *671 + installation: *672 + organization: *673 + ref: *679 + repository: *674 sender: *4 required: - action @@ -106536,12 +106590,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *678 + enterprise: *671 + installation: *672 + organization: *673 + ref: *679 + repository: *674 sender: *4 required: - action @@ -106870,12 +106924,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *678 + enterprise: *671 + installation: *672 + organization: *673 + ref: *679 + repository: *674 sender: *4 required: - action @@ -107140,16 +107194,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *660 + repository: *674 sender: *4 required: - action @@ -107383,12 +107437,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *664 - enterprise: *657 - installation: *658 - organization: *659 - ref: *665 - repository: *660 + commit_oid: *678 + enterprise: *671 + installation: *672 + organization: *673 + ref: *679 + repository: *674 sender: *4 required: - action @@ -107645,10 +107699,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -107728,18 +107782,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *659 - pusher_type: &666 + organization: *673 + pusher_type: &680 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &667 + ref: &681 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -107749,7 +107803,7 @@ x-webhooks: enum: - tag - branch - repository: *660 + repository: *674 sender: *4 required: - ref @@ -107832,9 +107886,9 @@ x-webhooks: enum: - created definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 sender: *4 required: - action @@ -107919,9 +107973,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 sender: *4 required: - action @@ -107999,9 +108053,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 sender: *4 required: - action @@ -108079,9 +108133,9 @@ x-webhooks: enum: - updated definition: *231 - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 sender: *4 required: - action @@ -108158,10 +108212,10 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - repository: *660 - organization: *659 + enterprise: *671 + installation: *672 + repository: *674 + organization: *673 sender: *4 new_property_values: type: array @@ -108246,18 +108300,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - pusher_type: *666 - ref: *667 + enterprise: *671 + installation: *672 + organization: *673 + pusher_type: *680 + ref: *681 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *660 + repository: *674 sender: *4 required: - ref @@ -108342,10 +108396,10 @@ x-webhooks: enum: - auto_dismissed alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108430,10 +108484,10 @@ x-webhooks: enum: - auto_reopened alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108518,10 +108572,10 @@ x-webhooks: enum: - created alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108604,10 +108658,10 @@ x-webhooks: enum: - dismissed alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108690,10 +108744,10 @@ x-webhooks: enum: - fixed alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108777,10 +108831,10 @@ x-webhooks: enum: - reintroduced alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108863,10 +108917,10 @@ x-webhooks: enum: - reopened alert: *433 - installation: *658 - organization: *659 - enterprise: *657 - repository: *660 + installation: *672 + organization: *673 + enterprise: *671 + repository: *674 sender: *4 required: - action @@ -108943,9 +108997,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - key: &668 + enterprise: *671 + installation: *672 + key: &682 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -108981,8 +109035,8 @@ x-webhooks: - verified - created_at - read_only - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -109059,11 +109113,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - key: *668 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + key: *682 + organization: *673 + repository: *674 sender: *4 required: - action @@ -109624,12 +109678,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - workflow: &672 + workflow: &686 title: Workflow type: object nullable: true @@ -110359,9 +110413,9 @@ x-webhooks: pull_requests: type: array items: *524 - repository: *660 - organization: *659 - installation: *658 + repository: *674 + organization: *673 + installation: *672 sender: *4 responses: '200': @@ -110432,7 +110486,7 @@ x-webhooks: type: string enum: - approved - approver: &669 + approver: &683 type: object properties: avatar_url: @@ -110475,11 +110529,11 @@ x-webhooks: type: string comment: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - reviewers: &670 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + reviewers: &684 type: array items: type: object @@ -110558,7 +110612,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &671 + workflow_job_run: &685 type: object properties: conclusion: @@ -111289,18 +111343,18 @@ x-webhooks: type: string enum: - rejected - approver: *669 + approver: *683 comment: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - reviewers: *670 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + reviewers: *684 sender: *4 since: type: string - workflow_job_run: *671 + workflow_job_run: *685 workflow_job_runs: type: array items: @@ -112004,13 +112058,13 @@ x-webhooks: type: string enum: - requested - enterprise: *657 + enterprise: *671 environment: type: string - installation: *658 - organization: *659 - repository: *660 - requestor: &677 + installation: *672 + organization: *673 + repository: *674 + requestor: &691 title: User type: object nullable: true @@ -113909,12 +113963,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - workflow: *672 + workflow: *686 workflow_run: title: Deployment Workflow Run type: object @@ -114594,7 +114648,7 @@ x-webhooks: type: string enum: - answered - answer: &675 + answer: &689 type: object properties: author_association: @@ -114751,7 +114805,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &673 + discussion: &687 title: Discussion description: A Discussion in a repository. type: object @@ -115059,10 +115113,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115189,11 +115243,11 @@ x-webhooks: - from required: - category - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115276,11 +115330,11 @@ x-webhooks: type: string enum: - closed - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115362,7 +115416,7 @@ x-webhooks: type: string enum: - created - comment: &674 + comment: &688 type: object properties: author_association: @@ -115519,11 +115573,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115606,12 +115660,12 @@ x-webhooks: type: string enum: - deleted - comment: *674 - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + comment: *688 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115706,12 +115760,12 @@ x-webhooks: - from required: - body - comment: *674 - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + comment: *688 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115795,11 +115849,11 @@ x-webhooks: type: string enum: - created - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115881,11 +115935,11 @@ x-webhooks: type: string enum: - deleted - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -115985,11 +116039,11 @@ x-webhooks: type: string required: - from - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116071,10 +116125,10 @@ x-webhooks: type: string enum: - labeled - discussion: *673 - enterprise: *657 - installation: *658 - label: &676 + discussion: *687 + enterprise: *671 + installation: *672 + label: &690 title: Label type: object properties: @@ -116106,8 +116160,8 @@ x-webhooks: - color - default - description - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116190,11 +116244,11 @@ x-webhooks: type: string enum: - locked - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116276,11 +116330,11 @@ x-webhooks: type: string enum: - pinned - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116362,11 +116416,11 @@ x-webhooks: type: string enum: - reopened - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116451,16 +116505,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *673 - new_repository: *660 + new_discussion: *687 + new_repository: *674 required: - new_discussion - new_repository - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116543,10 +116597,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *673 - old_answer: *675 - organization: *659 - repository: *660 + discussion: *687 + old_answer: *689 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116628,12 +116682,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *673 - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116716,11 +116770,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116802,11 +116856,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *673 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + discussion: *687 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116879,7 +116933,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *657 + enterprise: *671 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -117539,9 +117593,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - forkee @@ -117687,9 +117741,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pages: description: The pages that were updated. type: array @@ -117726,7 +117780,7 @@ x-webhooks: - action - sha - html_url - repository: *660 + repository: *674 sender: *4 required: - pages @@ -117802,10 +117856,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories: &678 + organization: *673 + repositories: &692 description: An array of repository objects that the installation can access. type: array @@ -117831,8 +117885,8 @@ x-webhooks: - name - full_name - private - repository: *660 - requester: *677 + repository: *674 + requester: *691 sender: *4 required: - action @@ -117907,11 +117961,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *673 + repositories: *692 + repository: *674 requester: nullable: true sender: *4 @@ -117987,11 +118041,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *673 + repositories: *692 + repository: *674 requester: nullable: true sender: *4 @@ -118067,10 +118121,10 @@ x-webhooks: type: string enum: - added - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories_added: &679 + organization: *673 + repositories_added: &693 description: An array of repository objects, which were added to the installation. type: array @@ -118116,15 +118170,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *660 - repository_selection: &680 + repository: *674 + repository_selection: &694 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *677 + requester: *691 sender: *4 required: - action @@ -118203,10 +118257,10 @@ x-webhooks: type: string enum: - removed - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories_added: *679 + organization: *673 + repositories_added: *693 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -118233,9 +118287,9 @@ x-webhooks: - name - full_name - private - repository: *660 - repository_selection: *680 - requester: *677 + repository: *674 + repository_selection: *694 + requester: *691 sender: *4 required: - action @@ -118314,11 +118368,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *673 + repositories: *692 + repository: *674 requester: nullable: true sender: *4 @@ -118496,10 +118550,10 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 target_type: type: string @@ -118578,11 +118632,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *657 + enterprise: *671 installation: *22 - organization: *659 - repositories: *678 - repository: *660 + organization: *673 + repositories: *692 + repository: *674 requester: nullable: true sender: *4 @@ -118834,8 +118888,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119991,8 +120045,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -120072,7 +120126,7 @@ x-webhooks: type: string enum: - deleted - comment: &681 + comment: &695 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -120237,8 +120291,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121392,8 +121446,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -121473,7 +121527,7 @@ x-webhooks: type: string enum: - edited - changes: &709 + changes: &723 description: The changes to the comment. type: object properties: @@ -121485,9 +121539,9 @@ x-webhooks: type: string required: - from - comment: *681 - enterprise: *657 - installation: *658 + comment: *695 + enterprise: *671 + installation: *672 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122642,8 +122696,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -122725,10 +122779,10 @@ x-webhooks: type: string enum: - assigned - assignee: *677 - enterprise: *657 - installation: *658 - issue: &684 + assignee: *691 + enterprise: *671 + installation: *672 + issue: &698 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123647,8 +123701,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -123728,8 +123782,8 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -124788,8 +124842,8 @@ x-webhooks: required: - state - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -124868,8 +124922,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125783,8 +125837,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -125863,8 +125917,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126779,7 +126833,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &682 + milestone: &696 title: Milestone description: A collection of related issues and pull requests. type: object @@ -126917,8 +126971,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -127017,8 +127071,8 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127937,9 +127991,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *676 - organization: *659 - repository: *660 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -128019,8 +128073,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128938,9 +128992,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *676 - organization: *659 - repository: *660 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -129020,8 +129074,8 @@ x-webhooks: type: string enum: - locked - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129940,8 +129994,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -130020,8 +130074,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130934,9 +130988,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *682 - organization: *659 - repository: *660 + milestone: *696 + organization: *673 + repository: *674 sender: *4 required: - action @@ -132379,8 +132433,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133298,8 +133352,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -133379,9 +133433,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *657 - installation: *658 - issue: &683 + enterprise: *671 + installation: *672 + issue: &697 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -134293,8 +134347,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -134373,8 +134427,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135292,8 +135346,8 @@ x-webhooks: user_view_type: type: string type: *193 - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -136756,11 +136810,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *657 - installation: *658 - issue: *683 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + issue: *697 + organization: *673 + repository: *674 sender: *4 required: - action @@ -136840,12 +136894,12 @@ x-webhooks: type: string enum: - typed - enterprise: *657 - installation: *658 - issue: *684 + enterprise: *671 + installation: *672 + issue: *698 type: *193 - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -136926,7 +136980,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &712 + assignee: &726 title: User type: object nullable: true @@ -136996,11 +137050,11 @@ x-webhooks: required: - login - id - enterprise: *657 - installation: *658 - issue: *684 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + issue: *698 + organization: *673 + repository: *674 sender: *4 required: - action @@ -137079,12 +137133,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *657 - installation: *658 - issue: *684 - label: *676 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + issue: *698 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -137164,8 +137218,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138082,8 +138136,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138163,11 +138217,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *657 - installation: *658 - issue: *683 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + issue: *697 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138246,12 +138300,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *657 - installation: *658 - issue: *684 + enterprise: *671 + installation: *672 + issue: *698 type: *193 - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138331,11 +138385,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138413,11 +138467,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138527,11 +138581,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - label: *676 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + label: *690 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138613,9 +138667,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: &685 + enterprise: *671 + installation: *672 + marketplace_purchase: &699 title: Marketplace Purchase type: object required: @@ -138698,8 +138752,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *659 - previous_marketplace_purchase: &686 + organization: *673 + previous_marketplace_purchase: &700 title: Marketplace Purchase type: object properties: @@ -138779,7 +138833,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -138859,10 +138913,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 + enterprise: *671 + installation: *672 + marketplace_purchase: *699 + organization: *673 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138945,7 +138999,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -139027,10 +139081,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 + enterprise: *671 + installation: *672 + marketplace_purchase: *699 + organization: *673 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -139112,7 +139166,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -139193,8 +139247,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 marketplace_purchase: title: Marketplace Purchase type: object @@ -139276,9 +139330,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *659 - previous_marketplace_purchase: *686 - repository: *660 + organization: *673 + previous_marketplace_purchase: *700 + repository: *674 sender: *4 required: - action @@ -139358,12 +139412,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *657 - installation: *658 - marketplace_purchase: *685 - organization: *659 - previous_marketplace_purchase: *686 - repository: *660 + enterprise: *671 + installation: *672 + marketplace_purchase: *699 + organization: *673 + previous_marketplace_purchase: *700 + repository: *674 sender: *4 required: - action @@ -139465,11 +139519,11 @@ x-webhooks: type: string required: - to - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + member: *691 + organization: *673 + repository: *674 sender: *4 required: - action @@ -139569,11 +139623,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + member: *691 + organization: *673 + repository: *674 sender: *4 required: - action @@ -139652,11 +139706,11 @@ x-webhooks: type: string enum: - removed - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + member: *691 + organization: *673 + repository: *674 sender: *4 required: - action @@ -139734,11 +139788,11 @@ x-webhooks: type: string enum: - added - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + member: *691 + organization: *673 + repository: *674 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139814,7 +139868,7 @@ x-webhooks: required: - login - id - team: &687 + team: &701 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -140004,11 +140058,11 @@ x-webhooks: type: string enum: - removed - enterprise: *657 - installation: *658 - member: *677 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + member: *691 + organization: *673 + repository: *674 scope: description: The scope of the membership. Currently, can only be `team`. @@ -140085,7 +140139,7 @@ x-webhooks: required: - login - id - team: *687 + team: *701 required: - action - scope @@ -140167,8 +140221,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *658 - merge_group: &689 + installation: *672 + merge_group: &703 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -140187,15 +140241,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *688 + head_commit: *702 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140281,10 +140335,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *658 - merge_group: *689 - organization: *659 - repository: *660 + installation: *672 + merge_group: *703 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140357,7 +140411,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 + enterprise: *671 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -140465,16 +140519,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *658 - organization: *659 + installation: *672 + organization: *673 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *690 - required: *691 + properties: *704 + required: *705 nullable: true sender: *4 required: @@ -140555,11 +140609,11 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + milestone: *696 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140638,9 +140692,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - milestone: &692 + enterprise: *671 + installation: *672 + milestone: &706 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140777,8 +140831,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140857,11 +140911,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + milestone: *696 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140971,11 +141025,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - milestone: *682 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + milestone: *696 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141055,11 +141109,11 @@ x-webhooks: type: string enum: - opened - enterprise: *657 - installation: *658 - milestone: *692 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + milestone: *706 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141138,11 +141192,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *677 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + blocked_user: *691 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141221,11 +141275,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *677 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + blocked_user: *691 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141304,9 +141358,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - membership: &693 + enterprise: *671 + installation: *672 + membership: &707 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -141398,8 +141452,8 @@ x-webhooks: - role - organization_url - user - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141477,11 +141531,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + membership: *707 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141560,8 +141614,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -141677,10 +141731,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 - user: *677 + user: *691 required: - action - invitation @@ -141758,11 +141812,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + membership: *707 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141849,11 +141903,11 @@ x-webhooks: properties: from: type: string - enterprise: *657 - installation: *658 - membership: *693 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + membership: *707 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141929,9 +141983,9 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 package: description: Information about the package. type: object @@ -142430,7 +142484,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &694 + items: &708 title: Ruby Gems metadata type: object properties: @@ -142525,7 +142579,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -142601,9 +142655,9 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 package: description: Information about the package. type: object @@ -142956,7 +143010,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *708 source_url: type: string format: uri @@ -143026,7 +143080,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -143203,12 +143257,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *657 + enterprise: *671 id: type: integer - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - id @@ -143285,7 +143339,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &695 + personal_access_token_request: &709 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -143431,10 +143485,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *657 - organization: *659 + enterprise: *671 + organization: *673 sender: *4 - installation: *658 + installation: *672 required: - action - personal_access_token_request @@ -143511,11 +143565,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *695 - enterprise: *657 - organization: *659 + personal_access_token_request: *709 + enterprise: *671 + organization: *673 sender: *4 - installation: *658 + installation: *672 required: - action - personal_access_token_request @@ -143591,11 +143645,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *695 - enterprise: *657 - organization: *659 + personal_access_token_request: *709 + enterprise: *671 + organization: *673 sender: *4 - installation: *658 + installation: *672 required: - action - personal_access_token_request @@ -143670,11 +143724,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *695 - organization: *659 - enterprise: *657 + personal_access_token_request: *709 + organization: *673 + enterprise: *671 sender: *4 - installation: *658 + installation: *672 required: - action - personal_access_token_request @@ -143779,7 +143833,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *696 + last_response: *710 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -143811,8 +143865,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 zen: description: Random string of GitHub zen. @@ -144057,10 +144111,10 @@ x-webhooks: - from required: - note - enterprise: *657 - installation: *658 - organization: *659 - project_card: &697 + enterprise: *671 + installation: *672 + organization: *673 + project_card: &711 title: Project Card type: object properties: @@ -144179,7 +144233,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -144260,11 +144314,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project_card: *697 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project_card: *711 + repository: *674 sender: *4 required: - action @@ -144344,9 +144398,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 project_card: title: Project Card type: object @@ -144474,8 +144528,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *690 - required: *691 + properties: *704 + required: *705 nullable: true sender: *4 required: @@ -144569,11 +144623,11 @@ x-webhooks: - from required: - note - enterprise: *657 - installation: *658 - organization: *659 - project_card: *697 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project_card: *711 + repository: *674 sender: *4 required: - action @@ -144667,9 +144721,9 @@ x-webhooks: - from required: - column_id - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 project_card: allOf: - title: Project Card @@ -144859,7 +144913,7 @@ x-webhooks: type: string required: - after_id - repository: *660 + repository: *674 sender: *4 required: - action @@ -144939,10 +144993,10 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - organization: *659 - project: &699 + enterprise: *671 + installation: *672 + organization: *673 + project: &713 title: Project type: object properties: @@ -145066,7 +145120,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -145146,10 +145200,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project_column: &698 + enterprise: *671 + installation: *672 + organization: *673 + project_column: &712 title: Project Column type: object properties: @@ -145188,7 +145242,7 @@ x-webhooks: - name - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -145267,18 +145321,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 + enterprise: *671 + installation: *672 + organization: *673 + project_column: *712 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *690 - required: *691 + properties: *704 + required: *705 nullable: true sender: *4 required: @@ -145368,11 +145422,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project_column: *712 + repository: *674 sender: *4 required: - action @@ -145452,11 +145506,11 @@ x-webhooks: type: string enum: - moved - enterprise: *657 - installation: *658 - organization: *659 - project_column: *698 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project_column: *712 + repository: *674 sender: *4 required: - action @@ -145536,11 +145590,11 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project: *713 + repository: *674 sender: *4 required: - action @@ -145620,18 +145674,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - project: *699 + enterprise: *671 + installation: *672 + organization: *673 + project: *713 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *690 - required: *691 + properties: *704 + required: *705 nullable: true sender: *4 required: @@ -145733,11 +145787,11 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project: *713 + repository: *674 sender: *4 required: - action @@ -145816,11 +145870,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 - organization: *659 - project: *699 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + project: *713 + repository: *674 sender: *4 required: - action @@ -145901,9 +145955,9 @@ x-webhooks: type: string enum: - closed - installation: *658 - organization: *659 - projects_v2: &700 + installation: *672 + organization: *673 + projects_v2: &714 title: Projects v2 Project description: A projects v2 project type: object @@ -146046,9 +146100,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2: *700 + installation: *672 + organization: *673 + projects_v2: *714 sender: *4 required: - action @@ -146129,9 +146183,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2: *700 + installation: *672 + organization: *673 + projects_v2: *714 sender: *4 required: - action @@ -146248,9 +146302,9 @@ x-webhooks: type: string to: type: string - installation: *658 - organization: *659 - projects_v2: *700 + installation: *672 + organization: *673 + projects_v2: *714 sender: *4 required: - action @@ -146333,7 +146387,7 @@ x-webhooks: type: string enum: - archived - changes: &704 + changes: &718 type: object properties: archived_at: @@ -146347,9 +146401,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *658 - organization: *659 - projects_v2_item: &701 + installation: *672 + organization: *673 + projects_v2_item: &715 title: Projects v2 Item description: An item belonging to a project type: object @@ -146483,9 +146537,9 @@ x-webhooks: nullable: true to: type: string - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -146567,9 +146621,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -146650,9 +146704,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -146758,7 +146812,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &702 + - &716 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -146776,7 +146830,7 @@ x-webhooks: required: - id - name - - &703 + - &717 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -146799,8 +146853,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *702 - - *703 + - *716 + - *717 required: - field_value - type: object @@ -146816,9 +146870,9 @@ x-webhooks: nullable: true required: - body - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -146913,9 +146967,9 @@ x-webhooks: to: type: string nullable: true - installation: *658 - organization: *659 - projects_v2_item: *701 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -146998,10 +147052,10 @@ x-webhooks: type: string enum: - restored - changes: *704 - installation: *658 - organization: *659 - projects_v2_item: *701 + changes: *718 + installation: *672 + organization: *673 + projects_v2_item: *715 sender: *4 required: - action @@ -147083,9 +147137,9 @@ x-webhooks: type: string enum: - reopened - installation: *658 - organization: *659 - projects_v2: *700 + installation: *672 + organization: *673 + projects_v2: *714 sender: *4 required: - action @@ -147166,9 +147220,9 @@ x-webhooks: type: string enum: - created - installation: *658 - organization: *659 - projects_v2_status_update: &705 + installation: *672 + organization: *673 + projects_v2_status_update: &719 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -147295,9 +147349,9 @@ x-webhooks: type: string enum: - deleted - installation: *658 - organization: *659 - projects_v2_status_update: *705 + installation: *672 + organization: *673 + projects_v2_status_update: *719 sender: *4 required: - action @@ -147433,9 +147487,9 @@ x-webhooks: type: string format: date nullable: true - installation: *658 - organization: *659 - projects_v2_status_update: *705 + installation: *672 + organization: *673 + projects_v2_status_update: *719 sender: *4 required: - action @@ -147506,10 +147560,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - repository @@ -147586,13 +147640,13 @@ x-webhooks: type: string enum: - assigned - assignee: *677 - enterprise: *657 - installation: *658 - number: &706 + assignee: *691 + enterprise: *671 + installation: *672 + number: &720 description: The pull request number. type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -149875,7 +149929,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -149957,11 +150011,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -152239,7 +152293,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *674 sender: *4 required: - action @@ -152321,11 +152375,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -154603,7 +154657,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *674 sender: *4 required: - action @@ -154685,11 +154739,11 @@ x-webhooks: type: string enum: - closed - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: &707 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: &721 allOf: - *524 - type: object @@ -154753,7 +154807,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *660 + repository: *674 sender: *4 required: - action @@ -154834,12 +154888,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: *721 + repository: *674 sender: *4 required: - action @@ -154919,11 +154973,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *657 + enterprise: *671 milestone: *507 - number: *706 - organization: *659 - pull_request: &708 + number: *720 + organization: *673 + pull_request: &722 title: Pull Request type: object properties: @@ -157186,7 +157240,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -157265,11 +157319,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -159551,7 +159605,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *660 + repository: *674 sender: *4 required: - action @@ -159675,12 +159729,12 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: *721 + repository: *674 sender: *4 required: - action @@ -159760,11 +159814,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -162031,7 +162085,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -162111,11 +162165,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *657 - installation: *658 - label: *676 - number: *706 - organization: *659 + enterprise: *671 + installation: *672 + label: *690 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -164397,7 +164451,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -164478,10 +164532,10 @@ x-webhooks: type: string enum: - locked - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -166761,7 +166815,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -166841,12 +166895,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *657 + enterprise: *671 milestone: *507 - number: *706 - organization: *659 - pull_request: *708 - repository: *660 + number: *720 + organization: *673 + pull_request: *722 + repository: *674 sender: *4 required: - action @@ -166925,12 +166979,12 @@ x-webhooks: type: string enum: - opened - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: *721 + repository: *674 sender: *4 required: - action @@ -167011,12 +167065,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: *721 + repository: *674 sender: *4 required: - action @@ -167096,12 +167150,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *657 - installation: *658 - number: *706 - organization: *659 - pull_request: *707 - repository: *660 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 + pull_request: *721 + repository: *674 sender: *4 required: - action @@ -167467,9 +167521,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: type: object properties: @@ -169639,7 +169693,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -169719,7 +169773,7 @@ x-webhooks: type: string enum: - deleted - comment: &710 + comment: &724 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -170004,9 +170058,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: type: object properties: @@ -172164,7 +172218,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -172244,11 +172298,11 @@ x-webhooks: type: string enum: - edited - changes: *709 - comment: *710 - enterprise: *657 - installation: *658 - organization: *659 + changes: *723 + comment: *724 + enterprise: *671 + installation: *672 + organization: *673 pull_request: type: object properties: @@ -174409,7 +174463,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -174490,9 +174544,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: title: Simple Pull Request type: object @@ -176665,7 +176719,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *674 review: description: The review that was affected. type: object @@ -176908,9 +176962,9 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: title: Simple Pull Request type: object @@ -178964,8 +179018,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 - review: &711 + repository: *674 + review: &725 description: The review that was affected. type: object properties: @@ -179194,12 +179248,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: description: The pull request number. type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -181482,7 +181536,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_reviewer: title: User type: object @@ -181566,12 +181620,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: description: The pull request number. type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -183861,7 +183915,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184053,12 +184107,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: description: The pull request number. type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -186343,7 +186397,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_reviewer: title: User type: object @@ -186428,12 +186482,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *657 - installation: *658 + enterprise: *671 + installation: *672 number: description: The pull request number. type: integer - organization: *659 + organization: *673 pull_request: title: Pull Request type: object @@ -188709,7 +188763,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188890,9 +188944,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: title: Simple Pull Request type: object @@ -191067,8 +191121,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 - review: *711 + repository: *674 + review: *725 sender: *4 required: - action @@ -191148,9 +191202,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: title: Simple Pull Request type: object @@ -193220,7 +193274,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *674 sender: *4 thread: type: object @@ -193603,9 +193657,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 pull_request: title: Simple Pull Request type: object @@ -195661,7 +195715,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *674 sender: *4 thread: type: object @@ -196047,10 +196101,10 @@ x-webhooks: type: string before: type: string - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -198321,7 +198375,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -198403,11 +198457,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *712 - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + assignee: *726 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -200690,7 +200744,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -200769,11 +200823,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *657 - installation: *658 - label: *676 - number: *706 - organization: *659 + enterprise: *671 + installation: *672 + label: *690 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -203046,7 +203100,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -203127,10 +203181,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *657 - installation: *658 - number: *706 - organization: *659 + enterprise: *671 + installation: *672 + number: *720 + organization: *673 pull_request: title: Pull Request type: object @@ -205395,7 +205449,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -205595,7 +205649,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *657 + enterprise: *671 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -205687,8 +205741,8 @@ x-webhooks: - url - author - committer - installation: *658 - organization: *659 + installation: *672 + organization: *673 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -206263,9 +206317,9 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 registry_package: type: object properties: @@ -206711,7 +206765,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *694 + items: *708 summary: type: string tag_name: @@ -206765,7 +206819,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -206843,9 +206897,9 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 registry_package: type: object properties: @@ -207153,7 +207207,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *708 summary: type: string tag_name: @@ -207202,7 +207256,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -207279,10 +207333,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - release: &713 + enterprise: *671 + installation: *672 + organization: *673 + release: &727 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207591,7 +207645,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *660 + repository: *674 sender: *4 required: - action @@ -207668,11 +207722,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + release: *727 + repository: *674 sender: *4 required: - action @@ -207789,11 +207843,11 @@ x-webhooks: type: boolean required: - to - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + release: *727 + repository: *674 sender: *4 required: - action @@ -207871,9 +207925,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -208186,7 +208240,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *674 sender: *4 required: - action @@ -208262,10 +208316,10 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - release: &714 + enterprise: *671 + installation: *672 + organization: *673 + release: &728 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208575,7 +208629,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *674 sender: *4 required: - action @@ -208651,11 +208705,11 @@ x-webhooks: type: string enum: - released - enterprise: *657 - installation: *658 - organization: *659 - release: *713 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + release: *727 + repository: *674 sender: *4 required: - action @@ -208731,11 +208785,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *657 - installation: *658 - organization: *659 - release: *714 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + release: *728 + repository: *674 sender: *4 required: - action @@ -208811,11 +208865,11 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_advisory: *584 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + repository_advisory: *598 sender: *4 required: - action @@ -208891,11 +208945,11 @@ x-webhooks: type: string enum: - reported - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - repository_advisory: *584 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + repository_advisory: *598 sender: *4 required: - action @@ -208971,10 +209025,10 @@ x-webhooks: type: string enum: - archived - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209051,10 +209105,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209132,10 +209186,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209219,10 +209273,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209334,10 +209388,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209409,10 +209463,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 status: type: string @@ -209493,10 +209547,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209573,10 +209627,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209670,10 +209724,10 @@ x-webhooks: - name required: - repository - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -209753,10 +209807,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 repository_ruleset: *245 sender: *4 required: @@ -209835,10 +209889,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 repository_ruleset: *245 sender: *4 required: @@ -209917,10 +209971,10 @@ x-webhooks: type: string enum: - edited - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 repository_ruleset: *245 changes: type: object @@ -210225,10 +210279,10 @@ x-webhooks: - from required: - owner - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -210306,10 +210360,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -210387,7 +210441,7 @@ x-webhooks: type: string enum: - create - alert: &715 + alert: &729 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -210508,10 +210562,10 @@ x-webhooks: type: string enum: - open - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -210717,10 +210771,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -210798,11 +210852,11 @@ x-webhooks: type: string enum: - reopen - alert: *715 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *729 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211001,10 +211055,10 @@ x-webhooks: enum: - fixed - open - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211082,7 +211136,7 @@ x-webhooks: type: string enum: - created - alert: &716 + alert: &730 type: object properties: number: *54 @@ -211193,10 +211247,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211277,11 +211331,11 @@ x-webhooks: type: string enum: - created - alert: *716 - installation: *658 - location: *717 - organization: *659 - repository: *660 + alert: *730 + installation: *672 + location: *731 + organization: *673 + repository: *674 sender: *4 required: - location @@ -211519,11 +211573,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *730 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211601,11 +211655,11 @@ x-webhooks: type: string enum: - reopened - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *730 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211683,11 +211737,11 @@ x-webhooks: type: string enum: - resolved - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *730 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211765,11 +211819,11 @@ x-webhooks: type: string enum: - validated - alert: *716 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + alert: *730 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -211895,10 +211949,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *660 - enterprise: *657 - installation: *658 - organization: *659 + repository: *674 + enterprise: *671 + installation: *672 + organization: *673 sender: *4 required: - action @@ -211976,11 +212030,11 @@ x-webhooks: type: string enum: - published - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - security_advisory: &718 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + security_advisory: &732 description: The details of the security advisory, including summary, description, and severity. type: object @@ -212163,11 +212217,11 @@ x-webhooks: type: string enum: - updated - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 - security_advisory: *718 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 + security_advisory: *732 sender: *4 required: - action @@ -212240,10 +212294,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -212428,9 +212482,9 @@ x-webhooks: type: object properties: security_and_analysis: *238 - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: *292 sender: *4 required: @@ -212509,12 +212563,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: &719 + sponsorship: &733 type: object properties: created_at: @@ -212815,12 +212869,12 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: *719 + sponsorship: *733 required: - action - sponsorship @@ -212908,12 +212962,12 @@ x-webhooks: type: string required: - from - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: *719 + sponsorship: *733 required: - action - changes @@ -212990,17 +213044,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &720 + effective_date: &734 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: *719 + sponsorship: *733 required: - action - sponsorship @@ -213074,7 +213128,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &721 + changes: &735 type: object properties: tier: @@ -213118,13 +213172,13 @@ x-webhooks: - from required: - tier - effective_date: *720 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + effective_date: *734 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: *719 + sponsorship: *733 required: - action - changes @@ -213201,13 +213255,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *721 - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + changes: *735 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - sponsorship: *719 + sponsorship: *733 required: - action - changes @@ -213281,10 +213335,10 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213367,10 +213421,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213790,15 +213844,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *657 + enterprise: *671 id: description: The unique identifier of the status. type: integer - installation: *658 + installation: *672 name: type: string - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 sha: description: The Commit SHA. @@ -213913,9 +213967,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -214005,9 +214059,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -214097,9 +214151,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -214189,9 +214243,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *658 - organization: *659 - repository: *660 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -214268,12 +214322,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - team: &722 + team: &736 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -214463,9 +214517,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: title: Repository description: A git repository @@ -214923,7 +214977,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -214999,9 +215053,9 @@ x-webhooks: type: string enum: - created - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: title: Repository description: A git repository @@ -215459,7 +215513,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -215536,9 +215590,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: title: Repository description: A git repository @@ -215996,7 +216050,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -216140,9 +216194,9 @@ x-webhooks: - from required: - permissions - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: title: Repository description: A git repository @@ -216600,7 +216654,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - changes @@ -216678,9 +216732,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *657 - installation: *658 - organization: *659 + enterprise: *671 + installation: *672 + organization: *673 repository: title: Repository description: A git repository @@ -217138,7 +217192,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -217214,10 +217268,10 @@ x-webhooks: type: string enum: - started - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 required: - action @@ -217290,16 +217344,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *657 + enterprise: *671 inputs: type: object nullable: true additionalProperties: true - installation: *658 - organization: *659 + installation: *672 + organization: *673 ref: type: string - repository: *660 + repository: *674 sender: *4 workflow: type: string @@ -217381,10 +217435,10 @@ x-webhooks: type: string enum: - completed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 workflow_job: allOf: @@ -217700,10 +217754,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 workflow_job: allOf: @@ -218042,10 +218096,10 @@ x-webhooks: type: string enum: - queued - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 workflow_job: type: object @@ -218259,10 +218313,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 workflow_job: type: object @@ -218478,12 +218532,12 @@ x-webhooks: type: string enum: - completed - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - workflow: *672 + workflow: *686 workflow_run: title: Workflow Run type: object @@ -219482,12 +219536,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - workflow: *672 + workflow: *686 workflow_run: title: Workflow Run type: object @@ -220471,12 +220525,12 @@ x-webhooks: type: string enum: - requested - enterprise: *657 - installation: *658 - organization: *659 - repository: *660 + enterprise: *671 + installation: *672 + organization: *673 + repository: *674 sender: *4 - workflow: *672 + workflow: *686 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index bb8e48f938..a55251d640 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -32788,6 +32788,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -32799,6 +32802,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -32830,7 +32837,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -36039,6 +36045,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -36050,6 +36059,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -36081,7 +36094,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -46921,6 +46933,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -77176,7 +77477,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -107228,6 +107529,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -107239,6 +107543,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -107270,7 +107578,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -135059,6 +135366,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -135070,6 +135380,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -135101,7 +135415,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -170551,6 +170864,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -458042,6 +458644,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -458758,6 +459649,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -459427,6 +460607,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index f3dbc28b41..59ad035570 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1025,7 +1025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &674 + - &688 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &684 + schema: &698 title: Scim Error description: Scim Error type: object @@ -13805,6 +13805,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -13813,6 +13815,9 @@ paths: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -13837,7 +13842,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -17737,6 +17741,279 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &668 + - &670 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &671 + description: Represents a 'wiki_commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &672 + description: Represents an 'issue_title' secret scanning location + type. This location type shows that a secret was detected + in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &673 + description: Represents an 'issue_body' secret scanning location + type. This location type shows that a secret was detected + in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &674 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &675 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &676 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &677 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &678 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &679 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &680 + description: Represents a 'pull_request_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &681 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret was + detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &682 + description: Represents a 'pull_request_review_comment' secret + scanning location type. This location type shows that a + secret was detected in a review comment on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: &344 value: @@ -19835,7 +20112,7 @@ paths: url: type: string format: uri - user: &723 + user: &737 title: Public User description: Public User type: object @@ -24276,7 +24553,7 @@ paths: type: array items: *59 examples: - default: &741 + default: &755 value: - login: github id: 1 @@ -24561,7 +24838,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -26098,7 +26375,7 @@ paths: type: array items: *64 examples: - default: &735 + default: &749 value: total_count: 1 repositories: @@ -26917,7 +27194,7 @@ paths: type: array items: *198 examples: - default: &726 + default: &740 value: total_count: 1 repositories: @@ -38451,7 +38728,7 @@ paths: parameters: - *172 - *301 - - &740 + - &754 name: repo_name description: repo_name parameter in: path @@ -39766,7 +40043,7 @@ paths: - nuget - container - *172 - - &742 + - &756 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39807,7 +40084,7 @@ paths: default: *308 '403': *29 '401': *25 - '400': &744 + '400': &758 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44321,7 +44598,7 @@ paths: application/json: schema: type: array - items: &672 + items: &686 description: A repository security advisory. type: object properties: @@ -44612,7 +44889,7 @@ paths: - private_fork additionalProperties: false examples: - default: &673 + default: &687 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -46375,7 +46652,7 @@ paths: - updated_at - url examples: - default: &713 + default: &727 value: - author: login: octocat @@ -46623,7 +46900,7 @@ paths: application/json: schema: *362 examples: - default: &714 + default: &728 value: author: login: octocat @@ -46806,7 +47083,7 @@ paths: - updated_at - url examples: - default: &715 + default: &729 value: - author: login: octocat @@ -47032,7 +47309,7 @@ paths: application/json: schema: *365 examples: - default: &716 + default: &730 value: author: login: octocat @@ -47745,7 +48022,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &717 + response-if-user-is-a-team-maintainer: &731 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47810,7 +48087,7 @@ paths: application/json: schema: *376 examples: - response-if-users-membership-with-team-is-now-pending: &718 + response-if-users-membership-with-team-is-now-pending: &732 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47951,7 +48228,7 @@ paths: - updated_at - permissions examples: - default: &719 + default: &733 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48030,7 +48307,7 @@ paths: application/json: schema: *377 examples: - default: &720 + default: &734 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48240,7 +48517,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &721 + schema: &735 title: Team Repository description: A team's access to a repository. type: object @@ -49006,7 +49283,7 @@ paths: type: array items: *229 examples: - response-if-child-teams-exist: &722 + response-if-child-teams-exist: &736 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -61187,7 +61464,7 @@ paths: check. type: array items: *451 - deployment: &773 + deployment: &787 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62099,7 +62376,7 @@ paths: type: string format: date-time nullable: true - head_commit: &799 + head_commit: &813 title: Simple Commit description: A commit. type: object @@ -66319,14 +66596,14 @@ paths: type: integer machines: type: array - items: &729 + items: &743 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *490 required: *491 examples: - default: &730 + default: &744 value: total_count: 2 machines: @@ -69626,7 +69903,7 @@ paths: application/json: schema: type: array - items: &677 + items: &691 title: Status description: The status of a commit. type: object @@ -71182,7 +71459,7 @@ paths: items: type: object properties: - placeholder_id: &669 + placeholder_id: &683 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -77120,7 +77397,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &807 + last_response: &821 title: Hook Response type: object properties: @@ -78080,7 +78357,7 @@ paths: parameters: - *379 - *380 - - &753 + - &767 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -78514,7 +78791,7 @@ paths: type: array items: *568 examples: - default: &746 + default: &760 value: - id: 1 repository: @@ -92256,7 +92533,7 @@ paths: application/json: schema: type: array - items: &668 + items: &669 type: object properties: number: *100 @@ -92366,6 +92643,18 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: *668 + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: value: @@ -92503,7 +92792,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *669 examples: default: value: @@ -92584,7 +92873,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *669 examples: default: value: @@ -92672,7 +92961,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &828 + items: &842 type: object properties: type: @@ -92698,254 +92987,19 @@ paths: example: commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *670 + - *671 + - *672 + - *673 + - *674 + - *675 + - *676 + - *677 + - *678 + - *679 + - *680 + - *681 + - *682 examples: default: value: @@ -93040,14 +93094,14 @@ paths: schema: type: object properties: - reason: &670 + reason: &684 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *669 + placeholder_id: *683 required: - reason - placeholder_id @@ -93064,7 +93118,7 @@ paths: schema: type: object properties: - reason: *670 + reason: *684 expire_at: type: string format: date-time @@ -93123,7 +93177,7 @@ paths: properties: incremental_scans: type: array - items: &671 + items: &685 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93149,15 +93203,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *671 + items: *685 backfill_scans: type: array - items: *671 + items: *685 custom_pattern_backfill_scans: type: array items: allOf: - - *671 + - *685 - type: object properties: pattern_name: @@ -93272,9 +93326,9 @@ paths: application/json: schema: type: array - items: *672 + items: *686 examples: - default: *673 + default: *687 '400': *14 '404': *6 x-github: @@ -93458,9 +93512,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *686 examples: - default: &675 + default: &689 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -93798,7 +93852,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *686 examples: default: value: @@ -93947,15 +94001,15 @@ paths: parameters: - *379 - *380 - - *674 + - *688 responses: '200': description: Response content: application/json: - schema: *672 + schema: *686 examples: - default: *675 + default: *689 '403': *29 '404': *6 x-github: @@ -93981,7 +94035,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 requestBody: required: true content: @@ -94140,10 +94194,10 @@ paths: description: Response content: application/json: - schema: *672 + schema: *686 examples: - default: *675 - add_credit: *675 + default: *689 + add_credit: *689 '403': *29 '404': *6 '422': @@ -94183,7 +94237,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 responses: '202': *39 '400': *14 @@ -94212,7 +94266,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 responses: '202': description: Response @@ -94356,7 +94410,7 @@ paths: application/json: schema: type: array - items: &676 + items: &690 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94729,7 +94783,7 @@ paths: application/json: schema: type: array - items: *676 + items: *690 examples: default: value: @@ -94817,7 +94871,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *691 examples: default: value: @@ -94911,7 +94965,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &678 + schema: &692 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95006,7 +95060,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *692 examples: default: value: @@ -95143,7 +95197,7 @@ paths: application/json: schema: type: array - items: &679 + items: &693 title: Tag protection description: Tag protection type: object @@ -95219,7 +95273,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *693 examples: default: value: @@ -95367,7 +95421,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &694 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95379,7 +95433,7 @@ paths: required: - names examples: - default: &681 + default: &695 value: names: - octocat @@ -95434,9 +95488,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *694 examples: - default: *681 + default: *695 '404': *6 '422': *7 x-github: @@ -95459,7 +95513,7 @@ paths: parameters: - *379 - *380 - - &682 + - &696 name: per description: The time frame to display results for. in: query @@ -95488,7 +95542,7 @@ paths: example: 128 clones: type: array - items: &683 + items: &697 title: Traffic type: object properties: @@ -95729,7 +95783,7 @@ paths: parameters: - *379 - *380 - - *682 + - *696 responses: '200': description: Response @@ -95748,7 +95802,7 @@ paths: example: 3782 views: type: array - items: *683 + items: *697 required: - uniques - count @@ -96420,7 +96474,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &691 + - &705 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -96429,7 +96483,7 @@ paths: schema: type: string example: members - - &696 + - &710 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -96440,7 +96494,7 @@ paths: default: 1 format: int32 example: 1 - - &697 + - &711 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -96482,7 +96536,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &685 + items: &699 allOf: - type: object required: @@ -96557,7 +96611,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &698 + meta: &712 type: object description: The metadata associated with the creation/updates to the user. @@ -96617,31 +96671,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &686 + '400': &700 description: Bad request content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 - '401': &687 + schema: *698 + '401': &701 description: Authorization failure - '403': &688 + '403': &702 description: Permission denied - '429': &689 + '429': &703 description: Too many requests content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 - '500': &690 + schema: *698 + '500': &704 description: Internal server error content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 + schema: *698 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96665,7 +96719,7 @@ paths: required: true content: application/json: - schema: &694 + schema: &708 type: object required: - schemas @@ -96721,9 +96775,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *685 + schema: *699 examples: - group: &692 + group: &706 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -96742,13 +96796,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *686 - '401': *687 - '403': *688 - '409': &695 + '400': *700 + '401': *701 + '403': *702 + '409': &709 description: Duplicate record detected - '429': *689 - '500': *690 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96765,7 +96819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &693 + - &707 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -96773,22 +96827,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *691 + - *705 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *685 + schema: *699 examples: - default: *692 - '400': *686 - '401': *687 - '403': *688 + default: *706 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '429': *689 - '500': *690 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96807,13 +96861,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *693 + - *707 - *41 requestBody: required: true content: application/json: - schema: *694 + schema: *708 examples: group: summary: Group @@ -96839,17 +96893,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *685 + schema: *699 examples: - group: *692 - groupWithMembers: *692 - '400': *686 - '401': *687 - '403': *688 + group: *706 + groupWithMembers: *706 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *709 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96873,13 +96927,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *693 + - *707 - *41 requestBody: required: true content: application/json: - schema: &705 + schema: &719 type: object required: - Operations @@ -96939,17 +96993,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *685 + schema: *699 examples: - updateGroup: *692 - addMembers: *692 - '400': *686 - '401': *687 - '403': *688 + updateGroup: *706 + addMembers: *706 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *709 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96965,17 +97019,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *693 + - *707 - *41 responses: '204': description: Group was deleted, no content - '400': *686 - '401': *687 - '403': *688 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '429': *689 - '500': *690 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97009,8 +97063,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *696 - - *697 + - *710 + - *711 - *41 responses: '200': @@ -97043,7 +97097,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &700 + items: &714 allOf: - type: object required: @@ -97122,7 +97176,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &699 + roles: &713 type: array description: The roles assigned to the user. items: @@ -97178,7 +97232,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *698 + meta: *712 startIndex: type: integer description: A starting index for the returned page @@ -97215,11 +97269,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *686 - '401': *687 - '403': *688 - '429': *689 - '500': *690 + '400': *700 + '401': *701 + '403': *702 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97243,7 +97297,7 @@ paths: required: true content: application/json: - schema: &703 + schema: &717 type: object required: - schemas @@ -97325,9 +97379,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *699 + roles: *713 examples: - user: &704 + user: &718 summary: User value: schemas: @@ -97374,9 +97428,9 @@ paths: description: User has been created content: application/scim+json: - schema: *700 + schema: *714 examples: - user: &701 + user: &715 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97402,13 +97456,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *701 - '400': *686 - '401': *687 - '403': *688 - '409': *695 - '429': *689 - '500': *690 + enterpriseOwner: *715 + '400': *700 + '401': *701 + '403': *702 + '409': *709 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97425,7 +97479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &702 + - &716 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -97438,15 +97492,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *700 + schema: *714 examples: - default: *701 - '400': *686 - '401': *687 - '403': *688 + default: *715 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '429': *689 - '500': *690 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97468,30 +97522,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *702 + - *716 - *41 requestBody: required: true content: application/json: - schema: *703 + schema: *717 examples: - user: *704 + user: *718 responses: '200': description: User was updated content: application/scim+json: - schema: *700 + schema: *714 examples: - user: *701 - '400': *686 - '401': *687 - '403': *688 + user: *715 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *709 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97526,13 +97580,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *702 + - *716 - *41 requestBody: required: true content: application/json: - schema: *705 + schema: *719 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -97572,18 +97626,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *700 - examples: - userMultiValuedProperties: *701 - userSingleValuedProperties: *701 - disableUser: *701 - '400': *686 - '401': *687 - '403': *688 + schema: *714 + examples: + userMultiValuedProperties: *715 + userSingleValuedProperties: *715 + disableUser: *715 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *709 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97603,17 +97657,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *702 + - *716 - *41 responses: '204': description: User was deleted, no content - '400': *686 - '401': *687 - '403': *688 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '429': *689 - '500': *690 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97700,7 +97754,7 @@ paths: example: 1 Resources: type: array - items: &706 + items: &720 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97931,22 +97985,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &707 + '404': &721 description: Resource not found content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 - '403': &708 + schema: *698 + '403': &722 description: Forbidden content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 - '400': *686 - '429': *689 + schema: *698 + '400': *700 + '429': *703 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -97972,9 +98026,9 @@ paths: description: Response content: application/scim+json: - schema: *706 + schema: *720 examples: - default: &709 + default: &723 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97997,17 +98051,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *707 - '403': *708 - '500': *690 + '404': *721 + '403': *722 + '500': *704 '409': description: Conflict content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 - '400': *686 + schema: *698 + '400': *700 requestBody: required: true content: @@ -98105,17 +98159,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *172 - - *702 + - *716 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *720 examples: - default: *709 - '404': *707 - '403': *708 + default: *723 + '404': *721 + '403': *722 '304': *37 x-github: githubCloudOnly: true @@ -98139,18 +98193,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *172 - - *702 + - *716 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *720 examples: - default: *709 + default: *723 '304': *37 - '404': *707 - '403': *708 + '404': *721 + '403': *722 requestBody: required: true content: @@ -98263,19 +98317,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *172 - - *702 + - *716 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *720 examples: - default: *709 + default: *723 '304': *37 - '404': *707 - '403': *708 - '400': *686 + '404': *721 + '403': *722 + '400': *700 '429': description: Response content: @@ -98366,12 +98420,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *172 - - *702 + - *716 responses: '204': description: Response - '404': *707 - '403': *708 + '404': *721 + '403': *722 '304': *37 x-github: githubCloudOnly: true @@ -98504,7 +98558,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &710 + text_matches: &724 title: Search Result Text Matches type: array items: @@ -98667,7 +98721,7 @@ paths: enum: - author-date - committer-date - - &711 + - &725 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 @@ -98795,7 +98849,7 @@ paths: type: number node_id: type: string - text_matches: *710 + text_matches: *724 required: - sha - node_id @@ -98978,7 +99032,7 @@ paths: - interactions - created - updated - - *711 + - *725 - *17 - *19 - name: advanced_search @@ -99120,7 +99174,7 @@ paths: type: string format: date-time nullable: true - text_matches: *710 + text_matches: *724 pull_request: type: object properties: @@ -99348,7 +99402,7 @@ paths: enum: - created - updated - - *711 + - *725 - *17 - *19 responses: @@ -99392,7 +99446,7 @@ paths: nullable: true score: type: number - text_matches: *710 + text_matches: *724 required: - id - node_id @@ -99478,7 +99532,7 @@ paths: - forks - help-wanted-issues - updated - - *711 + - *725 - *17 - *19 responses: @@ -99717,7 +99771,7 @@ paths: - admin - pull - push - text_matches: *710 + text_matches: *724 temp_clone_token: type: string allow_merge_commit: @@ -100018,7 +100072,7 @@ paths: type: string format: uri nullable: true - text_matches: *710 + text_matches: *724 related: type: array nullable: true @@ -100211,7 +100265,7 @@ paths: - followers - repositories - joined - - *711 + - *725 - *17 - *19 responses: @@ -100315,7 +100369,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *710 + text_matches: *724 blog: type: string nullable: true @@ -100394,7 +100448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &712 + - &726 name: team_id description: The unique identifier of the team. in: path @@ -100435,7 +100489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *712 + - *726 requestBody: required: true content: @@ -100535,7 +100589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *712 + - *726 responses: '204': description: Response @@ -100566,7 +100620,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *712 + - *726 - *88 - *17 - *19 @@ -100579,7 +100633,7 @@ paths: type: array items: *362 examples: - default: *713 + default: *727 headers: Link: *40 x-github: @@ -100608,7 +100662,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *712 + - *726 requestBody: required: true content: @@ -100671,7 +100725,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *712 + - *726 - *364 responses: '200': @@ -100705,7 +100759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *712 + - *726 - *364 requestBody: required: false @@ -100731,7 +100785,7 @@ paths: application/json: schema: *362 examples: - default: *714 + default: *728 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100756,7 +100810,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *712 + - *726 - *364 responses: '204': @@ -100786,7 +100840,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *712 + - *726 - *364 - *88 - *17 @@ -100800,7 +100854,7 @@ paths: type: array items: *365 examples: - default: *715 + default: *729 headers: Link: *40 x-github: @@ -100829,7 +100883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *712 + - *726 - *364 requestBody: required: true @@ -100881,7 +100935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *712 + - *726 - *364 - *367 responses: @@ -100916,7 +100970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *712 + - *726 - *364 - *367 requestBody: @@ -100942,7 +100996,7 @@ paths: application/json: schema: *365 examples: - default: *716 + default: *730 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100967,7 +101021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *712 + - *726 - *364 - *367 responses: @@ -100998,7 +101052,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: - - *712 + - *726 - *364 - *367 - name: content @@ -101057,7 +101111,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: - - *712 + - *726 - *364 - *367 requestBody: @@ -101119,7 +101173,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: - - *712 + - *726 - *364 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -101177,7 +101231,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: - - *712 + - *726 - *364 requestBody: required: true @@ -101236,7 +101290,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *712 + - *726 - *17 - *19 responses: @@ -101274,7 +101328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *712 + - *726 - name: role description: Filters members returned by their role in the team. in: query @@ -101325,7 +101379,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *712 + - *726 - *220 responses: '204': @@ -101362,7 +101416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *712 + - *726 - *220 responses: '204': @@ -101402,7 +101456,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *712 + - *726 - *220 responses: '204': @@ -101439,7 +101493,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: - - *712 + - *726 - *220 responses: '200': @@ -101448,7 +101502,7 @@ paths: application/json: schema: *376 examples: - response-if-user-is-a-team-maintainer: *717 + response-if-user-is-a-team-maintainer: *731 '404': *6 x-github: githubCloudOnly: false @@ -101481,7 +101535,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: - - *712 + - *726 - *220 requestBody: required: false @@ -101509,7 +101563,7 @@ paths: application/json: schema: *376 examples: - response-if-users-membership-with-team-is-now-pending: *718 + response-if-users-membership-with-team-is-now-pending: *732 '403': description: Forbidden if team synchronization is set up '422': @@ -101543,7 +101597,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: - - *712 + - *726 - *220 responses: '204': @@ -101572,7 +101626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *712 + - *726 - *17 - *19 responses: @@ -101584,7 +101638,7 @@ paths: type: array items: *377 examples: - default: *719 + default: *733 headers: Link: *40 '404': *6 @@ -101610,7 +101664,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: - - *712 + - *726 - *378 responses: '200': @@ -101619,7 +101673,7 @@ paths: application/json: schema: *377 examples: - default: *720 + default: *734 '404': description: Not Found if project is not managed by this team x-github: @@ -101643,7 +101697,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: - - *712 + - *726 - *378 requestBody: required: false @@ -101711,7 +101765,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: - - *712 + - *726 - *378 responses: '204': @@ -101739,7 +101793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *712 + - *726 - *17 - *19 responses: @@ -101781,7 +101835,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: - - *712 + - *726 - *379 - *380 responses: @@ -101789,7 +101843,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *721 + schema: *735 examples: alternative-response-with-extra-repository-information: value: @@ -101940,7 +101994,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: - - *712 + - *726 - *379 - *380 requestBody: @@ -101992,7 +102046,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: - - *712 + - *726 - *379 - *380 responses: @@ -102023,7 +102077,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: - - *712 + - *726 responses: '200': description: Response @@ -102058,7 +102112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *712 + - *726 requestBody: required: true content: @@ -102146,7 +102200,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *712 + - *726 - *17 - *19 responses: @@ -102158,7 +102212,7 @@ paths: type: array items: *229 examples: - response-if-child-teams-exist: *722 + response-if-child-teams-exist: *736 headers: Link: *40 '404': *6 @@ -102191,7 +102245,7 @@ paths: application/json: schema: oneOf: - - &724 + - &738 title: Private User description: Private User type: object @@ -102394,7 +102448,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *723 + - *737 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -102547,7 +102601,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *738 examples: default: value: @@ -102945,7 +102999,7 @@ paths: type: integer secrets: type: array - items: &725 + items: &739 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -103061,7 +103115,7 @@ paths: description: Response content: application/json: - schema: *725 + schema: *739 examples: default: value: @@ -103207,7 +103261,7 @@ paths: type: array items: *198 examples: - default: *726 + default: *740 '401': *25 '403': *29 '404': *6 @@ -103474,7 +103528,7 @@ paths: description: Response content: application/json: - schema: &727 + schema: &741 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -103515,7 +103569,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &728 + default: &742 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -103560,9 +103614,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *741 examples: - default: *728 + default: *742 '404': *6 x-github: githubCloudOnly: false @@ -103599,9 +103653,9 @@ paths: type: integer machines: type: array - items: *729 + items: *743 examples: - default: *730 + default: *744 '304': *37 '500': *85 '401': *25 @@ -104540,7 +104594,7 @@ paths: type: array items: *307 examples: - default: &743 + default: &757 value: - id: 197 name: hello_docker @@ -104641,7 +104695,7 @@ paths: application/json: schema: type: array - items: &731 + items: &745 title: Email description: Email type: object @@ -104706,9 +104760,9 @@ paths: application/json: schema: type: array - items: *731 + items: *745 examples: - default: &745 + default: &759 value: - email: octocat@github.com verified: true @@ -104783,7 +104837,7 @@ paths: application/json: schema: type: array - items: *731 + items: *745 examples: default: value: @@ -105039,7 +105093,7 @@ paths: application/json: schema: type: array - items: &732 + items: &746 title: GPG Key description: A unique encryption key type: object @@ -105170,7 +105224,7 @@ paths: - subkeys - revoked examples: - default: &756 + default: &770 value: - id: 3 name: Octocat's GPG Key @@ -105255,9 +105309,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *746 examples: - default: &733 + default: &747 value: id: 3 name: Octocat's GPG Key @@ -105314,7 +105368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &734 + - &748 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -105326,9 +105380,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *746 examples: - default: *733 + default: *747 '404': *6 '304': *37 '403': *29 @@ -105351,7 +105405,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *734 + - *748 responses: '204': description: Response @@ -105542,7 +105596,7 @@ paths: type: array items: *64 examples: - default: *735 + default: *749 headers: Link: *40 '404': *6 @@ -105806,7 +105860,7 @@ paths: application/json: schema: type: array - items: &736 + items: &750 title: Key description: Key type: object @@ -105903,9 +105957,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *750 examples: - default: &737 + default: &751 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105944,9 +105998,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *750 examples: - default: *737 + default: *751 '404': *6 '304': *37 '403': *29 @@ -106002,7 +106056,7 @@ paths: application/json: schema: type: array - items: &738 + items: &752 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -106070,7 +106124,7 @@ paths: - account - plan examples: - default: &739 + default: &753 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106132,9 +106186,9 @@ paths: application/json: schema: type: array - items: *738 + items: *752 examples: - default: *739 + default: *753 headers: Link: *40 '304': *37 @@ -107129,7 +107183,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *301 - - *740 + - *754 responses: '204': description: Response @@ -107202,7 +107256,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *755 headers: Link: *40 '304': *37 @@ -107244,7 +107298,7 @@ paths: - docker - nuget - container - - *742 + - *756 - *19 - *17 responses: @@ -107256,8 +107310,8 @@ paths: type: array items: *307 examples: - default: *743 - '400': *744 + default: *757 + '400': *758 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107286,7 +107340,7 @@ paths: application/json: schema: *307 examples: - default: &757 + default: &771 value: id: 40201 name: octo-name @@ -107739,9 +107793,9 @@ paths: application/json: schema: type: array - items: *731 + items: *745 examples: - default: *745 + default: *759 headers: Link: *40 '304': *37 @@ -107854,7 +107908,7 @@ paths: type: array items: *64 examples: - default: &752 + default: &766 summary: Default response value: - id: 1296269 @@ -108200,7 +108254,7 @@ paths: type: array items: *568 examples: - default: *746 + default: *760 headers: Link: *40 '304': *37 @@ -108279,7 +108333,7 @@ paths: application/json: schema: type: array - items: &747 + items: &761 title: Social account description: Social media account type: object @@ -108294,7 +108348,7 @@ paths: - provider - url examples: - default: &748 + default: &762 value: - provider: twitter url: https://twitter.com/github @@ -108356,9 +108410,9 @@ paths: application/json: schema: type: array - items: *747 + items: *761 examples: - default: *748 + default: *762 '422': *15 '304': *37 '404': *6 @@ -108445,7 +108499,7 @@ paths: application/json: schema: type: array - items: &749 + items: &763 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -108465,7 +108519,7 @@ paths: - title - created_at examples: - default: &758 + default: &772 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108531,9 +108585,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *763 examples: - default: &750 + default: &764 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108564,7 +108618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &751 + - &765 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -108576,9 +108630,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *763 examples: - default: *750 + default: *764 '404': *6 '304': *37 '403': *29 @@ -108601,7 +108655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *751 + - *765 responses: '204': description: Response @@ -108630,7 +108684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &759 + - &773 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -108655,11 +108709,11 @@ paths: type: array items: *64 examples: - default-response: *752 + default-response: *766 application/vnd.github.v3.star+json: schema: type: array - items: &760 + items: &774 title: Starred Repository description: Starred Repository type: object @@ -109028,10 +109082,10 @@ paths: application/json: schema: oneOf: - - *724 - - *723 + - *738 + - *737 examples: - default-response: &754 + default-response: &768 summary: Default response value: login: octocat @@ -109066,7 +109120,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &755 + response-with-git-hub-plan-information: &769 summary: Response with GitHub plan information value: login: octocat @@ -109126,7 +109180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *753 + - *767 - *17 responses: '200': @@ -109175,11 +109229,11 @@ paths: application/json: schema: oneOf: - - *724 - - *723 + - *738 + - *737 examples: - default-response: *754 - response-with-git-hub-plan-information: *755 + default-response: *768 + response-with-git-hub-plan-information: *769 '404': *6 x-github: githubCloudOnly: false @@ -109296,7 +109350,7 @@ paths: type: array items: *307 examples: - default: *743 + default: *757 '403': *29 '401': *25 x-github: @@ -109700,9 +109754,9 @@ paths: application/json: schema: type: array - items: *732 + items: *746 examples: - default: *756 + default: *770 headers: Link: *40 x-github: @@ -109884,7 +109938,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *755 headers: Link: *40 x-github: @@ -109923,7 +109977,7 @@ paths: - docker - nuget - container - - *742 + - *756 - *220 - *19 - *17 @@ -109936,10 +109990,10 @@ paths: type: array items: *307 examples: - default: *743 + default: *757 '403': *29 '401': *25 - '400': *744 + '400': *758 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109969,7 +110023,7 @@ paths: application/json: schema: *307 examples: - default: *757 + default: *771 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110753,9 +110807,9 @@ paths: application/json: schema: type: array - items: *747 + items: *761 examples: - default: *748 + default: *762 headers: Link: *40 x-github: @@ -110785,9 +110839,9 @@ paths: application/json: schema: type: array - items: *749 + items: *763 examples: - default: *758 + default: *772 headers: Link: *40 x-github: @@ -110812,7 +110866,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *220 - - *759 + - *773 - *88 - *17 - *19 @@ -110824,11 +110878,11 @@ paths: schema: anyOf: - type: array - items: *760 + items: *774 - type: array items: *64 examples: - default-response: *752 + default-response: *766 headers: Link: *40 x-github: @@ -110987,7 +111041,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &761 + enterprise: &775 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -111045,7 +111099,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &762 + installation: &776 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -111064,7 +111118,7 @@ x-webhooks: required: - id - node_id - organization: &763 + organization: &777 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -111124,13 +111178,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &764 + repository: &778 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &801 + properties: &815 id: description: Unique identifier of the repository example: 42 @@ -111813,7 +111867,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &802 + required: &816 - archive_url - assignees_url - blobs_url @@ -111964,10 +112018,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -112043,11 +112097,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: &765 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + rule: &779 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -112270,11 +112324,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + rule: *779 sender: *4 required: - action @@ -112457,11 +112511,11 @@ x-webhooks: - everyone required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + rule: *779 sender: *4 required: - action @@ -112532,7 +112586,7 @@ x-webhooks: required: true content: application/json: - schema: &768 + schema: &782 title: Exemption request cancellation event type: object properties: @@ -112540,11 +112594,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: &766 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + exemption_request: &780 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -112777,7 +112831,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &767 + items: &781 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -112885,7 +112939,7 @@ x-webhooks: required: true content: application/json: - schema: &769 + schema: &783 title: Exemption request completed event type: object properties: @@ -112893,11 +112947,11 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + exemption_request: *780 sender: *4 required: - action @@ -112967,7 +113021,7 @@ x-webhooks: required: true content: application/json: - schema: &770 + schema: &784 title: Exemption request created event type: object properties: @@ -112975,11 +113029,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + exemption_request: *780 sender: *4 required: - action @@ -113049,7 +113103,7 @@ x-webhooks: required: true content: application/json: - schema: &771 + schema: &785 title: Exemption response dismissed event type: object properties: @@ -113057,12 +113111,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + exemption_request: *780 + exemption_response: *781 sender: *4 required: - action @@ -113134,7 +113188,7 @@ x-webhooks: required: true content: application/json: - schema: &772 + schema: &786 title: Exemption response submitted event type: object properties: @@ -113142,12 +113196,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + exemption_request: *780 + exemption_response: *781 sender: *4 required: - action @@ -113220,7 +113274,7 @@ x-webhooks: required: true content: application/json: - schema: *768 + schema: *782 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113287,7 +113341,7 @@ x-webhooks: required: true content: application/json: - schema: *769 + schema: *783 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113354,7 +113408,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *784 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113421,7 +113475,7 @@ x-webhooks: required: true content: application/json: - schema: *771 + schema: *785 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113489,7 +113543,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113567,7 +113621,7 @@ x-webhooks: type: string enum: - completed - check_run: &774 + check_run: &788 title: CheckRun description: A check performed on the code of a given code change type: object @@ -113668,7 +113722,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *773 + deployment: *787 details_url: example: https://example.com type: string @@ -113753,9 +113807,9 @@ x-webhooks: - output - app - pull_requests - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - check_run @@ -114148,10 +114202,10 @@ x-webhooks: type: string enum: - created - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *788 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - check_run @@ -114547,10 +114601,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *788 + installation: *776 + organization: *777 + repository: *778 requested_action: description: The action requested by the user. type: object @@ -114955,10 +115009,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *788 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - check_run @@ -115935,10 +115989,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -116608,10 +116662,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -117275,10 +117329,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -117586,20 +117640,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &775 + commit_oid: &789 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *761 - installation: *762 - organization: *763 - ref: &776 + enterprise: *775 + installation: *776 + organization: *777 + ref: &790 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *764 + repository: *778 sender: *4 required: - action @@ -117991,12 +118045,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *789 + enterprise: *775 + installation: *776 + organization: *777 + ref: *790 + repository: *778 sender: *4 required: - action @@ -118259,12 +118313,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *789 + enterprise: *775 + installation: *776 + organization: *777 + ref: *790 + repository: *778 sender: *4 required: - action @@ -118593,12 +118647,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *789 + enterprise: *775 + installation: *776 + organization: *777 + ref: *790 + repository: *778 sender: *4 required: - action @@ -118863,16 +118917,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *764 + repository: *778 sender: *4 required: - action @@ -119106,12 +119160,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *789 + enterprise: *775 + installation: *776 + organization: *777 + ref: *790 + repository: *778 sender: *4 required: - action @@ -119368,10 +119422,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -119451,18 +119505,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *763 - pusher_type: &777 + organization: *777 + pusher_type: &791 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &778 + ref: &792 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -119472,7 +119526,7 @@ x-webhooks: enum: - tag - branch - repository: *764 + repository: *778 sender: *4 required: - ref @@ -119555,9 +119609,9 @@ x-webhooks: enum: - created definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 sender: *4 required: - action @@ -119642,9 +119696,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 sender: *4 required: - action @@ -119722,9 +119776,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 sender: *4 required: - action @@ -119802,9 +119856,9 @@ x-webhooks: enum: - updated definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 sender: *4 required: - action @@ -119881,10 +119935,10 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - repository: *764 - organization: *763 + enterprise: *775 + installation: *776 + repository: *778 + organization: *777 sender: *4 new_property_values: type: array @@ -119969,18 +120023,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - pusher_type: *777 - ref: *778 + enterprise: *775 + installation: *776 + organization: *777 + pusher_type: *791 + ref: *792 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *764 + repository: *778 sender: *4 required: - ref @@ -120065,10 +120119,10 @@ x-webhooks: enum: - auto_dismissed alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120153,10 +120207,10 @@ x-webhooks: enum: - auto_reopened alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120241,10 +120295,10 @@ x-webhooks: enum: - created alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120327,10 +120381,10 @@ x-webhooks: enum: - dismissed alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120413,10 +120467,10 @@ x-webhooks: enum: - fixed alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120500,10 +120554,10 @@ x-webhooks: enum: - reintroduced alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120586,10 +120640,10 @@ x-webhooks: enum: - reopened alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120666,9 +120720,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - key: &779 + enterprise: *775 + installation: *776 + key: &793 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -120704,8 +120758,8 @@ x-webhooks: - verified - created_at - read_only - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -120782,11 +120836,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - key: *779 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + key: *793 + organization: *777 + repository: *778 sender: *4 required: - action @@ -121347,12 +121401,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - workflow: &783 + workflow: &797 title: Workflow type: object nullable: true @@ -122082,9 +122136,9 @@ x-webhooks: pull_requests: type: array items: *615 - repository: *764 - organization: *763 - installation: *762 + repository: *778 + organization: *777 + installation: *776 sender: *4 responses: '200': @@ -122155,7 +122209,7 @@ x-webhooks: type: string enum: - approved - approver: &780 + approver: &794 type: object properties: avatar_url: @@ -122198,11 +122252,11 @@ x-webhooks: type: string comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: &781 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + reviewers: &795 type: array items: type: object @@ -122281,7 +122335,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &782 + workflow_job_run: &796 type: object properties: conclusion: @@ -123012,18 +123066,18 @@ x-webhooks: type: string enum: - rejected - approver: *780 + approver: *794 comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: *781 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + reviewers: *795 sender: *4 since: type: string - workflow_job_run: *782 + workflow_job_run: *796 workflow_job_runs: type: array items: @@ -123727,13 +123781,13 @@ x-webhooks: type: string enum: - requested - enterprise: *761 + enterprise: *775 environment: type: string - installation: *762 - organization: *763 - repository: *764 - requestor: &788 + installation: *776 + organization: *777 + repository: *778 + requestor: &802 title: User type: object nullable: true @@ -125632,12 +125686,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - workflow: *783 + workflow: *797 workflow_run: title: Deployment Workflow Run type: object @@ -126317,7 +126371,7 @@ x-webhooks: type: string enum: - answered - answer: &786 + answer: &800 type: object properties: author_association: @@ -126474,7 +126528,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &784 + discussion: &798 title: Discussion description: A Discussion in a repository. type: object @@ -126782,10 +126836,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -126912,11 +126966,11 @@ x-webhooks: - from required: - category - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -126999,11 +127053,11 @@ x-webhooks: type: string enum: - closed - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127085,7 +127139,7 @@ x-webhooks: type: string enum: - created - comment: &785 + comment: &799 type: object properties: author_association: @@ -127242,11 +127296,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127329,12 +127383,12 @@ x-webhooks: type: string enum: - deleted - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *799 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127429,12 +127483,12 @@ x-webhooks: - from required: - body - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *799 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127518,11 +127572,11 @@ x-webhooks: type: string enum: - created - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127604,11 +127658,11 @@ x-webhooks: type: string enum: - deleted - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127708,11 +127762,11 @@ x-webhooks: type: string required: - from - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127794,10 +127848,10 @@ x-webhooks: type: string enum: - labeled - discussion: *784 - enterprise: *761 - installation: *762 - label: &787 + discussion: *798 + enterprise: *775 + installation: *776 + label: &801 title: Label type: object properties: @@ -127829,8 +127883,8 @@ x-webhooks: - color - default - description - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127913,11 +127967,11 @@ x-webhooks: type: string enum: - locked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127999,11 +128053,11 @@ x-webhooks: type: string enum: - pinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128085,11 +128139,11 @@ x-webhooks: type: string enum: - reopened - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128174,16 +128228,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *784 - new_repository: *764 + new_discussion: *798 + new_repository: *778 required: - new_discussion - new_repository - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128266,10 +128320,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *784 - old_answer: *786 - organization: *763 - repository: *764 + discussion: *798 + old_answer: *800 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128351,12 +128405,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *784 - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128439,11 +128493,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128525,11 +128579,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128601,7 +128655,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *784 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128667,7 +128721,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128733,7 +128787,7 @@ x-webhooks: required: true content: application/json: - schema: *768 + schema: *782 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128799,7 +128853,7 @@ x-webhooks: required: true content: application/json: - schema: *769 + schema: *783 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128865,7 +128919,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *784 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128931,7 +128985,7 @@ x-webhooks: required: true content: application/json: - schema: *771 + schema: *785 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128997,7 +129051,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129064,7 +129118,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *761 + enterprise: *775 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -129724,9 +129778,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - forkee @@ -129872,9 +129926,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pages: description: The pages that were updated. type: array @@ -129911,7 +129965,7 @@ x-webhooks: - action - sha - html_url - repository: *764 + repository: *778 sender: *4 required: - pages @@ -129987,10 +130041,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories: &789 + organization: *777 + repositories: &803 description: An array of repository objects that the installation can access. type: array @@ -130016,8 +130070,8 @@ x-webhooks: - name - full_name - private - repository: *764 - requester: *788 + repository: *778 + requester: *802 sender: *4 required: - action @@ -130092,11 +130146,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *777 + repositories: *803 + repository: *778 requester: nullable: true sender: *4 @@ -130172,11 +130226,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *777 + repositories: *803 + repository: *778 requester: nullable: true sender: *4 @@ -130252,10 +130306,10 @@ x-webhooks: type: string enum: - added - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories_added: &790 + organization: *777 + repositories_added: &804 description: An array of repository objects, which were added to the installation. type: array @@ -130301,15 +130355,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *764 - repository_selection: &791 + repository: *778 + repository_selection: &805 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *788 + requester: *802 sender: *4 required: - action @@ -130388,10 +130442,10 @@ x-webhooks: type: string enum: - removed - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories_added: *790 + organization: *777 + repositories_added: *804 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -130418,9 +130472,9 @@ x-webhooks: - name - full_name - private - repository: *764 - repository_selection: *791 - requester: *788 + repository: *778 + repository_selection: *805 + requester: *802 sender: *4 required: - action @@ -130499,11 +130553,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *777 + repositories: *803 + repository: *778 requester: nullable: true sender: *4 @@ -130682,10 +130736,10 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 target_type: type: string @@ -130764,11 +130818,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *777 + repositories: *803 + repository: *778 requester: nullable: true sender: *4 @@ -131020,8 +131074,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -132177,8 +132231,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -132258,7 +132312,7 @@ x-webhooks: type: string enum: - deleted - comment: &792 + comment: &806 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -132423,8 +132477,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133578,8 +133632,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -133659,7 +133713,7 @@ x-webhooks: type: string enum: - edited - changes: &820 + changes: &834 description: The changes to the comment. type: object properties: @@ -133671,9 +133725,9 @@ x-webhooks: type: string required: - from - comment: *792 - enterprise: *761 - installation: *762 + comment: *806 + enterprise: *775 + installation: *776 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134828,8 +134882,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -134911,10 +134965,10 @@ x-webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - issue: &795 + assignee: *802 + enterprise: *775 + installation: *776 + issue: &809 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -135833,8 +135887,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -135914,8 +135968,8 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136974,8 +137028,8 @@ x-webhooks: required: - state - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -137054,8 +137108,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137969,8 +138023,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -138049,8 +138103,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138965,7 +139019,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &807 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139103,8 +139157,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -139203,8 +139257,8 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140123,9 +140177,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -140205,8 +140259,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141124,9 +141178,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -141206,8 +141260,8 @@ x-webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142126,8 +142180,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -142206,8 +142260,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143120,9 +143174,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *763 - repository: *764 + milestone: *807 + organization: *777 + repository: *778 sender: *4 required: - action @@ -144565,8 +144619,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145484,8 +145538,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -145565,9 +145619,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *761 - installation: *762 - issue: &794 + enterprise: *775 + installation: *776 + issue: &808 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146479,8 +146533,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -146559,8 +146613,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147478,8 +147532,8 @@ x-webhooks: user_view_type: type: string type: *289 - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -148942,11 +148996,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + issue: *808 + organization: *777 + repository: *778 sender: *4 required: - action @@ -149026,12 +149080,12 @@ x-webhooks: type: string enum: - typed - enterprise: *761 - installation: *762 - issue: *795 + enterprise: *775 + installation: *776 + issue: *809 type: *289 - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -149112,7 +149166,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &823 + assignee: &837 title: User type: object nullable: true @@ -149182,11 +149236,11 @@ x-webhooks: required: - login - id - enterprise: *761 - installation: *762 - issue: *795 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + issue: *809 + organization: *777 + repository: *778 sender: *4 required: - action @@ -149265,12 +149319,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - issue: *795 - label: *787 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + issue: *809 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -149350,8 +149404,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150268,8 +150322,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150349,11 +150403,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + issue: *808 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150432,12 +150486,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *761 - installation: *762 - issue: *795 + enterprise: *775 + installation: *776 + issue: *809 type: *289 - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150517,11 +150571,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150599,11 +150653,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150713,11 +150767,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150799,9 +150853,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: &796 + enterprise: *775 + installation: *776 + marketplace_purchase: &810 title: Marketplace Purchase type: object required: @@ -150884,8 +150938,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: &797 + organization: *777 + previous_marketplace_purchase: &811 title: Marketplace Purchase type: object properties: @@ -150965,7 +151019,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151045,10 +151099,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *775 + installation: *776 + marketplace_purchase: *810 + organization: *777 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151131,7 +151185,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151213,10 +151267,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *775 + installation: *776 + marketplace_purchase: *810 + organization: *777 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151298,7 +151352,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151379,8 +151433,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 marketplace_purchase: title: Marketplace Purchase type: object @@ -151462,9 +151516,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + organization: *777 + previous_marketplace_purchase: *811 + repository: *778 sender: *4 required: - action @@ -151544,12 +151598,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + enterprise: *775 + installation: *776 + marketplace_purchase: *810 + organization: *777 + previous_marketplace_purchase: *811 + repository: *778 sender: *4 required: - action @@ -151651,11 +151705,11 @@ x-webhooks: type: string required: - to - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + member: *802 + organization: *777 + repository: *778 sender: *4 required: - action @@ -151755,11 +151809,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + member: *802 + organization: *777 + repository: *778 sender: *4 required: - action @@ -151838,11 +151892,11 @@ x-webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + member: *802 + organization: *777 + repository: *778 sender: *4 required: - action @@ -151920,11 +151974,11 @@ x-webhooks: type: string enum: - added - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + member: *802 + organization: *777 + repository: *778 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152000,7 +152054,7 @@ x-webhooks: required: - login - id - team: &798 + team: &812 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152190,11 +152244,11 @@ x-webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + member: *802 + organization: *777 + repository: *778 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152271,7 +152325,7 @@ x-webhooks: required: - login - id - team: *798 + team: *812 required: - action - scope @@ -152353,8 +152407,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *762 - merge_group: &800 + installation: *776 + merge_group: &814 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -152373,15 +152427,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *799 + head_commit: *813 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -152467,10 +152521,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *762 - merge_group: *800 - organization: *763 - repository: *764 + installation: *776 + merge_group: *814 + organization: *777 + repository: *778 sender: *4 required: - action @@ -152543,7 +152597,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *775 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -152651,16 +152705,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *762 - organization: *763 + installation: *776 + organization: *777 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *801 - required: *802 + properties: *815 + required: *816 nullable: true sender: *4 required: @@ -152741,11 +152795,11 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + milestone: *807 + organization: *777 + repository: *778 sender: *4 required: - action @@ -152824,9 +152878,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - milestone: &803 + enterprise: *775 + installation: *776 + milestone: &817 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152963,8 +153017,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153043,11 +153097,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + milestone: *807 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153157,11 +153211,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + milestone: *807 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153241,11 +153295,11 @@ x-webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - milestone: *803 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + milestone: *817 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153324,11 +153378,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *802 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153407,11 +153461,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *802 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153490,9 +153544,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - membership: &804 + enterprise: *775 + installation: *776 + membership: &818 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -153584,8 +153638,8 @@ x-webhooks: - role - organization_url - user - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153663,11 +153717,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + membership: *818 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153746,8 +153800,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -153863,10 +153917,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 - user: *788 + user: *802 required: - action - invitation @@ -153944,11 +153998,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + membership: *818 + organization: *777 + repository: *778 sender: *4 required: - action @@ -154035,11 +154089,11 @@ x-webhooks: properties: from: type: string - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + membership: *818 + organization: *777 + repository: *778 sender: *4 required: - action @@ -154115,9 +154169,9 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 package: description: Information about the package. type: object @@ -154616,7 +154670,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &805 + items: &819 title: Ruby Gems metadata type: object properties: @@ -154711,7 +154765,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -154787,9 +154841,9 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 package: description: Information about the package. type: object @@ -155142,7 +155196,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *819 source_url: type: string format: uri @@ -155212,7 +155266,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -155389,12 +155443,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *761 + enterprise: *775 id: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - id @@ -155471,7 +155525,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &806 + personal_access_token_request: &820 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -155617,10 +155671,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *761 - organization: *763 + enterprise: *775 + organization: *777 sender: *4 - installation: *762 + installation: *776 required: - action - personal_access_token_request @@ -155697,11 +155751,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *806 - enterprise: *761 - organization: *763 + personal_access_token_request: *820 + enterprise: *775 + organization: *777 sender: *4 - installation: *762 + installation: *776 required: - action - personal_access_token_request @@ -155777,11 +155831,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *806 - enterprise: *761 - organization: *763 + personal_access_token_request: *820 + enterprise: *775 + organization: *777 sender: *4 - installation: *762 + installation: *776 required: - action - personal_access_token_request @@ -155856,11 +155910,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *806 - organization: *763 - enterprise: *761 + personal_access_token_request: *820 + organization: *777 + enterprise: *775 sender: *4 - installation: *762 + installation: *776 required: - action - personal_access_token_request @@ -155965,7 +156019,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *807 + last_response: *821 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -155997,8 +156051,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 zen: description: Random string of GitHub zen. @@ -156243,10 +156297,10 @@ x-webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: &808 + enterprise: *775 + installation: *776 + organization: *777 + project_card: &822 title: Project Card type: object properties: @@ -156365,7 +156419,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -156446,11 +156500,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_card: *808 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project_card: *822 + repository: *778 sender: *4 required: - action @@ -156530,9 +156584,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 project_card: title: Project Card type: object @@ -156660,8 +156714,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *801 - required: *802 + properties: *815 + required: *816 nullable: true sender: *4 required: @@ -156755,11 +156809,11 @@ x-webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: *808 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project_card: *822 + repository: *778 sender: *4 required: - action @@ -156853,9 +156907,9 @@ x-webhooks: - from required: - column_id - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 project_card: allOf: - title: Project Card @@ -157045,7 +157099,7 @@ x-webhooks: type: string required: - after_id - repository: *764 + repository: *778 sender: *4 required: - action @@ -157125,10 +157179,10 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - organization: *763 - project: &810 + enterprise: *775 + installation: *776 + organization: *777 + project: &824 title: Project type: object properties: @@ -157252,7 +157306,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -157332,10 +157386,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_column: &809 + enterprise: *775 + installation: *776 + organization: *777 + project_column: &823 title: Project Column type: object properties: @@ -157374,7 +157428,7 @@ x-webhooks: - name - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -157453,18 +157507,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 + enterprise: *775 + installation: *776 + organization: *777 + project_column: *823 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *801 - required: *802 + properties: *815 + required: *816 nullable: true sender: *4 required: @@ -157554,11 +157608,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project_column: *823 + repository: *778 sender: *4 required: - action @@ -157638,11 +157692,11 @@ x-webhooks: type: string enum: - moved - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project_column: *823 + repository: *778 sender: *4 required: - action @@ -157722,11 +157776,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project: *824 + repository: *778 sender: *4 required: - action @@ -157806,18 +157860,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project: *810 + enterprise: *775 + installation: *776 + organization: *777 + project: *824 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *801 - required: *802 + properties: *815 + required: *816 nullable: true sender: *4 required: @@ -157919,11 +157973,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project: *824 + repository: *778 sender: *4 required: - action @@ -158002,11 +158056,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project: *824 + repository: *778 sender: *4 required: - action @@ -158087,9 +158141,9 @@ x-webhooks: type: string enum: - closed - installation: *762 - organization: *763 - projects_v2: &811 + installation: *776 + organization: *777 + projects_v2: &825 title: Projects v2 Project description: A projects v2 project type: object @@ -158232,9 +158286,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2: *811 + installation: *776 + organization: *777 + projects_v2: *825 sender: *4 required: - action @@ -158315,9 +158369,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2: *811 + installation: *776 + organization: *777 + projects_v2: *825 sender: *4 required: - action @@ -158434,9 +158488,9 @@ x-webhooks: type: string to: type: string - installation: *762 - organization: *763 - projects_v2: *811 + installation: *776 + organization: *777 + projects_v2: *825 sender: *4 required: - action @@ -158519,7 +158573,7 @@ x-webhooks: type: string enum: - archived - changes: &815 + changes: &829 type: object properties: archived_at: @@ -158533,9 +158587,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *762 - organization: *763 - projects_v2_item: &812 + installation: *776 + organization: *777 + projects_v2_item: &826 title: Projects v2 Item description: An item belonging to a project type: object @@ -158669,9 +158723,9 @@ x-webhooks: nullable: true to: type: string - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -158753,9 +158807,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -158836,9 +158890,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -158944,7 +158998,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &813 + - &827 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -158962,7 +159016,7 @@ x-webhooks: required: - id - name - - &814 + - &828 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -158985,8 +159039,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *813 - - *814 + - *827 + - *828 required: - field_value - type: object @@ -159002,9 +159056,9 @@ x-webhooks: nullable: true required: - body - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -159099,9 +159153,9 @@ x-webhooks: to: type: string nullable: true - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -159184,10 +159238,10 @@ x-webhooks: type: string enum: - restored - changes: *815 - installation: *762 - organization: *763 - projects_v2_item: *812 + changes: *829 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -159269,9 +159323,9 @@ x-webhooks: type: string enum: - reopened - installation: *762 - organization: *763 - projects_v2: *811 + installation: *776 + organization: *777 + projects_v2: *825 sender: *4 required: - action @@ -159352,9 +159406,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_status_update: &816 + installation: *776 + organization: *777 + projects_v2_status_update: &830 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -159481,9 +159535,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_status_update: *816 + installation: *776 + organization: *777 + projects_v2_status_update: *830 sender: *4 required: - action @@ -159619,9 +159673,9 @@ x-webhooks: type: string format: date nullable: true - installation: *762 - organization: *763 - projects_v2_status_update: *816 + installation: *776 + organization: *777 + projects_v2_status_update: *830 sender: *4 required: - action @@ -159692,10 +159746,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - repository @@ -159772,13 +159826,13 @@ x-webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - number: &817 + assignee: *802 + enterprise: *775 + installation: *776 + number: &831 description: The pull request number. type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -162061,7 +162115,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -162143,11 +162197,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -164425,7 +164479,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *778 sender: *4 required: - action @@ -164507,11 +164561,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -166789,7 +166843,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *778 sender: *4 required: - action @@ -166871,11 +166925,11 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: &818 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: &832 allOf: - *615 - type: object @@ -166939,7 +166993,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *764 + repository: *778 sender: *4 required: - action @@ -167020,12 +167074,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: *832 + repository: *778 sender: *4 required: - action @@ -167105,11 +167159,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *761 + enterprise: *775 milestone: *598 - number: *817 - organization: *763 - pull_request: &819 + number: *831 + organization: *777 + pull_request: &833 title: Pull Request type: object properties: @@ -169372,7 +169426,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -169451,11 +169505,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -171737,7 +171791,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *764 + repository: *778 sender: *4 required: - action @@ -171861,12 +171915,12 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: *832 + repository: *778 sender: *4 required: - action @@ -171946,11 +172000,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -174217,7 +174271,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -174297,11 +174351,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 - label: *787 - number: *817 - organization: *763 + enterprise: *775 + installation: *776 + label: *801 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -176583,7 +176637,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -176664,10 +176718,10 @@ x-webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -178947,7 +179001,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -179027,12 +179081,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *761 + enterprise: *775 milestone: *598 - number: *817 - organization: *763 - pull_request: *819 - repository: *764 + number: *831 + organization: *777 + pull_request: *833 + repository: *778 sender: *4 required: - action @@ -179111,12 +179165,12 @@ x-webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: *832 + repository: *778 sender: *4 required: - action @@ -179197,12 +179251,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: *832 + repository: *778 sender: *4 required: - action @@ -179282,12 +179336,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: *832 + repository: *778 sender: *4 required: - action @@ -179653,9 +179707,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: type: object properties: @@ -181825,7 +181879,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -181905,7 +181959,7 @@ x-webhooks: type: string enum: - deleted - comment: &821 + comment: &835 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -182190,9 +182244,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: type: object properties: @@ -184350,7 +184404,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -184430,11 +184484,11 @@ x-webhooks: type: string enum: - edited - changes: *820 - comment: *821 - enterprise: *761 - installation: *762 - organization: *763 + changes: *834 + comment: *835 + enterprise: *775 + installation: *776 + organization: *777 pull_request: type: object properties: @@ -186595,7 +186649,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -186676,9 +186730,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: title: Simple Pull Request type: object @@ -188851,7 +188905,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *778 review: description: The review that was affected. type: object @@ -189094,9 +189148,9 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: title: Simple Pull Request type: object @@ -191150,8 +191204,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: &822 + repository: *778 + review: &836 description: The review that was affected. type: object properties: @@ -191380,12 +191434,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: description: The pull request number. type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -193668,7 +193722,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_reviewer: title: User type: object @@ -193752,12 +193806,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: description: The pull request number. type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -196047,7 +196101,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196239,12 +196293,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: description: The pull request number. type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -198529,7 +198583,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_reviewer: title: User type: object @@ -198614,12 +198668,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: description: The pull request number. type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -200895,7 +200949,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201076,9 +201130,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: title: Simple Pull Request type: object @@ -203253,8 +203307,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: *822 + repository: *778 + review: *836 sender: *4 required: - action @@ -203334,9 +203388,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: title: Simple Pull Request type: object @@ -205406,7 +205460,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *778 sender: *4 thread: type: object @@ -205789,9 +205843,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: title: Simple Pull Request type: object @@ -207847,7 +207901,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *778 sender: *4 thread: type: object @@ -208233,10 +208287,10 @@ x-webhooks: type: string before: type: string - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -210507,7 +210561,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -210589,11 +210643,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *823 - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + assignee: *837 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -212876,7 +212930,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -212955,11 +213009,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - label: *787 - number: *817 - organization: *763 + enterprise: *775 + installation: *776 + label: *801 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -215232,7 +215286,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -215313,10 +215367,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -217581,7 +217635,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -217781,7 +217835,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *761 + enterprise: *775 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -217873,8 +217927,8 @@ x-webhooks: - url - author - committer - installation: *762 - organization: *763 + installation: *776 + organization: *777 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -218449,9 +218503,9 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 registry_package: type: object properties: @@ -218897,7 +218951,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *805 + items: *819 summary: type: string tag_name: @@ -218951,7 +219005,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -219029,9 +219083,9 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 registry_package: type: object properties: @@ -219339,7 +219393,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *819 summary: type: string tag_name: @@ -219388,7 +219442,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -219465,10 +219519,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - release: &824 + enterprise: *775 + installation: *776 + organization: *777 + release: &838 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219777,7 +219831,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *764 + repository: *778 sender: *4 required: - action @@ -219854,11 +219908,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + release: *838 + repository: *778 sender: *4 required: - action @@ -219975,11 +220029,11 @@ x-webhooks: type: boolean required: - to - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + release: *838 + repository: *778 sender: *4 required: - action @@ -220057,9 +220111,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -220372,7 +220426,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *778 sender: *4 required: - action @@ -220448,10 +220502,10 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - release: &825 + enterprise: *775 + installation: *776 + organization: *777 + release: &839 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -220761,7 +220815,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *778 sender: *4 required: - action @@ -220837,11 +220891,11 @@ x-webhooks: type: string enum: - released - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + release: *838 + repository: *778 sender: *4 required: - action @@ -220917,11 +220971,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *761 - installation: *762 - organization: *763 - release: *825 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + release: *839 + repository: *778 sender: *4 required: - action @@ -220997,11 +221051,11 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *672 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + repository_advisory: *686 sender: *4 required: - action @@ -221077,11 +221131,11 @@ x-webhooks: type: string enum: - reported - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *672 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + repository_advisory: *686 sender: *4 required: - action @@ -221157,10 +221211,10 @@ x-webhooks: type: string enum: - archived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221237,10 +221291,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221318,10 +221372,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221405,10 +221459,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221520,10 +221574,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221595,10 +221649,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 status: type: string @@ -221679,10 +221733,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221759,10 +221813,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221856,10 +221910,10 @@ x-webhooks: - name required: - repository - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221939,10 +221993,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 repository_ruleset: *130 sender: *4 required: @@ -222021,10 +222075,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 repository_ruleset: *130 sender: *4 required: @@ -222103,10 +222157,10 @@ x-webhooks: type: string enum: - edited - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 repository_ruleset: *130 changes: type: object @@ -222411,10 +222465,10 @@ x-webhooks: - from required: - owner - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -222492,10 +222546,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -222573,7 +222627,7 @@ x-webhooks: type: string enum: - create - alert: &826 + alert: &840 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -222694,10 +222748,10 @@ x-webhooks: type: string enum: - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -222903,10 +222957,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -222984,11 +223038,11 @@ x-webhooks: type: string enum: - reopen - alert: *826 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *840 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223187,10 +223241,10 @@ x-webhooks: enum: - fixed - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223268,7 +223322,7 @@ x-webhooks: type: string enum: - created - alert: &827 + alert: &841 type: object properties: number: *100 @@ -223379,10 +223433,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223463,11 +223517,11 @@ x-webhooks: type: string enum: - created - alert: *827 - installation: *762 - location: *828 - organization: *763 - repository: *764 + alert: *841 + installation: *776 + location: *842 + organization: *777 + repository: *778 sender: *4 required: - location @@ -223705,11 +223759,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *841 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223787,11 +223841,11 @@ x-webhooks: type: string enum: - reopened - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *841 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223869,11 +223923,11 @@ x-webhooks: type: string enum: - resolved - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *841 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223951,11 +224005,11 @@ x-webhooks: type: string enum: - validated - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *841 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -224081,10 +224135,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *764 - enterprise: *761 - installation: *762 - organization: *763 + repository: *778 + enterprise: *775 + installation: *776 + organization: *777 sender: *4 required: - action @@ -224162,11 +224216,11 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: &829 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + security_advisory: &843 description: The details of the security advisory, including summary, description, and severity. type: object @@ -224349,11 +224403,11 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: *829 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + security_advisory: *843 sender: *4 required: - action @@ -224426,10 +224480,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -224614,9 +224668,9 @@ x-webhooks: type: object properties: security_and_analysis: *328 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: *392 sender: *4 required: @@ -224695,12 +224749,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: &830 + sponsorship: &844 type: object properties: created_at: @@ -225001,12 +225055,12 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: *830 + sponsorship: *844 required: - action - sponsorship @@ -225094,12 +225148,12 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: *830 + sponsorship: *844 required: - action - changes @@ -225176,17 +225230,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &831 + effective_date: &845 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: *830 + sponsorship: *844 required: - action - sponsorship @@ -225260,7 +225314,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &832 + changes: &846 type: object properties: tier: @@ -225304,13 +225358,13 @@ x-webhooks: - from required: - tier - effective_date: *831 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + effective_date: *845 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: *830 + sponsorship: *844 required: - action - changes @@ -225387,13 +225441,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *832 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + changes: *846 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: *830 + sponsorship: *844 required: - action - changes @@ -225467,10 +225521,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225553,10 +225607,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225976,15 +226030,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *761 + enterprise: *775 id: description: The unique identifier of the status. type: integer - installation: *762 + installation: *776 name: type: string - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 sha: description: The Commit SHA. @@ -226099,9 +226153,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -226191,9 +226245,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -226283,9 +226337,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -226375,9 +226429,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -226454,12 +226508,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - team: &833 + team: &847 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -226649,9 +226703,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: title: Repository description: A git repository @@ -227109,7 +227163,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -227185,9 +227239,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: title: Repository description: A git repository @@ -227645,7 +227699,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -227722,9 +227776,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: title: Repository description: A git repository @@ -228182,7 +228236,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -228326,9 +228380,9 @@ x-webhooks: - from required: - permissions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: title: Repository description: A git repository @@ -228786,7 +228840,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - changes @@ -228864,9 +228918,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: title: Repository description: A git repository @@ -229324,7 +229378,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -229400,10 +229454,10 @@ x-webhooks: type: string enum: - started - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -229476,16 +229530,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *761 + enterprise: *775 inputs: type: object nullable: true additionalProperties: true - installation: *762 - organization: *763 + installation: *776 + organization: *777 ref: type: string - repository: *764 + repository: *778 sender: *4 workflow: type: string @@ -229567,10 +229621,10 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 workflow_job: allOf: @@ -229886,10 +229940,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 workflow_job: allOf: @@ -230228,10 +230282,10 @@ x-webhooks: type: string enum: - queued - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 workflow_job: type: object @@ -230445,10 +230499,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 workflow_job: type: object @@ -230664,12 +230718,12 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - workflow: *783 + workflow: *797 workflow_run: title: Workflow Run type: object @@ -231668,12 +231722,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - workflow: *783 + workflow: *797 workflow_run: title: Workflow Run type: object @@ -232657,12 +232711,12 @@ x-webhooks: type: string enum: - requested - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - workflow: *783 + workflow: *797 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index bb8e48f938..a55251d640 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -32788,6 +32788,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -32799,6 +32802,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -32830,7 +32837,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -36039,6 +36045,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -36050,6 +36059,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -36081,7 +36094,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -46921,6 +46933,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -77176,7 +77477,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -107228,6 +107529,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -107239,6 +107543,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -107270,7 +107578,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -135059,6 +135366,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -135070,6 +135380,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -135101,7 +135415,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -170551,6 +170864,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -458042,6 +458644,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -458758,6 +459649,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -459427,6 +460607,295 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ], + "nullable": true + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index f3dbc28b41..59ad035570 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -1025,7 +1025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &674 + - &688 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &684 + schema: &698 title: Scim Error description: Scim Error type: object @@ -13805,6 +13805,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -13813,6 +13815,9 @@ paths: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -13837,7 +13842,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -17737,6 +17741,279 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &668 + - &670 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &671 + description: Represents a 'wiki_commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &672 + description: Represents an 'issue_title' secret scanning location + type. This location type shows that a secret was detected + in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &673 + description: Represents an 'issue_body' secret scanning location + type. This location type shows that a secret was detected + in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &674 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &675 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &676 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &677 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &678 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &679 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &680 + description: Represents a 'pull_request_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &681 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret was + detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &682 + description: Represents a 'pull_request_review_comment' secret + scanning location type. This location type shows that a + secret was detected in a review comment on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: &344 value: @@ -19835,7 +20112,7 @@ paths: url: type: string format: uri - user: &723 + user: &737 title: Public User description: Public User type: object @@ -24276,7 +24553,7 @@ paths: type: array items: *59 examples: - default: &741 + default: &755 value: - login: github id: 1 @@ -24561,7 +24838,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -26098,7 +26375,7 @@ paths: type: array items: *64 examples: - default: &735 + default: &749 value: total_count: 1 repositories: @@ -26917,7 +27194,7 @@ paths: type: array items: *198 examples: - default: &726 + default: &740 value: total_count: 1 repositories: @@ -38451,7 +38728,7 @@ paths: parameters: - *172 - *301 - - &740 + - &754 name: repo_name description: repo_name parameter in: path @@ -39766,7 +40043,7 @@ paths: - nuget - container - *172 - - &742 + - &756 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39807,7 +40084,7 @@ paths: default: *308 '403': *29 '401': *25 - '400': &744 + '400': &758 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44321,7 +44598,7 @@ paths: application/json: schema: type: array - items: &672 + items: &686 description: A repository security advisory. type: object properties: @@ -44612,7 +44889,7 @@ paths: - private_fork additionalProperties: false examples: - default: &673 + default: &687 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -46375,7 +46652,7 @@ paths: - updated_at - url examples: - default: &713 + default: &727 value: - author: login: octocat @@ -46623,7 +46900,7 @@ paths: application/json: schema: *362 examples: - default: &714 + default: &728 value: author: login: octocat @@ -46806,7 +47083,7 @@ paths: - updated_at - url examples: - default: &715 + default: &729 value: - author: login: octocat @@ -47032,7 +47309,7 @@ paths: application/json: schema: *365 examples: - default: &716 + default: &730 value: author: login: octocat @@ -47745,7 +48022,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &717 + response-if-user-is-a-team-maintainer: &731 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47810,7 +48087,7 @@ paths: application/json: schema: *376 examples: - response-if-users-membership-with-team-is-now-pending: &718 + response-if-users-membership-with-team-is-now-pending: &732 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47951,7 +48228,7 @@ paths: - updated_at - permissions examples: - default: &719 + default: &733 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48030,7 +48307,7 @@ paths: application/json: schema: *377 examples: - default: &720 + default: &734 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48240,7 +48517,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &721 + schema: &735 title: Team Repository description: A team's access to a repository. type: object @@ -49006,7 +49283,7 @@ paths: type: array items: *229 examples: - response-if-child-teams-exist: &722 + response-if-child-teams-exist: &736 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -61187,7 +61464,7 @@ paths: check. type: array items: *451 - deployment: &773 + deployment: &787 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62099,7 +62376,7 @@ paths: type: string format: date-time nullable: true - head_commit: &799 + head_commit: &813 title: Simple Commit description: A commit. type: object @@ -66319,14 +66596,14 @@ paths: type: integer machines: type: array - items: &729 + items: &743 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *490 required: *491 examples: - default: &730 + default: &744 value: total_count: 2 machines: @@ -69626,7 +69903,7 @@ paths: application/json: schema: type: array - items: &677 + items: &691 title: Status description: The status of a commit. type: object @@ -71182,7 +71459,7 @@ paths: items: type: object properties: - placeholder_id: &669 + placeholder_id: &683 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -77120,7 +77397,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &807 + last_response: &821 title: Hook Response type: object properties: @@ -78080,7 +78357,7 @@ paths: parameters: - *379 - *380 - - &753 + - &767 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -78514,7 +78791,7 @@ paths: type: array items: *568 examples: - default: &746 + default: &760 value: - id: 1 repository: @@ -92256,7 +92533,7 @@ paths: application/json: schema: type: array - items: &668 + items: &669 type: object properties: number: *100 @@ -92366,6 +92643,18 @@ paths: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: *668 + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: value: @@ -92503,7 +92792,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *669 examples: default: value: @@ -92584,7 +92873,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *669 examples: default: value: @@ -92672,7 +92961,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &828 + items: &842 type: object properties: type: @@ -92698,254 +92987,19 @@ paths: example: commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *670 + - *671 + - *672 + - *673 + - *674 + - *675 + - *676 + - *677 + - *678 + - *679 + - *680 + - *681 + - *682 examples: default: value: @@ -93040,14 +93094,14 @@ paths: schema: type: object properties: - reason: &670 + reason: &684 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *669 + placeholder_id: *683 required: - reason - placeholder_id @@ -93064,7 +93118,7 @@ paths: schema: type: object properties: - reason: *670 + reason: *684 expire_at: type: string format: date-time @@ -93123,7 +93177,7 @@ paths: properties: incremental_scans: type: array - items: &671 + items: &685 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93149,15 +93203,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *671 + items: *685 backfill_scans: type: array - items: *671 + items: *685 custom_pattern_backfill_scans: type: array items: allOf: - - *671 + - *685 - type: object properties: pattern_name: @@ -93272,9 +93326,9 @@ paths: application/json: schema: type: array - items: *672 + items: *686 examples: - default: *673 + default: *687 '400': *14 '404': *6 x-github: @@ -93458,9 +93512,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *686 examples: - default: &675 + default: &689 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -93798,7 +93852,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *686 examples: default: value: @@ -93947,15 +94001,15 @@ paths: parameters: - *379 - *380 - - *674 + - *688 responses: '200': description: Response content: application/json: - schema: *672 + schema: *686 examples: - default: *675 + default: *689 '403': *29 '404': *6 x-github: @@ -93981,7 +94035,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 requestBody: required: true content: @@ -94140,10 +94194,10 @@ paths: description: Response content: application/json: - schema: *672 + schema: *686 examples: - default: *675 - add_credit: *675 + default: *689 + add_credit: *689 '403': *29 '404': *6 '422': @@ -94183,7 +94237,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 responses: '202': *39 '400': *14 @@ -94212,7 +94266,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 responses: '202': description: Response @@ -94356,7 +94410,7 @@ paths: application/json: schema: type: array - items: &676 + items: &690 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94729,7 +94783,7 @@ paths: application/json: schema: type: array - items: *676 + items: *690 examples: default: value: @@ -94817,7 +94871,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *691 examples: default: value: @@ -94911,7 +94965,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &678 + schema: &692 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95006,7 +95060,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *692 examples: default: value: @@ -95143,7 +95197,7 @@ paths: application/json: schema: type: array - items: &679 + items: &693 title: Tag protection description: Tag protection type: object @@ -95219,7 +95273,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *693 examples: default: value: @@ -95367,7 +95421,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &694 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -95379,7 +95433,7 @@ paths: required: - names examples: - default: &681 + default: &695 value: names: - octocat @@ -95434,9 +95488,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *694 examples: - default: *681 + default: *695 '404': *6 '422': *7 x-github: @@ -95459,7 +95513,7 @@ paths: parameters: - *379 - *380 - - &682 + - &696 name: per description: The time frame to display results for. in: query @@ -95488,7 +95542,7 @@ paths: example: 128 clones: type: array - items: &683 + items: &697 title: Traffic type: object properties: @@ -95729,7 +95783,7 @@ paths: parameters: - *379 - *380 - - *682 + - *696 responses: '200': description: Response @@ -95748,7 +95802,7 @@ paths: example: 3782 views: type: array - items: *683 + items: *697 required: - uniques - count @@ -96420,7 +96474,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &691 + - &705 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -96429,7 +96483,7 @@ paths: schema: type: string example: members - - &696 + - &710 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -96440,7 +96494,7 @@ paths: default: 1 format: int32 example: 1 - - &697 + - &711 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -96482,7 +96536,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &685 + items: &699 allOf: - type: object required: @@ -96557,7 +96611,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &698 + meta: &712 type: object description: The metadata associated with the creation/updates to the user. @@ -96617,31 +96671,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &686 + '400': &700 description: Bad request content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 - '401': &687 + schema: *698 + '401': &701 description: Authorization failure - '403': &688 + '403': &702 description: Permission denied - '429': &689 + '429': &703 description: Too many requests content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 - '500': &690 + schema: *698 + '500': &704 description: Internal server error content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 + schema: *698 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96665,7 +96719,7 @@ paths: required: true content: application/json: - schema: &694 + schema: &708 type: object required: - schemas @@ -96721,9 +96775,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *685 + schema: *699 examples: - group: &692 + group: &706 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -96742,13 +96796,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *686 - '401': *687 - '403': *688 - '409': &695 + '400': *700 + '401': *701 + '403': *702 + '409': &709 description: Duplicate record detected - '429': *689 - '500': *690 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96765,7 +96819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &693 + - &707 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -96773,22 +96827,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *691 + - *705 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *685 + schema: *699 examples: - default: *692 - '400': *686 - '401': *687 - '403': *688 + default: *706 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '429': *689 - '500': *690 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96807,13 +96861,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *693 + - *707 - *41 requestBody: required: true content: application/json: - schema: *694 + schema: *708 examples: group: summary: Group @@ -96839,17 +96893,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *685 + schema: *699 examples: - group: *692 - groupWithMembers: *692 - '400': *686 - '401': *687 - '403': *688 + group: *706 + groupWithMembers: *706 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *709 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96873,13 +96927,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *693 + - *707 - *41 requestBody: required: true content: application/json: - schema: &705 + schema: &719 type: object required: - Operations @@ -96939,17 +96993,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *685 + schema: *699 examples: - updateGroup: *692 - addMembers: *692 - '400': *686 - '401': *687 - '403': *688 + updateGroup: *706 + addMembers: *706 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *709 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96965,17 +97019,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *693 + - *707 - *41 responses: '204': description: Group was deleted, no content - '400': *686 - '401': *687 - '403': *688 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '429': *689 - '500': *690 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97009,8 +97063,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *696 - - *697 + - *710 + - *711 - *41 responses: '200': @@ -97043,7 +97097,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &700 + items: &714 allOf: - type: object required: @@ -97122,7 +97176,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &699 + roles: &713 type: array description: The roles assigned to the user. items: @@ -97178,7 +97232,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *698 + meta: *712 startIndex: type: integer description: A starting index for the returned page @@ -97215,11 +97269,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *686 - '401': *687 - '403': *688 - '429': *689 - '500': *690 + '400': *700 + '401': *701 + '403': *702 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97243,7 +97297,7 @@ paths: required: true content: application/json: - schema: &703 + schema: &717 type: object required: - schemas @@ -97325,9 +97379,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *699 + roles: *713 examples: - user: &704 + user: &718 summary: User value: schemas: @@ -97374,9 +97428,9 @@ paths: description: User has been created content: application/scim+json: - schema: *700 + schema: *714 examples: - user: &701 + user: &715 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97402,13 +97456,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *701 - '400': *686 - '401': *687 - '403': *688 - '409': *695 - '429': *689 - '500': *690 + enterpriseOwner: *715 + '400': *700 + '401': *701 + '403': *702 + '409': *709 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97425,7 +97479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &702 + - &716 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -97438,15 +97492,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *700 + schema: *714 examples: - default: *701 - '400': *686 - '401': *687 - '403': *688 + default: *715 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '429': *689 - '500': *690 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97468,30 +97522,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *702 + - *716 - *41 requestBody: required: true content: application/json: - schema: *703 + schema: *717 examples: - user: *704 + user: *718 responses: '200': description: User was updated content: application/scim+json: - schema: *700 + schema: *714 examples: - user: *701 - '400': *686 - '401': *687 - '403': *688 + user: *715 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *709 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97526,13 +97580,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *702 + - *716 - *41 requestBody: required: true content: application/json: - schema: *705 + schema: *719 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -97572,18 +97626,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *700 - examples: - userMultiValuedProperties: *701 - userSingleValuedProperties: *701 - disableUser: *701 - '400': *686 - '401': *687 - '403': *688 + schema: *714 + examples: + userMultiValuedProperties: *715 + userSingleValuedProperties: *715 + disableUser: *715 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '409': *695 - '429': *689 - '500': *690 + '409': *709 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97603,17 +97657,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *702 + - *716 - *41 responses: '204': description: User was deleted, no content - '400': *686 - '401': *687 - '403': *688 + '400': *700 + '401': *701 + '403': *702 '404': *6 - '429': *689 - '500': *690 + '429': *703 + '500': *704 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97700,7 +97754,7 @@ paths: example: 1 Resources: type: array - items: &706 + items: &720 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97931,22 +97985,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &707 + '404': &721 description: Resource not found content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 - '403': &708 + schema: *698 + '403': &722 description: Forbidden content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 - '400': *686 - '429': *689 + schema: *698 + '400': *700 + '429': *703 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -97972,9 +98026,9 @@ paths: description: Response content: application/scim+json: - schema: *706 + schema: *720 examples: - default: &709 + default: &723 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97997,17 +98051,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *707 - '403': *708 - '500': *690 + '404': *721 + '403': *722 + '500': *704 '409': description: Conflict content: application/json: - schema: *684 + schema: *698 application/scim+json: - schema: *684 - '400': *686 + schema: *698 + '400': *700 requestBody: required: true content: @@ -98105,17 +98159,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *172 - - *702 + - *716 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *720 examples: - default: *709 - '404': *707 - '403': *708 + default: *723 + '404': *721 + '403': *722 '304': *37 x-github: githubCloudOnly: true @@ -98139,18 +98193,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *172 - - *702 + - *716 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *720 examples: - default: *709 + default: *723 '304': *37 - '404': *707 - '403': *708 + '404': *721 + '403': *722 requestBody: required: true content: @@ -98263,19 +98317,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *172 - - *702 + - *716 responses: '200': description: Response content: application/scim+json: - schema: *706 + schema: *720 examples: - default: *709 + default: *723 '304': *37 - '404': *707 - '403': *708 - '400': *686 + '404': *721 + '403': *722 + '400': *700 '429': description: Response content: @@ -98366,12 +98420,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *172 - - *702 + - *716 responses: '204': description: Response - '404': *707 - '403': *708 + '404': *721 + '403': *722 '304': *37 x-github: githubCloudOnly: true @@ -98504,7 +98558,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &710 + text_matches: &724 title: Search Result Text Matches type: array items: @@ -98667,7 +98721,7 @@ paths: enum: - author-date - committer-date - - &711 + - &725 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 @@ -98795,7 +98849,7 @@ paths: type: number node_id: type: string - text_matches: *710 + text_matches: *724 required: - sha - node_id @@ -98978,7 +99032,7 @@ paths: - interactions - created - updated - - *711 + - *725 - *17 - *19 - name: advanced_search @@ -99120,7 +99174,7 @@ paths: type: string format: date-time nullable: true - text_matches: *710 + text_matches: *724 pull_request: type: object properties: @@ -99348,7 +99402,7 @@ paths: enum: - created - updated - - *711 + - *725 - *17 - *19 responses: @@ -99392,7 +99446,7 @@ paths: nullable: true score: type: number - text_matches: *710 + text_matches: *724 required: - id - node_id @@ -99478,7 +99532,7 @@ paths: - forks - help-wanted-issues - updated - - *711 + - *725 - *17 - *19 responses: @@ -99717,7 +99771,7 @@ paths: - admin - pull - push - text_matches: *710 + text_matches: *724 temp_clone_token: type: string allow_merge_commit: @@ -100018,7 +100072,7 @@ paths: type: string format: uri nullable: true - text_matches: *710 + text_matches: *724 related: type: array nullable: true @@ -100211,7 +100265,7 @@ paths: - followers - repositories - joined - - *711 + - *725 - *17 - *19 responses: @@ -100315,7 +100369,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *710 + text_matches: *724 blog: type: string nullable: true @@ -100394,7 +100448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &712 + - &726 name: team_id description: The unique identifier of the team. in: path @@ -100435,7 +100489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *712 + - *726 requestBody: required: true content: @@ -100535,7 +100589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *712 + - *726 responses: '204': description: Response @@ -100566,7 +100620,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *712 + - *726 - *88 - *17 - *19 @@ -100579,7 +100633,7 @@ paths: type: array items: *362 examples: - default: *713 + default: *727 headers: Link: *40 x-github: @@ -100608,7 +100662,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *712 + - *726 requestBody: required: true content: @@ -100671,7 +100725,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *712 + - *726 - *364 responses: '200': @@ -100705,7 +100759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *712 + - *726 - *364 requestBody: required: false @@ -100731,7 +100785,7 @@ paths: application/json: schema: *362 examples: - default: *714 + default: *728 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100756,7 +100810,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *712 + - *726 - *364 responses: '204': @@ -100786,7 +100840,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *712 + - *726 - *364 - *88 - *17 @@ -100800,7 +100854,7 @@ paths: type: array items: *365 examples: - default: *715 + default: *729 headers: Link: *40 x-github: @@ -100829,7 +100883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *712 + - *726 - *364 requestBody: required: true @@ -100881,7 +100935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *712 + - *726 - *364 - *367 responses: @@ -100916,7 +100970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *712 + - *726 - *364 - *367 requestBody: @@ -100942,7 +100996,7 @@ paths: application/json: schema: *365 examples: - default: *716 + default: *730 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100967,7 +101021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *712 + - *726 - *364 - *367 responses: @@ -100998,7 +101052,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: - - *712 + - *726 - *364 - *367 - name: content @@ -101057,7 +101111,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: - - *712 + - *726 - *364 - *367 requestBody: @@ -101119,7 +101173,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: - - *712 + - *726 - *364 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -101177,7 +101231,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: - - *712 + - *726 - *364 requestBody: required: true @@ -101236,7 +101290,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *712 + - *726 - *17 - *19 responses: @@ -101274,7 +101328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *712 + - *726 - name: role description: Filters members returned by their role in the team. in: query @@ -101325,7 +101379,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *712 + - *726 - *220 responses: '204': @@ -101362,7 +101416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *712 + - *726 - *220 responses: '204': @@ -101402,7 +101456,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *712 + - *726 - *220 responses: '204': @@ -101439,7 +101493,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: - - *712 + - *726 - *220 responses: '200': @@ -101448,7 +101502,7 @@ paths: application/json: schema: *376 examples: - response-if-user-is-a-team-maintainer: *717 + response-if-user-is-a-team-maintainer: *731 '404': *6 x-github: githubCloudOnly: false @@ -101481,7 +101535,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: - - *712 + - *726 - *220 requestBody: required: false @@ -101509,7 +101563,7 @@ paths: application/json: schema: *376 examples: - response-if-users-membership-with-team-is-now-pending: *718 + response-if-users-membership-with-team-is-now-pending: *732 '403': description: Forbidden if team synchronization is set up '422': @@ -101543,7 +101597,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: - - *712 + - *726 - *220 responses: '204': @@ -101572,7 +101626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *712 + - *726 - *17 - *19 responses: @@ -101584,7 +101638,7 @@ paths: type: array items: *377 examples: - default: *719 + default: *733 headers: Link: *40 '404': *6 @@ -101610,7 +101664,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: - - *712 + - *726 - *378 responses: '200': @@ -101619,7 +101673,7 @@ paths: application/json: schema: *377 examples: - default: *720 + default: *734 '404': description: Not Found if project is not managed by this team x-github: @@ -101643,7 +101697,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: - - *712 + - *726 - *378 requestBody: required: false @@ -101711,7 +101765,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: - - *712 + - *726 - *378 responses: '204': @@ -101739,7 +101793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *712 + - *726 - *17 - *19 responses: @@ -101781,7 +101835,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: - - *712 + - *726 - *379 - *380 responses: @@ -101789,7 +101843,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *721 + schema: *735 examples: alternative-response-with-extra-repository-information: value: @@ -101940,7 +101994,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: - - *712 + - *726 - *379 - *380 requestBody: @@ -101992,7 +102046,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: - - *712 + - *726 - *379 - *380 responses: @@ -102023,7 +102077,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: - - *712 + - *726 responses: '200': description: Response @@ -102058,7 +102112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *712 + - *726 requestBody: required: true content: @@ -102146,7 +102200,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *712 + - *726 - *17 - *19 responses: @@ -102158,7 +102212,7 @@ paths: type: array items: *229 examples: - response-if-child-teams-exist: *722 + response-if-child-teams-exist: *736 headers: Link: *40 '404': *6 @@ -102191,7 +102245,7 @@ paths: application/json: schema: oneOf: - - &724 + - &738 title: Private User description: Private User type: object @@ -102394,7 +102448,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *723 + - *737 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -102547,7 +102601,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *738 examples: default: value: @@ -102945,7 +102999,7 @@ paths: type: integer secrets: type: array - items: &725 + items: &739 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -103061,7 +103115,7 @@ paths: description: Response content: application/json: - schema: *725 + schema: *739 examples: default: value: @@ -103207,7 +103261,7 @@ paths: type: array items: *198 examples: - default: *726 + default: *740 '401': *25 '403': *29 '404': *6 @@ -103474,7 +103528,7 @@ paths: description: Response content: application/json: - schema: &727 + schema: &741 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -103515,7 +103569,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &728 + default: &742 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -103560,9 +103614,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *741 examples: - default: *728 + default: *742 '404': *6 x-github: githubCloudOnly: false @@ -103599,9 +103653,9 @@ paths: type: integer machines: type: array - items: *729 + items: *743 examples: - default: *730 + default: *744 '304': *37 '500': *85 '401': *25 @@ -104540,7 +104594,7 @@ paths: type: array items: *307 examples: - default: &743 + default: &757 value: - id: 197 name: hello_docker @@ -104641,7 +104695,7 @@ paths: application/json: schema: type: array - items: &731 + items: &745 title: Email description: Email type: object @@ -104706,9 +104760,9 @@ paths: application/json: schema: type: array - items: *731 + items: *745 examples: - default: &745 + default: &759 value: - email: octocat@github.com verified: true @@ -104783,7 +104837,7 @@ paths: application/json: schema: type: array - items: *731 + items: *745 examples: default: value: @@ -105039,7 +105093,7 @@ paths: application/json: schema: type: array - items: &732 + items: &746 title: GPG Key description: A unique encryption key type: object @@ -105170,7 +105224,7 @@ paths: - subkeys - revoked examples: - default: &756 + default: &770 value: - id: 3 name: Octocat's GPG Key @@ -105255,9 +105309,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *746 examples: - default: &733 + default: &747 value: id: 3 name: Octocat's GPG Key @@ -105314,7 +105368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &734 + - &748 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -105326,9 +105380,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *746 examples: - default: *733 + default: *747 '404': *6 '304': *37 '403': *29 @@ -105351,7 +105405,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *734 + - *748 responses: '204': description: Response @@ -105542,7 +105596,7 @@ paths: type: array items: *64 examples: - default: *735 + default: *749 headers: Link: *40 '404': *6 @@ -105806,7 +105860,7 @@ paths: application/json: schema: type: array - items: &736 + items: &750 title: Key description: Key type: object @@ -105903,9 +105957,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *750 examples: - default: &737 + default: &751 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105944,9 +105998,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *750 examples: - default: *737 + default: *751 '404': *6 '304': *37 '403': *29 @@ -106002,7 +106056,7 @@ paths: application/json: schema: type: array - items: &738 + items: &752 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -106070,7 +106124,7 @@ paths: - account - plan examples: - default: &739 + default: &753 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106132,9 +106186,9 @@ paths: application/json: schema: type: array - items: *738 + items: *752 examples: - default: *739 + default: *753 headers: Link: *40 '304': *37 @@ -107129,7 +107183,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *301 - - *740 + - *754 responses: '204': description: Response @@ -107202,7 +107256,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *755 headers: Link: *40 '304': *37 @@ -107244,7 +107298,7 @@ paths: - docker - nuget - container - - *742 + - *756 - *19 - *17 responses: @@ -107256,8 +107310,8 @@ paths: type: array items: *307 examples: - default: *743 - '400': *744 + default: *757 + '400': *758 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107286,7 +107340,7 @@ paths: application/json: schema: *307 examples: - default: &757 + default: &771 value: id: 40201 name: octo-name @@ -107739,9 +107793,9 @@ paths: application/json: schema: type: array - items: *731 + items: *745 examples: - default: *745 + default: *759 headers: Link: *40 '304': *37 @@ -107854,7 +107908,7 @@ paths: type: array items: *64 examples: - default: &752 + default: &766 summary: Default response value: - id: 1296269 @@ -108200,7 +108254,7 @@ paths: type: array items: *568 examples: - default: *746 + default: *760 headers: Link: *40 '304': *37 @@ -108279,7 +108333,7 @@ paths: application/json: schema: type: array - items: &747 + items: &761 title: Social account description: Social media account type: object @@ -108294,7 +108348,7 @@ paths: - provider - url examples: - default: &748 + default: &762 value: - provider: twitter url: https://twitter.com/github @@ -108356,9 +108410,9 @@ paths: application/json: schema: type: array - items: *747 + items: *761 examples: - default: *748 + default: *762 '422': *15 '304': *37 '404': *6 @@ -108445,7 +108499,7 @@ paths: application/json: schema: type: array - items: &749 + items: &763 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -108465,7 +108519,7 @@ paths: - title - created_at examples: - default: &758 + default: &772 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108531,9 +108585,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *763 examples: - default: &750 + default: &764 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108564,7 +108618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &751 + - &765 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -108576,9 +108630,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *763 examples: - default: *750 + default: *764 '404': *6 '304': *37 '403': *29 @@ -108601,7 +108655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *751 + - *765 responses: '204': description: Response @@ -108630,7 +108684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &759 + - &773 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -108655,11 +108709,11 @@ paths: type: array items: *64 examples: - default-response: *752 + default-response: *766 application/vnd.github.v3.star+json: schema: type: array - items: &760 + items: &774 title: Starred Repository description: Starred Repository type: object @@ -109028,10 +109082,10 @@ paths: application/json: schema: oneOf: - - *724 - - *723 + - *738 + - *737 examples: - default-response: &754 + default-response: &768 summary: Default response value: login: octocat @@ -109066,7 +109120,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &755 + response-with-git-hub-plan-information: &769 summary: Response with GitHub plan information value: login: octocat @@ -109126,7 +109180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *753 + - *767 - *17 responses: '200': @@ -109175,11 +109229,11 @@ paths: application/json: schema: oneOf: - - *724 - - *723 + - *738 + - *737 examples: - default-response: *754 - response-with-git-hub-plan-information: *755 + default-response: *768 + response-with-git-hub-plan-information: *769 '404': *6 x-github: githubCloudOnly: false @@ -109296,7 +109350,7 @@ paths: type: array items: *307 examples: - default: *743 + default: *757 '403': *29 '401': *25 x-github: @@ -109700,9 +109754,9 @@ paths: application/json: schema: type: array - items: *732 + items: *746 examples: - default: *756 + default: *770 headers: Link: *40 x-github: @@ -109884,7 +109938,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *755 headers: Link: *40 x-github: @@ -109923,7 +109977,7 @@ paths: - docker - nuget - container - - *742 + - *756 - *220 - *19 - *17 @@ -109936,10 +109990,10 @@ paths: type: array items: *307 examples: - default: *743 + default: *757 '403': *29 '401': *25 - '400': *744 + '400': *758 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109969,7 +110023,7 @@ paths: application/json: schema: *307 examples: - default: *757 + default: *771 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110753,9 +110807,9 @@ paths: application/json: schema: type: array - items: *747 + items: *761 examples: - default: *748 + default: *762 headers: Link: *40 x-github: @@ -110785,9 +110839,9 @@ paths: application/json: schema: type: array - items: *749 + items: *763 examples: - default: *758 + default: *772 headers: Link: *40 x-github: @@ -110812,7 +110866,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *220 - - *759 + - *773 - *88 - *17 - *19 @@ -110824,11 +110878,11 @@ paths: schema: anyOf: - type: array - items: *760 + items: *774 - type: array items: *64 examples: - default-response: *752 + default-response: *766 headers: Link: *40 x-github: @@ -110987,7 +111041,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &761 + enterprise: &775 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -111045,7 +111099,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &762 + installation: &776 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -111064,7 +111118,7 @@ x-webhooks: required: - id - node_id - organization: &763 + organization: &777 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -111124,13 +111178,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &764 + repository: &778 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &801 + properties: &815 id: description: Unique identifier of the repository example: 42 @@ -111813,7 +111867,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &802 + required: &816 - archive_url - assignees_url - blobs_url @@ -111964,10 +112018,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -112043,11 +112097,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: &765 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + rule: &779 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -112270,11 +112324,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + rule: *779 sender: *4 required: - action @@ -112457,11 +112511,11 @@ x-webhooks: - everyone required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + rule: *779 sender: *4 required: - action @@ -112532,7 +112586,7 @@ x-webhooks: required: true content: application/json: - schema: &768 + schema: &782 title: Exemption request cancellation event type: object properties: @@ -112540,11 +112594,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: &766 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + exemption_request: &780 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -112777,7 +112831,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &767 + items: &781 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -112885,7 +112939,7 @@ x-webhooks: required: true content: application/json: - schema: &769 + schema: &783 title: Exemption request completed event type: object properties: @@ -112893,11 +112947,11 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + exemption_request: *780 sender: *4 required: - action @@ -112967,7 +113021,7 @@ x-webhooks: required: true content: application/json: - schema: &770 + schema: &784 title: Exemption request created event type: object properties: @@ -112975,11 +113029,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + exemption_request: *780 sender: *4 required: - action @@ -113049,7 +113103,7 @@ x-webhooks: required: true content: application/json: - schema: &771 + schema: &785 title: Exemption response dismissed event type: object properties: @@ -113057,12 +113111,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + exemption_request: *780 + exemption_response: *781 sender: *4 required: - action @@ -113134,7 +113188,7 @@ x-webhooks: required: true content: application/json: - schema: &772 + schema: &786 title: Exemption response submitted event type: object properties: @@ -113142,12 +113196,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + exemption_request: *780 + exemption_response: *781 sender: *4 required: - action @@ -113220,7 +113274,7 @@ x-webhooks: required: true content: application/json: - schema: *768 + schema: *782 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113287,7 +113341,7 @@ x-webhooks: required: true content: application/json: - schema: *769 + schema: *783 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113354,7 +113408,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *784 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113421,7 +113475,7 @@ x-webhooks: required: true content: application/json: - schema: *771 + schema: *785 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113489,7 +113543,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -113567,7 +113621,7 @@ x-webhooks: type: string enum: - completed - check_run: &774 + check_run: &788 title: CheckRun description: A check performed on the code of a given code change type: object @@ -113668,7 +113722,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *773 + deployment: *787 details_url: example: https://example.com type: string @@ -113753,9 +113807,9 @@ x-webhooks: - output - app - pull_requests - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - check_run @@ -114148,10 +114202,10 @@ x-webhooks: type: string enum: - created - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *788 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - check_run @@ -114547,10 +114601,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *788 + installation: *776 + organization: *777 + repository: *778 requested_action: description: The action requested by the user. type: object @@ -114955,10 +115009,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *788 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - check_run @@ -115935,10 +115989,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -116608,10 +116662,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -117275,10 +117329,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -117586,20 +117640,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &775 + commit_oid: &789 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *761 - installation: *762 - organization: *763 - ref: &776 + enterprise: *775 + installation: *776 + organization: *777 + ref: &790 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *764 + repository: *778 sender: *4 required: - action @@ -117991,12 +118045,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *789 + enterprise: *775 + installation: *776 + organization: *777 + ref: *790 + repository: *778 sender: *4 required: - action @@ -118259,12 +118313,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *789 + enterprise: *775 + installation: *776 + organization: *777 + ref: *790 + repository: *778 sender: *4 required: - action @@ -118593,12 +118647,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *789 + enterprise: *775 + installation: *776 + organization: *777 + ref: *790 + repository: *778 sender: *4 required: - action @@ -118863,16 +118917,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *764 + repository: *778 sender: *4 required: - action @@ -119106,12 +119160,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *789 + enterprise: *775 + installation: *776 + organization: *777 + ref: *790 + repository: *778 sender: *4 required: - action @@ -119368,10 +119422,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -119451,18 +119505,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *763 - pusher_type: &777 + organization: *777 + pusher_type: &791 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &778 + ref: &792 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -119472,7 +119526,7 @@ x-webhooks: enum: - tag - branch - repository: *764 + repository: *778 sender: *4 required: - ref @@ -119555,9 +119609,9 @@ x-webhooks: enum: - created definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 sender: *4 required: - action @@ -119642,9 +119696,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 sender: *4 required: - action @@ -119722,9 +119776,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 sender: *4 required: - action @@ -119802,9 +119856,9 @@ x-webhooks: enum: - updated definition: *116 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 sender: *4 required: - action @@ -119881,10 +119935,10 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - repository: *764 - organization: *763 + enterprise: *775 + installation: *776 + repository: *778 + organization: *777 sender: *4 new_property_values: type: array @@ -119969,18 +120023,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - pusher_type: *777 - ref: *778 + enterprise: *775 + installation: *776 + organization: *777 + pusher_type: *791 + ref: *792 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *764 + repository: *778 sender: *4 required: - ref @@ -120065,10 +120119,10 @@ x-webhooks: enum: - auto_dismissed alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120153,10 +120207,10 @@ x-webhooks: enum: - auto_reopened alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120241,10 +120295,10 @@ x-webhooks: enum: - created alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120327,10 +120381,10 @@ x-webhooks: enum: - dismissed alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120413,10 +120467,10 @@ x-webhooks: enum: - fixed alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120500,10 +120554,10 @@ x-webhooks: enum: - reintroduced alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120586,10 +120640,10 @@ x-webhooks: enum: - reopened alert: *521 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + installation: *776 + organization: *777 + enterprise: *775 + repository: *778 sender: *4 required: - action @@ -120666,9 +120720,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - key: &779 + enterprise: *775 + installation: *776 + key: &793 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -120704,8 +120758,8 @@ x-webhooks: - verified - created_at - read_only - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -120782,11 +120836,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - key: *779 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + key: *793 + organization: *777 + repository: *778 sender: *4 required: - action @@ -121347,12 +121401,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - workflow: &783 + workflow: &797 title: Workflow type: object nullable: true @@ -122082,9 +122136,9 @@ x-webhooks: pull_requests: type: array items: *615 - repository: *764 - organization: *763 - installation: *762 + repository: *778 + organization: *777 + installation: *776 sender: *4 responses: '200': @@ -122155,7 +122209,7 @@ x-webhooks: type: string enum: - approved - approver: &780 + approver: &794 type: object properties: avatar_url: @@ -122198,11 +122252,11 @@ x-webhooks: type: string comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: &781 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + reviewers: &795 type: array items: type: object @@ -122281,7 +122335,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &782 + workflow_job_run: &796 type: object properties: conclusion: @@ -123012,18 +123066,18 @@ x-webhooks: type: string enum: - rejected - approver: *780 + approver: *794 comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: *781 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + reviewers: *795 sender: *4 since: type: string - workflow_job_run: *782 + workflow_job_run: *796 workflow_job_runs: type: array items: @@ -123727,13 +123781,13 @@ x-webhooks: type: string enum: - requested - enterprise: *761 + enterprise: *775 environment: type: string - installation: *762 - organization: *763 - repository: *764 - requestor: &788 + installation: *776 + organization: *777 + repository: *778 + requestor: &802 title: User type: object nullable: true @@ -125632,12 +125686,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - workflow: *783 + workflow: *797 workflow_run: title: Deployment Workflow Run type: object @@ -126317,7 +126371,7 @@ x-webhooks: type: string enum: - answered - answer: &786 + answer: &800 type: object properties: author_association: @@ -126474,7 +126528,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &784 + discussion: &798 title: Discussion description: A Discussion in a repository. type: object @@ -126782,10 +126836,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -126912,11 +126966,11 @@ x-webhooks: - from required: - category - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -126999,11 +127053,11 @@ x-webhooks: type: string enum: - closed - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127085,7 +127139,7 @@ x-webhooks: type: string enum: - created - comment: &785 + comment: &799 type: object properties: author_association: @@ -127242,11 +127296,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127329,12 +127383,12 @@ x-webhooks: type: string enum: - deleted - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *799 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127429,12 +127483,12 @@ x-webhooks: - from required: - body - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *799 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127518,11 +127572,11 @@ x-webhooks: type: string enum: - created - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127604,11 +127658,11 @@ x-webhooks: type: string enum: - deleted - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127708,11 +127762,11 @@ x-webhooks: type: string required: - from - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127794,10 +127848,10 @@ x-webhooks: type: string enum: - labeled - discussion: *784 - enterprise: *761 - installation: *762 - label: &787 + discussion: *798 + enterprise: *775 + installation: *776 + label: &801 title: Label type: object properties: @@ -127829,8 +127883,8 @@ x-webhooks: - color - default - description - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127913,11 +127967,11 @@ x-webhooks: type: string enum: - locked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127999,11 +128053,11 @@ x-webhooks: type: string enum: - pinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128085,11 +128139,11 @@ x-webhooks: type: string enum: - reopened - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128174,16 +128228,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *784 - new_repository: *764 + new_discussion: *798 + new_repository: *778 required: - new_discussion - new_repository - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128266,10 +128320,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *784 - old_answer: *786 - organization: *763 - repository: *764 + discussion: *798 + old_answer: *800 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128351,12 +128405,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *784 - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128439,11 +128493,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128525,11 +128579,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *798 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -128601,7 +128655,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *784 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128667,7 +128721,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128733,7 +128787,7 @@ x-webhooks: required: true content: application/json: - schema: *768 + schema: *782 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128799,7 +128853,7 @@ x-webhooks: required: true content: application/json: - schema: *769 + schema: *783 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128865,7 +128919,7 @@ x-webhooks: required: true content: application/json: - schema: *770 + schema: *784 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128931,7 +128985,7 @@ x-webhooks: required: true content: application/json: - schema: *771 + schema: *785 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128997,7 +129051,7 @@ x-webhooks: required: true content: application/json: - schema: *772 + schema: *786 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129064,7 +129118,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *761 + enterprise: *775 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -129724,9 +129778,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - forkee @@ -129872,9 +129926,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pages: description: The pages that were updated. type: array @@ -129911,7 +129965,7 @@ x-webhooks: - action - sha - html_url - repository: *764 + repository: *778 sender: *4 required: - pages @@ -129987,10 +130041,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories: &789 + organization: *777 + repositories: &803 description: An array of repository objects that the installation can access. type: array @@ -130016,8 +130070,8 @@ x-webhooks: - name - full_name - private - repository: *764 - requester: *788 + repository: *778 + requester: *802 sender: *4 required: - action @@ -130092,11 +130146,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *777 + repositories: *803 + repository: *778 requester: nullable: true sender: *4 @@ -130172,11 +130226,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *777 + repositories: *803 + repository: *778 requester: nullable: true sender: *4 @@ -130252,10 +130306,10 @@ x-webhooks: type: string enum: - added - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories_added: &790 + organization: *777 + repositories_added: &804 description: An array of repository objects, which were added to the installation. type: array @@ -130301,15 +130355,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *764 - repository_selection: &791 + repository: *778 + repository_selection: &805 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *788 + requester: *802 sender: *4 required: - action @@ -130388,10 +130442,10 @@ x-webhooks: type: string enum: - removed - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories_added: *790 + organization: *777 + repositories_added: *804 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -130418,9 +130472,9 @@ x-webhooks: - name - full_name - private - repository: *764 - repository_selection: *791 - requester: *788 + repository: *778 + repository_selection: *805 + requester: *802 sender: *4 required: - action @@ -130499,11 +130553,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *777 + repositories: *803 + repository: *778 requester: nullable: true sender: *4 @@ -130682,10 +130736,10 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 target_type: type: string @@ -130764,11 +130818,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *761 + enterprise: *775 installation: *22 - organization: *763 - repositories: *789 - repository: *764 + organization: *777 + repositories: *803 + repository: *778 requester: nullable: true sender: *4 @@ -131020,8 +131074,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -132177,8 +132231,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -132258,7 +132312,7 @@ x-webhooks: type: string enum: - deleted - comment: &792 + comment: &806 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -132423,8 +132477,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133578,8 +133632,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -133659,7 +133713,7 @@ x-webhooks: type: string enum: - edited - changes: &820 + changes: &834 description: The changes to the comment. type: object properties: @@ -133671,9 +133725,9 @@ x-webhooks: type: string required: - from - comment: *792 - enterprise: *761 - installation: *762 + comment: *806 + enterprise: *775 + installation: *776 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134828,8 +134882,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -134911,10 +134965,10 @@ x-webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - issue: &795 + assignee: *802 + enterprise: *775 + installation: *776 + issue: &809 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -135833,8 +135887,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -135914,8 +135968,8 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136974,8 +137028,8 @@ x-webhooks: required: - state - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -137054,8 +137108,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137969,8 +138023,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -138049,8 +138103,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138965,7 +139019,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &807 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139103,8 +139157,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -139203,8 +139257,8 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140123,9 +140177,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -140205,8 +140259,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141124,9 +141178,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -141206,8 +141260,8 @@ x-webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142126,8 +142180,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -142206,8 +142260,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143120,9 +143174,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *763 - repository: *764 + milestone: *807 + organization: *777 + repository: *778 sender: *4 required: - action @@ -144565,8 +144619,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145484,8 +145538,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -145565,9 +145619,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *761 - installation: *762 - issue: &794 + enterprise: *775 + installation: *776 + issue: &808 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146479,8 +146533,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -146559,8 +146613,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147478,8 +147532,8 @@ x-webhooks: user_view_type: type: string type: *289 - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -148942,11 +148996,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + issue: *808 + organization: *777 + repository: *778 sender: *4 required: - action @@ -149026,12 +149080,12 @@ x-webhooks: type: string enum: - typed - enterprise: *761 - installation: *762 - issue: *795 + enterprise: *775 + installation: *776 + issue: *809 type: *289 - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -149112,7 +149166,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &823 + assignee: &837 title: User type: object nullable: true @@ -149182,11 +149236,11 @@ x-webhooks: required: - login - id - enterprise: *761 - installation: *762 - issue: *795 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + issue: *809 + organization: *777 + repository: *778 sender: *4 required: - action @@ -149265,12 +149319,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - issue: *795 - label: *787 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + issue: *809 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -149350,8 +149404,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150268,8 +150322,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150349,11 +150403,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + issue: *808 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150432,12 +150486,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *761 - installation: *762 - issue: *795 + enterprise: *775 + installation: *776 + issue: *809 type: *289 - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150517,11 +150571,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150599,11 +150653,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150713,11 +150767,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + label: *801 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150799,9 +150853,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: &796 + enterprise: *775 + installation: *776 + marketplace_purchase: &810 title: Marketplace Purchase type: object required: @@ -150884,8 +150938,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: &797 + organization: *777 + previous_marketplace_purchase: &811 title: Marketplace Purchase type: object properties: @@ -150965,7 +151019,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151045,10 +151099,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *775 + installation: *776 + marketplace_purchase: *810 + organization: *777 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151131,7 +151185,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151213,10 +151267,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *775 + installation: *776 + marketplace_purchase: *810 + organization: *777 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -151298,7 +151352,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151379,8 +151433,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 marketplace_purchase: title: Marketplace Purchase type: object @@ -151462,9 +151516,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + organization: *777 + previous_marketplace_purchase: *811 + repository: *778 sender: *4 required: - action @@ -151544,12 +151598,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + enterprise: *775 + installation: *776 + marketplace_purchase: *810 + organization: *777 + previous_marketplace_purchase: *811 + repository: *778 sender: *4 required: - action @@ -151651,11 +151705,11 @@ x-webhooks: type: string required: - to - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + member: *802 + organization: *777 + repository: *778 sender: *4 required: - action @@ -151755,11 +151809,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + member: *802 + organization: *777 + repository: *778 sender: *4 required: - action @@ -151838,11 +151892,11 @@ x-webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + member: *802 + organization: *777 + repository: *778 sender: *4 required: - action @@ -151920,11 +151974,11 @@ x-webhooks: type: string enum: - added - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + member: *802 + organization: *777 + repository: *778 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152000,7 +152054,7 @@ x-webhooks: required: - login - id - team: &798 + team: &812 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -152190,11 +152244,11 @@ x-webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + member: *802 + organization: *777 + repository: *778 scope: description: The scope of the membership. Currently, can only be `team`. @@ -152271,7 +152325,7 @@ x-webhooks: required: - login - id - team: *798 + team: *812 required: - action - scope @@ -152353,8 +152407,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *762 - merge_group: &800 + installation: *776 + merge_group: &814 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -152373,15 +152427,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *799 + head_commit: *813 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -152467,10 +152521,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *762 - merge_group: *800 - organization: *763 - repository: *764 + installation: *776 + merge_group: *814 + organization: *777 + repository: *778 sender: *4 required: - action @@ -152543,7 +152597,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *775 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -152651,16 +152705,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *762 - organization: *763 + installation: *776 + organization: *777 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *801 - required: *802 + properties: *815 + required: *816 nullable: true sender: *4 required: @@ -152741,11 +152795,11 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + milestone: *807 + organization: *777 + repository: *778 sender: *4 required: - action @@ -152824,9 +152878,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - milestone: &803 + enterprise: *775 + installation: *776 + milestone: &817 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152963,8 +153017,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153043,11 +153097,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + milestone: *807 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153157,11 +153211,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + milestone: *807 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153241,11 +153295,11 @@ x-webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - milestone: *803 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + milestone: *817 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153324,11 +153378,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *802 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153407,11 +153461,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *802 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153490,9 +153544,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - membership: &804 + enterprise: *775 + installation: *776 + membership: &818 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -153584,8 +153638,8 @@ x-webhooks: - role - organization_url - user - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153663,11 +153717,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + membership: *818 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153746,8 +153800,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -153863,10 +153917,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 - user: *788 + user: *802 required: - action - invitation @@ -153944,11 +153998,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + membership: *818 + organization: *777 + repository: *778 sender: *4 required: - action @@ -154035,11 +154089,11 @@ x-webhooks: properties: from: type: string - enterprise: *761 - installation: *762 - membership: *804 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + membership: *818 + organization: *777 + repository: *778 sender: *4 required: - action @@ -154115,9 +154169,9 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 package: description: Information about the package. type: object @@ -154616,7 +154670,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &805 + items: &819 title: Ruby Gems metadata type: object properties: @@ -154711,7 +154765,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -154787,9 +154841,9 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 package: description: Information about the package. type: object @@ -155142,7 +155196,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *819 source_url: type: string format: uri @@ -155212,7 +155266,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -155389,12 +155443,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *761 + enterprise: *775 id: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - id @@ -155471,7 +155525,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &806 + personal_access_token_request: &820 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -155617,10 +155671,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *761 - organization: *763 + enterprise: *775 + organization: *777 sender: *4 - installation: *762 + installation: *776 required: - action - personal_access_token_request @@ -155697,11 +155751,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *806 - enterprise: *761 - organization: *763 + personal_access_token_request: *820 + enterprise: *775 + organization: *777 sender: *4 - installation: *762 + installation: *776 required: - action - personal_access_token_request @@ -155777,11 +155831,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *806 - enterprise: *761 - organization: *763 + personal_access_token_request: *820 + enterprise: *775 + organization: *777 sender: *4 - installation: *762 + installation: *776 required: - action - personal_access_token_request @@ -155856,11 +155910,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *806 - organization: *763 - enterprise: *761 + personal_access_token_request: *820 + organization: *777 + enterprise: *775 sender: *4 - installation: *762 + installation: *776 required: - action - personal_access_token_request @@ -155965,7 +156019,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *807 + last_response: *821 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -155997,8 +156051,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 zen: description: Random string of GitHub zen. @@ -156243,10 +156297,10 @@ x-webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: &808 + enterprise: *775 + installation: *776 + organization: *777 + project_card: &822 title: Project Card type: object properties: @@ -156365,7 +156419,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -156446,11 +156500,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_card: *808 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project_card: *822 + repository: *778 sender: *4 required: - action @@ -156530,9 +156584,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 project_card: title: Project Card type: object @@ -156660,8 +156714,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *801 - required: *802 + properties: *815 + required: *816 nullable: true sender: *4 required: @@ -156755,11 +156809,11 @@ x-webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: *808 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project_card: *822 + repository: *778 sender: *4 required: - action @@ -156853,9 +156907,9 @@ x-webhooks: - from required: - column_id - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 project_card: allOf: - title: Project Card @@ -157045,7 +157099,7 @@ x-webhooks: type: string required: - after_id - repository: *764 + repository: *778 sender: *4 required: - action @@ -157125,10 +157179,10 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - organization: *763 - project: &810 + enterprise: *775 + installation: *776 + organization: *777 + project: &824 title: Project type: object properties: @@ -157252,7 +157306,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -157332,10 +157386,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_column: &809 + enterprise: *775 + installation: *776 + organization: *777 + project_column: &823 title: Project Column type: object properties: @@ -157374,7 +157428,7 @@ x-webhooks: - name - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -157453,18 +157507,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 + enterprise: *775 + installation: *776 + organization: *777 + project_column: *823 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *801 - required: *802 + properties: *815 + required: *816 nullable: true sender: *4 required: @@ -157554,11 +157608,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project_column: *823 + repository: *778 sender: *4 required: - action @@ -157638,11 +157692,11 @@ x-webhooks: type: string enum: - moved - enterprise: *761 - installation: *762 - organization: *763 - project_column: *809 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project_column: *823 + repository: *778 sender: *4 required: - action @@ -157722,11 +157776,11 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project: *824 + repository: *778 sender: *4 required: - action @@ -157806,18 +157860,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project: *810 + enterprise: *775 + installation: *776 + organization: *777 + project: *824 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *801 - required: *802 + properties: *815 + required: *816 nullable: true sender: *4 required: @@ -157919,11 +157973,11 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project: *824 + repository: *778 sender: *4 required: - action @@ -158002,11 +158056,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - organization: *763 - project: *810 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + project: *824 + repository: *778 sender: *4 required: - action @@ -158087,9 +158141,9 @@ x-webhooks: type: string enum: - closed - installation: *762 - organization: *763 - projects_v2: &811 + installation: *776 + organization: *777 + projects_v2: &825 title: Projects v2 Project description: A projects v2 project type: object @@ -158232,9 +158286,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2: *811 + installation: *776 + organization: *777 + projects_v2: *825 sender: *4 required: - action @@ -158315,9 +158369,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2: *811 + installation: *776 + organization: *777 + projects_v2: *825 sender: *4 required: - action @@ -158434,9 +158488,9 @@ x-webhooks: type: string to: type: string - installation: *762 - organization: *763 - projects_v2: *811 + installation: *776 + organization: *777 + projects_v2: *825 sender: *4 required: - action @@ -158519,7 +158573,7 @@ x-webhooks: type: string enum: - archived - changes: &815 + changes: &829 type: object properties: archived_at: @@ -158533,9 +158587,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *762 - organization: *763 - projects_v2_item: &812 + installation: *776 + organization: *777 + projects_v2_item: &826 title: Projects v2 Item description: An item belonging to a project type: object @@ -158669,9 +158723,9 @@ x-webhooks: nullable: true to: type: string - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -158753,9 +158807,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -158836,9 +158890,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -158944,7 +158998,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &813 + - &827 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -158962,7 +159016,7 @@ x-webhooks: required: - id - name - - &814 + - &828 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -158985,8 +159039,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *813 - - *814 + - *827 + - *828 required: - field_value - type: object @@ -159002,9 +159056,9 @@ x-webhooks: nullable: true required: - body - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -159099,9 +159153,9 @@ x-webhooks: to: type: string nullable: true - installation: *762 - organization: *763 - projects_v2_item: *812 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -159184,10 +159238,10 @@ x-webhooks: type: string enum: - restored - changes: *815 - installation: *762 - organization: *763 - projects_v2_item: *812 + changes: *829 + installation: *776 + organization: *777 + projects_v2_item: *826 sender: *4 required: - action @@ -159269,9 +159323,9 @@ x-webhooks: type: string enum: - reopened - installation: *762 - organization: *763 - projects_v2: *811 + installation: *776 + organization: *777 + projects_v2: *825 sender: *4 required: - action @@ -159352,9 +159406,9 @@ x-webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_status_update: &816 + installation: *776 + organization: *777 + projects_v2_status_update: &830 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -159481,9 +159535,9 @@ x-webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_status_update: *816 + installation: *776 + organization: *777 + projects_v2_status_update: *830 sender: *4 required: - action @@ -159619,9 +159673,9 @@ x-webhooks: type: string format: date nullable: true - installation: *762 - organization: *763 - projects_v2_status_update: *816 + installation: *776 + organization: *777 + projects_v2_status_update: *830 sender: *4 required: - action @@ -159692,10 +159746,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - repository @@ -159772,13 +159826,13 @@ x-webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - number: &817 + assignee: *802 + enterprise: *775 + installation: *776 + number: &831 description: The pull request number. type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -162061,7 +162115,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -162143,11 +162197,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -164425,7 +164479,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *778 sender: *4 required: - action @@ -164507,11 +164561,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -166789,7 +166843,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *778 sender: *4 required: - action @@ -166871,11 +166925,11 @@ x-webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: &818 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: &832 allOf: - *615 - type: object @@ -166939,7 +166993,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *764 + repository: *778 sender: *4 required: - action @@ -167020,12 +167074,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: *832 + repository: *778 sender: *4 required: - action @@ -167105,11 +167159,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *761 + enterprise: *775 milestone: *598 - number: *817 - organization: *763 - pull_request: &819 + number: *831 + organization: *777 + pull_request: &833 title: Pull Request type: object properties: @@ -169372,7 +169426,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -169451,11 +169505,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -171737,7 +171791,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *764 + repository: *778 sender: *4 required: - action @@ -171861,12 +171915,12 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: *832 + repository: *778 sender: *4 required: - action @@ -171946,11 +172000,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -174217,7 +174271,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -174297,11 +174351,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 - label: *787 - number: *817 - organization: *763 + enterprise: *775 + installation: *776 + label: *801 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -176583,7 +176637,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -176664,10 +176718,10 @@ x-webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -178947,7 +179001,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -179027,12 +179081,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *761 + enterprise: *775 milestone: *598 - number: *817 - organization: *763 - pull_request: *819 - repository: *764 + number: *831 + organization: *777 + pull_request: *833 + repository: *778 sender: *4 required: - action @@ -179111,12 +179165,12 @@ x-webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: *832 + repository: *778 sender: *4 required: - action @@ -179197,12 +179251,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: *832 + repository: *778 sender: *4 required: - action @@ -179282,12 +179336,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - number: *817 - organization: *763 - pull_request: *818 - repository: *764 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 + pull_request: *832 + repository: *778 sender: *4 required: - action @@ -179653,9 +179707,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: type: object properties: @@ -181825,7 +181879,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -181905,7 +181959,7 @@ x-webhooks: type: string enum: - deleted - comment: &821 + comment: &835 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -182190,9 +182244,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: type: object properties: @@ -184350,7 +184404,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -184430,11 +184484,11 @@ x-webhooks: type: string enum: - edited - changes: *820 - comment: *821 - enterprise: *761 - installation: *762 - organization: *763 + changes: *834 + comment: *835 + enterprise: *775 + installation: *776 + organization: *777 pull_request: type: object properties: @@ -186595,7 +186649,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -186676,9 +186730,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: title: Simple Pull Request type: object @@ -188851,7 +188905,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *778 review: description: The review that was affected. type: object @@ -189094,9 +189148,9 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: title: Simple Pull Request type: object @@ -191150,8 +191204,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: &822 + repository: *778 + review: &836 description: The review that was affected. type: object properties: @@ -191380,12 +191434,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: description: The pull request number. type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -193668,7 +193722,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_reviewer: title: User type: object @@ -193752,12 +193806,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: description: The pull request number. type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -196047,7 +196101,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_team: title: Team description: Groups of organization members that gives permissions @@ -196239,12 +196293,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: description: The pull request number. type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -198529,7 +198583,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_reviewer: title: User type: object @@ -198614,12 +198668,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *775 + installation: *776 number: description: The pull request number. type: integer - organization: *763 + organization: *777 pull_request: title: Pull Request type: object @@ -200895,7 +200949,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201076,9 +201130,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: title: Simple Pull Request type: object @@ -203253,8 +203307,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: *822 + repository: *778 + review: *836 sender: *4 required: - action @@ -203334,9 +203388,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: title: Simple Pull Request type: object @@ -205406,7 +205460,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *778 sender: *4 thread: type: object @@ -205789,9 +205843,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 pull_request: title: Simple Pull Request type: object @@ -207847,7 +207901,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *778 sender: *4 thread: type: object @@ -208233,10 +208287,10 @@ x-webhooks: type: string before: type: string - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -210507,7 +210561,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -210589,11 +210643,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *823 - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + assignee: *837 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -212876,7 +212930,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -212955,11 +213009,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - label: *787 - number: *817 - organization: *763 + enterprise: *775 + installation: *776 + label: *801 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -215232,7 +215286,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -215313,10 +215367,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 - number: *817 - organization: *763 + enterprise: *775 + installation: *776 + number: *831 + organization: *777 pull_request: title: Pull Request type: object @@ -217581,7 +217635,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -217781,7 +217835,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *761 + enterprise: *775 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -217873,8 +217927,8 @@ x-webhooks: - url - author - committer - installation: *762 - organization: *763 + installation: *776 + organization: *777 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -218449,9 +218503,9 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 registry_package: type: object properties: @@ -218897,7 +218951,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *805 + items: *819 summary: type: string tag_name: @@ -218951,7 +219005,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -219029,9 +219083,9 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 registry_package: type: object properties: @@ -219339,7 +219393,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *819 summary: type: string tag_name: @@ -219388,7 +219442,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -219465,10 +219519,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - release: &824 + enterprise: *775 + installation: *776 + organization: *777 + release: &838 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219777,7 +219831,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *764 + repository: *778 sender: *4 required: - action @@ -219854,11 +219908,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + release: *838 + repository: *778 sender: *4 required: - action @@ -219975,11 +220029,11 @@ x-webhooks: type: boolean required: - to - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + release: *838 + repository: *778 sender: *4 required: - action @@ -220057,9 +220111,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -220372,7 +220426,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *778 sender: *4 required: - action @@ -220448,10 +220502,10 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - release: &825 + enterprise: *775 + installation: *776 + organization: *777 + release: &839 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -220761,7 +220815,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *778 sender: *4 required: - action @@ -220837,11 +220891,11 @@ x-webhooks: type: string enum: - released - enterprise: *761 - installation: *762 - organization: *763 - release: *824 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + release: *838 + repository: *778 sender: *4 required: - action @@ -220917,11 +220971,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *761 - installation: *762 - organization: *763 - release: *825 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + release: *839 + repository: *778 sender: *4 required: - action @@ -220997,11 +221051,11 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *672 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + repository_advisory: *686 sender: *4 required: - action @@ -221077,11 +221131,11 @@ x-webhooks: type: string enum: - reported - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *672 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + repository_advisory: *686 sender: *4 required: - action @@ -221157,10 +221211,10 @@ x-webhooks: type: string enum: - archived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221237,10 +221291,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221318,10 +221372,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221405,10 +221459,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221520,10 +221574,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221595,10 +221649,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 status: type: string @@ -221679,10 +221733,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221759,10 +221813,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221856,10 +221910,10 @@ x-webhooks: - name required: - repository - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -221939,10 +221993,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 repository_ruleset: *130 sender: *4 required: @@ -222021,10 +222075,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 repository_ruleset: *130 sender: *4 required: @@ -222103,10 +222157,10 @@ x-webhooks: type: string enum: - edited - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 repository_ruleset: *130 changes: type: object @@ -222411,10 +222465,10 @@ x-webhooks: - from required: - owner - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -222492,10 +222546,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -222573,7 +222627,7 @@ x-webhooks: type: string enum: - create - alert: &826 + alert: &840 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -222694,10 +222748,10 @@ x-webhooks: type: string enum: - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -222903,10 +222957,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -222984,11 +223038,11 @@ x-webhooks: type: string enum: - reopen - alert: *826 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *840 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223187,10 +223241,10 @@ x-webhooks: enum: - fixed - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223268,7 +223322,7 @@ x-webhooks: type: string enum: - created - alert: &827 + alert: &841 type: object properties: number: *100 @@ -223379,10 +223433,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223463,11 +223517,11 @@ x-webhooks: type: string enum: - created - alert: *827 - installation: *762 - location: *828 - organization: *763 - repository: *764 + alert: *841 + installation: *776 + location: *842 + organization: *777 + repository: *778 sender: *4 required: - location @@ -223705,11 +223759,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *841 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223787,11 +223841,11 @@ x-webhooks: type: string enum: - reopened - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *841 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223869,11 +223923,11 @@ x-webhooks: type: string enum: - resolved - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *841 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -223951,11 +224005,11 @@ x-webhooks: type: string enum: - validated - alert: *827 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *841 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -224081,10 +224135,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *764 - enterprise: *761 - installation: *762 - organization: *763 + repository: *778 + enterprise: *775 + installation: *776 + organization: *777 sender: *4 required: - action @@ -224162,11 +224216,11 @@ x-webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: &829 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + security_advisory: &843 description: The details of the security advisory, including summary, description, and severity. type: object @@ -224349,11 +224403,11 @@ x-webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: *829 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 + security_advisory: *843 sender: *4 required: - action @@ -224426,10 +224480,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -224614,9 +224668,9 @@ x-webhooks: type: object properties: security_and_analysis: *328 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: *392 sender: *4 required: @@ -224695,12 +224749,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: &830 + sponsorship: &844 type: object properties: created_at: @@ -225001,12 +225055,12 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: *830 + sponsorship: *844 required: - action - sponsorship @@ -225094,12 +225148,12 @@ x-webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: *830 + sponsorship: *844 required: - action - changes @@ -225176,17 +225230,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &831 + effective_date: &845 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: *830 + sponsorship: *844 required: - action - sponsorship @@ -225260,7 +225314,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &832 + changes: &846 type: object properties: tier: @@ -225304,13 +225358,13 @@ x-webhooks: - from required: - tier - effective_date: *831 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + effective_date: *845 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: *830 + sponsorship: *844 required: - action - changes @@ -225387,13 +225441,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *832 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + changes: *846 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - sponsorship: *830 + sponsorship: *844 required: - action - changes @@ -225467,10 +225521,10 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225553,10 +225607,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225976,15 +226030,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *761 + enterprise: *775 id: description: The unique identifier of the status. type: integer - installation: *762 + installation: *776 name: type: string - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 sha: description: The Commit SHA. @@ -226099,9 +226153,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -226191,9 +226245,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -226283,9 +226337,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -226375,9 +226429,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *155 - installation: *762 - organization: *763 - repository: *764 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -226454,12 +226508,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - team: &833 + team: &847 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -226649,9 +226703,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: title: Repository description: A git repository @@ -227109,7 +227163,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -227185,9 +227239,9 @@ x-webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: title: Repository description: A git repository @@ -227645,7 +227699,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -227722,9 +227776,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: title: Repository description: A git repository @@ -228182,7 +228236,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -228326,9 +228380,9 @@ x-webhooks: - from required: - permissions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: title: Repository description: A git repository @@ -228786,7 +228840,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - changes @@ -228864,9 +228918,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *775 + installation: *776 + organization: *777 repository: title: Repository description: A git repository @@ -229324,7 +229378,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -229400,10 +229454,10 @@ x-webhooks: type: string enum: - started - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 required: - action @@ -229476,16 +229530,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *761 + enterprise: *775 inputs: type: object nullable: true additionalProperties: true - installation: *762 - organization: *763 + installation: *776 + organization: *777 ref: type: string - repository: *764 + repository: *778 sender: *4 workflow: type: string @@ -229567,10 +229621,10 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 workflow_job: allOf: @@ -229886,10 +229940,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 workflow_job: allOf: @@ -230228,10 +230282,10 @@ x-webhooks: type: string enum: - queued - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 workflow_job: type: object @@ -230445,10 +230499,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 workflow_job: type: object @@ -230664,12 +230718,12 @@ x-webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - workflow: *783 + workflow: *797 workflow_run: title: Workflow Run type: object @@ -231668,12 +231722,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - workflow: *783 + workflow: *797 workflow_run: title: Workflow Run type: object @@ -232657,12 +232711,12 @@ x-webhooks: type: string enum: - requested - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *775 + installation: *776 + organization: *777 + repository: *778 sender: *4 - workflow: *783 + workflow: *797 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 7429af9cf7..715202b21f 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -12134,7 +12134,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -113450,6 +113450,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -113461,6 +113464,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -113492,7 +113499,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -116051,6 +116057,330 @@ "used_in_tests" ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -116165,6 +116495,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -139566,6 +139903,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -139574,285 +139918,6 @@ "type": "string", "nullable": true }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index bfc6f64a56..f04be1cc33 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -8615,7 +8615,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -82504,6 +82504,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -82512,6 +82514,9 @@ components: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -82536,7 +82541,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -84528,6 +84532,264 @@ components: - wont_fix - revoked - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true organization-secret-scanning-alert: type: object properties: @@ -84621,6 +84883,12 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. actions-billing-usage: type: object properties: @@ -102731,249 +102999,17 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: string nullable: true - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 7429af9cf7..715202b21f 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -12134,7 +12134,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -113450,6 +113450,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -113461,6 +113464,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -113492,7 +113499,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -116051,6 +116057,330 @@ "used_in_tests" ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -116165,6 +116495,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -139566,6 +139903,13 @@ "type": "boolean", "description": "A boolean value representing whether or not alert is base64 encoded", "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -139574,285 +139918,6 @@ "type": "string", "nullable": true }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index bfc6f64a56..f04be1cc33 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -8615,7 +8615,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -82504,6 +82504,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -82512,6 +82514,9 @@ components: sync_to_organizations: type: string example: disabled | all + organization_selection_type: + type: string + example: disabled | all group_id: nullable: true type: string @@ -82536,7 +82541,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -84528,6 +84532,264 @@ components: - wont_fix - revoked - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true organization-secret-scanning-alert: type: object properties: @@ -84621,6 +84883,12 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. actions-billing-usage: type: object properties: @@ -102731,249 +102999,17 @@ components: description: A boolean value representing whether or not alert is base64 encoded nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: string nullable: true - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: