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..136b0124c8 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,9 @@ "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" } } }, @@ -104955,6 +105282,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -104966,6 +105296,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -104997,7 +105331,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -125218,6 +125551,9 @@ "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" } } }, @@ -125226,285 +125562,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..31bf6e0f4e 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,8 @@ 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" actor: title: Actor description: Actor @@ -76710,6 +76970,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -76718,6 +76980,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 +77007,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -92332,249 +92596,13 @@ 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" 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..136b0124c8 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,9 @@ "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" } } }, @@ -104955,6 +105282,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -104966,6 +105296,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -104997,7 +105331,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -125218,6 +125551,9 @@ "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" } } }, @@ -125226,285 +125562,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..31bf6e0f4e 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,8 @@ 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" actor: title: Actor description: Actor @@ -76710,6 +76970,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -76718,6 +76980,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 +77007,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -92332,249 +92596,13 @@ 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" 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..a09b71c7d0 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,291 @@ "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 } } } @@ -50779,7 +51064,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -79292,6 +79577,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -79303,6 +79591,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -79334,7 +79626,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -103357,6 +103648,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -103368,6 +103662,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -103399,7 +103697,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -137592,6 +137889,291 @@ "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 } } } @@ -420417,6 +420999,291 @@ "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 } } } @@ -421133,6 +422000,291 @@ "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 } } }, @@ -421802,6 +422954,291 @@ "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 } } }, 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..f6708daea4 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,275 @@ 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 examples: default: &257 value: @@ -10829,7 +11098,7 @@ paths: url: type: string format: uri - user: &609 + user: &623 title: Public User description: Public User type: object @@ -15317,7 +15586,7 @@ paths: - avatar_url - description examples: - default: &627 + default: &641 value: - login: github id: 1 @@ -15489,7 +15758,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -15582,7 +15851,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 +15860,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 +15869,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 +15878,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 +17672,7 @@ paths: type: array items: *60 examples: - default: &621 + default: &635 value: total_count: 1 repositories: @@ -18271,7 +18540,7 @@ paths: type: array items: *120 examples: - default: &612 + default: &626 value: total_count: 1 repositories: @@ -24508,6 +24777,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -24516,6 +24787,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 +24814,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -29735,7 +30008,7 @@ paths: parameters: - *94 - *207 - - &626 + - &640 name: repo_name description: repo_name parameter in: path @@ -30763,7 +31036,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 +31077,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 +36722,7 @@ paths: application/json: schema: type: array - items: &584 + items: &598 description: A repository security advisory. type: object properties: @@ -36740,7 +37013,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 +37487,7 @@ paths: description: Response content: application/json: - schema: &644 + schema: &658 type: object properties: total_minutes_used: @@ -37284,7 +37557,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &645 + default: &659 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37320,7 +37593,7 @@ paths: description: Response content: application/json: - schema: &646 + schema: &660 type: object properties: total_gigabytes_bandwidth_used: @@ -37338,7 +37611,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 +37643,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &662 type: object properties: days_left_in_billing_cycle: @@ -37388,7 +37661,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 +38872,7 @@ paths: - updated_at - url examples: - default: &599 + default: &613 value: - author: login: octocat @@ -38847,7 +39120,7 @@ paths: application/json: schema: *268 examples: - default: &600 + default: &614 value: author: login: octocat @@ -39030,7 +39303,7 @@ paths: - updated_at - url examples: - default: &601 + default: &615 value: - author: login: octocat @@ -39256,7 +39529,7 @@ paths: application/json: schema: *271 examples: - default: &602 + default: &616 value: author: login: octocat @@ -39872,7 +40145,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 +40210,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 +40351,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 +40430,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 +40640,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 +41297,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 +53126,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 +54038,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 +58258,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 +61565,7 @@ paths: application/json: schema: type: array - items: &589 + items: &603 title: Status description: The status of a commit. type: object @@ -62848,7 +63121,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 +68874,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 +69834,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 +70268,7 @@ paths: type: array items: *477 examples: - default: &632 + default: &646 value: - id: 1 repository: @@ -83675,7 +83948,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 type: object properties: number: *54 @@ -83785,6 +84058,14 @@ 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 examples: default: value: @@ -83922,7 +84203,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -84003,7 +84284,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -84091,7 +84372,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &717 + items: &731 type: object properties: type: @@ -84117,254 +84398,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 +84505,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 +84529,7 @@ paths: schema: type: object properties: - reason: *582 + reason: *596 expire_at: type: string format: date-time @@ -84542,7 +84588,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 +84614,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 +84737,9 @@ paths: application/json: schema: type: array - items: *584 + items: *598 examples: - default: *585 + default: *599 '400': *14 '404': *6 x-github: @@ -84877,9 +84923,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 +85263,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *598 examples: default: value: @@ -85366,15 +85412,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 +85446,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 requestBody: required: true content: @@ -85559,10 +85605,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 +85648,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 responses: '202': *39 '400': *14 @@ -85631,7 +85677,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 responses: '202': description: Response @@ -85775,7 +85821,7 @@ paths: application/json: schema: type: array - items: &588 + items: &602 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -86148,7 +86194,7 @@ paths: application/json: schema: type: array - items: *588 + items: *602 examples: default: value: @@ -86236,7 +86282,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *603 examples: default: value: @@ -86330,7 +86376,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 +86471,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *604 examples: default: value: @@ -86562,7 +86608,7 @@ paths: application/json: schema: type: array - items: &591 + items: &605 title: Tag protection description: Tag protection type: object @@ -86638,7 +86684,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *605 examples: default: value: @@ -86786,7 +86832,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 +86844,7 @@ paths: required: - names examples: - default: &593 + default: &607 value: names: - octocat @@ -86853,9 +86899,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *606 examples: - default: *593 + default: *607 '404': *6 '422': *7 x-github: @@ -86878,7 +86924,7 @@ paths: parameters: - *281 - *282 - - &594 + - &608 name: per description: The time frame to display results for. in: query @@ -86907,7 +86953,7 @@ paths: example: 128 clones: type: array - items: &595 + items: &609 title: Traffic type: object properties: @@ -87148,7 +87194,7 @@ paths: parameters: - *281 - *282 - - *594 + - *608 responses: '200': description: Response @@ -87167,7 +87213,7 @@ paths: example: 3782 views: type: array - items: *595 + items: *609 required: - uniques - count @@ -87936,7 +87982,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &596 + text_matches: &610 title: Search Result Text Matches type: array items: @@ -88098,7 +88144,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 +88272,7 @@ paths: type: number node_id: type: string - text_matches: *596 + text_matches: *610 required: - sha - node_id @@ -88408,7 +88454,7 @@ paths: - interactions - created - updated - - *597 + - *611 - *17 - *19 - name: advanced_search @@ -88550,7 +88596,7 @@ paths: type: string format: date-time nullable: true - text_matches: *596 + text_matches: *610 pull_request: type: object properties: @@ -88778,7 +88824,7 @@ paths: enum: - created - updated - - *597 + - *611 - *17 - *19 responses: @@ -88822,7 +88868,7 @@ paths: nullable: true score: type: number - text_matches: *596 + text_matches: *610 required: - id - node_id @@ -88907,7 +88953,7 @@ paths: - forks - help-wanted-issues - updated - - *597 + - *611 - *17 - *19 responses: @@ -89146,7 +89192,7 @@ paths: - admin - pull - push - text_matches: *596 + text_matches: *610 temp_clone_token: type: string allow_merge_commit: @@ -89446,7 +89492,7 @@ paths: type: string format: uri nullable: true - text_matches: *596 + text_matches: *610 related: type: array nullable: true @@ -89637,7 +89683,7 @@ paths: - followers - repositories - joined - - *597 + - *611 - *17 - *19 responses: @@ -89741,7 +89787,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *596 + text_matches: *610 blog: type: string nullable: true @@ -89820,7 +89866,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 +89907,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 +90007,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 +90038,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 +90051,7 @@ paths: type: array items: *268 examples: - default: *599 + default: *613 headers: Link: *58 x-github: @@ -90034,7 +90080,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 +90143,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 +90177,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 +90203,7 @@ paths: application/json: schema: *268 examples: - default: *600 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90182,7 +90228,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 +90258,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 +90272,7 @@ paths: type: array items: *271 examples: - default: *601 + default: *615 headers: Link: *58 x-github: @@ -90255,7 +90301,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 +90353,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 +90388,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 +90414,7 @@ paths: application/json: schema: *271 examples: - default: *602 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90393,7 +90439,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 +90470,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 +90529,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 +90591,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 +90649,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 +90708,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 +90746,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 +90797,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 +90834,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 +90874,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 +90911,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 +90920,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 +90953,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 +90981,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 +91015,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 +91044,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 +91056,7 @@ paths: type: array items: *279 examples: - default: *605 + default: *619 headers: Link: *58 '404': *6 @@ -91036,7 +91082,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 +91091,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 +91115,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 +91183,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 +91211,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 +91253,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 +91261,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 +91412,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 +91464,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 +91491,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 +91503,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 +91536,7 @@ paths: application/json: schema: oneOf: - - &610 + - &624 title: Private User description: Private User type: object @@ -91693,7 +91739,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 +91892,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *624 examples: default: value: @@ -92244,7 +92290,7 @@ paths: type: integer secrets: type: array - items: &611 + items: &625 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -92360,7 +92406,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *625 examples: default: value: @@ -92506,7 +92552,7 @@ paths: type: array items: *120 examples: - default: *612 + default: *626 '401': *25 '403': *29 '404': *6 @@ -92773,7 +92819,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 +92860,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 +92905,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *627 examples: - default: *614 + default: *628 '404': *6 x-github: githubCloudOnly: false @@ -92898,9 +92944,9 @@ paths: type: integer machines: type: array - items: *615 + items: *629 examples: - default: *616 + default: *630 '304': *37 '500': *95 '401': *25 @@ -93839,7 +93885,7 @@ paths: type: array items: *214 examples: - default: &629 + default: &643 value: - id: 197 name: hello_docker @@ -93940,7 +93986,7 @@ paths: application/json: schema: type: array - items: &617 + items: &631 title: Email description: Email type: object @@ -94005,9 +94051,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 +94128,7 @@ paths: application/json: schema: type: array - items: *617 + items: *631 examples: default: value: @@ -94338,7 +94384,7 @@ paths: application/json: schema: type: array - items: &618 + items: &632 title: GPG Key description: A unique encryption key type: object @@ -94469,7 +94515,7 @@ paths: - subkeys - revoked examples: - default: &642 + default: &656 value: - id: 3 name: Octocat's GPG Key @@ -94554,9 +94600,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 +94659,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 +94671,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *632 examples: - default: *619 + default: *633 '404': *6 '304': *37 '403': *29 @@ -94650,7 +94696,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 +94887,7 @@ paths: type: array items: *60 examples: - default: *621 + default: *635 headers: Link: *58 '404': *6 @@ -95105,7 +95151,7 @@ paths: application/json: schema: type: array - items: &622 + items: &636 title: Key description: Key type: object @@ -95202,9 +95248,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *636 examples: - default: &623 + default: &637 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95243,9 +95289,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *636 examples: - default: *623 + default: *637 '404': *6 '304': *37 '403': *29 @@ -95301,7 +95347,7 @@ paths: application/json: schema: type: array - items: &624 + items: &638 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -95369,7 +95415,7 @@ paths: - account - plan examples: - default: &625 + default: &639 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -95431,9 +95477,9 @@ paths: application/json: schema: type: array - items: *624 + items: *638 examples: - default: *625 + default: *639 headers: Link: *58 '304': *37 @@ -96428,7 +96474,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *207 - - *626 + - *640 responses: '204': description: Response @@ -96501,7 +96547,7 @@ paths: type: array items: *203 examples: - default: *627 + default: *641 headers: Link: *58 '304': *37 @@ -96543,7 +96589,7 @@ paths: - docker - nuget - container - - *628 + - *642 - *19 - *17 responses: @@ -96555,8 +96601,8 @@ paths: type: array items: *214 examples: - default: *629 - '400': *630 + default: *643 + '400': *644 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96585,7 +96631,7 @@ paths: application/json: schema: *214 examples: - default: &643 + default: &657 value: id: 40201 name: octo-name @@ -97038,9 +97084,9 @@ paths: application/json: schema: type: array - items: *617 + items: *631 examples: - default: *631 + default: *645 headers: Link: *58 '304': *37 @@ -97153,7 +97199,7 @@ paths: type: array items: *60 examples: - default: &638 + default: &652 summary: Default response value: - id: 1296269 @@ -97499,7 +97545,7 @@ paths: type: array items: *477 examples: - default: *632 + default: *646 headers: Link: *58 '304': *37 @@ -97578,7 +97624,7 @@ paths: application/json: schema: type: array - items: &633 + items: &647 title: Social account description: Social media account type: object @@ -97593,7 +97639,7 @@ paths: - provider - url examples: - default: &634 + default: &648 value: - provider: twitter url: https://twitter.com/github @@ -97655,9 +97701,9 @@ paths: application/json: schema: type: array - items: *633 + items: *647 examples: - default: *634 + default: *648 '422': *15 '304': *37 '404': *6 @@ -97744,7 +97790,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 +97810,7 @@ paths: - title - created_at examples: - default: &654 + default: &668 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97830,9 +97876,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *649 examples: - default: &636 + default: &650 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97863,7 +97909,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 +97921,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *649 examples: - default: *636 + default: *650 '404': *6 '304': *37 '403': *29 @@ -97900,7 +97946,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 +97975,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 +98000,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 +98373,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 +98411,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 +98471,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *639 + - *653 - *17 responses: '200': @@ -98474,11 +98520,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 +98641,7 @@ paths: type: array items: *214 examples: - default: *629 + default: *643 '403': *29 '401': *25 x-github: @@ -98999,9 +99045,9 @@ paths: application/json: schema: type: array - items: *618 + items: *632 examples: - default: *642 + default: *656 headers: Link: *58 x-github: @@ -99183,7 +99229,7 @@ paths: type: array items: *203 examples: - default: *627 + default: *641 headers: Link: *58 x-github: @@ -99222,7 +99268,7 @@ paths: - docker - nuget - container - - *628 + - *642 - *133 - *19 - *17 @@ -99235,10 +99281,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 +99314,7 @@ paths: application/json: schema: *214 examples: - default: *643 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99867,9 +99913,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *658 examples: - default: *645 + default: *659 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99897,9 +99943,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *660 examples: - default: *647 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99927,9 +99973,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *662 examples: - default: *649 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99950,10 +99996,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 +100098,9 @@ paths: application/json: schema: type: array - items: *633 + items: *647 examples: - default: *634 + default: *648 headers: Link: *58 x-github: @@ -100084,9 +100130,9 @@ paths: application/json: schema: type: array - items: *635 + items: *649 examples: - default: *654 + default: *668 headers: Link: *58 x-github: @@ -100111,7 +100157,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 +100169,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 +100332,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 +100390,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 +100409,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 +100469,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 +101158,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 +101309,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 +101388,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 +101615,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 +101802,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 +101890,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 +101991,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *662 + deployment: *676 details_url: example: https://example.com type: string @@ -102030,9 +102076,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 +102471,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 +102870,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 +103278,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 +104258,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 +104931,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 +105598,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 +105909,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 +106314,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 +106582,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 +106916,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 +107186,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 +107429,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 +107691,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 +107774,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 +107795,7 @@ x-webhooks: enum: - tag - branch - repository: *660 + repository: *674 sender: *4 required: - ref @@ -107832,9 +107878,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 +107965,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 +108045,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 +108125,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 +108204,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 +108292,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 +108388,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 +108476,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 +108564,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 +108650,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 +108736,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 +108823,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 +108909,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 +108989,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 +109027,8 @@ x-webhooks: - verified - created_at - read_only - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -109059,11 +109105,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 +109670,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 +110405,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 +110478,7 @@ x-webhooks: type: string enum: - approved - approver: &669 + approver: &683 type: object properties: avatar_url: @@ -110475,11 +110521,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 +110604,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &671 + workflow_job_run: &685 type: object properties: conclusion: @@ -111289,18 +111335,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 +112050,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 +113955,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 +114640,7 @@ x-webhooks: type: string enum: - answered - answer: &675 + answer: &689 type: object properties: author_association: @@ -114751,7 +114797,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &673 + discussion: &687 title: Discussion description: A Discussion in a repository. type: object @@ -115059,10 +115105,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 +115235,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 +115322,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 +115408,7 @@ x-webhooks: type: string enum: - created - comment: &674 + comment: &688 type: object properties: author_association: @@ -115519,11 +115565,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 +115652,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 +115752,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 +115841,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 +115927,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 +116031,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 +116117,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 +116152,8 @@ x-webhooks: - color - default - description - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116190,11 +116236,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 +116322,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 +116408,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 +116497,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 +116589,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 +116674,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 +116762,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 +116848,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 +116925,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 +117585,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 +117733,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 +117772,7 @@ x-webhooks: - action - sha - html_url - repository: *660 + repository: *674 sender: *4 required: - pages @@ -117802,10 +117848,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 +117877,8 @@ x-webhooks: - name - full_name - private - repository: *660 - requester: *677 + repository: *674 + requester: *691 sender: *4 required: - action @@ -117907,11 +117953,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 +118033,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 +118113,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 +118162,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 +118249,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 +118279,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 +118360,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 +118542,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 +118624,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 +118880,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 +120037,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -120072,7 +120118,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 +120283,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 +121438,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -121473,7 +121519,7 @@ x-webhooks: type: string enum: - edited - changes: &709 + changes: &723 description: The changes to the comment. type: object properties: @@ -121485,9 +121531,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 +122688,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -122725,10 +122771,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 +123693,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -123728,8 +123774,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 +124834,8 @@ x-webhooks: required: - state - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -124868,8 +124914,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 +125829,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -125863,8 +125909,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 +126825,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 +126963,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -127017,8 +127063,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 +127983,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 +128065,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 +128984,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 +129066,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 +129986,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -130020,8 +130066,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 +130980,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 +132425,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 +133344,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -133379,9 +133425,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 +134339,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -134373,8 +134419,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 +135338,8 @@ x-webhooks: user_view_type: type: string type: *193 - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -136756,11 +136802,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 +136886,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 +136972,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &712 + assignee: &726 title: User type: object nullable: true @@ -136996,11 +137042,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 +137125,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 +137210,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 +138128,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138163,11 +138209,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 +138292,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 +138377,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 +138459,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 +138573,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 +138659,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 +138744,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 +138825,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -138859,10 +138905,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 +138991,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -139027,10 +139073,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 +139158,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -139193,8 +139239,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 +139322,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 +139404,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 +139511,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 +139615,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 +139698,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 +139780,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 +139860,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 +140050,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 +140131,7 @@ x-webhooks: required: - login - id - team: *687 + team: *701 required: - action - scope @@ -140167,8 +140213,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 +140233,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 +140327,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 +140403,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 +140511,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 +140601,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 +140684,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 +140823,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140857,11 +140903,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 +141017,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 +141101,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 +141184,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 +141267,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 +141350,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 +141444,8 @@ x-webhooks: - role - organization_url - user - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141477,11 +141523,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 +141606,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 +141723,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 +141804,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 +141895,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 +141975,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 +142476,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &694 + items: &708 title: Ruby Gems metadata type: object properties: @@ -142525,7 +142571,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -142601,9 +142647,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 +143002,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *708 source_url: type: string format: uri @@ -143026,7 +143072,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -143203,12 +143249,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 +143331,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 +143477,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 +143557,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 +143637,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 +143716,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 +143825,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 +143857,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 +144103,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 +144225,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -144260,11 +144306,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 +144390,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 +144520,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 +144615,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 +144713,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 +144905,7 @@ x-webhooks: type: string required: - after_id - repository: *660 + repository: *674 sender: *4 required: - action @@ -144939,10 +144985,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 +145112,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -145146,10 +145192,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 +145234,7 @@ x-webhooks: - name - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -145267,18 +145313,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 +145414,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 +145498,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 +145582,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 +145666,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 +145779,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 +145862,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 +145947,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 +146092,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 +146175,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 +146294,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 +146379,7 @@ x-webhooks: type: string enum: - archived - changes: &704 + changes: &718 type: object properties: archived_at: @@ -146347,9 +146393,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 +146529,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 +146613,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 +146696,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 +146804,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 +146822,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 +146845,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *702 - - *703 + - *716 + - *717 required: - field_value - type: object @@ -146816,9 +146862,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 +146959,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 +147044,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 +147129,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 +147212,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 +147341,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 +147479,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 +147552,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 +147632,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 +149921,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -149957,11 +150003,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 +152285,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *674 sender: *4 required: - action @@ -152321,11 +152367,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 +154649,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *674 sender: *4 required: - action @@ -154685,11 +154731,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 +154799,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *660 + repository: *674 sender: *4 required: - action @@ -154834,12 +154880,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 +154965,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 +157232,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -157265,11 +157311,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 +159597,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *660 + repository: *674 sender: *4 required: - action @@ -159675,12 +159721,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 +159806,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 +162077,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -162111,11 +162157,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 +164443,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -164478,10 +164524,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 +166807,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -166841,12 +166887,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 +166971,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 +167057,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 +167142,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 +167513,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 +169685,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -169719,7 +169765,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 +170050,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 +172210,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -172244,11 +172290,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 +174455,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -174490,9 +174536,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 +176711,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 +176954,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 +179010,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 +179240,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 +181528,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_reviewer: title: User type: object @@ -181566,12 +181612,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 +183907,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 +184099,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 +186389,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_reviewer: title: User type: object @@ -186428,12 +186474,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 +188755,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 +188936,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 +191113,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 - review: *711 + repository: *674 + review: *725 sender: *4 required: - action @@ -191148,9 +191194,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 +193266,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *674 sender: *4 thread: type: object @@ -193603,9 +193649,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 +195707,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *674 sender: *4 thread: type: object @@ -196047,10 +196093,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 +198367,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -198403,11 +198449,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 +200736,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -200769,11 +200815,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 +203092,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -203127,10 +203173,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 +205441,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -205595,7 +205641,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 +205733,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 +206309,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 +206757,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *694 + items: *708 summary: type: string tag_name: @@ -206765,7 +206811,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -206843,9 +206889,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 +207199,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *708 summary: type: string tag_name: @@ -207202,7 +207248,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -207279,10 +207325,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 +207637,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *660 + repository: *674 sender: *4 required: - action @@ -207668,11 +207714,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 +207835,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 +207917,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 +208232,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *674 sender: *4 required: - action @@ -208262,10 +208308,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 +208621,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *674 sender: *4 required: - action @@ -208651,11 +208697,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 +208777,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 +208857,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 +208937,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 +209017,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 +209097,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 +209178,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 +209265,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 +209380,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 +209455,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 +209539,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 +209619,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 +209716,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 +209799,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 +209881,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 +209963,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 +210271,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 +210352,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 +210433,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 +210554,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 +210763,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 +210844,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 +211047,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 +211128,7 @@ x-webhooks: type: string enum: - created - alert: &716 + alert: &730 type: object properties: number: *54 @@ -211193,10 +211239,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 +211323,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 +211565,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 +211647,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 +211729,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 +211811,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 +211941,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 +212022,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 +212209,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 +212286,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 +212474,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 +212555,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 +212861,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 +212954,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 +213036,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 +213120,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &721 + changes: &735 type: object properties: tier: @@ -213118,13 +213164,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 +213247,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 +213327,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 +213413,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 +213836,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 +213959,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 +214051,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 +214143,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 +214235,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 +214314,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 +214509,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 +214969,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -214999,9 +215045,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 +215505,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -215536,9 +215582,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 +216042,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -216140,9 +216186,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 +216646,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - changes @@ -216678,9 +216724,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 +217184,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -217214,10 +217260,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 +217336,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 +217427,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 +217746,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 +218088,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 +218305,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 +218524,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 +219528,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 +220517,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..a09b71c7d0 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,291 @@ "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 } } } @@ -50779,7 +51064,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -79292,6 +79577,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -79303,6 +79591,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -79334,7 +79626,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -103357,6 +103648,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -103368,6 +103662,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -103399,7 +103697,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -137592,6 +137889,291 @@ "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 } } } @@ -420417,6 +420999,291 @@ "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 } } } @@ -421133,6 +422000,291 @@ "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 } } }, @@ -421802,6 +422954,291 @@ "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 } } }, 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..f6708daea4 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,275 @@ 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 examples: default: &257 value: @@ -10829,7 +11098,7 @@ paths: url: type: string format: uri - user: &609 + user: &623 title: Public User description: Public User type: object @@ -15317,7 +15586,7 @@ paths: - avatar_url - description examples: - default: &627 + default: &641 value: - login: github id: 1 @@ -15489,7 +15758,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -15582,7 +15851,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 +15860,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 +15869,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 +15878,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 +17672,7 @@ paths: type: array items: *60 examples: - default: &621 + default: &635 value: total_count: 1 repositories: @@ -18271,7 +18540,7 @@ paths: type: array items: *120 examples: - default: &612 + default: &626 value: total_count: 1 repositories: @@ -24508,6 +24777,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -24516,6 +24787,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 +24814,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -29735,7 +30008,7 @@ paths: parameters: - *94 - *207 - - &626 + - &640 name: repo_name description: repo_name parameter in: path @@ -30763,7 +31036,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 +31077,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 +36722,7 @@ paths: application/json: schema: type: array - items: &584 + items: &598 description: A repository security advisory. type: object properties: @@ -36740,7 +37013,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 +37487,7 @@ paths: description: Response content: application/json: - schema: &644 + schema: &658 type: object properties: total_minutes_used: @@ -37284,7 +37557,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &645 + default: &659 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37320,7 +37593,7 @@ paths: description: Response content: application/json: - schema: &646 + schema: &660 type: object properties: total_gigabytes_bandwidth_used: @@ -37338,7 +37611,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 +37643,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &662 type: object properties: days_left_in_billing_cycle: @@ -37388,7 +37661,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 +38872,7 @@ paths: - updated_at - url examples: - default: &599 + default: &613 value: - author: login: octocat @@ -38847,7 +39120,7 @@ paths: application/json: schema: *268 examples: - default: &600 + default: &614 value: author: login: octocat @@ -39030,7 +39303,7 @@ paths: - updated_at - url examples: - default: &601 + default: &615 value: - author: login: octocat @@ -39256,7 +39529,7 @@ paths: application/json: schema: *271 examples: - default: &602 + default: &616 value: author: login: octocat @@ -39872,7 +40145,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 +40210,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 +40351,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 +40430,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 +40640,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 +41297,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 +53126,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 +54038,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 +58258,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 +61565,7 @@ paths: application/json: schema: type: array - items: &589 + items: &603 title: Status description: The status of a commit. type: object @@ -62848,7 +63121,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 +68874,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 +69834,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 +70268,7 @@ paths: type: array items: *477 examples: - default: &632 + default: &646 value: - id: 1 repository: @@ -83675,7 +83948,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 type: object properties: number: *54 @@ -83785,6 +84058,14 @@ 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 examples: default: value: @@ -83922,7 +84203,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -84003,7 +84284,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -84091,7 +84372,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &717 + items: &731 type: object properties: type: @@ -84117,254 +84398,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 +84505,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 +84529,7 @@ paths: schema: type: object properties: - reason: *582 + reason: *596 expire_at: type: string format: date-time @@ -84542,7 +84588,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 +84614,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 +84737,9 @@ paths: application/json: schema: type: array - items: *584 + items: *598 examples: - default: *585 + default: *599 '400': *14 '404': *6 x-github: @@ -84877,9 +84923,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 +85263,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *598 examples: default: value: @@ -85366,15 +85412,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 +85446,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 requestBody: required: true content: @@ -85559,10 +85605,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 +85648,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 responses: '202': *39 '400': *14 @@ -85631,7 +85677,7 @@ paths: parameters: - *281 - *282 - - *586 + - *600 responses: '202': description: Response @@ -85775,7 +85821,7 @@ paths: application/json: schema: type: array - items: &588 + items: &602 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -86148,7 +86194,7 @@ paths: application/json: schema: type: array - items: *588 + items: *602 examples: default: value: @@ -86236,7 +86282,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *603 examples: default: value: @@ -86330,7 +86376,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 +86471,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *604 examples: default: value: @@ -86562,7 +86608,7 @@ paths: application/json: schema: type: array - items: &591 + items: &605 title: Tag protection description: Tag protection type: object @@ -86638,7 +86684,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *605 examples: default: value: @@ -86786,7 +86832,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 +86844,7 @@ paths: required: - names examples: - default: &593 + default: &607 value: names: - octocat @@ -86853,9 +86899,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *606 examples: - default: *593 + default: *607 '404': *6 '422': *7 x-github: @@ -86878,7 +86924,7 @@ paths: parameters: - *281 - *282 - - &594 + - &608 name: per description: The time frame to display results for. in: query @@ -86907,7 +86953,7 @@ paths: example: 128 clones: type: array - items: &595 + items: &609 title: Traffic type: object properties: @@ -87148,7 +87194,7 @@ paths: parameters: - *281 - *282 - - *594 + - *608 responses: '200': description: Response @@ -87167,7 +87213,7 @@ paths: example: 3782 views: type: array - items: *595 + items: *609 required: - uniques - count @@ -87936,7 +87982,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &596 + text_matches: &610 title: Search Result Text Matches type: array items: @@ -88098,7 +88144,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 +88272,7 @@ paths: type: number node_id: type: string - text_matches: *596 + text_matches: *610 required: - sha - node_id @@ -88408,7 +88454,7 @@ paths: - interactions - created - updated - - *597 + - *611 - *17 - *19 - name: advanced_search @@ -88550,7 +88596,7 @@ paths: type: string format: date-time nullable: true - text_matches: *596 + text_matches: *610 pull_request: type: object properties: @@ -88778,7 +88824,7 @@ paths: enum: - created - updated - - *597 + - *611 - *17 - *19 responses: @@ -88822,7 +88868,7 @@ paths: nullable: true score: type: number - text_matches: *596 + text_matches: *610 required: - id - node_id @@ -88907,7 +88953,7 @@ paths: - forks - help-wanted-issues - updated - - *597 + - *611 - *17 - *19 responses: @@ -89146,7 +89192,7 @@ paths: - admin - pull - push - text_matches: *596 + text_matches: *610 temp_clone_token: type: string allow_merge_commit: @@ -89446,7 +89492,7 @@ paths: type: string format: uri nullable: true - text_matches: *596 + text_matches: *610 related: type: array nullable: true @@ -89637,7 +89683,7 @@ paths: - followers - repositories - joined - - *597 + - *611 - *17 - *19 responses: @@ -89741,7 +89787,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *596 + text_matches: *610 blog: type: string nullable: true @@ -89820,7 +89866,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 +89907,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 +90007,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 +90038,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 +90051,7 @@ paths: type: array items: *268 examples: - default: *599 + default: *613 headers: Link: *58 x-github: @@ -90034,7 +90080,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 +90143,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 +90177,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 +90203,7 @@ paths: application/json: schema: *268 examples: - default: *600 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90182,7 +90228,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 +90258,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 +90272,7 @@ paths: type: array items: *271 examples: - default: *601 + default: *615 headers: Link: *58 x-github: @@ -90255,7 +90301,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 +90353,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 +90388,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 +90414,7 @@ paths: application/json: schema: *271 examples: - default: *602 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90393,7 +90439,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 +90470,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 +90529,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 +90591,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 +90649,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 +90708,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 +90746,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 +90797,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 +90834,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 +90874,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 +90911,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 +90920,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 +90953,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 +90981,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 +91015,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 +91044,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 +91056,7 @@ paths: type: array items: *279 examples: - default: *605 + default: *619 headers: Link: *58 '404': *6 @@ -91036,7 +91082,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 +91091,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 +91115,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 +91183,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 +91211,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 +91253,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 +91261,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 +91412,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 +91464,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 +91491,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 +91503,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 +91536,7 @@ paths: application/json: schema: oneOf: - - &610 + - &624 title: Private User description: Private User type: object @@ -91693,7 +91739,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 +91892,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *624 examples: default: value: @@ -92244,7 +92290,7 @@ paths: type: integer secrets: type: array - items: &611 + items: &625 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -92360,7 +92406,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *625 examples: default: value: @@ -92506,7 +92552,7 @@ paths: type: array items: *120 examples: - default: *612 + default: *626 '401': *25 '403': *29 '404': *6 @@ -92773,7 +92819,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 +92860,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 +92905,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *627 examples: - default: *614 + default: *628 '404': *6 x-github: githubCloudOnly: false @@ -92898,9 +92944,9 @@ paths: type: integer machines: type: array - items: *615 + items: *629 examples: - default: *616 + default: *630 '304': *37 '500': *95 '401': *25 @@ -93839,7 +93885,7 @@ paths: type: array items: *214 examples: - default: &629 + default: &643 value: - id: 197 name: hello_docker @@ -93940,7 +93986,7 @@ paths: application/json: schema: type: array - items: &617 + items: &631 title: Email description: Email type: object @@ -94005,9 +94051,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 +94128,7 @@ paths: application/json: schema: type: array - items: *617 + items: *631 examples: default: value: @@ -94338,7 +94384,7 @@ paths: application/json: schema: type: array - items: &618 + items: &632 title: GPG Key description: A unique encryption key type: object @@ -94469,7 +94515,7 @@ paths: - subkeys - revoked examples: - default: &642 + default: &656 value: - id: 3 name: Octocat's GPG Key @@ -94554,9 +94600,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 +94659,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 +94671,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *632 examples: - default: *619 + default: *633 '404': *6 '304': *37 '403': *29 @@ -94650,7 +94696,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 +94887,7 @@ paths: type: array items: *60 examples: - default: *621 + default: *635 headers: Link: *58 '404': *6 @@ -95105,7 +95151,7 @@ paths: application/json: schema: type: array - items: &622 + items: &636 title: Key description: Key type: object @@ -95202,9 +95248,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *636 examples: - default: &623 + default: &637 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95243,9 +95289,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *636 examples: - default: *623 + default: *637 '404': *6 '304': *37 '403': *29 @@ -95301,7 +95347,7 @@ paths: application/json: schema: type: array - items: &624 + items: &638 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -95369,7 +95415,7 @@ paths: - account - plan examples: - default: &625 + default: &639 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -95431,9 +95477,9 @@ paths: application/json: schema: type: array - items: *624 + items: *638 examples: - default: *625 + default: *639 headers: Link: *58 '304': *37 @@ -96428,7 +96474,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *207 - - *626 + - *640 responses: '204': description: Response @@ -96501,7 +96547,7 @@ paths: type: array items: *203 examples: - default: *627 + default: *641 headers: Link: *58 '304': *37 @@ -96543,7 +96589,7 @@ paths: - docker - nuget - container - - *628 + - *642 - *19 - *17 responses: @@ -96555,8 +96601,8 @@ paths: type: array items: *214 examples: - default: *629 - '400': *630 + default: *643 + '400': *644 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96585,7 +96631,7 @@ paths: application/json: schema: *214 examples: - default: &643 + default: &657 value: id: 40201 name: octo-name @@ -97038,9 +97084,9 @@ paths: application/json: schema: type: array - items: *617 + items: *631 examples: - default: *631 + default: *645 headers: Link: *58 '304': *37 @@ -97153,7 +97199,7 @@ paths: type: array items: *60 examples: - default: &638 + default: &652 summary: Default response value: - id: 1296269 @@ -97499,7 +97545,7 @@ paths: type: array items: *477 examples: - default: *632 + default: *646 headers: Link: *58 '304': *37 @@ -97578,7 +97624,7 @@ paths: application/json: schema: type: array - items: &633 + items: &647 title: Social account description: Social media account type: object @@ -97593,7 +97639,7 @@ paths: - provider - url examples: - default: &634 + default: &648 value: - provider: twitter url: https://twitter.com/github @@ -97655,9 +97701,9 @@ paths: application/json: schema: type: array - items: *633 + items: *647 examples: - default: *634 + default: *648 '422': *15 '304': *37 '404': *6 @@ -97744,7 +97790,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 +97810,7 @@ paths: - title - created_at examples: - default: &654 + default: &668 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97830,9 +97876,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *649 examples: - default: &636 + default: &650 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97863,7 +97909,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 +97921,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *649 examples: - default: *636 + default: *650 '404': *6 '304': *37 '403': *29 @@ -97900,7 +97946,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 +97975,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 +98000,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 +98373,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 +98411,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 +98471,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *639 + - *653 - *17 responses: '200': @@ -98474,11 +98520,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 +98641,7 @@ paths: type: array items: *214 examples: - default: *629 + default: *643 '403': *29 '401': *25 x-github: @@ -98999,9 +99045,9 @@ paths: application/json: schema: type: array - items: *618 + items: *632 examples: - default: *642 + default: *656 headers: Link: *58 x-github: @@ -99183,7 +99229,7 @@ paths: type: array items: *203 examples: - default: *627 + default: *641 headers: Link: *58 x-github: @@ -99222,7 +99268,7 @@ paths: - docker - nuget - container - - *628 + - *642 - *133 - *19 - *17 @@ -99235,10 +99281,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 +99314,7 @@ paths: application/json: schema: *214 examples: - default: *643 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99867,9 +99913,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *658 examples: - default: *645 + default: *659 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99897,9 +99943,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *660 examples: - default: *647 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99927,9 +99973,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *662 examples: - default: *649 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99950,10 +99996,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 +100098,9 @@ paths: application/json: schema: type: array - items: *633 + items: *647 examples: - default: *634 + default: *648 headers: Link: *58 x-github: @@ -100084,9 +100130,9 @@ paths: application/json: schema: type: array - items: *635 + items: *649 examples: - default: *654 + default: *668 headers: Link: *58 x-github: @@ -100111,7 +100157,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 +100169,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 +100332,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 +100390,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 +100409,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 +100469,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 +101158,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 +101309,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 +101388,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 +101615,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 +101802,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 +101890,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 +101991,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *662 + deployment: *676 details_url: example: https://example.com type: string @@ -102030,9 +102076,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 +102471,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 +102870,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 +103278,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 +104258,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 +104931,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 +105598,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 +105909,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 +106314,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 +106582,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 +106916,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 +107186,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 +107429,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 +107691,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 +107774,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 +107795,7 @@ x-webhooks: enum: - tag - branch - repository: *660 + repository: *674 sender: *4 required: - ref @@ -107832,9 +107878,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 +107965,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 +108045,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 +108125,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 +108204,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 +108292,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 +108388,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 +108476,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 +108564,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 +108650,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 +108736,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 +108823,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 +108909,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 +108989,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 +109027,8 @@ x-webhooks: - verified - created_at - read_only - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -109059,11 +109105,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 +109670,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 +110405,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 +110478,7 @@ x-webhooks: type: string enum: - approved - approver: &669 + approver: &683 type: object properties: avatar_url: @@ -110475,11 +110521,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 +110604,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &671 + workflow_job_run: &685 type: object properties: conclusion: @@ -111289,18 +111335,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 +112050,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 +113955,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 +114640,7 @@ x-webhooks: type: string enum: - answered - answer: &675 + answer: &689 type: object properties: author_association: @@ -114751,7 +114797,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &673 + discussion: &687 title: Discussion description: A Discussion in a repository. type: object @@ -115059,10 +115105,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 +115235,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 +115322,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 +115408,7 @@ x-webhooks: type: string enum: - created - comment: &674 + comment: &688 type: object properties: author_association: @@ -115519,11 +115565,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 +115652,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 +115752,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 +115841,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 +115927,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 +116031,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 +116117,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 +116152,8 @@ x-webhooks: - color - default - description - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -116190,11 +116236,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 +116322,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 +116408,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 +116497,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 +116589,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 +116674,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 +116762,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 +116848,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 +116925,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 +117585,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 +117733,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 +117772,7 @@ x-webhooks: - action - sha - html_url - repository: *660 + repository: *674 sender: *4 required: - pages @@ -117802,10 +117848,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 +117877,8 @@ x-webhooks: - name - full_name - private - repository: *660 - requester: *677 + repository: *674 + requester: *691 sender: *4 required: - action @@ -117907,11 +117953,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 +118033,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 +118113,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 +118162,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 +118249,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 +118279,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 +118360,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 +118542,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 +118624,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 +118880,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 +120037,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -120072,7 +120118,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 +120283,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 +121438,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -121473,7 +121519,7 @@ x-webhooks: type: string enum: - edited - changes: &709 + changes: &723 description: The changes to the comment. type: object properties: @@ -121485,9 +121531,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 +122688,8 @@ x-webhooks: - state - locked - assignee - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -122725,10 +122771,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 +123693,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -123728,8 +123774,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 +124834,8 @@ x-webhooks: required: - state - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -124868,8 +124914,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 +125829,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -125863,8 +125909,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 +126825,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 +126963,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -127017,8 +127063,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 +127983,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 +128065,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 +128984,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 +129066,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 +129986,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -130020,8 +130066,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 +130980,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 +132425,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 +133344,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -133379,9 +133425,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 +134339,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -134373,8 +134419,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 +135338,8 @@ x-webhooks: user_view_type: type: string type: *193 - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -136756,11 +136802,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 +136886,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 +136972,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &712 + assignee: &726 title: User type: object nullable: true @@ -136996,11 +137042,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 +137125,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 +137210,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 +138128,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -138163,11 +138209,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 +138292,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 +138377,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 +138459,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 +138573,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 +138659,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 +138744,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 +138825,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -138859,10 +138905,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 +138991,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -139027,10 +139073,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 +139158,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *660 + repository: *674 sender: *4 required: - action @@ -139193,8 +139239,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 +139322,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 +139404,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 +139511,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 +139615,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 +139698,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 +139780,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 +139860,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 +140050,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 +140131,7 @@ x-webhooks: required: - login - id - team: *687 + team: *701 required: - action - scope @@ -140167,8 +140213,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 +140233,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 +140327,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 +140403,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 +140511,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 +140601,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 +140684,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 +140823,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -140857,11 +140903,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 +141017,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 +141101,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 +141184,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 +141267,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 +141350,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 +141444,8 @@ x-webhooks: - role - organization_url - user - organization: *659 - repository: *660 + organization: *673 + repository: *674 sender: *4 required: - action @@ -141477,11 +141523,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 +141606,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 +141723,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 +141804,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 +141895,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 +141975,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 +142476,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &694 + items: &708 title: Ruby Gems metadata type: object properties: @@ -142525,7 +142571,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -142601,9 +142647,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 +143002,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *708 source_url: type: string format: uri @@ -143026,7 +143072,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -143203,12 +143249,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 +143331,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 +143477,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 +143557,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 +143637,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 +143716,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 +143825,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 +143857,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 +144103,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 +144225,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -144260,11 +144306,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 +144390,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 +144520,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 +144615,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 +144713,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 +144905,7 @@ x-webhooks: type: string required: - after_id - repository: *660 + repository: *674 sender: *4 required: - action @@ -144939,10 +144985,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 +145112,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -145146,10 +145192,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 +145234,7 @@ x-webhooks: - name - created_at - updated_at - repository: *660 + repository: *674 sender: *4 required: - action @@ -145267,18 +145313,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 +145414,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 +145498,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 +145582,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 +145666,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 +145779,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 +145862,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 +145947,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 +146092,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 +146175,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 +146294,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 +146379,7 @@ x-webhooks: type: string enum: - archived - changes: &704 + changes: &718 type: object properties: archived_at: @@ -146347,9 +146393,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 +146529,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 +146613,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 +146696,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 +146804,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 +146822,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 +146845,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *702 - - *703 + - *716 + - *717 required: - field_value - type: object @@ -146816,9 +146862,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 +146959,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 +147044,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 +147129,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 +147212,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 +147341,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 +147479,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 +147552,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 +147632,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 +149921,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -149957,11 +150003,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 +152285,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *674 sender: *4 required: - action @@ -152321,11 +152367,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 +154649,7 @@ x-webhooks: - draft reason: type: string - repository: *660 + repository: *674 sender: *4 required: - action @@ -154685,11 +154731,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 +154799,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *660 + repository: *674 sender: *4 required: - action @@ -154834,12 +154880,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 +154965,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 +157232,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -157265,11 +157311,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 +159597,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *660 + repository: *674 sender: *4 required: - action @@ -159675,12 +159721,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 +159806,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 +162077,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -162111,11 +162157,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 +164443,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -164478,10 +164524,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 +166807,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -166841,12 +166887,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 +166971,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 +167057,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 +167142,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 +167513,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 +169685,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -169719,7 +169765,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 +170050,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 +172210,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -172244,11 +172290,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 +174455,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *660 + repository: *674 sender: *4 required: - action @@ -174490,9 +174536,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 +176711,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 +176954,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 +179010,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 +179240,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 +181528,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_reviewer: title: User type: object @@ -181566,12 +181612,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 +183907,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 +184099,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 +186389,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 requested_reviewer: title: User type: object @@ -186428,12 +186474,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 +188755,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 +188936,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 +191113,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 - review: *711 + repository: *674 + review: *725 sender: *4 required: - action @@ -191148,9 +191194,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 +193266,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *674 sender: *4 thread: type: object @@ -193603,9 +193649,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 +195707,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *660 + repository: *674 sender: *4 thread: type: object @@ -196047,10 +196093,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 +198367,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -198403,11 +198449,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 +200736,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -200769,11 +200815,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 +203092,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -203127,10 +203173,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 +205441,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *660 + repository: *674 sender: *4 required: - action @@ -205595,7 +205641,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 +205733,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 +206309,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 +206757,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *694 + items: *708 summary: type: string tag_name: @@ -206765,7 +206811,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -206843,9 +206889,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 +207199,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *694 + items: *708 summary: type: string tag_name: @@ -207202,7 +207248,7 @@ x-webhooks: - owner - package_version - registry - repository: *660 + repository: *674 sender: *4 required: - action @@ -207279,10 +207325,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 +207637,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *660 + repository: *674 sender: *4 required: - action @@ -207668,11 +207714,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 +207835,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 +207917,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 +208232,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *674 sender: *4 required: - action @@ -208262,10 +208308,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 +208621,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *660 + repository: *674 sender: *4 required: - action @@ -208651,11 +208697,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 +208777,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 +208857,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 +208937,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 +209017,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 +209097,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 +209178,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 +209265,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 +209380,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 +209455,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 +209539,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 +209619,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 +209716,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 +209799,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 +209881,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 +209963,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 +210271,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 +210352,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 +210433,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 +210554,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 +210763,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 +210844,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 +211047,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 +211128,7 @@ x-webhooks: type: string enum: - created - alert: &716 + alert: &730 type: object properties: number: *54 @@ -211193,10 +211239,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 +211323,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 +211565,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 +211647,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 +211729,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 +211811,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 +211941,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 +212022,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 +212209,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 +212286,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 +212474,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 +212555,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 +212861,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 +212954,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 +213036,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 +213120,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &721 + changes: &735 type: object properties: tier: @@ -213118,13 +213164,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 +213247,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 +213327,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 +213413,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 +213836,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 +213959,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 +214051,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 +214143,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 +214235,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 +214314,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 +214509,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 +214969,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -214999,9 +215045,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 +215505,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -215536,9 +215582,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 +216042,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -216140,9 +216186,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 +216646,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - changes @@ -216678,9 +216724,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 +217184,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *722 + team: *736 required: - action - team @@ -217214,10 +217260,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 +217336,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 +217427,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 +217746,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 +218088,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 +218305,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 +218524,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 +219528,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 +220517,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..5f140e1673 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,291 @@ "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 } } } @@ -77176,7 +77473,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -107228,6 +107525,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -107239,6 +107539,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -107270,7 +107574,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -135059,6 +135362,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -135070,6 +135376,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -135101,7 +135411,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -170551,6 +170860,291 @@ "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 } } } @@ -458042,6 +458636,291 @@ "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 } } } @@ -458758,6 +459637,291 @@ "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 } } }, @@ -459427,6 +460591,291 @@ "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 } } }, diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index f3dbc28b41..e7cae4fe0d 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,275 @@ 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 examples: default: &344 value: @@ -19835,7 +20108,7 @@ paths: url: type: string format: uri - user: &723 + user: &737 title: Public User description: Public User type: object @@ -24276,7 +24549,7 @@ paths: type: array items: *59 examples: - default: &741 + default: &755 value: - login: github id: 1 @@ -24561,7 +24834,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -26098,7 +26371,7 @@ paths: type: array items: *64 examples: - default: &735 + default: &749 value: total_count: 1 repositories: @@ -26917,7 +27190,7 @@ paths: type: array items: *198 examples: - default: &726 + default: &740 value: total_count: 1 repositories: @@ -38451,7 +38724,7 @@ paths: parameters: - *172 - *301 - - &740 + - &754 name: repo_name description: repo_name parameter in: path @@ -39766,7 +40039,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 +40080,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 +44594,7 @@ paths: application/json: schema: type: array - items: &672 + items: &686 description: A repository security advisory. type: object properties: @@ -44612,7 +44885,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 +46648,7 @@ paths: - updated_at - url examples: - default: &713 + default: &727 value: - author: login: octocat @@ -46623,7 +46896,7 @@ paths: application/json: schema: *362 examples: - default: &714 + default: &728 value: author: login: octocat @@ -46806,7 +47079,7 @@ paths: - updated_at - url examples: - default: &715 + default: &729 value: - author: login: octocat @@ -47032,7 +47305,7 @@ paths: application/json: schema: *365 examples: - default: &716 + default: &730 value: author: login: octocat @@ -47745,7 +48018,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 +48083,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 +48224,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 +48303,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 +48513,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 +49279,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 +61460,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 +62372,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 +66592,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 +69899,7 @@ paths: application/json: schema: type: array - items: &677 + items: &691 title: Status description: The status of a commit. type: object @@ -71182,7 +71455,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 +77393,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 +78353,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 +78787,7 @@ paths: type: array items: *568 examples: - default: &746 + default: &760 value: - id: 1 repository: @@ -92256,7 +92529,7 @@ paths: application/json: schema: type: array - items: &668 + items: &669 type: object properties: number: *100 @@ -92366,6 +92639,14 @@ 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 examples: default: value: @@ -92503,7 +92784,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *669 examples: default: value: @@ -92584,7 +92865,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *669 examples: default: value: @@ -92672,7 +92953,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &828 + items: &842 type: object properties: type: @@ -92698,254 +92979,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 +93086,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 +93110,7 @@ paths: schema: type: object properties: - reason: *670 + reason: *684 expire_at: type: string format: date-time @@ -93123,7 +93169,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 +93195,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 +93318,9 @@ paths: application/json: schema: type: array - items: *672 + items: *686 examples: - default: *673 + default: *687 '400': *14 '404': *6 x-github: @@ -93458,9 +93504,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 +93844,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *686 examples: default: value: @@ -93947,15 +93993,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 +94027,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 requestBody: required: true content: @@ -94140,10 +94186,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 +94229,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 responses: '202': *39 '400': *14 @@ -94212,7 +94258,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 responses: '202': description: Response @@ -94356,7 +94402,7 @@ paths: application/json: schema: type: array - items: &676 + items: &690 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94729,7 +94775,7 @@ paths: application/json: schema: type: array - items: *676 + items: *690 examples: default: value: @@ -94817,7 +94863,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *691 examples: default: value: @@ -94911,7 +94957,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 +95052,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *692 examples: default: value: @@ -95143,7 +95189,7 @@ paths: application/json: schema: type: array - items: &679 + items: &693 title: Tag protection description: Tag protection type: object @@ -95219,7 +95265,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *693 examples: default: value: @@ -95367,7 +95413,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 +95425,7 @@ paths: required: - names examples: - default: &681 + default: &695 value: names: - octocat @@ -95434,9 +95480,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *694 examples: - default: *681 + default: *695 '404': *6 '422': *7 x-github: @@ -95459,7 +95505,7 @@ paths: parameters: - *379 - *380 - - &682 + - &696 name: per description: The time frame to display results for. in: query @@ -95488,7 +95534,7 @@ paths: example: 128 clones: type: array - items: &683 + items: &697 title: Traffic type: object properties: @@ -95729,7 +95775,7 @@ paths: parameters: - *379 - *380 - - *682 + - *696 responses: '200': description: Response @@ -95748,7 +95794,7 @@ paths: example: 3782 views: type: array - items: *683 + items: *697 required: - uniques - count @@ -96420,7 +96466,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 +96475,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 +96486,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 +96528,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &685 + items: &699 allOf: - type: object required: @@ -96557,7 +96603,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 +96663,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 +96711,7 @@ paths: required: true content: application/json: - schema: &694 + schema: &708 type: object required: - schemas @@ -96721,9 +96767,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 +96788,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 +96811,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 +96819,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 +96853,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 +96885,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 +96919,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 +96985,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 +97011,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 +97055,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *696 - - *697 + - *710 + - *711 - *41 responses: '200': @@ -97043,7 +97089,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &700 + items: &714 allOf: - type: object required: @@ -97122,7 +97168,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 +97224,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 +97261,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 +97289,7 @@ paths: required: true content: application/json: - schema: &703 + schema: &717 type: object required: - schemas @@ -97325,9 +97371,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 +97420,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 +97448,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 +97471,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 +97484,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 +97514,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 +97572,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 +97618,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 +97649,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 +97746,7 @@ paths: example: 1 Resources: type: array - items: &706 + items: &720 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97931,22 +97977,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 +98018,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 +98043,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 +98151,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 +98185,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 +98309,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 +98412,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 +98550,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &710 + text_matches: &724 title: Search Result Text Matches type: array items: @@ -98667,7 +98713,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 +98841,7 @@ paths: type: number node_id: type: string - text_matches: *710 + text_matches: *724 required: - sha - node_id @@ -98978,7 +99024,7 @@ paths: - interactions - created - updated - - *711 + - *725 - *17 - *19 - name: advanced_search @@ -99120,7 +99166,7 @@ paths: type: string format: date-time nullable: true - text_matches: *710 + text_matches: *724 pull_request: type: object properties: @@ -99348,7 +99394,7 @@ paths: enum: - created - updated - - *711 + - *725 - *17 - *19 responses: @@ -99392,7 +99438,7 @@ paths: nullable: true score: type: number - text_matches: *710 + text_matches: *724 required: - id - node_id @@ -99478,7 +99524,7 @@ paths: - forks - help-wanted-issues - updated - - *711 + - *725 - *17 - *19 responses: @@ -99717,7 +99763,7 @@ paths: - admin - pull - push - text_matches: *710 + text_matches: *724 temp_clone_token: type: string allow_merge_commit: @@ -100018,7 +100064,7 @@ paths: type: string format: uri nullable: true - text_matches: *710 + text_matches: *724 related: type: array nullable: true @@ -100211,7 +100257,7 @@ paths: - followers - repositories - joined - - *711 + - *725 - *17 - *19 responses: @@ -100315,7 +100361,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *710 + text_matches: *724 blog: type: string nullable: true @@ -100394,7 +100440,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 +100481,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 +100581,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 +100612,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 +100625,7 @@ paths: type: array items: *362 examples: - default: *713 + default: *727 headers: Link: *40 x-github: @@ -100608,7 +100654,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 +100717,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 +100751,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 +100777,7 @@ paths: application/json: schema: *362 examples: - default: *714 + default: *728 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100756,7 +100802,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 +100832,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 +100846,7 @@ paths: type: array items: *365 examples: - default: *715 + default: *729 headers: Link: *40 x-github: @@ -100829,7 +100875,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 +100927,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 +100962,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 +100988,7 @@ paths: application/json: schema: *365 examples: - default: *716 + default: *730 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100967,7 +101013,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 +101044,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 +101103,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 +101165,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 +101223,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 +101282,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 +101320,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 +101371,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 +101408,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 +101448,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 +101485,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 +101494,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 +101527,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 +101555,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 +101589,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 +101618,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 +101630,7 @@ paths: type: array items: *377 examples: - default: *719 + default: *733 headers: Link: *40 '404': *6 @@ -101610,7 +101656,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 +101665,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 +101689,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 +101757,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 +101785,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 +101827,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 +101835,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 +101986,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 +102038,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 +102069,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 +102104,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 +102192,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 +102204,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 +102237,7 @@ paths: application/json: schema: oneOf: - - &724 + - &738 title: Private User description: Private User type: object @@ -102394,7 +102440,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 +102593,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *738 examples: default: value: @@ -102945,7 +102991,7 @@ paths: type: integer secrets: type: array - items: &725 + items: &739 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -103061,7 +103107,7 @@ paths: description: Response content: application/json: - schema: *725 + schema: *739 examples: default: value: @@ -103207,7 +103253,7 @@ paths: type: array items: *198 examples: - default: *726 + default: *740 '401': *25 '403': *29 '404': *6 @@ -103474,7 +103520,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 +103561,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 +103606,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *741 examples: - default: *728 + default: *742 '404': *6 x-github: githubCloudOnly: false @@ -103599,9 +103645,9 @@ paths: type: integer machines: type: array - items: *729 + items: *743 examples: - default: *730 + default: *744 '304': *37 '500': *85 '401': *25 @@ -104540,7 +104586,7 @@ paths: type: array items: *307 examples: - default: &743 + default: &757 value: - id: 197 name: hello_docker @@ -104641,7 +104687,7 @@ paths: application/json: schema: type: array - items: &731 + items: &745 title: Email description: Email type: object @@ -104706,9 +104752,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 +104829,7 @@ paths: application/json: schema: type: array - items: *731 + items: *745 examples: default: value: @@ -105039,7 +105085,7 @@ paths: application/json: schema: type: array - items: &732 + items: &746 title: GPG Key description: A unique encryption key type: object @@ -105170,7 +105216,7 @@ paths: - subkeys - revoked examples: - default: &756 + default: &770 value: - id: 3 name: Octocat's GPG Key @@ -105255,9 +105301,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 +105360,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 +105372,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *746 examples: - default: *733 + default: *747 '404': *6 '304': *37 '403': *29 @@ -105351,7 +105397,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 +105588,7 @@ paths: type: array items: *64 examples: - default: *735 + default: *749 headers: Link: *40 '404': *6 @@ -105806,7 +105852,7 @@ paths: application/json: schema: type: array - items: &736 + items: &750 title: Key description: Key type: object @@ -105903,9 +105949,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *750 examples: - default: &737 + default: &751 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105944,9 +105990,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *750 examples: - default: *737 + default: *751 '404': *6 '304': *37 '403': *29 @@ -106002,7 +106048,7 @@ paths: application/json: schema: type: array - items: &738 + items: &752 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -106070,7 +106116,7 @@ paths: - account - plan examples: - default: &739 + default: &753 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106132,9 +106178,9 @@ paths: application/json: schema: type: array - items: *738 + items: *752 examples: - default: *739 + default: *753 headers: Link: *40 '304': *37 @@ -107129,7 +107175,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 +107248,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *755 headers: Link: *40 '304': *37 @@ -107244,7 +107290,7 @@ paths: - docker - nuget - container - - *742 + - *756 - *19 - *17 responses: @@ -107256,8 +107302,8 @@ paths: type: array items: *307 examples: - default: *743 - '400': *744 + default: *757 + '400': *758 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107286,7 +107332,7 @@ paths: application/json: schema: *307 examples: - default: &757 + default: &771 value: id: 40201 name: octo-name @@ -107739,9 +107785,9 @@ paths: application/json: schema: type: array - items: *731 + items: *745 examples: - default: *745 + default: *759 headers: Link: *40 '304': *37 @@ -107854,7 +107900,7 @@ paths: type: array items: *64 examples: - default: &752 + default: &766 summary: Default response value: - id: 1296269 @@ -108200,7 +108246,7 @@ paths: type: array items: *568 examples: - default: *746 + default: *760 headers: Link: *40 '304': *37 @@ -108279,7 +108325,7 @@ paths: application/json: schema: type: array - items: &747 + items: &761 title: Social account description: Social media account type: object @@ -108294,7 +108340,7 @@ paths: - provider - url examples: - default: &748 + default: &762 value: - provider: twitter url: https://twitter.com/github @@ -108356,9 +108402,9 @@ paths: application/json: schema: type: array - items: *747 + items: *761 examples: - default: *748 + default: *762 '422': *15 '304': *37 '404': *6 @@ -108445,7 +108491,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 +108511,7 @@ paths: - title - created_at examples: - default: &758 + default: &772 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108531,9 +108577,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *763 examples: - default: &750 + default: &764 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108564,7 +108610,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 +108622,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *763 examples: - default: *750 + default: *764 '404': *6 '304': *37 '403': *29 @@ -108601,7 +108647,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 +108676,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 +108701,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 +109074,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 +109112,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 +109172,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 +109221,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 +109342,7 @@ paths: type: array items: *307 examples: - default: *743 + default: *757 '403': *29 '401': *25 x-github: @@ -109700,9 +109746,9 @@ paths: application/json: schema: type: array - items: *732 + items: *746 examples: - default: *756 + default: *770 headers: Link: *40 x-github: @@ -109884,7 +109930,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *755 headers: Link: *40 x-github: @@ -109923,7 +109969,7 @@ paths: - docker - nuget - container - - *742 + - *756 - *220 - *19 - *17 @@ -109936,10 +109982,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 +110015,7 @@ paths: application/json: schema: *307 examples: - default: *757 + default: *771 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110753,9 +110799,9 @@ paths: application/json: schema: type: array - items: *747 + items: *761 examples: - default: *748 + default: *762 headers: Link: *40 x-github: @@ -110785,9 +110831,9 @@ paths: application/json: schema: type: array - items: *749 + items: *763 examples: - default: *758 + default: *772 headers: Link: *40 x-github: @@ -110812,7 +110858,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 +110870,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 +111033,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 +111091,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 +111110,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 +111170,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 +111859,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 +112010,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 +112089,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 +112316,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 +112503,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 +112578,7 @@ x-webhooks: required: true content: application/json: - schema: &768 + schema: &782 title: Exemption request cancellation event type: object properties: @@ -112540,11 +112586,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 +112823,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 +112931,7 @@ x-webhooks: required: true content: application/json: - schema: &769 + schema: &783 title: Exemption request completed event type: object properties: @@ -112893,11 +112939,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 +113013,7 @@ x-webhooks: required: true content: application/json: - schema: &770 + schema: &784 title: Exemption request created event type: object properties: @@ -112975,11 +113021,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 +113095,7 @@ x-webhooks: required: true content: application/json: - schema: &771 + schema: &785 title: Exemption response dismissed event type: object properties: @@ -113057,12 +113103,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 +113180,7 @@ x-webhooks: required: true content: application/json: - schema: &772 + schema: &786 title: Exemption response submitted event type: object properties: @@ -113142,12 +113188,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 +113266,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 +113333,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 +113400,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 +113467,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 +113535,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 +113613,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 +113714,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *773 + deployment: *787 details_url: example: https://example.com type: string @@ -113753,9 +113799,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 +114194,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 +114593,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 +115001,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 +115981,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 +116654,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 +117321,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 +117632,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 +118037,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 +118305,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 +118639,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 +118909,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 +119152,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 +119414,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 +119497,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 +119518,7 @@ x-webhooks: enum: - tag - branch - repository: *764 + repository: *778 sender: *4 required: - ref @@ -119555,9 +119601,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 +119688,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 +119768,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 +119848,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 +119927,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 +120015,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 +120111,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 +120199,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 +120287,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 +120373,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 +120459,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 +120546,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 +120632,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 +120712,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 +120750,8 @@ x-webhooks: - verified - created_at - read_only - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -120782,11 +120828,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 +121393,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 +122128,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 +122201,7 @@ x-webhooks: type: string enum: - approved - approver: &780 + approver: &794 type: object properties: avatar_url: @@ -122198,11 +122244,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 +122327,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &782 + workflow_job_run: &796 type: object properties: conclusion: @@ -123012,18 +123058,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 +123773,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 +125678,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 +126363,7 @@ x-webhooks: type: string enum: - answered - answer: &786 + answer: &800 type: object properties: author_association: @@ -126474,7 +126520,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &784 + discussion: &798 title: Discussion description: A Discussion in a repository. type: object @@ -126782,10 +126828,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 +126958,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 +127045,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 +127131,7 @@ x-webhooks: type: string enum: - created - comment: &785 + comment: &799 type: object properties: author_association: @@ -127242,11 +127288,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 +127375,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 +127475,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 +127564,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 +127650,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 +127754,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 +127840,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 +127875,8 @@ x-webhooks: - color - default - description - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127913,11 +127959,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 +128045,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 +128131,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 +128220,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 +128312,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 +128397,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 +128485,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 +128571,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 +128647,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 +128713,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 +128779,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 +128845,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 +128911,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 +128977,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 +129043,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 +129110,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 +129770,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 +129918,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 +129957,7 @@ x-webhooks: - action - sha - html_url - repository: *764 + repository: *778 sender: *4 required: - pages @@ -129987,10 +130033,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 +130062,8 @@ x-webhooks: - name - full_name - private - repository: *764 - requester: *788 + repository: *778 + requester: *802 sender: *4 required: - action @@ -130092,11 +130138,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 +130218,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 +130298,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 +130347,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 +130434,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 +130464,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 +130545,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 +130728,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 +130810,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 +131066,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 +132223,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -132258,7 +132304,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 +132469,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 +133624,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -133659,7 +133705,7 @@ x-webhooks: type: string enum: - edited - changes: &820 + changes: &834 description: The changes to the comment. type: object properties: @@ -133671,9 +133717,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 +134874,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -134911,10 +134957,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 +135879,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -135914,8 +135960,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 +137020,8 @@ x-webhooks: required: - state - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -137054,8 +137100,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 +138015,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -138049,8 +138095,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 +139011,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 +139149,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -139203,8 +139249,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 +140169,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 +140251,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 +141170,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 +141252,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 +142172,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -142206,8 +142252,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 +143166,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 +144611,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 +145530,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -145565,9 +145611,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 +146525,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -146559,8 +146605,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 +147524,8 @@ x-webhooks: user_view_type: type: string type: *289 - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -148942,11 +148988,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 +149072,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 +149158,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &823 + assignee: &837 title: User type: object nullable: true @@ -149182,11 +149228,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 +149311,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 +149396,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 +150314,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150349,11 +150395,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 +150478,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 +150563,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 +150645,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 +150759,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 +150845,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 +150930,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 +151011,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151045,10 +151091,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 +151177,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151213,10 +151259,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 +151344,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151379,8 +151425,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 +151508,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 +151590,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 +151697,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 +151801,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 +151884,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 +151966,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 +152046,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 +152236,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 +152317,7 @@ x-webhooks: required: - login - id - team: *798 + team: *812 required: - action - scope @@ -152353,8 +152399,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 +152419,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 +152513,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 +152589,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 +152697,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 +152787,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 +152870,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 +153009,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153043,11 +153089,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 +153203,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 +153287,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 +153370,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 +153453,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 +153536,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 +153630,8 @@ x-webhooks: - role - organization_url - user - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153663,11 +153709,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 +153792,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 +153909,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 +153990,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 +154081,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 +154161,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 +154662,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &805 + items: &819 title: Ruby Gems metadata type: object properties: @@ -154711,7 +154757,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -154787,9 +154833,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 +155188,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *819 source_url: type: string format: uri @@ -155212,7 +155258,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -155389,12 +155435,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 +155517,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 +155663,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 +155743,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 +155823,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 +155902,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 +156011,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 +156043,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 +156289,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 +156411,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -156446,11 +156492,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 +156576,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 +156706,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 +156801,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 +156899,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 +157091,7 @@ x-webhooks: type: string required: - after_id - repository: *764 + repository: *778 sender: *4 required: - action @@ -157125,10 +157171,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 +157298,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -157332,10 +157378,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 +157420,7 @@ x-webhooks: - name - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -157453,18 +157499,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 +157600,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 +157684,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 +157768,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 +157852,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 +157965,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 +158048,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 +158133,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 +158278,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 +158361,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 +158480,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 +158565,7 @@ x-webhooks: type: string enum: - archived - changes: &815 + changes: &829 type: object properties: archived_at: @@ -158533,9 +158579,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 +158715,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 +158799,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 +158882,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 +158990,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 +159008,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 +159031,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *813 - - *814 + - *827 + - *828 required: - field_value - type: object @@ -159002,9 +159048,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 +159145,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 +159230,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 +159315,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 +159398,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 +159527,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 +159665,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 +159738,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 +159818,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 +162107,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -162143,11 +162189,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 +164471,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *778 sender: *4 required: - action @@ -164507,11 +164553,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 +166835,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *778 sender: *4 required: - action @@ -166871,11 +166917,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 +166985,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *764 + repository: *778 sender: *4 required: - action @@ -167020,12 +167066,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 +167151,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 +169418,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -169451,11 +169497,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 +171783,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *764 + repository: *778 sender: *4 required: - action @@ -171861,12 +171907,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 +171992,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 +174263,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -174297,11 +174343,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 +176629,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -176664,10 +176710,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 +178993,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -179027,12 +179073,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 +179157,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 +179243,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 +179328,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 +179699,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 +181871,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -181905,7 +181951,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 +182236,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 +184396,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -184430,11 +184476,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 +186641,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -186676,9 +186722,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 +188897,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 +189140,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 +191196,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 +191426,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 +193714,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_reviewer: title: User type: object @@ -193752,12 +193798,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 +196093,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 +196285,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 +198575,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_reviewer: title: User type: object @@ -198614,12 +198660,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 +200941,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 +201122,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 +203299,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: *822 + repository: *778 + review: *836 sender: *4 required: - action @@ -203334,9 +203380,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 +205452,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *778 sender: *4 thread: type: object @@ -205789,9 +205835,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 +207893,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *778 sender: *4 thread: type: object @@ -208233,10 +208279,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 +210553,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -210589,11 +210635,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 +212922,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -212955,11 +213001,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 +215278,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -215313,10 +215359,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 +217627,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -217781,7 +217827,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 +217919,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 +218495,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 +218943,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *805 + items: *819 summary: type: string tag_name: @@ -218951,7 +218997,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -219029,9 +219075,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 +219385,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *819 summary: type: string tag_name: @@ -219388,7 +219434,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -219465,10 +219511,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 +219823,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *764 + repository: *778 sender: *4 required: - action @@ -219854,11 +219900,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 +220021,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 +220103,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 +220418,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *778 sender: *4 required: - action @@ -220448,10 +220494,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 +220807,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *778 sender: *4 required: - action @@ -220837,11 +220883,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 +220963,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 +221043,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 +221123,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 +221203,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 +221283,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 +221364,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 +221451,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 +221566,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 +221641,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 +221725,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 +221805,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 +221902,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 +221985,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 +222067,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 +222149,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 +222457,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 +222538,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 +222619,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 +222740,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 +222949,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 +223030,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 +223233,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 +223314,7 @@ x-webhooks: type: string enum: - created - alert: &827 + alert: &841 type: object properties: number: *100 @@ -223379,10 +223425,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 +223509,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 +223751,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 +223833,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 +223915,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 +223997,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 +224127,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 +224208,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 +224395,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 +224472,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 +224660,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 +224741,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 +225047,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 +225140,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 +225222,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 +225306,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &832 + changes: &846 type: object properties: tier: @@ -225304,13 +225350,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 +225433,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 +225513,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 +225599,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 +226022,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 +226145,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 +226237,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 +226329,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 +226421,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 +226500,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 +226695,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 +227155,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -227185,9 +227231,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 +227691,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -227722,9 +227768,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 +228228,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -228326,9 +228372,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 +228832,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - changes @@ -228864,9 +228910,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 +229370,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -229400,10 +229446,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 +229522,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 +229613,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 +229932,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 +230274,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 +230491,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 +230710,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 +231714,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 +232703,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..5f140e1673 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,291 @@ "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 } } } @@ -77176,7 +77473,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -107228,6 +107525,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -107239,6 +107539,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -107270,7 +107574,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -135059,6 +135362,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -135070,6 +135376,10 @@ "type": "string", "example": "disabled | all" }, + "organization_selection_type": { + "type": "string", + "example": "disabled | all" + }, "group_id": { "nullable": true, "type": "string", @@ -135101,7 +135411,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -170551,6 +170860,291 @@ "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 } } } @@ -458042,6 +458636,291 @@ "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 } } } @@ -458758,6 +459637,291 @@ "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 } } }, @@ -459427,6 +460591,291 @@ "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 } } }, diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index f3dbc28b41..e7cae4fe0d 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,275 @@ 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 examples: default: &344 value: @@ -19835,7 +20108,7 @@ paths: url: type: string format: uri - user: &723 + user: &737 title: Public User description: Public User type: object @@ -24276,7 +24549,7 @@ paths: type: array items: *59 examples: - default: &741 + default: &755 value: - login: github id: 1 @@ -24561,7 +24834,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -26098,7 +26371,7 @@ paths: type: array items: *64 examples: - default: &735 + default: &749 value: total_count: 1 repositories: @@ -26917,7 +27190,7 @@ paths: type: array items: *198 examples: - default: &726 + default: &740 value: total_count: 1 repositories: @@ -38451,7 +38724,7 @@ paths: parameters: - *172 - *301 - - &740 + - &754 name: repo_name description: repo_name parameter in: path @@ -39766,7 +40039,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 +40080,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 +44594,7 @@ paths: application/json: schema: type: array - items: &672 + items: &686 description: A repository security advisory. type: object properties: @@ -44612,7 +44885,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 +46648,7 @@ paths: - updated_at - url examples: - default: &713 + default: &727 value: - author: login: octocat @@ -46623,7 +46896,7 @@ paths: application/json: schema: *362 examples: - default: &714 + default: &728 value: author: login: octocat @@ -46806,7 +47079,7 @@ paths: - updated_at - url examples: - default: &715 + default: &729 value: - author: login: octocat @@ -47032,7 +47305,7 @@ paths: application/json: schema: *365 examples: - default: &716 + default: &730 value: author: login: octocat @@ -47745,7 +48018,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 +48083,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 +48224,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 +48303,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 +48513,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 +49279,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 +61460,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 +62372,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 +66592,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 +69899,7 @@ paths: application/json: schema: type: array - items: &677 + items: &691 title: Status description: The status of a commit. type: object @@ -71182,7 +71455,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 +77393,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 +78353,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 +78787,7 @@ paths: type: array items: *568 examples: - default: &746 + default: &760 value: - id: 1 repository: @@ -92256,7 +92529,7 @@ paths: application/json: schema: type: array - items: &668 + items: &669 type: object properties: number: *100 @@ -92366,6 +92639,14 @@ 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 examples: default: value: @@ -92503,7 +92784,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *669 examples: default: value: @@ -92584,7 +92865,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *669 examples: default: value: @@ -92672,7 +92953,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &828 + items: &842 type: object properties: type: @@ -92698,254 +92979,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 +93086,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 +93110,7 @@ paths: schema: type: object properties: - reason: *670 + reason: *684 expire_at: type: string format: date-time @@ -93123,7 +93169,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 +93195,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 +93318,9 @@ paths: application/json: schema: type: array - items: *672 + items: *686 examples: - default: *673 + default: *687 '400': *14 '404': *6 x-github: @@ -93458,9 +93504,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 +93844,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *686 examples: default: value: @@ -93947,15 +93993,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 +94027,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 requestBody: required: true content: @@ -94140,10 +94186,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 +94229,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 responses: '202': *39 '400': *14 @@ -94212,7 +94258,7 @@ paths: parameters: - *379 - *380 - - *674 + - *688 responses: '202': description: Response @@ -94356,7 +94402,7 @@ paths: application/json: schema: type: array - items: &676 + items: &690 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -94729,7 +94775,7 @@ paths: application/json: schema: type: array - items: *676 + items: *690 examples: default: value: @@ -94817,7 +94863,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *691 examples: default: value: @@ -94911,7 +94957,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 +95052,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *692 examples: default: value: @@ -95143,7 +95189,7 @@ paths: application/json: schema: type: array - items: &679 + items: &693 title: Tag protection description: Tag protection type: object @@ -95219,7 +95265,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *693 examples: default: value: @@ -95367,7 +95413,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 +95425,7 @@ paths: required: - names examples: - default: &681 + default: &695 value: names: - octocat @@ -95434,9 +95480,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *694 examples: - default: *681 + default: *695 '404': *6 '422': *7 x-github: @@ -95459,7 +95505,7 @@ paths: parameters: - *379 - *380 - - &682 + - &696 name: per description: The time frame to display results for. in: query @@ -95488,7 +95534,7 @@ paths: example: 128 clones: type: array - items: &683 + items: &697 title: Traffic type: object properties: @@ -95729,7 +95775,7 @@ paths: parameters: - *379 - *380 - - *682 + - *696 responses: '200': description: Response @@ -95748,7 +95794,7 @@ paths: example: 3782 views: type: array - items: *683 + items: *697 required: - uniques - count @@ -96420,7 +96466,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 +96475,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 +96486,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 +96528,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &685 + items: &699 allOf: - type: object required: @@ -96557,7 +96603,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 +96663,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 +96711,7 @@ paths: required: true content: application/json: - schema: &694 + schema: &708 type: object required: - schemas @@ -96721,9 +96767,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 +96788,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 +96811,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 +96819,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 +96853,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 +96885,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 +96919,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 +96985,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 +97011,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 +97055,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *696 - - *697 + - *710 + - *711 - *41 responses: '200': @@ -97043,7 +97089,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &700 + items: &714 allOf: - type: object required: @@ -97122,7 +97168,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 +97224,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 +97261,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 +97289,7 @@ paths: required: true content: application/json: - schema: &703 + schema: &717 type: object required: - schemas @@ -97325,9 +97371,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 +97420,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 +97448,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 +97471,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 +97484,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 +97514,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 +97572,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 +97618,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 +97649,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 +97746,7 @@ paths: example: 1 Resources: type: array - items: &706 + items: &720 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97931,22 +97977,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 +98018,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 +98043,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 +98151,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 +98185,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 +98309,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 +98412,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 +98550,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &710 + text_matches: &724 title: Search Result Text Matches type: array items: @@ -98667,7 +98713,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 +98841,7 @@ paths: type: number node_id: type: string - text_matches: *710 + text_matches: *724 required: - sha - node_id @@ -98978,7 +99024,7 @@ paths: - interactions - created - updated - - *711 + - *725 - *17 - *19 - name: advanced_search @@ -99120,7 +99166,7 @@ paths: type: string format: date-time nullable: true - text_matches: *710 + text_matches: *724 pull_request: type: object properties: @@ -99348,7 +99394,7 @@ paths: enum: - created - updated - - *711 + - *725 - *17 - *19 responses: @@ -99392,7 +99438,7 @@ paths: nullable: true score: type: number - text_matches: *710 + text_matches: *724 required: - id - node_id @@ -99478,7 +99524,7 @@ paths: - forks - help-wanted-issues - updated - - *711 + - *725 - *17 - *19 responses: @@ -99717,7 +99763,7 @@ paths: - admin - pull - push - text_matches: *710 + text_matches: *724 temp_clone_token: type: string allow_merge_commit: @@ -100018,7 +100064,7 @@ paths: type: string format: uri nullable: true - text_matches: *710 + text_matches: *724 related: type: array nullable: true @@ -100211,7 +100257,7 @@ paths: - followers - repositories - joined - - *711 + - *725 - *17 - *19 responses: @@ -100315,7 +100361,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *710 + text_matches: *724 blog: type: string nullable: true @@ -100394,7 +100440,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 +100481,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 +100581,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 +100612,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 +100625,7 @@ paths: type: array items: *362 examples: - default: *713 + default: *727 headers: Link: *40 x-github: @@ -100608,7 +100654,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 +100717,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 +100751,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 +100777,7 @@ paths: application/json: schema: *362 examples: - default: *714 + default: *728 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100756,7 +100802,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 +100832,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 +100846,7 @@ paths: type: array items: *365 examples: - default: *715 + default: *729 headers: Link: *40 x-github: @@ -100829,7 +100875,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 +100927,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 +100962,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 +100988,7 @@ paths: application/json: schema: *365 examples: - default: *716 + default: *730 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100967,7 +101013,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 +101044,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 +101103,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 +101165,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 +101223,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 +101282,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 +101320,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 +101371,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 +101408,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 +101448,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 +101485,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 +101494,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 +101527,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 +101555,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 +101589,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 +101618,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 +101630,7 @@ paths: type: array items: *377 examples: - default: *719 + default: *733 headers: Link: *40 '404': *6 @@ -101610,7 +101656,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 +101665,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 +101689,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 +101757,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 +101785,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 +101827,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 +101835,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 +101986,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 +102038,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 +102069,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 +102104,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 +102192,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 +102204,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 +102237,7 @@ paths: application/json: schema: oneOf: - - &724 + - &738 title: Private User description: Private User type: object @@ -102394,7 +102440,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 +102593,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *738 examples: default: value: @@ -102945,7 +102991,7 @@ paths: type: integer secrets: type: array - items: &725 + items: &739 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -103061,7 +103107,7 @@ paths: description: Response content: application/json: - schema: *725 + schema: *739 examples: default: value: @@ -103207,7 +103253,7 @@ paths: type: array items: *198 examples: - default: *726 + default: *740 '401': *25 '403': *29 '404': *6 @@ -103474,7 +103520,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 +103561,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 +103606,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *741 examples: - default: *728 + default: *742 '404': *6 x-github: githubCloudOnly: false @@ -103599,9 +103645,9 @@ paths: type: integer machines: type: array - items: *729 + items: *743 examples: - default: *730 + default: *744 '304': *37 '500': *85 '401': *25 @@ -104540,7 +104586,7 @@ paths: type: array items: *307 examples: - default: &743 + default: &757 value: - id: 197 name: hello_docker @@ -104641,7 +104687,7 @@ paths: application/json: schema: type: array - items: &731 + items: &745 title: Email description: Email type: object @@ -104706,9 +104752,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 +104829,7 @@ paths: application/json: schema: type: array - items: *731 + items: *745 examples: default: value: @@ -105039,7 +105085,7 @@ paths: application/json: schema: type: array - items: &732 + items: &746 title: GPG Key description: A unique encryption key type: object @@ -105170,7 +105216,7 @@ paths: - subkeys - revoked examples: - default: &756 + default: &770 value: - id: 3 name: Octocat's GPG Key @@ -105255,9 +105301,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 +105360,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 +105372,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *746 examples: - default: *733 + default: *747 '404': *6 '304': *37 '403': *29 @@ -105351,7 +105397,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 +105588,7 @@ paths: type: array items: *64 examples: - default: *735 + default: *749 headers: Link: *40 '404': *6 @@ -105806,7 +105852,7 @@ paths: application/json: schema: type: array - items: &736 + items: &750 title: Key description: Key type: object @@ -105903,9 +105949,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *750 examples: - default: &737 + default: &751 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105944,9 +105990,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *750 examples: - default: *737 + default: *751 '404': *6 '304': *37 '403': *29 @@ -106002,7 +106048,7 @@ paths: application/json: schema: type: array - items: &738 + items: &752 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -106070,7 +106116,7 @@ paths: - account - plan examples: - default: &739 + default: &753 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106132,9 +106178,9 @@ paths: application/json: schema: type: array - items: *738 + items: *752 examples: - default: *739 + default: *753 headers: Link: *40 '304': *37 @@ -107129,7 +107175,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 +107248,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *755 headers: Link: *40 '304': *37 @@ -107244,7 +107290,7 @@ paths: - docker - nuget - container - - *742 + - *756 - *19 - *17 responses: @@ -107256,8 +107302,8 @@ paths: type: array items: *307 examples: - default: *743 - '400': *744 + default: *757 + '400': *758 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107286,7 +107332,7 @@ paths: application/json: schema: *307 examples: - default: &757 + default: &771 value: id: 40201 name: octo-name @@ -107739,9 +107785,9 @@ paths: application/json: schema: type: array - items: *731 + items: *745 examples: - default: *745 + default: *759 headers: Link: *40 '304': *37 @@ -107854,7 +107900,7 @@ paths: type: array items: *64 examples: - default: &752 + default: &766 summary: Default response value: - id: 1296269 @@ -108200,7 +108246,7 @@ paths: type: array items: *568 examples: - default: *746 + default: *760 headers: Link: *40 '304': *37 @@ -108279,7 +108325,7 @@ paths: application/json: schema: type: array - items: &747 + items: &761 title: Social account description: Social media account type: object @@ -108294,7 +108340,7 @@ paths: - provider - url examples: - default: &748 + default: &762 value: - provider: twitter url: https://twitter.com/github @@ -108356,9 +108402,9 @@ paths: application/json: schema: type: array - items: *747 + items: *761 examples: - default: *748 + default: *762 '422': *15 '304': *37 '404': *6 @@ -108445,7 +108491,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 +108511,7 @@ paths: - title - created_at examples: - default: &758 + default: &772 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108531,9 +108577,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *763 examples: - default: &750 + default: &764 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108564,7 +108610,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 +108622,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *763 examples: - default: *750 + default: *764 '404': *6 '304': *37 '403': *29 @@ -108601,7 +108647,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 +108676,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 +108701,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 +109074,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 +109112,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 +109172,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 +109221,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 +109342,7 @@ paths: type: array items: *307 examples: - default: *743 + default: *757 '403': *29 '401': *25 x-github: @@ -109700,9 +109746,9 @@ paths: application/json: schema: type: array - items: *732 + items: *746 examples: - default: *756 + default: *770 headers: Link: *40 x-github: @@ -109884,7 +109930,7 @@ paths: type: array items: *59 examples: - default: *741 + default: *755 headers: Link: *40 x-github: @@ -109923,7 +109969,7 @@ paths: - docker - nuget - container - - *742 + - *756 - *220 - *19 - *17 @@ -109936,10 +109982,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 +110015,7 @@ paths: application/json: schema: *307 examples: - default: *757 + default: *771 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110753,9 +110799,9 @@ paths: application/json: schema: type: array - items: *747 + items: *761 examples: - default: *748 + default: *762 headers: Link: *40 x-github: @@ -110785,9 +110831,9 @@ paths: application/json: schema: type: array - items: *749 + items: *763 examples: - default: *758 + default: *772 headers: Link: *40 x-github: @@ -110812,7 +110858,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 +110870,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 +111033,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 +111091,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 +111110,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 +111170,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 +111859,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 +112010,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 +112089,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 +112316,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 +112503,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 +112578,7 @@ x-webhooks: required: true content: application/json: - schema: &768 + schema: &782 title: Exemption request cancellation event type: object properties: @@ -112540,11 +112586,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 +112823,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 +112931,7 @@ x-webhooks: required: true content: application/json: - schema: &769 + schema: &783 title: Exemption request completed event type: object properties: @@ -112893,11 +112939,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 +113013,7 @@ x-webhooks: required: true content: application/json: - schema: &770 + schema: &784 title: Exemption request created event type: object properties: @@ -112975,11 +113021,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 +113095,7 @@ x-webhooks: required: true content: application/json: - schema: &771 + schema: &785 title: Exemption response dismissed event type: object properties: @@ -113057,12 +113103,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 +113180,7 @@ x-webhooks: required: true content: application/json: - schema: &772 + schema: &786 title: Exemption response submitted event type: object properties: @@ -113142,12 +113188,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 +113266,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 +113333,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 +113400,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 +113467,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 +113535,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 +113613,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 +113714,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *773 + deployment: *787 details_url: example: https://example.com type: string @@ -113753,9 +113799,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 +114194,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 +114593,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 +115001,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 +115981,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 +116654,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 +117321,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 +117632,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 +118037,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 +118305,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 +118639,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 +118909,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 +119152,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 +119414,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 +119497,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 +119518,7 @@ x-webhooks: enum: - tag - branch - repository: *764 + repository: *778 sender: *4 required: - ref @@ -119555,9 +119601,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 +119688,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 +119768,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 +119848,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 +119927,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 +120015,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 +120111,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 +120199,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 +120287,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 +120373,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 +120459,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 +120546,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 +120632,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 +120712,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 +120750,8 @@ x-webhooks: - verified - created_at - read_only - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -120782,11 +120828,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 +121393,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 +122128,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 +122201,7 @@ x-webhooks: type: string enum: - approved - approver: &780 + approver: &794 type: object properties: avatar_url: @@ -122198,11 +122244,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 +122327,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &782 + workflow_job_run: &796 type: object properties: conclusion: @@ -123012,18 +123058,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 +123773,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 +125678,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 +126363,7 @@ x-webhooks: type: string enum: - answered - answer: &786 + answer: &800 type: object properties: author_association: @@ -126474,7 +126520,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &784 + discussion: &798 title: Discussion description: A Discussion in a repository. type: object @@ -126782,10 +126828,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 +126958,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 +127045,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 +127131,7 @@ x-webhooks: type: string enum: - created - comment: &785 + comment: &799 type: object properties: author_association: @@ -127242,11 +127288,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 +127375,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 +127475,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 +127564,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 +127650,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 +127754,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 +127840,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 +127875,8 @@ x-webhooks: - color - default - description - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -127913,11 +127959,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 +128045,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 +128131,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 +128220,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 +128312,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 +128397,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 +128485,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 +128571,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 +128647,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 +128713,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 +128779,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 +128845,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 +128911,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 +128977,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 +129043,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 +129110,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 +129770,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 +129918,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 +129957,7 @@ x-webhooks: - action - sha - html_url - repository: *764 + repository: *778 sender: *4 required: - pages @@ -129987,10 +130033,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 +130062,8 @@ x-webhooks: - name - full_name - private - repository: *764 - requester: *788 + repository: *778 + requester: *802 sender: *4 required: - action @@ -130092,11 +130138,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 +130218,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 +130298,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 +130347,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 +130434,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 +130464,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 +130545,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 +130728,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 +130810,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 +131066,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 +132223,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -132258,7 +132304,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 +132469,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 +133624,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -133659,7 +133705,7 @@ x-webhooks: type: string enum: - edited - changes: &820 + changes: &834 description: The changes to the comment. type: object properties: @@ -133671,9 +133717,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 +134874,8 @@ x-webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -134911,10 +134957,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 +135879,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -135914,8 +135960,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 +137020,8 @@ x-webhooks: required: - state - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -137054,8 +137100,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 +138015,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -138049,8 +138095,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 +139011,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 +139149,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -139203,8 +139249,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 +140169,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 +140251,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 +141170,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 +141252,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 +142172,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -142206,8 +142252,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 +143166,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 +144611,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 +145530,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -145565,9 +145611,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 +146525,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -146559,8 +146605,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 +147524,8 @@ x-webhooks: user_view_type: type: string type: *289 - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -148942,11 +148988,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 +149072,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 +149158,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &823 + assignee: &837 title: User type: object nullable: true @@ -149182,11 +149228,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 +149311,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 +149396,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 +150314,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -150349,11 +150395,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 +150478,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 +150563,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 +150645,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 +150759,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 +150845,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 +150930,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 +151011,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151045,10 +151091,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 +151177,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151213,10 +151259,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 +151344,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *778 sender: *4 required: - action @@ -151379,8 +151425,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 +151508,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 +151590,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 +151697,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 +151801,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 +151884,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 +151966,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 +152046,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 +152236,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 +152317,7 @@ x-webhooks: required: - login - id - team: *798 + team: *812 required: - action - scope @@ -152353,8 +152399,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 +152419,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 +152513,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 +152589,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 +152697,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 +152787,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 +152870,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 +153009,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153043,11 +153089,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 +153203,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 +153287,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 +153370,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 +153453,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 +153536,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 +153630,8 @@ x-webhooks: - role - organization_url - user - organization: *763 - repository: *764 + organization: *777 + repository: *778 sender: *4 required: - action @@ -153663,11 +153709,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 +153792,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 +153909,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 +153990,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 +154081,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 +154161,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 +154662,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &805 + items: &819 title: Ruby Gems metadata type: object properties: @@ -154711,7 +154757,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -154787,9 +154833,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 +155188,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *819 source_url: type: string format: uri @@ -155212,7 +155258,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -155389,12 +155435,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 +155517,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 +155663,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 +155743,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 +155823,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 +155902,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 +156011,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 +156043,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 +156289,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 +156411,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -156446,11 +156492,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 +156576,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 +156706,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 +156801,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 +156899,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 +157091,7 @@ x-webhooks: type: string required: - after_id - repository: *764 + repository: *778 sender: *4 required: - action @@ -157125,10 +157171,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 +157298,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -157332,10 +157378,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 +157420,7 @@ x-webhooks: - name - created_at - updated_at - repository: *764 + repository: *778 sender: *4 required: - action @@ -157453,18 +157499,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 +157600,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 +157684,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 +157768,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 +157852,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 +157965,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 +158048,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 +158133,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 +158278,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 +158361,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 +158480,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 +158565,7 @@ x-webhooks: type: string enum: - archived - changes: &815 + changes: &829 type: object properties: archived_at: @@ -158533,9 +158579,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 +158715,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 +158799,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 +158882,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 +158990,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 +159008,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 +159031,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *813 - - *814 + - *827 + - *828 required: - field_value - type: object @@ -159002,9 +159048,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 +159145,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 +159230,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 +159315,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 +159398,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 +159527,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 +159665,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 +159738,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 +159818,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 +162107,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -162143,11 +162189,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 +164471,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *778 sender: *4 required: - action @@ -164507,11 +164553,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 +166835,7 @@ x-webhooks: - draft reason: type: string - repository: *764 + repository: *778 sender: *4 required: - action @@ -166871,11 +166917,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 +166985,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *764 + repository: *778 sender: *4 required: - action @@ -167020,12 +167066,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 +167151,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 +169418,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -169451,11 +169497,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 +171783,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *764 + repository: *778 sender: *4 required: - action @@ -171861,12 +171907,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 +171992,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 +174263,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -174297,11 +174343,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 +176629,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -176664,10 +176710,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 +178993,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -179027,12 +179073,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 +179157,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 +179243,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 +179328,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 +179699,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 +181871,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -181905,7 +181951,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 +182236,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 +184396,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -184430,11 +184476,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 +186641,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *778 sender: *4 required: - action @@ -186676,9 +186722,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 +188897,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 +189140,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 +191196,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 +191426,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 +193714,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_reviewer: title: User type: object @@ -193752,12 +193798,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 +196093,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 +196285,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 +198575,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 requested_reviewer: title: User type: object @@ -198614,12 +198660,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 +200941,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 +201122,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 +203299,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: *822 + repository: *778 + review: *836 sender: *4 required: - action @@ -203334,9 +203380,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 +205452,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *778 sender: *4 thread: type: object @@ -205789,9 +205835,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 +207893,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *778 sender: *4 thread: type: object @@ -208233,10 +208279,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 +210553,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -210589,11 +210635,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 +212922,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -212955,11 +213001,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 +215278,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -215313,10 +215359,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 +217627,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *778 sender: *4 required: - action @@ -217781,7 +217827,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 +217919,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 +218495,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 +218943,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *805 + items: *819 summary: type: string tag_name: @@ -218951,7 +218997,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -219029,9 +219075,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 +219385,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *805 + items: *819 summary: type: string tag_name: @@ -219388,7 +219434,7 @@ x-webhooks: - owner - package_version - registry - repository: *764 + repository: *778 sender: *4 required: - action @@ -219465,10 +219511,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 +219823,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *764 + repository: *778 sender: *4 required: - action @@ -219854,11 +219900,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 +220021,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 +220103,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 +220418,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *778 sender: *4 required: - action @@ -220448,10 +220494,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 +220807,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *764 + repository: *778 sender: *4 required: - action @@ -220837,11 +220883,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 +220963,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 +221043,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 +221123,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 +221203,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 +221283,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 +221364,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 +221451,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 +221566,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 +221641,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 +221725,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 +221805,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 +221902,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 +221985,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 +222067,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 +222149,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 +222457,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 +222538,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 +222619,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 +222740,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 +222949,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 +223030,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 +223233,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 +223314,7 @@ x-webhooks: type: string enum: - created - alert: &827 + alert: &841 type: object properties: number: *100 @@ -223379,10 +223425,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 +223509,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 +223751,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 +223833,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 +223915,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 +223997,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 +224127,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 +224208,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 +224395,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 +224472,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 +224660,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 +224741,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 +225047,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 +225140,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 +225222,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 +225306,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &832 + changes: &846 type: object properties: tier: @@ -225304,13 +225350,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 +225433,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 +225513,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 +225599,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 +226022,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 +226145,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 +226237,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 +226329,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 +226421,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 +226500,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 +226695,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 +227155,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -227185,9 +227231,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 +227691,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -227722,9 +227768,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 +228228,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -228326,9 +228372,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 +228832,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - changes @@ -228864,9 +228910,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 +229370,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *833 + team: *847 required: - action - team @@ -229400,10 +229446,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 +229522,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 +229613,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 +229932,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 +230274,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 +230491,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 +230710,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 +231714,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 +232703,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..e3e42cd9f7 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,9 @@ "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" } } }, @@ -139566,6 +139899,9 @@ "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" } } }, @@ -139574,285 +139910,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..0f3bae7bca 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,8 @@ 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" actions-billing-usage: type: object properties: @@ -102731,249 +102995,13 @@ 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" 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..e3e42cd9f7 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,9 @@ "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" } } }, @@ -139566,6 +139899,9 @@ "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" } } }, @@ -139574,285 +139910,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..0f3bae7bca 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,8 @@ 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" actions-billing-usage: type: object properties: @@ -102731,249 +102995,13 @@ 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" 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: