diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 4fffde0207..1a81467bb1 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -6348,6 +6348,29 @@ "parameters": [ { "$ref": "#/components/parameters/org" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -6402,7 +6425,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -100539,6 +100562,367 @@ null ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ] + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -100701,6 +101085,20 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -104033,7 +104431,14 @@ "accessible_repositories": { "type": "array", "items": { - "$ref": "#/components/schemas/simple-repository" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] } } }, @@ -106723,6 +107128,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -106736,6 +107144,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -106777,7 +107191,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -128689,6 +129102,20 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -128699,323 +129126,6 @@ "null" ] }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 7b47862f62..7f7d515920 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -4481,6 +4481,23 @@ paths: url: https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - "$ref": "#/components/parameters/org" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -4521,7 +4538,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -72881,6 +72898,282 @@ components: - revoked - used_in_tests - + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" organization-secret-scanning-alert: type: object properties: @@ -72992,6 +73285,14 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. actor: title: Actor description: Actor @@ -75373,7 +75674,9 @@ components: accessible_repositories: type: array items: - "$ref": "#/components/schemas/simple-repository" + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" additionalProperties: false billing-usage-report: type: object @@ -77446,6 +77749,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -77455,6 +77760,10 @@ components: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -77484,7 +77793,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -93267,269 +93575,20 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: - string - 'null' - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 4fffde0207..1a81467bb1 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -6348,6 +6348,29 @@ "parameters": [ { "$ref": "#/components/parameters/org" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -6402,7 +6425,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -100539,6 +100562,367 @@ null ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ] + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -100701,6 +101085,20 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -104033,7 +104431,14 @@ "accessible_repositories": { "type": "array", "items": { - "$ref": "#/components/schemas/simple-repository" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] } } }, @@ -106723,6 +107128,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -106736,6 +107144,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -106777,7 +107191,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -128689,6 +129102,20 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -128699,323 +129126,6 @@ "null" ] }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 7b47862f62..7f7d515920 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -4481,6 +4481,23 @@ paths: url: https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - "$ref": "#/components/parameters/org" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -4521,7 +4538,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -72881,6 +72898,282 @@ components: - revoked - used_in_tests - + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" organization-secret-scanning-alert: type: object properties: @@ -72992,6 +73285,14 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. actor: title: Actor description: Actor @@ -75373,7 +75674,9 @@ components: accessible_repositories: type: array items: - "$ref": "#/components/schemas/simple-repository" + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" additionalProperties: false billing-usage-report: type: object @@ -77446,6 +77749,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -77455,6 +77760,10 @@ components: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -77484,7 +77793,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -93267,269 +93575,20 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: - string - 'null' - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 54765577be..52983bd7f4 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -25684,6 +25684,339 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -58040,6 +58373,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -58070,554 +58426,561 @@ "accessible_repositories": { "type": "array", "items": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] + "anyOf": [ + { + "type": "null" }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", + { + "title": "Simple Repository", + "description": "A GitHub repository.", "type": "object", "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository.", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository.", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, "name": { - "type": [ - "string", - "null" + "type": "string", + "description": "The name of the repository.", + "examples": [ + "Hello-World" ] }, - "email": { + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository.", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com.", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { "type": [ "string", "null" + ], + "description": "The repository description.", + "examples": [ + "This your first repo!" ] }, - "login": { + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API.", "examples": [ - "octocat" + "https://api.github.com/repos/octocat/Hello-World" ] }, - "id": { - "type": "integer", - "format": "int64", + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive.", "examples": [ - 1 + "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" ] }, - "node_id": { + "assignees_url": { "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository.", "examples": [ - "MDQ6VXNlcjE=" + "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" ] }, - "avatar_url": { + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { "type": "string", "format": "uri", + "description": "A template for the API URL to list the contributors to the repository.", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "https://api.github.com/repos/octocat/Hello-World/contributors" ] }, - "gravatar_id": { - "type": [ - "string", - "null" - ], + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository.", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "https://api.github.com/repos/octocat/Hello-World/deployments" ] }, - "url": { + "downloads_url": { "type": "string", "format": "uri", + "description": "The API URL to list the downloads on the repository.", "examples": [ - "https://api.github.com/users/octocat" + "https://api.github.com/repos/octocat/Hello-World/downloads" ] }, - "html_url": { + "events_url": { "type": "string", "format": "uri", + "description": "The API URL to list the events of the repository.", "examples": [ - "https://github.com/octocat" + "https://api.github.com/repos/octocat/Hello-World/events" ] }, - "followers_url": { + "forks_url": { "type": "string", "format": "uri", + "description": "The API URL to list the forks of the repository.", "examples": [ - "https://api.github.com/users/octocat/followers" + "https://api.github.com/repos/octocat/Hello-World/forks" ] }, - "following_url": { + "git_commits_url": { "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository.", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" ] }, - "gists_url": { + "git_refs_url": { "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository.", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" ] }, - "starred_url": { + "git_tags_url": { "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository.", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" ] }, - "subscriptions_url": { + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { "type": "string", "format": "uri", + "description": "The API URL to get information about the languages of the repository.", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "https://api.github.com/repos/octocat/Hello-World/languages" ] }, - "organizations_url": { + "merges_url": { "type": "string", "format": "uri", + "description": "The API URL to merge branches in the repository.", "examples": [ - "https://api.github.com/users/octocat/orgs" + "https://api.github.com/repos/octocat/Hello-World/merges" ] }, - "repos_url": { + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "stargazers_url": { "type": "string", "format": "uri", + "description": "The API URL to list the stargazers on the repository.", "examples": [ - "https://api.github.com/users/octocat/repos" + "https://api.github.com/repos/octocat/Hello-World/stargazers" ] }, - "events_url": { + "statuses_url": { "type": "string", + "description": "A template for the API URL to get information about statuses of a commit.", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" ] }, - "received_events_url": { + "subscribers_url": { "type": "string", "format": "uri", + "description": "The API URL to list the subscribers on the repository.", "examples": [ - "https://api.github.com/users/octocat/received_events" + "https://api.github.com/repos/octocat/Hello-World/subscribers" ] }, - "type": { + "subscription_url": { "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository.", "examples": [ - "User" + "https://api.github.com/repos/octocat/Hello-World/subscription" ] }, - "site_admin": { - "type": "boolean" + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/tags" + ] }, - "starred_at": { + "teams_url": { "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository.", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "https://api.github.com/repos/octocat/Hello-World/teams" ] }, - "user_view_type": { + "trees_url": { "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", "examples": [ - "public" + "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/hooks" ] } }, "required": [ - "avatar_url", + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", "html_url", "id", "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", "url" ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" ] } } @@ -58795,7 +59158,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -90749,6 +91112,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -90762,6 +91128,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -90803,7 +91175,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -118702,6 +119073,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -118715,6 +119089,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -118756,7 +119136,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -157368,6 +157747,339 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -494590,6 +495302,339 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -495485,6 +496530,339 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -496338,6 +497716,339 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index d3b8a4496f..a96d2e654f 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1067,7 +1067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &564 + - &578 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9894,6 +9894,304 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &558 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &560 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &561 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &562 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &563 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &564 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &565 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &566 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &567 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &568 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &569 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &570 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &571 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &572 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: &245 value: @@ -11240,7 +11538,7 @@ paths: url: type: string format: uri - user: &587 + user: &601 title: Public User description: Public User type: object @@ -15862,7 +16160,7 @@ paths: - avatar_url - description examples: - default: &604 + default: &618 value: - login: github id: 1 @@ -15909,6 +16207,23 @@ paths: required: true schema: type: string + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -15934,7 +16249,10 @@ paths: - internal accessible_repositories: type: array - items: *51 + items: + anyOf: + - type: 'null' + - *51 additionalProperties: false examples: default: @@ -16037,7 +16355,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -16131,7 +16449,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *90 - - &627 + - &641 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -16140,7 +16458,7 @@ paths: required: false schema: type: integer - - &628 + - &642 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -16149,7 +16467,7 @@ paths: required: false schema: type: integer - - &629 + - &643 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -16158,7 +16476,7 @@ paths: required: false schema: type: integer - - &630 + - &644 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18049,7 +18367,7 @@ paths: type: array items: *59 examples: - default: &598 + default: &612 value: total_count: 1 repositories: @@ -18921,7 +19239,7 @@ paths: type: array items: *116 examples: - default: &590 + default: &604 value: total_count: 1 repositories: @@ -25260,6 +25578,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -25269,6 +25589,10 @@ paths: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -25298,7 +25622,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -30560,7 +30883,7 @@ paths: parameters: - *90 - *198 - - &603 + - &617 name: repo_name description: repo_name parameter in: path @@ -31606,7 +31929,7 @@ paths: - nuget - container - *90 - - &605 + - &619 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -31647,7 +31970,7 @@ paths: default: *205 '403': *27 '401': *23 - '400': &607 + '400': &621 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37452,7 +37775,7 @@ paths: application/json: schema: type: array - items: &562 + items: &576 description: A repository security advisory. type: object properties: @@ -37771,7 +38094,7 @@ paths: - private_fork additionalProperties: false examples: - default: &563 + default: &577 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -38245,7 +38568,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &635 type: object properties: total_minutes_used: @@ -38315,7 +38638,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &622 + default: &636 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -38351,7 +38674,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &637 type: object properties: total_gigabytes_bandwidth_used: @@ -38369,7 +38692,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &624 + default: &638 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -38401,7 +38724,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &639 type: object properties: days_left_in_billing_cycle: @@ -38419,7 +38742,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &626 + default: &640 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -39723,7 +40046,7 @@ paths: - updated_at - url examples: - default: &577 + default: &591 value: - author: login: octocat @@ -39971,7 +40294,7 @@ paths: application/json: schema: *255 examples: - default: &578 + default: &592 value: author: login: octocat @@ -40162,7 +40485,7 @@ paths: - updated_at - url examples: - default: &579 + default: &593 value: - author: login: octocat @@ -40388,7 +40711,7 @@ paths: application/json: schema: *258 examples: - default: &580 + default: &594 value: author: login: octocat @@ -41006,7 +41329,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &581 + response-if-user-is-a-team-maintainer: &595 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -41071,7 +41394,7 @@ paths: application/json: schema: *265 examples: - response-if-users-membership-with-team-is-now-pending: &582 + response-if-users-membership-with-team-is-now-pending: &596 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -41213,7 +41536,7 @@ paths: - updated_at - permissions examples: - default: &583 + default: &597 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41292,7 +41615,7 @@ paths: application/json: schema: *266 examples: - default: &584 + default: &598 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41503,7 +41826,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &585 + schema: &599 title: Team Repository description: A team's access to a repository. type: object @@ -42232,7 +42555,7 @@ paths: type: array items: *146 examples: - response-if-child-teams-exist: &586 + response-if-child-teams-exist: &600 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54355,7 +54678,7 @@ paths: check. type: array items: *347 - deployment: &639 + deployment: &653 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59557,7 +59880,7 @@ paths: type: array items: *388 examples: - default: &593 + default: &607 value: total_count: 2 machines: @@ -62905,7 +63228,7 @@ paths: application/json: schema: type: array - items: &567 + items: &581 title: Status description: The status of a commit. type: object @@ -64504,7 +64827,7 @@ paths: items: type: object properties: - placeholder_id: &559 + placeholder_id: &573 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70400,7 +70723,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &670 + last_response: &684 title: Hook Response type: object properties: @@ -71375,7 +71698,7 @@ paths: parameters: - *268 - *269 - - &616 + - &630 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71809,7 +72132,7 @@ paths: type: array items: *458 examples: - default: &609 + default: &623 value: - id: 1 repository: @@ -85631,7 +85954,7 @@ paths: application/json: schema: type: array - items: &558 + items: &559 type: object properties: number: *52 @@ -85739,6 +86062,14 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *558 + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: value: @@ -85876,7 +86207,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -85958,7 +86289,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -86046,7 +86377,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &691 + items: &705 type: object properties: type: @@ -86073,273 +86404,19 @@ paths: - commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *560 + - *561 + - *562 + - *563 + - *564 + - *565 + - *566 + - *567 + - *568 + - *569 + - *570 + - *571 + - *572 examples: default: value: @@ -86434,14 +86511,14 @@ paths: schema: type: object properties: - reason: &560 + reason: &574 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *559 + placeholder_id: *573 required: - reason - placeholder_id @@ -86458,7 +86535,7 @@ paths: schema: type: object properties: - reason: *560 + reason: *574 expire_at: type: - string @@ -86518,7 +86595,7 @@ paths: properties: incremental_scans: type: array - items: &561 + items: &575 description: Information on a single scan performed by secret scanning on the repository type: object @@ -86546,15 +86623,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *561 + items: *575 backfill_scans: type: array - items: *561 + items: *575 custom_pattern_backfill_scans: type: array items: allOf: - - *561 + - *575 - type: object properties: pattern_name: @@ -86669,9 +86746,9 @@ paths: application/json: schema: type: array - items: *562 + items: *576 examples: - default: *563 + default: *577 '400': *14 '404': *6 x-github: @@ -86865,9 +86942,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: &565 + default: &579 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87214,7 +87291,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: default: value: @@ -87363,15 +87440,15 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '200': description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: *565 + default: *579 '403': *27 '404': *6 x-github: @@ -87397,7 +87474,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 requestBody: required: true content: @@ -87568,10 +87645,10 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: *565 - add_credit: *565 + default: *579 + add_credit: *579 '403': *27 '404': *6 '422': @@ -87611,7 +87688,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': *37 '400': *14 @@ -87640,7 +87717,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': description: Response @@ -87781,7 +87858,7 @@ paths: application/json: schema: type: array - items: &566 + items: &580 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -88154,7 +88231,7 @@ paths: application/json: schema: type: array - items: *566 + items: *580 examples: default: value: @@ -88244,7 +88321,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *581 examples: default: value: @@ -88338,7 +88415,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &568 + schema: &582 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88438,7 +88515,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *582 examples: default: value: @@ -88578,7 +88655,7 @@ paths: application/json: schema: type: array - items: &569 + items: &583 title: Tag protection description: Tag protection type: object @@ -88659,7 +88736,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *583 examples: default: value: @@ -88807,7 +88884,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &584 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88819,7 +88896,7 @@ paths: required: - names examples: - default: &571 + default: &585 value: names: - octocat @@ -88874,9 +88951,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *584 examples: - default: *571 + default: *585 '404': *6 '422': *7 x-github: @@ -88899,7 +88976,7 @@ paths: parameters: - *268 - *269 - - &572 + - &586 name: per description: The time frame to display results for. in: query @@ -88930,7 +89007,7 @@ paths: - 128 clones: type: array - items: &573 + items: &587 title: Traffic type: object properties: @@ -89178,7 +89255,7 @@ paths: parameters: - *268 - *269 - - *572 + - *586 responses: '200': description: Response @@ -89199,7 +89276,7 @@ paths: - 3782 views: type: array - items: *573 + items: *587 required: - uniques - count @@ -89969,7 +90046,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &574 + text_matches: &588 title: Search Result Text Matches type: array items: @@ -90132,7 +90209,7 @@ paths: enum: - author-date - committer-date - - &575 + - &589 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -90252,7 +90329,7 @@ paths: type: number node_id: type: string - text_matches: *574 + text_matches: *588 required: - sha - node_id @@ -90434,7 +90511,7 @@ paths: - interactions - created - updated - - *575 + - *589 - *17 - *19 - name: advanced_search @@ -90572,7 +90649,7 @@ paths: - string - 'null' format: date-time - text_matches: *574 + text_matches: *588 pull_request: type: object properties: @@ -90798,7 +90875,7 @@ paths: enum: - created - updated - - *575 + - *589 - *17 - *19 responses: @@ -90843,7 +90920,7 @@ paths: - 'null' score: type: number - text_matches: *574 + text_matches: *588 required: - id - node_id @@ -90928,7 +91005,7 @@ paths: - forks - help-wanted-issues - updated - - *575 + - *589 - *17 - *19 responses: @@ -91165,7 +91242,7 @@ paths: - admin - pull - push - text_matches: *574 + text_matches: *588 temp_clone_token: type: string allow_merge_commit: @@ -91473,7 +91550,7 @@ paths: - string - 'null' format: uri - text_matches: *574 + text_matches: *588 related: type: - array @@ -91666,7 +91743,7 @@ paths: - followers - repositories - joined - - *575 + - *589 - *17 - *19 responses: @@ -91776,7 +91853,7 @@ paths: type: - boolean - 'null' - text_matches: *574 + text_matches: *588 blog: type: - string @@ -91858,7 +91935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &576 + - &590 name: team_id description: The unique identifier of the team. in: path @@ -91899,7 +91976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *576 + - *590 requestBody: required: true content: @@ -92000,7 +92077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *576 + - *590 responses: '204': description: Response @@ -92031,7 +92108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *576 + - *590 - *46 - *17 - *19 @@ -92044,7 +92121,7 @@ paths: type: array items: *255 examples: - default: *577 + default: *591 headers: Link: *57 x-github: @@ -92073,7 +92150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *576 + - *590 requestBody: required: true content: @@ -92136,7 +92213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *576 + - *590 - *257 responses: '200': @@ -92170,7 +92247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *576 + - *590 - *257 requestBody: required: false @@ -92196,7 +92273,7 @@ paths: application/json: schema: *255 examples: - default: *578 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92221,7 +92298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *576 + - *590 - *257 responses: '204': @@ -92251,7 +92328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *576 + - *590 - *257 - *46 - *17 @@ -92265,7 +92342,7 @@ paths: type: array items: *258 examples: - default: *579 + default: *593 headers: Link: *57 x-github: @@ -92294,7 +92371,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 requestBody: required: true @@ -92346,7 +92423,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 responses: @@ -92381,7 +92458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 requestBody: @@ -92407,7 +92484,7 @@ paths: application/json: schema: *258 examples: - default: *580 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92432,7 +92509,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 responses: @@ -92463,7 +92540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 - name: content @@ -92522,7 +92599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 requestBody: @@ -92584,7 +92661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *576 + - *590 - *257 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -92642,7 +92719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *576 + - *590 - *257 requestBody: required: true @@ -92701,7 +92778,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -92739,7 +92816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *576 + - *590 - name: role description: Filters members returned by their role in the team. in: query @@ -92790,7 +92867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92827,7 +92904,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92867,7 +92944,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92904,7 +92981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 responses: '200': @@ -92913,7 +92990,7 @@ paths: application/json: schema: *265 examples: - response-if-user-is-a-team-maintainer: *581 + response-if-user-is-a-team-maintainer: *595 '404': *6 x-github: githubCloudOnly: false @@ -92946,7 +93023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 requestBody: required: false @@ -92974,7 +93051,7 @@ paths: application/json: schema: *265 examples: - response-if-users-membership-with-team-is-now-pending: *582 + response-if-users-membership-with-team-is-now-pending: *596 '403': description: Forbidden if team synchronization is set up '422': @@ -93008,7 +93085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -93037,7 +93114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93049,7 +93126,7 @@ paths: type: array items: *266 examples: - default: *583 + default: *597 headers: Link: *57 '404': *6 @@ -93075,7 +93152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *576 + - *590 - *267 responses: '200': @@ -93084,7 +93161,7 @@ paths: application/json: schema: *266 examples: - default: *584 + default: *598 '404': description: Not Found if project is not managed by this team x-github: @@ -93108,7 +93185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *576 + - *590 - *267 requestBody: required: false @@ -93176,7 +93253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *576 + - *590 - *267 responses: '204': @@ -93204,7 +93281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93246,7 +93323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *576 + - *590 - *268 - *269 responses: @@ -93254,7 +93331,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *585 + schema: *599 examples: alternative-response-with-extra-repository-information: value: @@ -93405,7 +93482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *576 + - *590 - *268 - *269 requestBody: @@ -93457,7 +93534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *576 + - *590 - *268 - *269 responses: @@ -93484,7 +93561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93496,7 +93573,7 @@ paths: type: array items: *146 examples: - response-if-child-teams-exist: *586 + response-if-child-teams-exist: *600 headers: Link: *57 '404': *6 @@ -93529,7 +93606,7 @@ paths: application/json: schema: oneOf: - - &588 + - &602 title: Private User description: Private User type: object @@ -93779,7 +93856,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *587 + - *601 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -93939,7 +94016,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *602 examples: default: value: @@ -94337,7 +94414,7 @@ paths: type: integer secrets: type: array - items: &589 + items: &603 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94457,7 +94534,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *603 examples: default: value: @@ -94603,7 +94680,7 @@ paths: type: array items: *116 examples: - default: *590 + default: *604 '401': *23 '403': *27 '404': *6 @@ -94870,7 +94947,7 @@ paths: description: Response content: application/json: - schema: &591 + schema: &605 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94923,7 +95000,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &592 + default: &606 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -94968,9 +95045,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *605 examples: - default: *592 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -95009,7 +95086,7 @@ paths: type: array items: *388 examples: - default: *593 + default: *607 '304': *35 '500': *91 '401': *23 @@ -95975,7 +96052,7 @@ paths: type: array items: *204 examples: - default: &606 + default: &620 value: - id: 197 name: hello_docker @@ -96076,7 +96153,7 @@ paths: application/json: schema: type: array - items: &594 + items: &608 title: Email description: Email type: object @@ -96146,9 +96223,9 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: - default: &608 + default: &622 value: - email: octocat@github.com verified: true @@ -96225,7 +96302,7 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: default: value: @@ -96483,7 +96560,7 @@ paths: application/json: schema: type: array - items: &595 + items: &609 title: GPG Key description: A unique encryption key type: object @@ -96628,7 +96705,7 @@ paths: - subkeys - revoked examples: - default: &619 + default: &633 value: - id: 3 name: Octocat's GPG Key @@ -96713,9 +96790,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *609 examples: - default: &596 + default: &610 value: id: 3 name: Octocat's GPG Key @@ -96772,7 +96849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &597 + - &611 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96784,9 +96861,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *609 examples: - default: *596 + default: *610 '404': *6 '304': *35 '403': *27 @@ -96809,7 +96886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *597 + - *611 responses: '204': description: Response @@ -97000,7 +97077,7 @@ paths: type: array items: *59 examples: - default: *598 + default: *612 headers: Link: *57 '404': *6 @@ -97264,7 +97341,7 @@ paths: application/json: schema: type: array - items: &599 + items: &613 title: Key description: Key type: object @@ -97362,9 +97439,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: &600 + default: &614 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97403,9 +97480,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: *600 + default: *614 '404': *6 '304': *35 '403': *27 @@ -97461,7 +97538,7 @@ paths: application/json: schema: type: array - items: &601 + items: &615 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97540,7 +97617,7 @@ paths: - account - plan examples: - default: &602 + default: &616 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97602,9 +97679,9 @@ paths: application/json: schema: type: array - items: *601 + items: *615 examples: - default: *602 + default: *616 headers: Link: *57 '304': *35 @@ -98608,7 +98685,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *198 - - *603 + - *617 responses: '204': description: Response @@ -98681,7 +98758,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 '304': *35 @@ -98723,7 +98800,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *19 - *17 responses: @@ -98735,8 +98812,8 @@ paths: type: array items: *204 examples: - default: *606 - '400': *607 + default: *620 + '400': *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98765,7 +98842,7 @@ paths: application/json: schema: *204 examples: - default: &620 + default: &634 value: id: 40201 name: octo-name @@ -99220,9 +99297,9 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: - default: *608 + default: *622 headers: Link: *57 '304': *35 @@ -99335,7 +99412,7 @@ paths: type: array items: *59 examples: - default: &615 + default: &629 summary: Default response value: - id: 1296269 @@ -99695,7 +99772,7 @@ paths: type: array items: *458 examples: - default: *609 + default: *623 headers: Link: *57 '304': *35 @@ -99774,7 +99851,7 @@ paths: application/json: schema: type: array - items: &610 + items: &624 title: Social account description: Social media account type: object @@ -99791,7 +99868,7 @@ paths: - provider - url examples: - default: &611 + default: &625 value: - provider: twitter url: https://twitter.com/github @@ -99854,9 +99931,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 '422': *15 '304': *35 '404': *6 @@ -99944,7 +100021,7 @@ paths: application/json: schema: type: array - items: &612 + items: &626 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99964,7 +100041,7 @@ paths: - title - created_at examples: - default: &631 + default: &645 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100031,9 +100108,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: &613 + default: &627 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100064,7 +100141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &614 + - &628 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -100076,9 +100153,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: *613 + default: *627 '404': *6 '304': *35 '403': *27 @@ -100101,7 +100178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *614 + - *628 responses: '204': description: Response @@ -100130,7 +100207,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &632 + - &646 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -100155,11 +100232,11 @@ paths: type: array items: *59 examples: - default-response: *615 + default-response: *629 application/vnd.github.v3.star+json: schema: type: array - items: &633 + items: &647 title: Starred Repository description: Starred Repository type: object @@ -100528,10 +100605,10 @@ paths: application/json: schema: oneOf: - - *588 - - *587 + - *602 + - *601 examples: - default-response: &617 + default-response: &631 summary: Default response value: login: octocat @@ -100566,7 +100643,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &618 + response-with-git-hub-plan-information: &632 summary: Response with GitHub plan information value: login: octocat @@ -100626,7 +100703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *616 + - *630 - *17 responses: '200': @@ -100675,11 +100752,11 @@ paths: application/json: schema: oneOf: - - *588 - - *587 + - *602 + - *601 examples: - default-response: *617 - response-with-git-hub-plan-information: *618 + default-response: *631 + response-with-git-hub-plan-information: *632 '404': *6 x-github: githubCloudOnly: false @@ -100796,7 +100873,7 @@ paths: type: array items: *204 examples: - default: *606 + default: *620 '403': *27 '401': *23 x-github: @@ -101200,9 +101277,9 @@ paths: application/json: schema: type: array - items: *595 + items: *609 examples: - default: *619 + default: *633 headers: Link: *57 x-github: @@ -101384,7 +101461,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 x-github: @@ -101423,7 +101500,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *129 - *19 - *17 @@ -101436,10 +101513,10 @@ paths: type: array items: *204 examples: - default: *606 + default: *620 '403': *27 '401': *23 - '400': *607 + '400': *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101469,7 +101546,7 @@ paths: application/json: schema: *204 examples: - default: *620 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102068,9 +102145,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *635 examples: - default: *622 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102098,9 +102175,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *637 examples: - default: *624 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102128,9 +102205,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *639 examples: - default: *626 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102151,10 +102228,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *129 - - *627 - - *628 - - *629 - - *630 + - *641 + - *642 + - *643 + - *644 responses: '200': description: Response when getting a billing usage report @@ -102253,9 +102330,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 headers: Link: *57 x-github: @@ -102285,9 +102362,9 @@ paths: application/json: schema: type: array - items: *612 + items: *626 examples: - default: *631 + default: *645 headers: Link: *57 x-github: @@ -102312,7 +102389,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *129 - - *632 + - *646 - *46 - *17 - *19 @@ -102324,11 +102401,11 @@ paths: schema: anyOf: - type: array - items: *633 + items: *647 - type: array items: *59 examples: - default-response: *615 + default-response: *629 headers: Link: *57 x-github: @@ -102488,7 +102565,7 @@ webhooks: type: string enum: - disabled - enterprise: &634 + enterprise: &648 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102557,7 +102634,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &635 + installation: &649 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102578,7 +102655,7 @@ webhooks: required: - id - node_id - organization: &636 + organization: &650 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102651,7 +102728,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &637 + repository: &651 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -103564,10 +103641,10 @@ webhooks: type: string enum: - enabled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -103643,11 +103720,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: &638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: &652 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -103870,11 +103947,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -104062,11 +104139,11 @@ webhooks: - everyone required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -104150,7 +104227,7 @@ webhooks: type: string enum: - completed - check_run: &640 + check_run: &654 title: CheckRun description: A check performed on the code of a given code change type: object @@ -104263,7 +104340,7 @@ webhooks: - examples: - neutral - deployment: *639 + deployment: *653 details_url: type: string examples: @@ -104361,9 +104438,9 @@ webhooks: - output - app - pull_requests - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -104756,10 +104833,10 @@ webhooks: type: string enum: - created - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -105155,10 +105232,10 @@ webhooks: type: string enum: - requested_action - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 requested_action: description: The action requested by the user. type: object @@ -105563,10 +105640,10 @@ webhooks: type: string enum: - rerequested - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -106558,10 +106635,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -107246,10 +107323,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -107928,10 +108005,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -108249,20 +108326,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &641 + commit_oid: &655 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *634 - installation: *635 - organization: *636 - ref: &642 + enterprise: *648 + installation: *649 + organization: *650 + ref: &656 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -108667,12 +108744,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -108952,12 +109029,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -109300,12 +109377,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -109585,9 +109662,9 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -109595,7 +109672,7 @@ webhooks: type: - string - 'null' - repository: *637 + repository: *651 sender: *4 required: - action @@ -109838,12 +109915,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -110105,10 +110182,10 @@ webhooks: - updated_at - author_association - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -110189,18 +110266,18 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *636 - pusher_type: &643 + organization: *650 + pusher_type: &657 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &644 + ref: &658 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -110210,7 +110287,7 @@ webhooks: enum: - tag - branch - repository: *637 + repository: *651 sender: *4 required: - ref @@ -110293,9 +110370,9 @@ webhooks: enum: - created definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110380,9 +110457,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110460,9 +110537,9 @@ webhooks: enum: - promote_to_enterprise definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110540,9 +110617,9 @@ webhooks: enum: - updated definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110619,10 +110696,10 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - repository: *637 - organization: *636 + enterprise: *648 + installation: *649 + repository: *651 + organization: *650 sender: *4 new_property_values: type: array @@ -110707,18 +110784,18 @@ webhooks: title: delete event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - pusher_type: *643 - ref: *644 + enterprise: *648 + installation: *649 + organization: *650 + pusher_type: *657 + ref: *658 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *637 + repository: *651 sender: *4 required: - ref @@ -110803,10 +110880,10 @@ webhooks: enum: - auto_dismissed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -110891,10 +110968,10 @@ webhooks: enum: - auto_reopened alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -110979,10 +111056,10 @@ webhooks: enum: - created alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111065,10 +111142,10 @@ webhooks: enum: - dismissed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111151,10 +111228,10 @@ webhooks: enum: - fixed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111238,10 +111315,10 @@ webhooks: enum: - reintroduced alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111324,10 +111401,10 @@ webhooks: enum: - reopened alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111404,9 +111481,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - key: &645 + enterprise: *648 + installation: *649 + key: &659 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111444,8 +111521,8 @@ webhooks: - verified - created_at - read_only - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -111522,11 +111599,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - key: *645 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + key: *659 + organization: *650 + repository: *651 sender: *4 required: - action @@ -112098,12 +112175,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: &649 + workflow: &663 title: Workflow type: - object @@ -112845,9 +112922,9 @@ webhooks: pull_requests: type: array items: *502 - repository: *637 - organization: *636 - installation: *635 + repository: *651 + organization: *650 + installation: *649 sender: *4 responses: '200': @@ -112918,7 +112995,7 @@ webhooks: type: string enum: - approved - approver: &646 + approver: &660 type: object properties: avatar_url: @@ -112961,11 +113038,11 @@ webhooks: type: string comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: &647 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: &661 type: array items: type: object @@ -113046,7 +113123,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &648 + workflow_job_run: &662 type: object properties: conclusion: @@ -113792,18 +113869,18 @@ webhooks: type: string enum: - rejected - approver: *646 + approver: *660 comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: *647 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: *661 sender: *4 since: type: string - workflow_job_run: *648 + workflow_job_run: *662 workflow_job_runs: type: array items: @@ -114520,13 +114597,13 @@ webhooks: type: string enum: - requested - enterprise: *634 + enterprise: *648 environment: type: string - installation: *635 - organization: *636 - repository: *637 - requestor: &654 + installation: *649 + organization: *650 + repository: *651 + requestor: &668 title: User type: - object @@ -116469,12 +116546,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Deployment Workflow Run type: @@ -117165,7 +117242,7 @@ webhooks: type: string enum: - answered - answer: &652 + answer: &666 type: object properties: author_association: @@ -117325,7 +117402,7 @@ webhooks: - created_at - updated_at - body - discussion: &650 + discussion: &664 title: Discussion description: A Discussion in a repository. type: object @@ -117643,10 +117720,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117773,11 +117850,11 @@ webhooks: - from required: - category - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117860,11 +117937,11 @@ webhooks: type: string enum: - closed - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117946,7 +118023,7 @@ webhooks: type: string enum: - created - comment: &651 + comment: &665 type: object properties: author_association: @@ -118106,11 +118183,11 @@ webhooks: - updated_at - body - reactions - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118193,12 +118270,12 @@ webhooks: type: string enum: - deleted - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118293,12 +118370,12 @@ webhooks: - from required: - body - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118382,11 +118459,11 @@ webhooks: type: string enum: - created - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118468,11 +118545,11 @@ webhooks: type: string enum: - deleted - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118572,11 +118649,11 @@ webhooks: type: string required: - from - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118658,10 +118735,10 @@ webhooks: type: string enum: - labeled - discussion: *650 - enterprise: *634 - installation: *635 - label: &653 + discussion: *664 + enterprise: *648 + installation: *649 + label: &667 title: Label type: object properties: @@ -118694,8 +118771,8 @@ webhooks: - color - default - description - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118778,11 +118855,11 @@ webhooks: type: string enum: - locked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118864,11 +118941,11 @@ webhooks: type: string enum: - pinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118950,11 +119027,11 @@ webhooks: type: string enum: - reopened - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119039,16 +119116,16 @@ webhooks: changes: type: object properties: - new_discussion: *650 - new_repository: *637 + new_discussion: *664 + new_repository: *651 required: - new_discussion - new_repository - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119131,10 +119208,10 @@ webhooks: type: string enum: - unanswered - discussion: *650 - old_answer: *652 - organization: *636 - repository: *637 + discussion: *664 + old_answer: *666 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119216,12 +119293,12 @@ webhooks: type: string enum: - unlabeled - discussion: *650 - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119304,11 +119381,11 @@ webhooks: type: string enum: - unlocked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119390,11 +119467,11 @@ webhooks: type: string enum: - unpinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119467,7 +119544,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *634 + enterprise: *648 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -120145,9 +120222,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - forkee @@ -120293,9 +120370,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pages: description: The pages that were updated. type: array @@ -120333,7 +120410,7 @@ webhooks: - action - sha - html_url - repository: *637 + repository: *651 sender: *4 required: - pages @@ -120409,10 +120486,10 @@ webhooks: type: string enum: - created - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: &655 + organization: *650 + repositories: &669 description: An array of repository objects that the installation can access. type: array @@ -120438,8 +120515,8 @@ webhooks: - name - full_name - private - repository: *637 - requester: *654 + repository: *651 + requester: *668 sender: *4 required: - action @@ -120514,11 +120591,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -120595,11 +120672,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -120676,10 +120753,10 @@ webhooks: type: string enum: - added - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories_added: &656 + organization: *650 + repositories_added: &670 description: An array of repository objects, which were added to the installation. type: array @@ -120725,15 +120802,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *637 - repository_selection: &657 + repository: *651 + repository_selection: &671 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *654 + requester: *668 sender: *4 required: - action @@ -120812,10 +120889,10 @@ webhooks: type: string enum: - removed - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories_added: *656 + organization: *650 + repositories_added: *670 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -120842,9 +120919,9 @@ webhooks: - name - full_name - private - repository: *637 - repository_selection: *657 - requester: *654 + repository: *651 + repository_selection: *671 + requester: *668 sender: *4 required: - action @@ -120923,11 +121000,11 @@ webhooks: type: string enum: - suspend - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -121109,10 +121186,10 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 target_type: type: string @@ -121191,11 +121268,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -121443,8 +121520,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122635,8 +122712,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -122716,7 +122793,7 @@ webhooks: type: string enum: - deleted - comment: &658 + comment: &672 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -122883,8 +122960,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124073,8 +124150,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -124154,7 +124231,7 @@ webhooks: type: string enum: - edited - changes: &683 + changes: &697 description: The changes to the comment. type: object properties: @@ -124166,9 +124243,9 @@ webhooks: type: string required: - from - comment: *658 - enterprise: *634 - installation: *635 + comment: *672 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125358,8 +125435,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -125441,10 +125518,10 @@ webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - issue: &661 + assignee: *668 + enterprise: *648 + installation: *649 + issue: &675 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126389,8 +126466,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -126470,8 +126547,8 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -127564,8 +127641,8 @@ webhooks: required: - state - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -127644,8 +127721,8 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128585,8 +128662,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -128665,8 +128742,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129608,7 +129685,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &659 + milestone: &673 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129751,8 +129828,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -129851,8 +129928,8 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130797,9 +130874,9 @@ webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -130879,8 +130956,8 @@ webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131824,9 +131901,9 @@ webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -131906,8 +131983,8 @@ webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132853,8 +132930,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -132933,8 +133010,8 @@ webhooks: type: string enum: - milestoned - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133874,9 +133951,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *659 - organization: *636 - repository: *637 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -135358,8 +135435,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136303,8 +136380,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136384,9 +136461,9 @@ webhooks: type: string enum: - pinned - enterprise: *634 - installation: *635 - issue: &660 + enterprise: *648 + installation: *649 + issue: &674 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -137324,8 +137401,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137404,8 +137481,8 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138350,8 +138427,8 @@ webhooks: user_view_type: type: string type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139852,11 +139929,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139936,12 +140013,12 @@ webhooks: type: string enum: - typed - enterprise: *634 - installation: *635 - issue: *661 + enterprise: *648 + installation: *649 + issue: *675 type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140022,7 +140099,7 @@ webhooks: type: string enum: - unassigned - assignee: &686 + assignee: &700 title: User type: - object @@ -140094,11 +140171,11 @@ webhooks: required: - login - id - enterprise: *634 - installation: *635 - issue: *661 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *675 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140177,12 +140254,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - issue: *661 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *675 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140262,8 +140339,8 @@ webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141207,8 +141284,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141288,11 +141365,11 @@ webhooks: type: string enum: - unpinned - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141371,12 +141448,12 @@ webhooks: type: string enum: - untyped - enterprise: *634 - installation: *635 - issue: *661 + enterprise: *648 + installation: *649 + issue: *675 type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141456,11 +141533,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141538,11 +141615,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141652,11 +141729,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141738,9 +141815,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: &662 + enterprise: *648 + installation: *649 + marketplace_purchase: &676 title: Marketplace Purchase type: object required: @@ -141828,8 +141905,8 @@ webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: &663 + organization: *650 + previous_marketplace_purchase: &677 title: Marketplace Purchase type: object properties: @@ -141913,7 +141990,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -141993,10 +142070,10 @@ webhooks: - changed effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142084,7 +142161,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142166,10 +142243,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142255,7 +142332,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142336,8 +142413,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 marketplace_purchase: title: Marketplace Purchase type: object @@ -142423,9 +142500,9 @@ webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -142505,12 +142582,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -142612,11 +142689,11 @@ webhooks: type: string required: - to - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142718,11 +142795,11 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142801,11 +142878,11 @@ webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142883,11 +142960,11 @@ webhooks: type: string enum: - added - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142965,7 +143042,7 @@ webhooks: required: - login - id - team: &664 + team: &678 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -143158,11 +143235,11 @@ webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143241,7 +143318,7 @@ webhooks: required: - login - id - team: *664 + team: *678 required: - action - scope @@ -143323,8 +143400,8 @@ webhooks: type: string enum: - checks_requested - installation: *635 - merge_group: &665 + installation: *649 + merge_group: &679 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -143350,8 +143427,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143437,10 +143514,10 @@ webhooks: - merged - invalidated - dequeued - installation: *635 - merge_group: *665 - organization: *636 - repository: *637 + installation: *649 + merge_group: *679 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143513,7 +143590,7 @@ webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *648 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -143621,12 +143698,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *635 - organization: *636 + installation: *649 + organization: *650 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -143706,11 +143783,11 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143789,9 +143866,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - milestone: &666 + enterprise: *648 + installation: *649 + milestone: &680 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143933,8 +144010,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144013,11 +144090,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144127,11 +144204,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144211,11 +144288,11 @@ webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - milestone: *666 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *680 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144294,11 +144371,11 @@ webhooks: type: string enum: - blocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144377,11 +144454,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144460,9 +144537,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - membership: &667 + enterprise: *648 + installation: *649 + membership: &681 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -144556,8 +144633,8 @@ webhooks: - role - organization_url - user - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144635,11 +144712,11 @@ webhooks: type: string enum: - member_added - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144718,8 +144795,8 @@ webhooks: type: string enum: - member_invited - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144841,10 +144918,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 - user: *654 + user: *668 required: - action - invitation @@ -144922,11 +144999,11 @@ webhooks: type: string enum: - member_removed - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -145013,11 +145090,11 @@ webhooks: properties: from: type: string - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -145093,9 +145170,9 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -145618,7 +145695,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &668 + items: &682 title: Ruby Gems metadata type: object properties: @@ -145715,7 +145792,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -145791,9 +145868,9 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -146155,7 +146232,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 source_url: type: string format: uri @@ -146226,7 +146303,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -146407,12 +146484,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *634 + enterprise: *648 id: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - id @@ -146489,7 +146566,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &669 + personal_access_token_request: &683 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -146639,10 +146716,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *634 - organization: *636 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146719,11 +146796,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *669 - enterprise: *634 - organization: *636 + personal_access_token_request: *683 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146799,11 +146876,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *669 - enterprise: *634 - organization: *636 + personal_access_token_request: *683 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146878,11 +146955,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *669 - organization: *636 - enterprise: *634 + personal_access_token_request: *683 + organization: *650 + enterprise: *648 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146987,7 +147064,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *670 + last_response: *684 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -147019,8 +147096,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 zen: description: Random string of GitHub zen. @@ -147265,10 +147342,10 @@ webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: &671 + enterprise: *648 + installation: *649 + organization: *650 + project_card: &685 title: Project Card type: object properties: @@ -147391,7 +147468,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -147472,11 +147549,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_card: *671 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *685 + repository: *651 sender: *4 required: - action @@ -147556,9 +147633,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 project_card: title: Project Card type: object @@ -147688,7 +147765,7 @@ webhooks: repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -147782,11 +147859,11 @@ webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: *671 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *685 + repository: *651 sender: *4 required: - action @@ -147880,9 +147957,9 @@ webhooks: - from required: - column_id - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 project_card: allOf: - title: Project Card @@ -148079,7 +148156,7 @@ webhooks: type: string required: - after_id - repository: *637 + repository: *651 sender: *4 required: - action @@ -148159,10 +148236,10 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - organization: *636 - project: &673 + enterprise: *648 + installation: *649 + organization: *650 + project: &687 title: Project type: object properties: @@ -148289,7 +148366,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148369,10 +148446,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_column: &672 + enterprise: *648 + installation: *649 + organization: *650 + project_column: &686 title: Project Column type: object properties: @@ -148412,7 +148489,7 @@ webhooks: - name - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148491,14 +148568,14 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -148587,11 +148664,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 + repository: *651 sender: *4 required: - action @@ -148671,11 +148748,11 @@ webhooks: type: string enum: - moved - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 + repository: *651 sender: *4 required: - action @@ -148755,11 +148832,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -148839,14 +148916,14 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project: *673 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -148947,11 +149024,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -149030,11 +149107,11 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -149115,9 +149192,9 @@ webhooks: type: string enum: - closed - installation: *635 - organization: *636 - projects_v2: &674 + installation: *649 + organization: *650 + projects_v2: &688 title: Projects v2 Project description: A projects v2 project type: object @@ -149265,9 +149342,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149348,9 +149425,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149471,9 +149548,9 @@ webhooks: type: string to: type: string - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149556,7 +149633,7 @@ webhooks: type: string enum: - archived - changes: &678 + changes: &692 type: object properties: archived_at: @@ -149572,9 +149649,9 @@ webhooks: - string - 'null' format: date-time - installation: *635 - organization: *636 - projects_v2_item: &675 + installation: *649 + organization: *650 + projects_v2_item: &689 title: Projects v2 Item description: An item belonging to a project type: object @@ -149713,9 +149790,9 @@ webhooks: - 'null' to: type: string - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149797,9 +149874,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149880,9 +149957,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149987,7 +150064,7 @@ webhooks: oneOf: - type: string - type: integer - - &676 + - &690 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -150007,7 +150084,7 @@ webhooks: required: - id - name - - &677 + - &691 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150036,8 +150113,8 @@ webhooks: oneOf: - type: string - type: integer - - *676 - - *677 + - *690 + - *691 type: - 'null' - string @@ -150060,9 +150137,9 @@ webhooks: - 'null' required: - body - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150159,9 +150236,9 @@ webhooks: type: - string - 'null' - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150244,10 +150321,10 @@ webhooks: type: string enum: - restored - changes: *678 - installation: *635 - organization: *636 - projects_v2_item: *675 + changes: *692 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150329,9 +150406,9 @@ webhooks: type: string enum: - reopened - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -150412,9 +150489,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_status_update: &679 + installation: *649 + organization: *650 + projects_v2_status_update: &693 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -150549,9 +150626,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_status_update: *679 + installation: *649 + organization: *650 + projects_v2_status_update: *693 sender: *4 required: - action @@ -150697,9 +150774,9 @@ webhooks: - string - 'null' format: date - installation: *635 - organization: *636 - projects_v2_status_update: *679 + installation: *649 + organization: *650 + projects_v2_status_update: *693 sender: *4 required: - action @@ -150770,10 +150847,10 @@ webhooks: title: public event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - repository @@ -150850,13 +150927,13 @@ webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - number: &680 + assignee: *668 + enterprise: *648 + installation: *649 + number: &694 description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -153205,7 +153282,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -153287,11 +153364,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -155633,7 +155710,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -155715,11 +155792,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -158061,7 +158138,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -158143,11 +158220,11 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: &681 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: &695 allOf: - *502 - type: object @@ -158211,7 +158288,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *637 + repository: *651 sender: *4 required: - action @@ -158292,12 +158369,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -158377,11 +158454,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *634 + enterprise: *648 milestone: *400 - number: *680 - organization: *636 - pull_request: &682 + number: *694 + organization: *650 + pull_request: &696 title: Pull Request type: object properties: @@ -160708,7 +160785,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -160787,11 +160864,11 @@ webhooks: type: string enum: - dequeued - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -163137,7 +163214,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *637 + repository: *651 sender: *4 required: - action @@ -163261,12 +163338,12 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -163346,11 +163423,11 @@ webhooks: type: string enum: - enqueued - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -165681,7 +165758,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -165761,11 +165838,11 @@ webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 - label: *653 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + label: *667 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -168113,7 +168190,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -168194,10 +168271,10 @@ webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -170543,7 +170620,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -170623,12 +170700,12 @@ webhooks: type: string enum: - milestoned - enterprise: *634 + enterprise: *648 milestone: *400 - number: *680 - organization: *636 - pull_request: *682 - repository: *637 + number: *694 + organization: *650 + pull_request: *696 + repository: *651 sender: *4 required: - action @@ -170707,12 +170784,12 @@ webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -170793,12 +170870,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -170878,12 +170955,12 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -171258,9 +171335,9 @@ webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -173490,7 +173567,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -173570,7 +173647,7 @@ webhooks: type: string enum: - deleted - comment: &684 + comment: &698 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -173863,9 +173940,9 @@ webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -176083,7 +176160,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -176163,11 +176240,11 @@ webhooks: type: string enum: - edited - changes: *683 - comment: *684 - enterprise: *634 - installation: *635 - organization: *636 + changes: *697 + comment: *698 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -178388,7 +178465,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -178469,9 +178546,9 @@ webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -180704,7 +180781,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 review: description: The review that was affected. type: object @@ -180950,9 +181027,9 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -183066,8 +183143,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: &685 + repository: *651 + review: &699 description: The review that was affected. type: object properties: @@ -183300,12 +183377,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -185652,7 +185729,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -185738,12 +185815,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -188097,7 +188174,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188292,12 +188369,12 @@ webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -190646,7 +190723,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -190733,12 +190810,12 @@ webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -193078,7 +193155,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193262,9 +193339,9 @@ webhooks: type: string enum: - submitted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -195500,8 +195577,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: *685 + repository: *651 + review: *699 sender: *4 required: - action @@ -195581,9 +195658,9 @@ webhooks: type: string enum: - resolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -197714,7 +197791,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -198106,9 +198183,9 @@ webhooks: type: string enum: - unresolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -200222,7 +200299,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -200616,10 +200693,10 @@ webhooks: type: string before: type: string - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -202954,7 +203031,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -203036,11 +203113,11 @@ webhooks: type: string enum: - unassigned - assignee: *686 - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + assignee: *700 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -205390,7 +205467,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -205469,11 +205546,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - label: *653 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + label: *667 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -207812,7 +207889,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -207893,10 +207970,10 @@ webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -210225,7 +210302,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -210428,7 +210505,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *634 + enterprise: *648 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -210523,8 +210600,8 @@ webhooks: - url - author - committer - installation: *635 - organization: *636 + installation: *649 + organization: *650 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -211112,9 +211189,9 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -211591,7 +211668,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -211647,7 +211724,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -211725,9 +211802,9 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -212039,7 +212116,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -212089,7 +212166,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -212166,10 +212243,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - release: &687 + enterprise: *648 + installation: *649 + organization: *650 + release: &701 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212490,7 +212567,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *637 + repository: *651 sender: *4 required: - action @@ -212567,11 +212644,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -212688,11 +212765,11 @@ webhooks: type: boolean required: - to - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -212770,9 +212847,9 @@ webhooks: type: string enum: - prereleased - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -213098,7 +213175,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213174,10 +213251,10 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - release: &688 + enterprise: *648 + installation: *649 + organization: *650 + release: &702 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213500,7 +213577,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213576,11 +213653,11 @@ webhooks: type: string enum: - released - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -213656,11 +213733,11 @@ webhooks: type: string enum: - unpublished - enterprise: *634 - installation: *635 - organization: *636 - release: *688 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *702 + repository: *651 sender: *4 required: - action @@ -213736,11 +213813,11 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *562 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *576 sender: *4 required: - action @@ -213816,11 +213893,11 @@ webhooks: type: string enum: - reported - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *562 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *576 sender: *4 required: - action @@ -213896,10 +213973,10 @@ webhooks: type: string enum: - archived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213976,10 +214053,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214057,10 +214134,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214145,10 +214222,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214263,10 +214340,10 @@ webhooks: - 'null' items: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214338,10 +214415,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 status: type: string @@ -214422,10 +214499,10 @@ webhooks: type: string enum: - privatized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214502,10 +214579,10 @@ webhooks: type: string enum: - publicized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214599,10 +214676,10 @@ webhooks: - name required: - repository - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214682,10 +214759,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 sender: *4 required: @@ -214764,10 +214841,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 sender: *4 required: @@ -214846,10 +214923,10 @@ webhooks: type: string enum: - edited - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 changes: type: object @@ -215157,10 +215234,10 @@ webhooks: - from required: - owner - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215238,10 +215315,10 @@ webhooks: type: string enum: - unarchived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215319,7 +215396,7 @@ webhooks: type: string enum: - create - alert: &689 + alert: &703 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -215443,10 +215520,10 @@ webhooks: type: string enum: - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215656,10 +215733,10 @@ webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215737,11 +215814,11 @@ webhooks: type: string enum: - reopen - alert: *689 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *703 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215943,10 +216020,10 @@ webhooks: enum: - fixed - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216024,7 +216101,7 @@ webhooks: type: string enum: - created - alert: &690 + alert: &704 type: object properties: number: *52 @@ -216134,10 +216211,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216218,11 +216295,11 @@ webhooks: type: string enum: - created - alert: *690 - installation: *635 - location: *691 - organization: *636 - repository: *637 + alert: *704 + installation: *649 + location: *705 + organization: *650 + repository: *651 sender: *4 required: - location @@ -216460,11 +216537,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216542,11 +216619,11 @@ webhooks: type: string enum: - reopened - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216624,11 +216701,11 @@ webhooks: type: string enum: - resolved - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216706,11 +216783,11 @@ webhooks: type: string enum: - validated - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216840,10 +216917,10 @@ webhooks: - organization - enterprise - - repository: *637 - enterprise: *634 - installation: *635 - organization: *636 + repository: *651 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -216921,11 +216998,11 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: &692 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: &706 description: The details of the security advisory, including summary, description, and severity. type: object @@ -217111,11 +217188,11 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: *692 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: *706 sender: *4 required: - action @@ -217188,10 +217265,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -217378,9 +217455,9 @@ webhooks: type: object properties: security_and_analysis: *226 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: *279 sender: *4 required: @@ -217459,12 +217536,12 @@ webhooks: type: string enum: - cancelled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: &693 + sponsorship: &707 type: object properties: created_at: @@ -217769,12 +217846,12 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - sponsorship @@ -217862,12 +217939,12 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -217944,17 +218021,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &694 + effective_date: &708 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - sponsorship @@ -218028,7 +218105,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &695 + changes: &709 type: object properties: tier: @@ -218072,13 +218149,13 @@ webhooks: - from required: - tier - effective_date: *694 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + effective_date: *708 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -218155,13 +218232,13 @@ webhooks: type: string enum: - tier_changed - changes: *695 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + changes: *709 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -218235,10 +218312,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218322,10 +218399,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218759,15 +218836,15 @@ webhooks: type: - string - 'null' - enterprise: *634 + enterprise: *648 id: description: The unique identifier of the status. type: integer - installation: *635 + installation: *649 name: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 sha: description: The Commit SHA. @@ -218883,9 +218960,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -218975,9 +219052,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219067,9 +219144,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219159,9 +219236,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219238,12 +219315,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - team: &696 + team: &710 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -219436,9 +219513,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -219908,7 +219985,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -219984,9 +220061,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -220456,7 +220533,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -220533,9 +220610,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -221005,7 +221082,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -221149,9 +221226,9 @@ webhooks: - from required: - permissions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -221621,7 +221698,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - changes @@ -221699,9 +221776,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -222171,7 +222248,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -222247,10 +222324,10 @@ webhooks: type: string enum: - started - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -222323,17 +222400,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *634 + enterprise: *648 inputs: type: - object - 'null' additionalProperties: true - installation: *635 - organization: *636 + installation: *649 + organization: *650 ref: type: string - repository: *637 + repository: *651 sender: *4 workflow: type: string @@ -222415,10 +222492,10 @@ webhooks: type: string enum: - completed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: allOf: @@ -222753,10 +222830,10 @@ webhooks: type: string enum: - in_progress - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: allOf: @@ -223117,10 +223194,10 @@ webhooks: type: string enum: - queued - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: type: object @@ -223345,10 +223422,10 @@ webhooks: type: string enum: - waiting - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 workflow_job: type: object @@ -223575,12 +223652,12 @@ webhooks: type: string enum: - completed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Workflow Run type: object @@ -224599,12 +224676,12 @@ webhooks: type: string enum: - in_progress - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Workflow Run type: object @@ -225608,12 +225685,12 @@ webhooks: type: string enum: - requested - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 54765577be..52983bd7f4 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -25684,6 +25684,339 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -58040,6 +58373,29 @@ "schema": { "type": "string" } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } } ], "responses": { @@ -58070,554 +58426,561 @@ "accessible_repositories": { "type": "array", "items": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] + "anyOf": [ + { + "type": "null" }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", + { + "title": "Simple Repository", + "description": "A GitHub repository.", "type": "object", "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository.", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository.", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, "name": { - "type": [ - "string", - "null" + "type": "string", + "description": "The name of the repository.", + "examples": [ + "Hello-World" ] }, - "email": { + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository.", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com.", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { "type": [ "string", "null" + ], + "description": "The repository description.", + "examples": [ + "This your first repo!" ] }, - "login": { + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API.", "examples": [ - "octocat" + "https://api.github.com/repos/octocat/Hello-World" ] }, - "id": { - "type": "integer", - "format": "int64", + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive.", "examples": [ - 1 + "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" ] }, - "node_id": { + "assignees_url": { "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository.", "examples": [ - "MDQ6VXNlcjE=" + "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" ] }, - "avatar_url": { + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { "type": "string", "format": "uri", + "description": "A template for the API URL to list the contributors to the repository.", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "https://api.github.com/repos/octocat/Hello-World/contributors" ] }, - "gravatar_id": { - "type": [ - "string", - "null" - ], + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository.", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "https://api.github.com/repos/octocat/Hello-World/deployments" ] }, - "url": { + "downloads_url": { "type": "string", "format": "uri", + "description": "The API URL to list the downloads on the repository.", "examples": [ - "https://api.github.com/users/octocat" + "https://api.github.com/repos/octocat/Hello-World/downloads" ] }, - "html_url": { + "events_url": { "type": "string", "format": "uri", + "description": "The API URL to list the events of the repository.", "examples": [ - "https://github.com/octocat" + "https://api.github.com/repos/octocat/Hello-World/events" ] }, - "followers_url": { + "forks_url": { "type": "string", "format": "uri", + "description": "The API URL to list the forks of the repository.", "examples": [ - "https://api.github.com/users/octocat/followers" + "https://api.github.com/repos/octocat/Hello-World/forks" ] }, - "following_url": { + "git_commits_url": { "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository.", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" ] }, - "gists_url": { + "git_refs_url": { "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository.", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" ] }, - "starred_url": { + "git_tags_url": { "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository.", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" ] }, - "subscriptions_url": { + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { "type": "string", "format": "uri", + "description": "The API URL to get information about the languages of the repository.", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "https://api.github.com/repos/octocat/Hello-World/languages" ] }, - "organizations_url": { + "merges_url": { "type": "string", "format": "uri", + "description": "The API URL to merge branches in the repository.", "examples": [ - "https://api.github.com/users/octocat/orgs" + "https://api.github.com/repos/octocat/Hello-World/merges" ] }, - "repos_url": { + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "stargazers_url": { "type": "string", "format": "uri", + "description": "The API URL to list the stargazers on the repository.", "examples": [ - "https://api.github.com/users/octocat/repos" + "https://api.github.com/repos/octocat/Hello-World/stargazers" ] }, - "events_url": { + "statuses_url": { "type": "string", + "description": "A template for the API URL to get information about statuses of a commit.", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" ] }, - "received_events_url": { + "subscribers_url": { "type": "string", "format": "uri", + "description": "The API URL to list the subscribers on the repository.", "examples": [ - "https://api.github.com/users/octocat/received_events" + "https://api.github.com/repos/octocat/Hello-World/subscribers" ] }, - "type": { + "subscription_url": { "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository.", "examples": [ - "User" + "https://api.github.com/repos/octocat/Hello-World/subscription" ] }, - "site_admin": { - "type": "boolean" + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/tags" + ] }, - "starred_at": { + "teams_url": { "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository.", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "https://api.github.com/repos/octocat/Hello-World/teams" ] }, - "user_view_type": { + "trees_url": { "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", "examples": [ - "public" + "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/hooks" ] } }, "required": [ - "avatar_url", + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", "html_url", "id", "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", "url" ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" ] } } @@ -58795,7 +59158,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -90749,6 +91112,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -90762,6 +91128,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -90803,7 +91175,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -118702,6 +119073,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -118715,6 +119089,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -118756,7 +119136,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -157368,6 +157747,339 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -494590,6 +495302,339 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } } @@ -495485,6 +496530,339 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -496338,6 +497716,339 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index d3b8a4496f..a96d2e654f 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1067,7 +1067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &564 + - &578 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9894,6 +9894,304 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &558 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &560 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &561 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &562 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &563 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &564 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &565 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &566 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &567 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &568 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &569 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &570 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &571 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &572 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: &245 value: @@ -11240,7 +11538,7 @@ paths: url: type: string format: uri - user: &587 + user: &601 title: Public User description: Public User type: object @@ -15862,7 +16160,7 @@ paths: - avatar_url - description examples: - default: &604 + default: &618 value: - login: github id: 1 @@ -15909,6 +16207,23 @@ paths: required: true schema: type: string + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -15934,7 +16249,10 @@ paths: - internal accessible_repositories: type: array - items: *51 + items: + anyOf: + - type: 'null' + - *51 additionalProperties: false examples: default: @@ -16037,7 +16355,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -16131,7 +16449,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *90 - - &627 + - &641 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -16140,7 +16458,7 @@ paths: required: false schema: type: integer - - &628 + - &642 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -16149,7 +16467,7 @@ paths: required: false schema: type: integer - - &629 + - &643 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -16158,7 +16476,7 @@ paths: required: false schema: type: integer - - &630 + - &644 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18049,7 +18367,7 @@ paths: type: array items: *59 examples: - default: &598 + default: &612 value: total_count: 1 repositories: @@ -18921,7 +19239,7 @@ paths: type: array items: *116 examples: - default: &590 + default: &604 value: total_count: 1 repositories: @@ -25260,6 +25578,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -25269,6 +25589,10 @@ paths: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -25298,7 +25622,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -30560,7 +30883,7 @@ paths: parameters: - *90 - *198 - - &603 + - &617 name: repo_name description: repo_name parameter in: path @@ -31606,7 +31929,7 @@ paths: - nuget - container - *90 - - &605 + - &619 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -31647,7 +31970,7 @@ paths: default: *205 '403': *27 '401': *23 - '400': &607 + '400': &621 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37452,7 +37775,7 @@ paths: application/json: schema: type: array - items: &562 + items: &576 description: A repository security advisory. type: object properties: @@ -37771,7 +38094,7 @@ paths: - private_fork additionalProperties: false examples: - default: &563 + default: &577 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -38245,7 +38568,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &635 type: object properties: total_minutes_used: @@ -38315,7 +38638,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &622 + default: &636 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -38351,7 +38674,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &637 type: object properties: total_gigabytes_bandwidth_used: @@ -38369,7 +38692,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &624 + default: &638 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -38401,7 +38724,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &639 type: object properties: days_left_in_billing_cycle: @@ -38419,7 +38742,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &626 + default: &640 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -39723,7 +40046,7 @@ paths: - updated_at - url examples: - default: &577 + default: &591 value: - author: login: octocat @@ -39971,7 +40294,7 @@ paths: application/json: schema: *255 examples: - default: &578 + default: &592 value: author: login: octocat @@ -40162,7 +40485,7 @@ paths: - updated_at - url examples: - default: &579 + default: &593 value: - author: login: octocat @@ -40388,7 +40711,7 @@ paths: application/json: schema: *258 examples: - default: &580 + default: &594 value: author: login: octocat @@ -41006,7 +41329,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &581 + response-if-user-is-a-team-maintainer: &595 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -41071,7 +41394,7 @@ paths: application/json: schema: *265 examples: - response-if-users-membership-with-team-is-now-pending: &582 + response-if-users-membership-with-team-is-now-pending: &596 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -41213,7 +41536,7 @@ paths: - updated_at - permissions examples: - default: &583 + default: &597 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41292,7 +41615,7 @@ paths: application/json: schema: *266 examples: - default: &584 + default: &598 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41503,7 +41826,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &585 + schema: &599 title: Team Repository description: A team's access to a repository. type: object @@ -42232,7 +42555,7 @@ paths: type: array items: *146 examples: - response-if-child-teams-exist: &586 + response-if-child-teams-exist: &600 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54355,7 +54678,7 @@ paths: check. type: array items: *347 - deployment: &639 + deployment: &653 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59557,7 +59880,7 @@ paths: type: array items: *388 examples: - default: &593 + default: &607 value: total_count: 2 machines: @@ -62905,7 +63228,7 @@ paths: application/json: schema: type: array - items: &567 + items: &581 title: Status description: The status of a commit. type: object @@ -64504,7 +64827,7 @@ paths: items: type: object properties: - placeholder_id: &559 + placeholder_id: &573 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70400,7 +70723,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &670 + last_response: &684 title: Hook Response type: object properties: @@ -71375,7 +71698,7 @@ paths: parameters: - *268 - *269 - - &616 + - &630 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71809,7 +72132,7 @@ paths: type: array items: *458 examples: - default: &609 + default: &623 value: - id: 1 repository: @@ -85631,7 +85954,7 @@ paths: application/json: schema: type: array - items: &558 + items: &559 type: object properties: number: *52 @@ -85739,6 +86062,14 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *558 + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. examples: default: value: @@ -85876,7 +86207,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -85958,7 +86289,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -86046,7 +86377,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &691 + items: &705 type: object properties: type: @@ -86073,273 +86404,19 @@ paths: - commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *560 + - *561 + - *562 + - *563 + - *564 + - *565 + - *566 + - *567 + - *568 + - *569 + - *570 + - *571 + - *572 examples: default: value: @@ -86434,14 +86511,14 @@ paths: schema: type: object properties: - reason: &560 + reason: &574 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *559 + placeholder_id: *573 required: - reason - placeholder_id @@ -86458,7 +86535,7 @@ paths: schema: type: object properties: - reason: *560 + reason: *574 expire_at: type: - string @@ -86518,7 +86595,7 @@ paths: properties: incremental_scans: type: array - items: &561 + items: &575 description: Information on a single scan performed by secret scanning on the repository type: object @@ -86546,15 +86623,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *561 + items: *575 backfill_scans: type: array - items: *561 + items: *575 custom_pattern_backfill_scans: type: array items: allOf: - - *561 + - *575 - type: object properties: pattern_name: @@ -86669,9 +86746,9 @@ paths: application/json: schema: type: array - items: *562 + items: *576 examples: - default: *563 + default: *577 '400': *14 '404': *6 x-github: @@ -86865,9 +86942,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: &565 + default: &579 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87214,7 +87291,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: default: value: @@ -87363,15 +87440,15 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '200': description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: *565 + default: *579 '403': *27 '404': *6 x-github: @@ -87397,7 +87474,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 requestBody: required: true content: @@ -87568,10 +87645,10 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: - default: *565 - add_credit: *565 + default: *579 + add_credit: *579 '403': *27 '404': *6 '422': @@ -87611,7 +87688,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': *37 '400': *14 @@ -87640,7 +87717,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': description: Response @@ -87781,7 +87858,7 @@ paths: application/json: schema: type: array - items: &566 + items: &580 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -88154,7 +88231,7 @@ paths: application/json: schema: type: array - items: *566 + items: *580 examples: default: value: @@ -88244,7 +88321,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *581 examples: default: value: @@ -88338,7 +88415,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &568 + schema: &582 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88438,7 +88515,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *582 examples: default: value: @@ -88578,7 +88655,7 @@ paths: application/json: schema: type: array - items: &569 + items: &583 title: Tag protection description: Tag protection type: object @@ -88659,7 +88736,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *583 examples: default: value: @@ -88807,7 +88884,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &584 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88819,7 +88896,7 @@ paths: required: - names examples: - default: &571 + default: &585 value: names: - octocat @@ -88874,9 +88951,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *584 examples: - default: *571 + default: *585 '404': *6 '422': *7 x-github: @@ -88899,7 +88976,7 @@ paths: parameters: - *268 - *269 - - &572 + - &586 name: per description: The time frame to display results for. in: query @@ -88930,7 +89007,7 @@ paths: - 128 clones: type: array - items: &573 + items: &587 title: Traffic type: object properties: @@ -89178,7 +89255,7 @@ paths: parameters: - *268 - *269 - - *572 + - *586 responses: '200': description: Response @@ -89199,7 +89276,7 @@ paths: - 3782 views: type: array - items: *573 + items: *587 required: - uniques - count @@ -89969,7 +90046,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &574 + text_matches: &588 title: Search Result Text Matches type: array items: @@ -90132,7 +90209,7 @@ paths: enum: - author-date - committer-date - - &575 + - &589 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -90252,7 +90329,7 @@ paths: type: number node_id: type: string - text_matches: *574 + text_matches: *588 required: - sha - node_id @@ -90434,7 +90511,7 @@ paths: - interactions - created - updated - - *575 + - *589 - *17 - *19 - name: advanced_search @@ -90572,7 +90649,7 @@ paths: - string - 'null' format: date-time - text_matches: *574 + text_matches: *588 pull_request: type: object properties: @@ -90798,7 +90875,7 @@ paths: enum: - created - updated - - *575 + - *589 - *17 - *19 responses: @@ -90843,7 +90920,7 @@ paths: - 'null' score: type: number - text_matches: *574 + text_matches: *588 required: - id - node_id @@ -90928,7 +91005,7 @@ paths: - forks - help-wanted-issues - updated - - *575 + - *589 - *17 - *19 responses: @@ -91165,7 +91242,7 @@ paths: - admin - pull - push - text_matches: *574 + text_matches: *588 temp_clone_token: type: string allow_merge_commit: @@ -91473,7 +91550,7 @@ paths: - string - 'null' format: uri - text_matches: *574 + text_matches: *588 related: type: - array @@ -91666,7 +91743,7 @@ paths: - followers - repositories - joined - - *575 + - *589 - *17 - *19 responses: @@ -91776,7 +91853,7 @@ paths: type: - boolean - 'null' - text_matches: *574 + text_matches: *588 blog: type: - string @@ -91858,7 +91935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &576 + - &590 name: team_id description: The unique identifier of the team. in: path @@ -91899,7 +91976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *576 + - *590 requestBody: required: true content: @@ -92000,7 +92077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *576 + - *590 responses: '204': description: Response @@ -92031,7 +92108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *576 + - *590 - *46 - *17 - *19 @@ -92044,7 +92121,7 @@ paths: type: array items: *255 examples: - default: *577 + default: *591 headers: Link: *57 x-github: @@ -92073,7 +92150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *576 + - *590 requestBody: required: true content: @@ -92136,7 +92213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *576 + - *590 - *257 responses: '200': @@ -92170,7 +92247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *576 + - *590 - *257 requestBody: required: false @@ -92196,7 +92273,7 @@ paths: application/json: schema: *255 examples: - default: *578 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92221,7 +92298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *576 + - *590 - *257 responses: '204': @@ -92251,7 +92328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *576 + - *590 - *257 - *46 - *17 @@ -92265,7 +92342,7 @@ paths: type: array items: *258 examples: - default: *579 + default: *593 headers: Link: *57 x-github: @@ -92294,7 +92371,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 requestBody: required: true @@ -92346,7 +92423,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 responses: @@ -92381,7 +92458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 requestBody: @@ -92407,7 +92484,7 @@ paths: application/json: schema: *258 examples: - default: *580 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92432,7 +92509,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 responses: @@ -92463,7 +92540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 - name: content @@ -92522,7 +92599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *576 + - *590 - *257 - *260 requestBody: @@ -92584,7 +92661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *576 + - *590 - *257 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -92642,7 +92719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *576 + - *590 - *257 requestBody: required: true @@ -92701,7 +92778,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -92739,7 +92816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *576 + - *590 - name: role description: Filters members returned by their role in the team. in: query @@ -92790,7 +92867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92827,7 +92904,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92867,7 +92944,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -92904,7 +92981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 responses: '200': @@ -92913,7 +92990,7 @@ paths: application/json: schema: *265 examples: - response-if-user-is-a-team-maintainer: *581 + response-if-user-is-a-team-maintainer: *595 '404': *6 x-github: githubCloudOnly: false @@ -92946,7 +93023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 requestBody: required: false @@ -92974,7 +93051,7 @@ paths: application/json: schema: *265 examples: - response-if-users-membership-with-team-is-now-pending: *582 + response-if-users-membership-with-team-is-now-pending: *596 '403': description: Forbidden if team synchronization is set up '422': @@ -93008,7 +93085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *576 + - *590 - *129 responses: '204': @@ -93037,7 +93114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93049,7 +93126,7 @@ paths: type: array items: *266 examples: - default: *583 + default: *597 headers: Link: *57 '404': *6 @@ -93075,7 +93152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *576 + - *590 - *267 responses: '200': @@ -93084,7 +93161,7 @@ paths: application/json: schema: *266 examples: - default: *584 + default: *598 '404': description: Not Found if project is not managed by this team x-github: @@ -93108,7 +93185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *576 + - *590 - *267 requestBody: required: false @@ -93176,7 +93253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *576 + - *590 - *267 responses: '204': @@ -93204,7 +93281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93246,7 +93323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *576 + - *590 - *268 - *269 responses: @@ -93254,7 +93331,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *585 + schema: *599 examples: alternative-response-with-extra-repository-information: value: @@ -93405,7 +93482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *576 + - *590 - *268 - *269 requestBody: @@ -93457,7 +93534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *576 + - *590 - *268 - *269 responses: @@ -93484,7 +93561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *576 + - *590 - *17 - *19 responses: @@ -93496,7 +93573,7 @@ paths: type: array items: *146 examples: - response-if-child-teams-exist: *586 + response-if-child-teams-exist: *600 headers: Link: *57 '404': *6 @@ -93529,7 +93606,7 @@ paths: application/json: schema: oneOf: - - &588 + - &602 title: Private User description: Private User type: object @@ -93779,7 +93856,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *587 + - *601 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -93939,7 +94016,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *602 examples: default: value: @@ -94337,7 +94414,7 @@ paths: type: integer secrets: type: array - items: &589 + items: &603 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94457,7 +94534,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *603 examples: default: value: @@ -94603,7 +94680,7 @@ paths: type: array items: *116 examples: - default: *590 + default: *604 '401': *23 '403': *27 '404': *6 @@ -94870,7 +94947,7 @@ paths: description: Response content: application/json: - schema: &591 + schema: &605 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94923,7 +95000,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &592 + default: &606 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -94968,9 +95045,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *605 examples: - default: *592 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -95009,7 +95086,7 @@ paths: type: array items: *388 examples: - default: *593 + default: *607 '304': *35 '500': *91 '401': *23 @@ -95975,7 +96052,7 @@ paths: type: array items: *204 examples: - default: &606 + default: &620 value: - id: 197 name: hello_docker @@ -96076,7 +96153,7 @@ paths: application/json: schema: type: array - items: &594 + items: &608 title: Email description: Email type: object @@ -96146,9 +96223,9 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: - default: &608 + default: &622 value: - email: octocat@github.com verified: true @@ -96225,7 +96302,7 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: default: value: @@ -96483,7 +96560,7 @@ paths: application/json: schema: type: array - items: &595 + items: &609 title: GPG Key description: A unique encryption key type: object @@ -96628,7 +96705,7 @@ paths: - subkeys - revoked examples: - default: &619 + default: &633 value: - id: 3 name: Octocat's GPG Key @@ -96713,9 +96790,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *609 examples: - default: &596 + default: &610 value: id: 3 name: Octocat's GPG Key @@ -96772,7 +96849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &597 + - &611 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96784,9 +96861,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *609 examples: - default: *596 + default: *610 '404': *6 '304': *35 '403': *27 @@ -96809,7 +96886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *597 + - *611 responses: '204': description: Response @@ -97000,7 +97077,7 @@ paths: type: array items: *59 examples: - default: *598 + default: *612 headers: Link: *57 '404': *6 @@ -97264,7 +97341,7 @@ paths: application/json: schema: type: array - items: &599 + items: &613 title: Key description: Key type: object @@ -97362,9 +97439,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: &600 + default: &614 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97403,9 +97480,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: *600 + default: *614 '404': *6 '304': *35 '403': *27 @@ -97461,7 +97538,7 @@ paths: application/json: schema: type: array - items: &601 + items: &615 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97540,7 +97617,7 @@ paths: - account - plan examples: - default: &602 + default: &616 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97602,9 +97679,9 @@ paths: application/json: schema: type: array - items: *601 + items: *615 examples: - default: *602 + default: *616 headers: Link: *57 '304': *35 @@ -98608,7 +98685,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *198 - - *603 + - *617 responses: '204': description: Response @@ -98681,7 +98758,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 '304': *35 @@ -98723,7 +98800,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *19 - *17 responses: @@ -98735,8 +98812,8 @@ paths: type: array items: *204 examples: - default: *606 - '400': *607 + default: *620 + '400': *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98765,7 +98842,7 @@ paths: application/json: schema: *204 examples: - default: &620 + default: &634 value: id: 40201 name: octo-name @@ -99220,9 +99297,9 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: - default: *608 + default: *622 headers: Link: *57 '304': *35 @@ -99335,7 +99412,7 @@ paths: type: array items: *59 examples: - default: &615 + default: &629 summary: Default response value: - id: 1296269 @@ -99695,7 +99772,7 @@ paths: type: array items: *458 examples: - default: *609 + default: *623 headers: Link: *57 '304': *35 @@ -99774,7 +99851,7 @@ paths: application/json: schema: type: array - items: &610 + items: &624 title: Social account description: Social media account type: object @@ -99791,7 +99868,7 @@ paths: - provider - url examples: - default: &611 + default: &625 value: - provider: twitter url: https://twitter.com/github @@ -99854,9 +99931,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 '422': *15 '304': *35 '404': *6 @@ -99944,7 +100021,7 @@ paths: application/json: schema: type: array - items: &612 + items: &626 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99964,7 +100041,7 @@ paths: - title - created_at examples: - default: &631 + default: &645 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100031,9 +100108,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: &613 + default: &627 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100064,7 +100141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &614 + - &628 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -100076,9 +100153,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: *613 + default: *627 '404': *6 '304': *35 '403': *27 @@ -100101,7 +100178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *614 + - *628 responses: '204': description: Response @@ -100130,7 +100207,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &632 + - &646 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -100155,11 +100232,11 @@ paths: type: array items: *59 examples: - default-response: *615 + default-response: *629 application/vnd.github.v3.star+json: schema: type: array - items: &633 + items: &647 title: Starred Repository description: Starred Repository type: object @@ -100528,10 +100605,10 @@ paths: application/json: schema: oneOf: - - *588 - - *587 + - *602 + - *601 examples: - default-response: &617 + default-response: &631 summary: Default response value: login: octocat @@ -100566,7 +100643,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &618 + response-with-git-hub-plan-information: &632 summary: Response with GitHub plan information value: login: octocat @@ -100626,7 +100703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *616 + - *630 - *17 responses: '200': @@ -100675,11 +100752,11 @@ paths: application/json: schema: oneOf: - - *588 - - *587 + - *602 + - *601 examples: - default-response: *617 - response-with-git-hub-plan-information: *618 + default-response: *631 + response-with-git-hub-plan-information: *632 '404': *6 x-github: githubCloudOnly: false @@ -100796,7 +100873,7 @@ paths: type: array items: *204 examples: - default: *606 + default: *620 '403': *27 '401': *23 x-github: @@ -101200,9 +101277,9 @@ paths: application/json: schema: type: array - items: *595 + items: *609 examples: - default: *619 + default: *633 headers: Link: *57 x-github: @@ -101384,7 +101461,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 x-github: @@ -101423,7 +101500,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *129 - *19 - *17 @@ -101436,10 +101513,10 @@ paths: type: array items: *204 examples: - default: *606 + default: *620 '403': *27 '401': *23 - '400': *607 + '400': *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101469,7 +101546,7 @@ paths: application/json: schema: *204 examples: - default: *620 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102068,9 +102145,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *635 examples: - default: *622 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102098,9 +102175,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *637 examples: - default: *624 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102128,9 +102205,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *639 examples: - default: *626 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102151,10 +102228,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *129 - - *627 - - *628 - - *629 - - *630 + - *641 + - *642 + - *643 + - *644 responses: '200': description: Response when getting a billing usage report @@ -102253,9 +102330,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 headers: Link: *57 x-github: @@ -102285,9 +102362,9 @@ paths: application/json: schema: type: array - items: *612 + items: *626 examples: - default: *631 + default: *645 headers: Link: *57 x-github: @@ -102312,7 +102389,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *129 - - *632 + - *646 - *46 - *17 - *19 @@ -102324,11 +102401,11 @@ paths: schema: anyOf: - type: array - items: *633 + items: *647 - type: array items: *59 examples: - default-response: *615 + default-response: *629 headers: Link: *57 x-github: @@ -102488,7 +102565,7 @@ webhooks: type: string enum: - disabled - enterprise: &634 + enterprise: &648 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102557,7 +102634,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &635 + installation: &649 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102578,7 +102655,7 @@ webhooks: required: - id - node_id - organization: &636 + organization: &650 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102651,7 +102728,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &637 + repository: &651 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -103564,10 +103641,10 @@ webhooks: type: string enum: - enabled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -103643,11 +103720,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: &638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: &652 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -103870,11 +103947,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -104062,11 +104139,11 @@ webhooks: - everyone required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - rule: *638 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + rule: *652 sender: *4 required: - action @@ -104150,7 +104227,7 @@ webhooks: type: string enum: - completed - check_run: &640 + check_run: &654 title: CheckRun description: A check performed on the code of a given code change type: object @@ -104263,7 +104340,7 @@ webhooks: - examples: - neutral - deployment: *639 + deployment: *653 details_url: type: string examples: @@ -104361,9 +104438,9 @@ webhooks: - output - app - pull_requests - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -104756,10 +104833,10 @@ webhooks: type: string enum: - created - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -105155,10 +105232,10 @@ webhooks: type: string enum: - requested_action - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 requested_action: description: The action requested by the user. type: object @@ -105563,10 +105640,10 @@ webhooks: type: string enum: - rerequested - check_run: *640 - installation: *635 - organization: *636 - repository: *637 + check_run: *654 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - check_run @@ -106558,10 +106635,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -107246,10 +107323,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -107928,10 +108005,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -108249,20 +108326,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &641 + commit_oid: &655 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *634 - installation: *635 - organization: *636 - ref: &642 + enterprise: *648 + installation: *649 + organization: *650 + ref: &656 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -108667,12 +108744,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -108952,12 +109029,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -109300,12 +109377,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -109585,9 +109662,9 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -109595,7 +109672,7 @@ webhooks: type: - string - 'null' - repository: *637 + repository: *651 sender: *4 required: - action @@ -109838,12 +109915,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *641 - enterprise: *634 - installation: *635 - organization: *636 - ref: *642 - repository: *637 + commit_oid: *655 + enterprise: *648 + installation: *649 + organization: *650 + ref: *656 + repository: *651 sender: *4 required: - action @@ -110105,10 +110182,10 @@ webhooks: - updated_at - author_association - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -110189,18 +110266,18 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *636 - pusher_type: &643 + organization: *650 + pusher_type: &657 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &644 + ref: &658 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -110210,7 +110287,7 @@ webhooks: enum: - tag - branch - repository: *637 + repository: *651 sender: *4 required: - ref @@ -110293,9 +110370,9 @@ webhooks: enum: - created definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110380,9 +110457,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110460,9 +110537,9 @@ webhooks: enum: - promote_to_enterprise definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110540,9 +110617,9 @@ webhooks: enum: - updated definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110619,10 +110696,10 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - repository: *637 - organization: *636 + enterprise: *648 + installation: *649 + repository: *651 + organization: *650 sender: *4 new_property_values: type: array @@ -110707,18 +110784,18 @@ webhooks: title: delete event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - pusher_type: *643 - ref: *644 + enterprise: *648 + installation: *649 + organization: *650 + pusher_type: *657 + ref: *658 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *637 + repository: *651 sender: *4 required: - ref @@ -110803,10 +110880,10 @@ webhooks: enum: - auto_dismissed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -110891,10 +110968,10 @@ webhooks: enum: - auto_reopened alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -110979,10 +111056,10 @@ webhooks: enum: - created alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111065,10 +111142,10 @@ webhooks: enum: - dismissed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111151,10 +111228,10 @@ webhooks: enum: - fixed alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111238,10 +111315,10 @@ webhooks: enum: - reintroduced alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111324,10 +111401,10 @@ webhooks: enum: - reopened alert: *414 - installation: *635 - organization: *636 - enterprise: *634 - repository: *637 + installation: *649 + organization: *650 + enterprise: *648 + repository: *651 sender: *4 required: - action @@ -111404,9 +111481,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - key: &645 + enterprise: *648 + installation: *649 + key: &659 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111444,8 +111521,8 @@ webhooks: - verified - created_at - read_only - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -111522,11 +111599,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - key: *645 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + key: *659 + organization: *650 + repository: *651 sender: *4 required: - action @@ -112098,12 +112175,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: &649 + workflow: &663 title: Workflow type: - object @@ -112845,9 +112922,9 @@ webhooks: pull_requests: type: array items: *502 - repository: *637 - organization: *636 - installation: *635 + repository: *651 + organization: *650 + installation: *649 sender: *4 responses: '200': @@ -112918,7 +112995,7 @@ webhooks: type: string enum: - approved - approver: &646 + approver: &660 type: object properties: avatar_url: @@ -112961,11 +113038,11 @@ webhooks: type: string comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: &647 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: &661 type: array items: type: object @@ -113046,7 +113123,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &648 + workflow_job_run: &662 type: object properties: conclusion: @@ -113792,18 +113869,18 @@ webhooks: type: string enum: - rejected - approver: *646 + approver: *660 comment: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - reviewers: *647 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + reviewers: *661 sender: *4 since: type: string - workflow_job_run: *648 + workflow_job_run: *662 workflow_job_runs: type: array items: @@ -114520,13 +114597,13 @@ webhooks: type: string enum: - requested - enterprise: *634 + enterprise: *648 environment: type: string - installation: *635 - organization: *636 - repository: *637 - requestor: &654 + installation: *649 + organization: *650 + repository: *651 + requestor: &668 title: User type: - object @@ -116469,12 +116546,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - workflow: *649 + workflow: *663 workflow_run: title: Deployment Workflow Run type: @@ -117165,7 +117242,7 @@ webhooks: type: string enum: - answered - answer: &652 + answer: &666 type: object properties: author_association: @@ -117325,7 +117402,7 @@ webhooks: - created_at - updated_at - body - discussion: &650 + discussion: &664 title: Discussion description: A Discussion in a repository. type: object @@ -117643,10 +117720,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117773,11 +117850,11 @@ webhooks: - from required: - category - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117860,11 +117937,11 @@ webhooks: type: string enum: - closed - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -117946,7 +118023,7 @@ webhooks: type: string enum: - created - comment: &651 + comment: &665 type: object properties: author_association: @@ -118106,11 +118183,11 @@ webhooks: - updated_at - body - reactions - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118193,12 +118270,12 @@ webhooks: type: string enum: - deleted - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118293,12 +118370,12 @@ webhooks: - from required: - body - comment: *651 - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + comment: *665 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118382,11 +118459,11 @@ webhooks: type: string enum: - created - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118468,11 +118545,11 @@ webhooks: type: string enum: - deleted - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118572,11 +118649,11 @@ webhooks: type: string required: - from - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118658,10 +118735,10 @@ webhooks: type: string enum: - labeled - discussion: *650 - enterprise: *634 - installation: *635 - label: &653 + discussion: *664 + enterprise: *648 + installation: *649 + label: &667 title: Label type: object properties: @@ -118694,8 +118771,8 @@ webhooks: - color - default - description - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118778,11 +118855,11 @@ webhooks: type: string enum: - locked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118864,11 +118941,11 @@ webhooks: type: string enum: - pinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118950,11 +119027,11 @@ webhooks: type: string enum: - reopened - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119039,16 +119116,16 @@ webhooks: changes: type: object properties: - new_discussion: *650 - new_repository: *637 + new_discussion: *664 + new_repository: *651 required: - new_discussion - new_repository - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119131,10 +119208,10 @@ webhooks: type: string enum: - unanswered - discussion: *650 - old_answer: *652 - organization: *636 - repository: *637 + discussion: *664 + old_answer: *666 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119216,12 +119293,12 @@ webhooks: type: string enum: - unlabeled - discussion: *650 - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119304,11 +119381,11 @@ webhooks: type: string enum: - unlocked - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119390,11 +119467,11 @@ webhooks: type: string enum: - unpinned - discussion: *650 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + discussion: *664 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -119467,7 +119544,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *634 + enterprise: *648 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -120145,9 +120222,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - forkee @@ -120293,9 +120370,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pages: description: The pages that were updated. type: array @@ -120333,7 +120410,7 @@ webhooks: - action - sha - html_url - repository: *637 + repository: *651 sender: *4 required: - pages @@ -120409,10 +120486,10 @@ webhooks: type: string enum: - created - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: &655 + organization: *650 + repositories: &669 description: An array of repository objects that the installation can access. type: array @@ -120438,8 +120515,8 @@ webhooks: - name - full_name - private - repository: *637 - requester: *654 + repository: *651 + requester: *668 sender: *4 required: - action @@ -120514,11 +120591,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -120595,11 +120672,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -120676,10 +120753,10 @@ webhooks: type: string enum: - added - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories_added: &656 + organization: *650 + repositories_added: &670 description: An array of repository objects, which were added to the installation. type: array @@ -120725,15 +120802,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *637 - repository_selection: &657 + repository: *651 + repository_selection: &671 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *654 + requester: *668 sender: *4 required: - action @@ -120812,10 +120889,10 @@ webhooks: type: string enum: - removed - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories_added: *656 + organization: *650 + repositories_added: *670 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -120842,9 +120919,9 @@ webhooks: - name - full_name - private - repository: *637 - repository_selection: *657 - requester: *654 + repository: *651 + repository_selection: *671 + requester: *668 sender: *4 required: - action @@ -120923,11 +121000,11 @@ webhooks: type: string enum: - suspend - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -121109,10 +121186,10 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 target_type: type: string @@ -121191,11 +121268,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *634 + enterprise: *648 installation: *20 - organization: *636 - repositories: *655 - repository: *637 + organization: *650 + repositories: *669 + repository: *651 requester: type: - 'null' @@ -121443,8 +121520,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122635,8 +122712,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -122716,7 +122793,7 @@ webhooks: type: string enum: - deleted - comment: &658 + comment: &672 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -122883,8 +122960,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124073,8 +124150,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -124154,7 +124231,7 @@ webhooks: type: string enum: - edited - changes: &683 + changes: &697 description: The changes to the comment. type: object properties: @@ -124166,9 +124243,9 @@ webhooks: type: string required: - from - comment: *658 - enterprise: *634 - installation: *635 + comment: *672 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125358,8 +125435,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -125441,10 +125518,10 @@ webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - issue: &661 + assignee: *668 + enterprise: *648 + installation: *649 + issue: &675 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126389,8 +126466,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -126470,8 +126547,8 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -127564,8 +127641,8 @@ webhooks: required: - state - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -127644,8 +127721,8 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128585,8 +128662,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -128665,8 +128742,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129608,7 +129685,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &659 + milestone: &673 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129751,8 +129828,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -129851,8 +129928,8 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130797,9 +130874,9 @@ webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -130879,8 +130956,8 @@ webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131824,9 +131901,9 @@ webhooks: - active_lock_reason - body - reactions - label: *653 - organization: *636 - repository: *637 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -131906,8 +131983,8 @@ webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132853,8 +132930,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -132933,8 +133010,8 @@ webhooks: type: string enum: - milestoned - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133874,9 +133951,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *659 - organization: *636 - repository: *637 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -135358,8 +135435,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136303,8 +136380,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136384,9 +136461,9 @@ webhooks: type: string enum: - pinned - enterprise: *634 - installation: *635 - issue: &660 + enterprise: *648 + installation: *649 + issue: &674 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -137324,8 +137401,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137404,8 +137481,8 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138350,8 +138427,8 @@ webhooks: user_view_type: type: string type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139852,11 +139929,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139936,12 +140013,12 @@ webhooks: type: string enum: - typed - enterprise: *634 - installation: *635 - issue: *661 + enterprise: *648 + installation: *649 + issue: *675 type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140022,7 +140099,7 @@ webhooks: type: string enum: - unassigned - assignee: &686 + assignee: &700 title: User type: - object @@ -140094,11 +140171,11 @@ webhooks: required: - login - id - enterprise: *634 - installation: *635 - issue: *661 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *675 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140177,12 +140254,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - issue: *661 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *675 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -140262,8 +140339,8 @@ webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141207,8 +141284,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141288,11 +141365,11 @@ webhooks: type: string enum: - unpinned - enterprise: *634 - installation: *635 - issue: *660 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + issue: *674 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141371,12 +141448,12 @@ webhooks: type: string enum: - untyped - enterprise: *634 - installation: *635 - issue: *661 + enterprise: *648 + installation: *649 + issue: *675 type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141456,11 +141533,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141538,11 +141615,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141652,11 +141729,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - label: *653 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + label: *667 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141738,9 +141815,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: &662 + enterprise: *648 + installation: *649 + marketplace_purchase: &676 title: Marketplace Purchase type: object required: @@ -141828,8 +141905,8 @@ webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: &663 + organization: *650 + previous_marketplace_purchase: &677 title: Marketplace Purchase type: object properties: @@ -141913,7 +141990,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -141993,10 +142070,10 @@ webhooks: - changed effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142084,7 +142161,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142166,10 +142243,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142255,7 +142332,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142336,8 +142413,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 marketplace_purchase: title: Marketplace Purchase type: object @@ -142423,9 +142500,9 @@ webhooks: type: integer unit_count: type: integer - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -142505,12 +142582,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *634 - installation: *635 - marketplace_purchase: *662 - organization: *636 - previous_marketplace_purchase: *663 - repository: *637 + enterprise: *648 + installation: *649 + marketplace_purchase: *676 + organization: *650 + previous_marketplace_purchase: *677 + repository: *651 sender: *4 required: - action @@ -142612,11 +142689,11 @@ webhooks: type: string required: - to - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142718,11 +142795,11 @@ webhooks: type: - string - 'null' - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142801,11 +142878,11 @@ webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 sender: *4 required: - action @@ -142883,11 +142960,11 @@ webhooks: type: string enum: - added - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142965,7 +143042,7 @@ webhooks: required: - login - id - team: &664 + team: &678 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -143158,11 +143235,11 @@ webhooks: type: string enum: - removed - enterprise: *634 - installation: *635 - member: *654 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + member: *668 + organization: *650 + repository: *651 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143241,7 +143318,7 @@ webhooks: required: - login - id - team: *664 + team: *678 required: - action - scope @@ -143323,8 +143400,8 @@ webhooks: type: string enum: - checks_requested - installation: *635 - merge_group: &665 + installation: *649 + merge_group: &679 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -143350,8 +143427,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143437,10 +143514,10 @@ webhooks: - merged - invalidated - dequeued - installation: *635 - merge_group: *665 - organization: *636 - repository: *637 + installation: *649 + merge_group: *679 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143513,7 +143590,7 @@ webhooks: type: string enum: - deleted - enterprise: *634 + enterprise: *648 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -143621,12 +143698,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *635 - organization: *636 + installation: *649 + organization: *650 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -143706,11 +143783,11 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143789,9 +143866,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - milestone: &666 + enterprise: *648 + installation: *649 + milestone: &680 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143933,8 +144010,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144013,11 +144090,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144127,11 +144204,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - milestone: *659 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *673 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144211,11 +144288,11 @@ webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - milestone: *666 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + milestone: *680 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144294,11 +144371,11 @@ webhooks: type: string enum: - blocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144377,11 +144454,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *654 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + blocked_user: *668 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144460,9 +144537,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - membership: &667 + enterprise: *648 + installation: *649 + membership: &681 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -144556,8 +144633,8 @@ webhooks: - role - organization_url - user - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144635,11 +144712,11 @@ webhooks: type: string enum: - member_added - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144718,8 +144795,8 @@ webhooks: type: string enum: - member_invited - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144841,10 +144918,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 - user: *654 + user: *668 required: - action - invitation @@ -144922,11 +144999,11 @@ webhooks: type: string enum: - member_removed - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -145013,11 +145090,11 @@ webhooks: properties: from: type: string - enterprise: *634 - installation: *635 - membership: *667 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + membership: *681 + organization: *650 + repository: *651 sender: *4 required: - action @@ -145093,9 +145170,9 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -145618,7 +145695,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &668 + items: &682 title: Ruby Gems metadata type: object properties: @@ -145715,7 +145792,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -145791,9 +145868,9 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 package: description: Information about the package. type: object @@ -146155,7 +146232,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 source_url: type: string format: uri @@ -146226,7 +146303,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -146407,12 +146484,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *634 + enterprise: *648 id: type: integer - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - id @@ -146489,7 +146566,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &669 + personal_access_token_request: &683 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -146639,10 +146716,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *634 - organization: *636 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146719,11 +146796,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *669 - enterprise: *634 - organization: *636 + personal_access_token_request: *683 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146799,11 +146876,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *669 - enterprise: *634 - organization: *636 + personal_access_token_request: *683 + enterprise: *648 + organization: *650 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146878,11 +146955,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *669 - organization: *636 - enterprise: *634 + personal_access_token_request: *683 + organization: *650 + enterprise: *648 sender: *4 - installation: *635 + installation: *649 required: - action - personal_access_token_request @@ -146987,7 +147064,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *670 + last_response: *684 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -147019,8 +147096,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 zen: description: Random string of GitHub zen. @@ -147265,10 +147342,10 @@ webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: &671 + enterprise: *648 + installation: *649 + organization: *650 + project_card: &685 title: Project Card type: object properties: @@ -147391,7 +147468,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -147472,11 +147549,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_card: *671 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *685 + repository: *651 sender: *4 required: - action @@ -147556,9 +147633,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 project_card: title: Project Card type: object @@ -147688,7 +147765,7 @@ webhooks: repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -147782,11 +147859,11 @@ webhooks: - from required: - note - enterprise: *634 - installation: *635 - organization: *636 - project_card: *671 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_card: *685 + repository: *651 sender: *4 required: - action @@ -147880,9 +147957,9 @@ webhooks: - from required: - column_id - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 project_card: allOf: - title: Project Card @@ -148079,7 +148156,7 @@ webhooks: type: string required: - after_id - repository: *637 + repository: *651 sender: *4 required: - action @@ -148159,10 +148236,10 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - organization: *636 - project: &673 + enterprise: *648 + installation: *649 + organization: *650 + project: &687 title: Project type: object properties: @@ -148289,7 +148366,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148369,10 +148446,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project_column: &672 + enterprise: *648 + installation: *649 + organization: *650 + project_column: &686 title: Project Column type: object properties: @@ -148412,7 +148489,7 @@ webhooks: - name - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148491,14 +148568,14 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -148587,11 +148664,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 + repository: *651 sender: *4 required: - action @@ -148671,11 +148748,11 @@ webhooks: type: string enum: - moved - enterprise: *634 - installation: *635 - organization: *636 - project_column: *672 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project_column: *686 + repository: *651 sender: *4 required: - action @@ -148755,11 +148832,11 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -148839,14 +148916,14 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - project: *673 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -148947,11 +149024,11 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -149030,11 +149107,11 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - organization: *636 - project: *673 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + project: *687 + repository: *651 sender: *4 required: - action @@ -149115,9 +149192,9 @@ webhooks: type: string enum: - closed - installation: *635 - organization: *636 - projects_v2: &674 + installation: *649 + organization: *650 + projects_v2: &688 title: Projects v2 Project description: A projects v2 project type: object @@ -149265,9 +149342,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149348,9 +149425,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149471,9 +149548,9 @@ webhooks: type: string to: type: string - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -149556,7 +149633,7 @@ webhooks: type: string enum: - archived - changes: &678 + changes: &692 type: object properties: archived_at: @@ -149572,9 +149649,9 @@ webhooks: - string - 'null' format: date-time - installation: *635 - organization: *636 - projects_v2_item: &675 + installation: *649 + organization: *650 + projects_v2_item: &689 title: Projects v2 Item description: An item belonging to a project type: object @@ -149713,9 +149790,9 @@ webhooks: - 'null' to: type: string - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149797,9 +149874,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149880,9 +149957,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -149987,7 +150064,7 @@ webhooks: oneOf: - type: string - type: integer - - &676 + - &690 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -150007,7 +150084,7 @@ webhooks: required: - id - name - - &677 + - &691 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150036,8 +150113,8 @@ webhooks: oneOf: - type: string - type: integer - - *676 - - *677 + - *690 + - *691 type: - 'null' - string @@ -150060,9 +150137,9 @@ webhooks: - 'null' required: - body - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150159,9 +150236,9 @@ webhooks: type: - string - 'null' - installation: *635 - organization: *636 - projects_v2_item: *675 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150244,10 +150321,10 @@ webhooks: type: string enum: - restored - changes: *678 - installation: *635 - organization: *636 - projects_v2_item: *675 + changes: *692 + installation: *649 + organization: *650 + projects_v2_item: *689 sender: *4 required: - action @@ -150329,9 +150406,9 @@ webhooks: type: string enum: - reopened - installation: *635 - organization: *636 - projects_v2: *674 + installation: *649 + organization: *650 + projects_v2: *688 sender: *4 required: - action @@ -150412,9 +150489,9 @@ webhooks: type: string enum: - created - installation: *635 - organization: *636 - projects_v2_status_update: &679 + installation: *649 + organization: *650 + projects_v2_status_update: &693 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -150549,9 +150626,9 @@ webhooks: type: string enum: - deleted - installation: *635 - organization: *636 - projects_v2_status_update: *679 + installation: *649 + organization: *650 + projects_v2_status_update: *693 sender: *4 required: - action @@ -150697,9 +150774,9 @@ webhooks: - string - 'null' format: date - installation: *635 - organization: *636 - projects_v2_status_update: *679 + installation: *649 + organization: *650 + projects_v2_status_update: *693 sender: *4 required: - action @@ -150770,10 +150847,10 @@ webhooks: title: public event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - repository @@ -150850,13 +150927,13 @@ webhooks: type: string enum: - assigned - assignee: *654 - enterprise: *634 - installation: *635 - number: &680 + assignee: *668 + enterprise: *648 + installation: *649 + number: &694 description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -153205,7 +153282,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -153287,11 +153364,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -155633,7 +155710,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -155715,11 +155792,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -158061,7 +158138,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -158143,11 +158220,11 @@ webhooks: type: string enum: - closed - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: &681 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: &695 allOf: - *502 - type: object @@ -158211,7 +158288,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *637 + repository: *651 sender: *4 required: - action @@ -158292,12 +158369,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -158377,11 +158454,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *634 + enterprise: *648 milestone: *400 - number: *680 - organization: *636 - pull_request: &682 + number: *694 + organization: *650 + pull_request: &696 title: Pull Request type: object properties: @@ -160708,7 +160785,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -160787,11 +160864,11 @@ webhooks: type: string enum: - dequeued - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -163137,7 +163214,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *637 + repository: *651 sender: *4 required: - action @@ -163261,12 +163338,12 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -163346,11 +163423,11 @@ webhooks: type: string enum: - enqueued - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -165681,7 +165758,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -165761,11 +165838,11 @@ webhooks: type: string enum: - labeled - enterprise: *634 - installation: *635 - label: *653 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + label: *667 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -168113,7 +168190,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -168194,10 +168271,10 @@ webhooks: type: string enum: - locked - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -170543,7 +170620,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -170623,12 +170700,12 @@ webhooks: type: string enum: - milestoned - enterprise: *634 + enterprise: *648 milestone: *400 - number: *680 - organization: *636 - pull_request: *682 - repository: *637 + number: *694 + organization: *650 + pull_request: *696 + repository: *651 sender: *4 required: - action @@ -170707,12 +170784,12 @@ webhooks: type: string enum: - opened - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -170793,12 +170870,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -170878,12 +170955,12 @@ webhooks: type: string enum: - reopened - enterprise: *634 - installation: *635 - number: *680 - organization: *636 - pull_request: *681 - repository: *637 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 + pull_request: *695 + repository: *651 sender: *4 required: - action @@ -171258,9 +171335,9 @@ webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -173490,7 +173567,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -173570,7 +173647,7 @@ webhooks: type: string enum: - deleted - comment: &684 + comment: &698 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -173863,9 +173940,9 @@ webhooks: - start_side - side - reactions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -176083,7 +176160,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -176163,11 +176240,11 @@ webhooks: type: string enum: - edited - changes: *683 - comment: *684 - enterprise: *634 - installation: *635 - organization: *636 + changes: *697 + comment: *698 + enterprise: *648 + installation: *649 + organization: *650 pull_request: type: object properties: @@ -178388,7 +178465,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -178469,9 +178546,9 @@ webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -180704,7 +180781,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 review: description: The review that was affected. type: object @@ -180950,9 +181027,9 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -183066,8 +183143,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: &685 + repository: *651 + review: &699 description: The review that was affected. type: object properties: @@ -183300,12 +183377,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -185652,7 +185729,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -185738,12 +185815,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -188097,7 +188174,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188292,12 +188369,12 @@ webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -190646,7 +190723,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -190733,12 +190810,12 @@ webhooks: type: string enum: - review_requested - enterprise: *634 - installation: *635 + enterprise: *648 + installation: *649 number: description: The pull request number. type: integer - organization: *636 + organization: *650 pull_request: title: Pull Request type: object @@ -193078,7 +193155,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193262,9 +193339,9 @@ webhooks: type: string enum: - submitted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -195500,8 +195577,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: *685 + repository: *651 + review: *699 sender: *4 required: - action @@ -195581,9 +195658,9 @@ webhooks: type: string enum: - resolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -197714,7 +197791,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -198106,9 +198183,9 @@ webhooks: type: string enum: - unresolved - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 pull_request: title: Simple Pull Request type: object @@ -200222,7 +200299,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -200616,10 +200693,10 @@ webhooks: type: string before: type: string - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -202954,7 +203031,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -203036,11 +203113,11 @@ webhooks: type: string enum: - unassigned - assignee: *686 - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + assignee: *700 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -205390,7 +205467,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -205469,11 +205546,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *634 - installation: *635 - label: *653 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + label: *667 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -207812,7 +207889,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -207893,10 +207970,10 @@ webhooks: type: string enum: - unlocked - enterprise: *634 - installation: *635 - number: *680 - organization: *636 + enterprise: *648 + installation: *649 + number: *694 + organization: *650 pull_request: title: Pull Request type: object @@ -210225,7 +210302,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -210428,7 +210505,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *634 + enterprise: *648 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -210523,8 +210600,8 @@ webhooks: - url - author - committer - installation: *635 - organization: *636 + installation: *649 + organization: *650 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -211112,9 +211189,9 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -211591,7 +211668,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -211647,7 +211724,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -211725,9 +211802,9 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 registry_package: type: object properties: @@ -212039,7 +212116,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -212089,7 +212166,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -212166,10 +212243,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - release: &687 + enterprise: *648 + installation: *649 + organization: *650 + release: &701 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212490,7 +212567,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *637 + repository: *651 sender: *4 required: - action @@ -212567,11 +212644,11 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -212688,11 +212765,11 @@ webhooks: type: boolean required: - to - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -212770,9 +212847,9 @@ webhooks: type: string enum: - prereleased - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -213098,7 +213175,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213174,10 +213251,10 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - release: &688 + enterprise: *648 + installation: *649 + organization: *650 + release: &702 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213500,7 +213577,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213576,11 +213653,11 @@ webhooks: type: string enum: - released - enterprise: *634 - installation: *635 - organization: *636 - release: *687 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *701 + repository: *651 sender: *4 required: - action @@ -213656,11 +213733,11 @@ webhooks: type: string enum: - unpublished - enterprise: *634 - installation: *635 - organization: *636 - release: *688 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + release: *702 + repository: *651 sender: *4 required: - action @@ -213736,11 +213813,11 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *562 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *576 sender: *4 required: - action @@ -213816,11 +213893,11 @@ webhooks: type: string enum: - reported - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - repository_advisory: *562 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + repository_advisory: *576 sender: *4 required: - action @@ -213896,10 +213973,10 @@ webhooks: type: string enum: - archived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -213976,10 +214053,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214057,10 +214134,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214145,10 +214222,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214263,10 +214340,10 @@ webhooks: - 'null' items: type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214338,10 +214415,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 status: type: string @@ -214422,10 +214499,10 @@ webhooks: type: string enum: - privatized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214502,10 +214579,10 @@ webhooks: type: string enum: - publicized - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214599,10 +214676,10 @@ webhooks: - name required: - repository - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -214682,10 +214759,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 sender: *4 required: @@ -214764,10 +214841,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 sender: *4 required: @@ -214846,10 +214923,10 @@ webhooks: type: string enum: - edited - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 repository_ruleset: *233 changes: type: object @@ -215157,10 +215234,10 @@ webhooks: - from required: - owner - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215238,10 +215315,10 @@ webhooks: type: string enum: - unarchived - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215319,7 +215396,7 @@ webhooks: type: string enum: - create - alert: &689 + alert: &703 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -215443,10 +215520,10 @@ webhooks: type: string enum: - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215656,10 +215733,10 @@ webhooks: type: string enum: - dismissed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215737,11 +215814,11 @@ webhooks: type: string enum: - reopen - alert: *689 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *703 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -215943,10 +216020,10 @@ webhooks: enum: - fixed - open - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216024,7 +216101,7 @@ webhooks: type: string enum: - created - alert: &690 + alert: &704 type: object properties: number: *52 @@ -216134,10 +216211,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216218,11 +216295,11 @@ webhooks: type: string enum: - created - alert: *690 - installation: *635 - location: *691 - organization: *636 - repository: *637 + alert: *704 + installation: *649 + location: *705 + organization: *650 + repository: *651 sender: *4 required: - location @@ -216460,11 +216537,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216542,11 +216619,11 @@ webhooks: type: string enum: - reopened - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216624,11 +216701,11 @@ webhooks: type: string enum: - resolved - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216706,11 +216783,11 @@ webhooks: type: string enum: - validated - alert: *690 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + alert: *704 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -216840,10 +216917,10 @@ webhooks: - organization - enterprise - - repository: *637 - enterprise: *634 - installation: *635 - organization: *636 + repository: *651 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -216921,11 +216998,11 @@ webhooks: type: string enum: - published - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: &692 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: &706 description: The details of the security advisory, including summary, description, and severity. type: object @@ -217111,11 +217188,11 @@ webhooks: type: string enum: - updated - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 - security_advisory: *692 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 + security_advisory: *706 sender: *4 required: - action @@ -217188,10 +217265,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -217378,9 +217455,9 @@ webhooks: type: object properties: security_and_analysis: *226 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: *279 sender: *4 required: @@ -217459,12 +217536,12 @@ webhooks: type: string enum: - cancelled - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: &693 + sponsorship: &707 type: object properties: created_at: @@ -217769,12 +217846,12 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - sponsorship @@ -217862,12 +217939,12 @@ webhooks: type: string required: - from - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -217944,17 +218021,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &694 + effective_date: &708 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - sponsorship @@ -218028,7 +218105,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &695 + changes: &709 type: object properties: tier: @@ -218072,13 +218149,13 @@ webhooks: - from required: - tier - effective_date: *694 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + effective_date: *708 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -218155,13 +218232,13 @@ webhooks: type: string enum: - tier_changed - changes: *695 - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + changes: *709 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - sponsorship: *693 + sponsorship: *707 required: - action - changes @@ -218235,10 +218312,10 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218322,10 +218399,10 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218759,15 +218836,15 @@ webhooks: type: - string - 'null' - enterprise: *634 + enterprise: *648 id: description: The unique identifier of the status. type: integer - installation: *635 + installation: *649 name: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 sha: description: The Commit SHA. @@ -218883,9 +218960,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -218975,9 +219052,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219067,9 +219144,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219159,9 +219236,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *635 - organization: *636 - repository: *637 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -219238,12 +219315,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 - team: &696 + team: &710 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -219436,9 +219513,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -219908,7 +219985,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -219984,9 +220061,9 @@ webhooks: type: string enum: - created - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -220456,7 +220533,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -220533,9 +220610,9 @@ webhooks: type: string enum: - deleted - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -221005,7 +221082,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -221149,9 +221226,9 @@ webhooks: - from required: - permissions - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -221621,7 +221698,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - changes @@ -221699,9 +221776,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 repository: title: Repository description: A git repository @@ -222171,7 +222248,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -222247,10 +222324,10 @@ webhooks: type: string enum: - started - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: *650 + repository: *651 sender: *4 required: - action @@ -222323,17 +222400,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *634 + enterprise: *648 inputs: type: - object - 'null' additionalProperties: true - installation: *635 - organization: *636 + installation: *649 + organization: *650 ref: type: string - repository: *637 + repository: *651 sender: *4 workflow: type: string @@ -222415,10 +222492,10 @@ webhooks: type: string enum: - completed - enterprise: *634 - installation: *635 - organization: *636 - repository: *637 + enterprise: *648 + installation: *649 + organization: {"code":"deadline_exceeded","msg":"operation timed out"}