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: *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/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index d3bcabad2c..4d99cee45c 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -36200,6 +36200,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -36213,6 +36216,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -36254,7 +36263,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -39833,6 +39841,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -39846,6 +39857,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -39887,7 +39904,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -51239,6 +51255,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." } } } @@ -86227,6 +86576,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": { @@ -86257,554 +86629,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" ] } } @@ -86982,7 +87361,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -120549,6 +120928,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -120562,6 +120944,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -120603,7 +120991,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -152690,6 +153077,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -152703,6 +153093,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -152744,7 +153140,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -192747,6 +193142,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." } } } @@ -534823,6 +535551,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." } } } @@ -535718,6 +536779,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." } } }, @@ -536571,6 +537965,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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index be4791eca5..149c929d3f 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1075,7 +1075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &652 + - &666 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1804,7 +1804,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &662 + schema: &676 title: Scim Error description: Scim Error type: object @@ -14286,6 +14286,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -14295,6 +14297,10 @@ paths: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -14324,7 +14330,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -18279,6 +18284,304 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &646 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &648 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &649 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &650 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &651 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &652 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &653 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &654 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &655 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &656 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &657 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &658 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &659 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &660 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + 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: &332 value: @@ -20420,7 +20723,7 @@ paths: url: type: string format: uri - user: &701 + user: &715 title: Public User description: Public User type: object @@ -24982,7 +25285,7 @@ paths: type: array items: *57 examples: - default: &718 + default: &732 value: - login: github id: 1 @@ -25144,6 +25447,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - *165 + - 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 @@ -25169,7 +25489,10 @@ paths: - internal accessible_repositories: type: array - items: *95 + items: + anyOf: + - type: 'null' + - *95 additionalProperties: false examples: default: @@ -25272,7 +25595,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -26881,7 +27204,7 @@ paths: type: array items: *62 examples: - default: &712 + default: &726 value: total_count: 1 repositories: @@ -27704,7 +28027,7 @@ paths: type: array items: *191 examples: - default: &704 + default: &718 value: total_count: 1 repositories: @@ -39404,7 +39727,7 @@ paths: parameters: - *165 - *292 - - &717 + - &731 name: repo_name description: repo_name parameter in: path @@ -40737,7 +41060,7 @@ paths: - nuget - container - *165 - - &719 + - &733 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40778,7 +41101,7 @@ paths: default: *298 '403': *27 '401': *23 - '400': &721 + '400': &735 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45429,7 +45752,7 @@ paths: application/json: schema: type: array - items: &650 + items: &664 description: A repository security advisory. type: object properties: @@ -45748,7 +46071,7 @@ paths: - private_fork additionalProperties: false examples: - default: &651 + default: &665 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47600,7 +47923,7 @@ paths: - updated_at - url examples: - default: &691 + default: &705 value: - author: login: octocat @@ -47848,7 +48171,7 @@ paths: application/json: schema: *349 examples: - default: &692 + default: &706 value: author: login: octocat @@ -48039,7 +48362,7 @@ paths: - updated_at - url examples: - default: &693 + default: &707 value: - author: login: octocat @@ -48265,7 +48588,7 @@ paths: application/json: schema: *352 examples: - default: &694 + default: &708 value: author: login: octocat @@ -48981,7 +49304,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &695 + response-if-user-is-a-team-maintainer: &709 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -49046,7 +49369,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: &696 + response-if-users-membership-with-team-is-now-pending: &710 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49188,7 +49511,7 @@ paths: - updated_at - permissions examples: - default: &697 + default: &711 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49267,7 +49590,7 @@ paths: application/json: schema: *364 examples: - default: &698 + default: &712 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49478,7 +49801,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &699 + schema: &713 title: Team Repository description: A team's access to a repository. type: object @@ -50316,7 +50639,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: &700 + response-if-child-teams-exist: &714 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62791,7 +63114,7 @@ paths: check. type: array items: *438 - deployment: &750 + deployment: &764 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67993,7 +68316,7 @@ paths: type: array items: *476 examples: - default: &707 + default: &721 value: total_count: 2 machines: @@ -71341,7 +71664,7 @@ paths: application/json: schema: type: array - items: &655 + items: &669 title: Status description: The status of a commit. type: object @@ -72940,7 +73263,7 @@ paths: items: type: object properties: - placeholder_id: &647 + placeholder_id: &661 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79021,7 +79344,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &781 + last_response: &795 title: Hook Response type: object properties: @@ -79996,7 +80319,7 @@ paths: parameters: - *366 - *367 - - &730 + - &744 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -80430,7 +80753,7 @@ paths: type: array items: *549 examples: - default: &723 + default: &737 value: - id: 1 repository: @@ -94314,7 +94637,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 type: object properties: number: *96 @@ -94422,6 +94745,14 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *646 + 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: @@ -94559,7 +94890,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94641,7 +94972,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94729,7 +95060,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &802 + items: &816 type: object properties: type: @@ -94756,273 +95087,19 @@ paths: - commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *648 + - *649 + - *650 + - *651 + - *652 + - *653 + - *654 + - *655 + - *656 + - *657 + - *658 + - *659 + - *660 examples: default: value: @@ -95117,14 +95194,14 @@ paths: schema: type: object properties: - reason: &648 + reason: &662 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *647 + placeholder_id: *661 required: - reason - placeholder_id @@ -95141,7 +95218,7 @@ paths: schema: type: object properties: - reason: *648 + reason: *662 expire_at: type: - string @@ -95201,7 +95278,7 @@ paths: properties: incremental_scans: type: array - items: &649 + items: &663 description: Information on a single scan performed by secret scanning on the repository type: object @@ -95229,15 +95306,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *649 + items: *663 backfill_scans: type: array - items: *649 + items: *663 custom_pattern_backfill_scans: type: array items: allOf: - - *649 + - *663 - type: object properties: pattern_name: @@ -95352,9 +95429,9 @@ paths: application/json: schema: type: array - items: *650 + items: *664 examples: - default: *651 + default: *665 '400': *14 '404': *6 x-github: @@ -95548,9 +95625,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: &653 + default: &667 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -95897,7 +95974,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: default: value: @@ -96046,15 +96123,15 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '200': description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: *653 + default: *667 '403': *27 '404': *6 x-github: @@ -96080,7 +96157,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 requestBody: required: true content: @@ -96251,10 +96328,10 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: *653 - add_credit: *653 + default: *667 + add_credit: *667 '403': *27 '404': *6 '422': @@ -96294,7 +96371,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': *37 '400': *14 @@ -96323,7 +96400,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': description: Response @@ -96464,7 +96541,7 @@ paths: application/json: schema: type: array - items: &654 + items: &668 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -96837,7 +96914,7 @@ paths: application/json: schema: type: array - items: *654 + items: *668 examples: default: value: @@ -96927,7 +97004,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *669 examples: default: value: @@ -97021,7 +97098,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &656 + schema: &670 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -97121,7 +97198,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *670 examples: default: value: @@ -97261,7 +97338,7 @@ paths: application/json: schema: type: array - items: &657 + items: &671 title: Tag protection description: Tag protection type: object @@ -97342,7 +97419,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *671 examples: default: value: @@ -97490,7 +97567,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &672 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -97502,7 +97579,7 @@ paths: required: - names examples: - default: &659 + default: &673 value: names: - octocat @@ -97557,9 +97634,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *672 examples: - default: *659 + default: *673 '404': *6 '422': *7 x-github: @@ -97582,7 +97659,7 @@ paths: parameters: - *366 - *367 - - &660 + - &674 name: per description: The time frame to display results for. in: query @@ -97613,7 +97690,7 @@ paths: - 128 clones: type: array - items: &661 + items: &675 title: Traffic type: object properties: @@ -97861,7 +97938,7 @@ paths: parameters: - *366 - *367 - - *660 + - *674 responses: '200': description: Response @@ -97882,7 +97959,7 @@ paths: - 3782 views: type: array - items: *661 + items: *675 required: - uniques - count @@ -98554,7 +98631,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &669 + - &683 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -98564,7 +98641,7 @@ paths: type: string examples: - members - - &674 + - &688 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -98576,7 +98653,7 @@ paths: format: int32 examples: - 1 - - &675 + - &689 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -98620,7 +98697,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &663 + items: &677 allOf: - type: object required: @@ -98702,7 +98779,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &676 + meta: &690 type: object description: The metadata associated with the creation/updates to the user. @@ -98767,31 +98844,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &664 + '400': &678 description: Bad request content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '401': &665 + schema: *676 + '401': &679 description: Authorization failure - '403': &666 + '403': &680 description: Permission denied - '429': &667 + '429': &681 description: Too many requests content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '500': &668 + schema: *676 + '500': &682 description: Internal server error content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 + schema: *676 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98815,7 +98892,7 @@ paths: required: true content: application/json: - schema: &672 + schema: &686 type: object required: - schemas @@ -98875,9 +98952,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *663 + schema: *677 examples: - group: &670 + group: &684 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -98896,13 +98973,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *664 - '401': *665 - '403': *666 - '409': &673 + '400': *678 + '401': *679 + '403': *680 + '409': &687 description: Duplicate record detected - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98919,7 +98996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &671 + - &685 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -98928,22 +99005,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *669 + - *683 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *663 + schema: *677 examples: - default: *670 - '400': *664 - '401': *665 - '403': *666 + default: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98962,13 +99039,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *671 + - *685 - *39 requestBody: required: true content: application/json: - schema: *672 + schema: *686 examples: group: summary: Group @@ -98994,17 +99071,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *663 + schema: *677 examples: - group: *670 - groupWithMembers: *670 - '400': *664 - '401': *665 - '403': *666 + group: *684 + groupWithMembers: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99028,13 +99105,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *671 + - *685 - *39 requestBody: required: true content: application/json: - schema: &683 + schema: &697 type: object required: - Operations @@ -99094,17 +99171,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *663 + schema: *677 examples: - updateGroup: *670 - addMembers: *670 - '400': *664 - '401': *665 - '403': *666 + updateGroup: *684 + addMembers: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99120,17 +99197,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *671 + - *685 - *39 responses: '204': description: Group was deleted, no content - '400': *664 - '401': *665 - '403': *666 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99164,8 +99241,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *674 - - *675 + - *688 + - *689 - *39 responses: '200': @@ -99199,7 +99276,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &678 + items: &692 allOf: - type: object required: @@ -99291,7 +99368,7 @@ paths: address. examples: - true - roles: &677 + roles: &691 type: array description: The roles assigned to the user. items: @@ -99350,7 +99427,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *676 + meta: *690 startIndex: type: integer description: A starting index for the returned page @@ -99389,11 +99466,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *664 - '401': *665 - '403': *666 - '429': *667 - '500': *668 + '400': *678 + '401': *679 + '403': *680 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99417,7 +99494,7 @@ paths: required: true content: application/json: - schema: &681 + schema: &695 type: object required: - schemas @@ -99510,9 +99587,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *677 + roles: *691 examples: - user: &682 + user: &696 summary: User value: schemas: @@ -99559,9 +99636,9 @@ paths: description: User has been created content: application/scim+json: - schema: *678 + schema: *692 examples: - user: &679 + user: &693 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99587,13 +99664,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *679 - '400': *664 - '401': *665 - '403': *666 - '409': *673 - '429': *667 - '500': *668 + enterpriseOwner: *693 + '400': *678 + '401': *679 + '403': *680 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99610,7 +99687,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &680 + - &694 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -99623,15 +99700,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *678 + schema: *692 examples: - default: *679 - '400': *664 - '401': *665 - '403': *666 + default: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99653,30 +99730,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *680 + - *694 - *39 requestBody: required: true content: application/json: - schema: *681 + schema: *695 examples: - user: *682 + user: *696 responses: '200': description: User was updated content: application/scim+json: - schema: *678 + schema: *692 examples: - user: *679 - '400': *664 - '401': *665 - '403': *666 + user: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99711,13 +99788,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *680 + - *694 - *39 requestBody: required: true content: application/json: - schema: *683 + schema: *697 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -99757,18 +99834,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *678 - examples: - userMultiValuedProperties: *679 - userSingleValuedProperties: *679 - disableUser: *679 - '400': *664 - '401': *665 - '403': *666 + schema: *692 + examples: + userMultiValuedProperties: *693 + userSingleValuedProperties: *693 + disableUser: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99788,17 +99865,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *680 + - *694 - *39 responses: '204': description: User was deleted, no content - '400': *664 - '401': *665 - '403': *666 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99889,7 +99966,7 @@ paths: - 1 Resources: type: array - items: &684 + items: &698 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -100136,22 +100213,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &685 + '404': &699 description: Resource not found content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '403': &686 + schema: *676 + '403': &700 description: Forbidden content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '400': *664 - '429': *667 + schema: *676 + '400': *678 + '429': *681 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -100177,9 +100254,9 @@ paths: description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: &687 + default: &701 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -100202,17 +100279,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *685 - '403': *686 - '500': *668 + '404': *699 + '403': *700 + '500': *682 '409': description: Conflict content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '400': *664 + schema: *676 + '400': *678 requestBody: required: true content: @@ -100312,17 +100389,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 - '404': *685 - '403': *686 + default: *701 + '404': *699 + '403': *700 '304': *35 x-github: githubCloudOnly: true @@ -100346,18 +100423,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 + default: *701 '304': *35 - '404': *685 - '403': *686 + '404': *699 + '403': *700 requestBody: required: true content: @@ -100472,19 +100549,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 + default: *701 '304': *35 - '404': *685 - '403': *686 - '400': *664 + '404': *699 + '403': *700 + '400': *678 '429': description: Response content: @@ -100580,12 +100657,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *165 - - *680 + - *694 responses: '204': description: Response - '404': *685 - '403': *686 + '404': *699 + '403': *700 '304': *35 x-github: githubCloudOnly: true @@ -100719,7 +100796,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &688 + text_matches: &702 title: Search Result Text Matches type: array items: @@ -100883,7 +100960,7 @@ paths: enum: - author-date - committer-date - - &689 + - &703 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -101003,7 +101080,7 @@ paths: type: number node_id: type: string - text_matches: *688 + text_matches: *702 required: - sha - node_id @@ -101186,7 +101263,7 @@ paths: - interactions - created - updated - - *689 + - *703 - *17 - *19 - name: advanced_search @@ -101324,7 +101401,7 @@ paths: - string - 'null' format: date-time - text_matches: *688 + text_matches: *702 pull_request: type: object properties: @@ -101550,7 +101627,7 @@ paths: enum: - created - updated - - *689 + - *703 - *17 - *19 responses: @@ -101595,7 +101672,7 @@ paths: - 'null' score: type: number - text_matches: *688 + text_matches: *702 required: - id - node_id @@ -101681,7 +101758,7 @@ paths: - forks - help-wanted-issues - updated - - *689 + - *703 - *17 - *19 responses: @@ -101918,7 +101995,7 @@ paths: - admin - pull - push - text_matches: *688 + text_matches: *702 temp_clone_token: type: string allow_merge_commit: @@ -102227,7 +102304,7 @@ paths: - string - 'null' format: uri - text_matches: *688 + text_matches: *702 related: type: - array @@ -102422,7 +102499,7 @@ paths: - followers - repositories - joined - - *689 + - *703 - *17 - *19 responses: @@ -102532,7 +102609,7 @@ paths: type: - boolean - 'null' - text_matches: *688 + text_matches: *702 blog: type: - string @@ -102614,7 +102691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &690 + - &704 name: team_id description: The unique identifier of the team. in: path @@ -102655,7 +102732,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *690 + - *704 requestBody: required: true content: @@ -102756,7 +102833,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *690 + - *704 responses: '204': description: Response @@ -102787,7 +102864,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *690 + - *704 - *86 - *17 - *19 @@ -102800,7 +102877,7 @@ paths: type: array items: *349 examples: - default: *691 + default: *705 headers: Link: *38 x-github: @@ -102829,7 +102906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *690 + - *704 requestBody: required: true content: @@ -102892,7 +102969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *690 + - *704 - *351 responses: '200': @@ -102926,7 +103003,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *690 + - *704 - *351 requestBody: required: false @@ -102952,7 +103029,7 @@ paths: application/json: schema: *349 examples: - default: *692 + default: *706 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102977,7 +103054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *690 + - *704 - *351 responses: '204': @@ -103007,7 +103084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *690 + - *704 - *351 - *86 - *17 @@ -103021,7 +103098,7 @@ paths: type: array items: *352 examples: - default: *693 + default: *707 headers: Link: *38 x-github: @@ -103050,7 +103127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 requestBody: required: true @@ -103102,7 +103179,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 responses: @@ -103137,7 +103214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 requestBody: @@ -103163,7 +103240,7 @@ paths: application/json: schema: *352 examples: - default: *694 + default: *708 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103188,7 +103265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 responses: @@ -103219,7 +103296,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 - name: content @@ -103278,7 +103355,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 requestBody: @@ -103340,7 +103417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *690 + - *704 - *351 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -103398,7 +103475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *690 + - *704 - *351 requestBody: required: true @@ -103457,7 +103534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -103495,7 +103572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *690 + - *704 - name: role description: Filters members returned by their role in the team. in: query @@ -103546,7 +103623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103583,7 +103660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103623,7 +103700,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103660,7 +103737,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 responses: '200': @@ -103669,7 +103746,7 @@ paths: application/json: schema: *363 examples: - response-if-user-is-a-team-maintainer: *695 + response-if-user-is-a-team-maintainer: *709 '404': *6 x-github: githubCloudOnly: false @@ -103702,7 +103779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 requestBody: required: false @@ -103730,7 +103807,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: *696 + response-if-users-membership-with-team-is-now-pending: *710 '403': description: Forbidden if team synchronization is set up '422': @@ -103764,7 +103841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103793,7 +103870,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -103805,7 +103882,7 @@ paths: type: array items: *364 examples: - default: *697 + default: *711 headers: Link: *38 '404': *6 @@ -103831,7 +103908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *690 + - *704 - *365 responses: '200': @@ -103840,7 +103917,7 @@ paths: application/json: schema: *364 examples: - default: *698 + default: *712 '404': description: Not Found if project is not managed by this team x-github: @@ -103864,7 +103941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *690 + - *704 - *365 requestBody: required: false @@ -103932,7 +104009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *690 + - *704 - *365 responses: '204': @@ -103960,7 +104037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -104002,7 +104079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *690 + - *704 - *366 - *367 responses: @@ -104010,7 +104087,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *699 + schema: *713 examples: alternative-response-with-extra-repository-information: value: @@ -104161,7 +104238,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *690 + - *704 - *366 - *367 requestBody: @@ -104213,7 +104290,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *690 + - *704 - *366 - *367 responses: @@ -104244,7 +104321,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *690 + - *704 responses: '200': description: Response @@ -104279,7 +104356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *690 + - *704 requestBody: required: true content: @@ -104371,7 +104448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -104383,7 +104460,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: *700 + response-if-child-teams-exist: *714 headers: Link: *38 '404': *6 @@ -104416,7 +104493,7 @@ paths: application/json: schema: oneOf: - - &702 + - &716 title: Private User description: Private User type: object @@ -104666,7 +104743,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *701 + - *715 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -104826,7 +104903,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *716 examples: default: value: @@ -105224,7 +105301,7 @@ paths: type: integer secrets: type: array - items: &703 + items: &717 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -105344,7 +105421,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *717 examples: default: value: @@ -105490,7 +105567,7 @@ paths: type: array items: *191 examples: - default: *704 + default: *718 '401': *23 '403': *27 '404': *6 @@ -105757,7 +105834,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &719 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -105810,7 +105887,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &706 + default: &720 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -105855,9 +105932,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *719 examples: - default: *706 + default: *720 '404': *6 x-github: githubCloudOnly: false @@ -105896,7 +105973,7 @@ paths: type: array items: *476 examples: - default: *707 + default: *721 '304': *35 '500': *83 '401': *23 @@ -106862,7 +106939,7 @@ paths: type: array items: *297 examples: - default: &720 + default: &734 value: - id: 197 name: hello_docker @@ -106963,7 +107040,7 @@ paths: application/json: schema: type: array - items: &708 + items: &722 title: Email description: Email type: object @@ -107033,9 +107110,9 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: - default: &722 + default: &736 value: - email: octocat@github.com verified: true @@ -107112,7 +107189,7 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: default: value: @@ -107370,7 +107447,7 @@ paths: application/json: schema: type: array - items: &709 + items: &723 title: GPG Key description: A unique encryption key type: object @@ -107515,7 +107592,7 @@ paths: - subkeys - revoked examples: - default: &733 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -107600,9 +107677,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *723 examples: - default: &710 + default: &724 value: id: 3 name: Octocat's GPG Key @@ -107659,7 +107736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &711 + - &725 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -107671,9 +107748,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *723 examples: - default: *710 + default: *724 '404': *6 '304': *35 '403': *27 @@ -107696,7 +107773,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *711 + - *725 responses: '204': description: Response @@ -107887,7 +107964,7 @@ paths: type: array items: *62 examples: - default: *712 + default: *726 headers: Link: *38 '404': *6 @@ -108151,7 +108228,7 @@ paths: application/json: schema: type: array - items: &713 + items: &727 title: Key description: Key type: object @@ -108249,9 +108326,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: &714 + default: &728 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108290,9 +108367,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: *714 + default: *728 '404': *6 '304': *35 '403': *27 @@ -108348,7 +108425,7 @@ paths: application/json: schema: type: array - items: &715 + items: &729 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -108427,7 +108504,7 @@ paths: - account - plan examples: - default: &716 + default: &730 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -108489,9 +108566,9 @@ paths: application/json: schema: type: array - items: *715 + items: *729 examples: - default: *716 + default: *730 headers: Link: *38 '304': *35 @@ -109495,7 +109572,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *292 - - *717 + - *731 responses: '204': description: Response @@ -109568,7 +109645,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 '304': *35 @@ -109610,7 +109687,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *19 - *17 responses: @@ -109622,8 +109699,8 @@ paths: type: array items: *297 examples: - default: *720 - '400': *721 + default: *734 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109652,7 +109729,7 @@ paths: application/json: schema: *297 examples: - default: &734 + default: &748 value: id: 40201 name: octo-name @@ -110107,9 +110184,9 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: - default: *722 + default: *736 headers: Link: *38 '304': *35 @@ -110222,7 +110299,7 @@ paths: type: array items: *62 examples: - default: &729 + default: &743 summary: Default response value: - id: 1296269 @@ -110582,7 +110659,7 @@ paths: type: array items: *549 examples: - default: *723 + default: *737 headers: Link: *38 '304': *35 @@ -110661,7 +110738,7 @@ paths: application/json: schema: type: array - items: &724 + items: &738 title: Social account description: Social media account type: object @@ -110678,7 +110755,7 @@ paths: - provider - url examples: - default: &725 + default: &739 value: - provider: twitter url: https://twitter.com/github @@ -110741,9 +110818,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 '422': *15 '304': *35 '404': *6 @@ -110831,7 +110908,7 @@ paths: application/json: schema: type: array - items: &726 + items: &740 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -110851,7 +110928,7 @@ paths: - title - created_at examples: - default: &735 + default: &749 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110918,9 +110995,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: &727 + default: &741 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110951,7 +111028,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &728 + - &742 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -110963,9 +111040,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: *727 + default: *741 '404': *6 '304': *35 '403': *27 @@ -110988,7 +111065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *728 + - *742 responses: '204': description: Response @@ -111017,7 +111094,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &736 + - &750 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -111042,11 +111119,11 @@ paths: type: array items: *62 examples: - default-response: *729 + default-response: *743 application/vnd.github.v3.star+json: schema: type: array - items: &737 + items: &751 title: Starred Repository description: Starred Repository type: object @@ -111415,10 +111492,10 @@ paths: application/json: schema: oneOf: - - *702 - - *701 + - *716 + - *715 examples: - default-response: &731 + default-response: &745 summary: Default response value: login: octocat @@ -111453,7 +111530,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &732 + response-with-git-hub-plan-information: &746 summary: Response with GitHub plan information value: login: octocat @@ -111513,7 +111590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *730 + - *744 - *17 responses: '200': @@ -111562,11 +111639,11 @@ paths: application/json: schema: oneOf: - - *702 - - *701 + - *716 + - *715 examples: - default-response: *731 - response-with-git-hub-plan-information: *732 + default-response: *745 + response-with-git-hub-plan-information: *746 '404': *6 x-github: githubCloudOnly: false @@ -111683,7 +111760,7 @@ paths: type: array items: *297 examples: - default: *720 + default: *734 '403': *27 '401': *23 x-github: @@ -112087,9 +112164,9 @@ paths: application/json: schema: type: array - items: *709 + items: *723 examples: - default: *733 + default: *747 headers: Link: *38 x-github: @@ -112271,7 +112348,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 x-github: @@ -112310,7 +112387,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *213 - *19 - *17 @@ -112323,10 +112400,10 @@ paths: type: array items: *297 examples: - default: *720 + default: *734 '403': *27 '401': *23 - '400': *721 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112356,7 +112433,7 @@ paths: application/json: schema: *297 examples: - default: *734 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113140,9 +113217,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 headers: Link: *38 x-github: @@ -113172,9 +113249,9 @@ paths: application/json: schema: type: array - items: *726 + items: *740 examples: - default: *735 + default: *749 headers: Link: *38 x-github: @@ -113199,7 +113276,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *213 - - *736 + - *750 - *86 - *17 - *19 @@ -113211,11 +113288,11 @@ paths: schema: anyOf: - type: array - items: *737 + items: *751 - type: array items: *62 examples: - default-response: *729 + default-response: *743 headers: Link: *38 x-github: @@ -113375,7 +113452,7 @@ webhooks: type: string enum: - disabled - enterprise: &738 + enterprise: &752 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -113444,7 +113521,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &739 + installation: &753 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -113465,7 +113542,7 @@ webhooks: required: - id - node_id - organization: &740 + organization: &754 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -113538,7 +113615,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &741 + repository: &755 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -114451,10 +114528,10 @@ webhooks: type: string enum: - enabled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -114530,11 +114607,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: &742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: &756 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -114757,11 +114834,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -114949,11 +115026,11 @@ webhooks: - everyone required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -115024,7 +115101,7 @@ webhooks: required: true content: application/json: - schema: &745 + schema: &759 title: Exemption request cancellation event type: object properties: @@ -115032,11 +115109,11 @@ webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: &743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: &757 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -115274,7 +115351,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &744 + items: &758 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -115384,7 +115461,7 @@ webhooks: required: true content: application/json: - schema: &746 + schema: &760 title: Exemption request completed event type: object properties: @@ -115392,11 +115469,11 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -115466,7 +115543,7 @@ webhooks: required: true content: application/json: - schema: &747 + schema: &761 title: Exemption request created event type: object properties: @@ -115474,11 +115551,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -115548,7 +115625,7 @@ webhooks: required: true content: application/json: - schema: &748 + schema: &762 title: Exemption response dismissed event type: object properties: @@ -115556,12 +115633,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -115633,7 +115710,7 @@ webhooks: required: true content: application/json: - schema: &749 + schema: &763 title: Exemption response submitted event type: object properties: @@ -115641,12 +115718,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -115719,7 +115796,7 @@ webhooks: required: true content: application/json: - schema: *745 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115786,7 +115863,7 @@ webhooks: required: true content: application/json: - schema: *746 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115853,7 +115930,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115920,7 +115997,7 @@ webhooks: required: true content: application/json: - schema: *748 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115988,7 +116065,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116066,7 +116143,7 @@ webhooks: type: string enum: - completed - check_run: &751 + check_run: &765 title: CheckRun description: A check performed on the code of a given code change type: object @@ -116179,7 +116256,7 @@ webhooks: - examples: - neutral - deployment: *750 + deployment: *764 details_url: type: string examples: @@ -116277,9 +116354,9 @@ webhooks: - output - app - pull_requests - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -116672,10 +116749,10 @@ webhooks: type: string enum: - created - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -117071,10 +117148,10 @@ webhooks: type: string enum: - requested_action - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 requested_action: description: The action requested by the user. type: object @@ -117479,10 +117556,10 @@ webhooks: type: string enum: - rerequested - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -118474,10 +118551,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -119162,10 +119239,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -119844,10 +119921,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -120165,20 +120242,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &752 + commit_oid: &766 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *738 - installation: *739 - organization: *740 - ref: &753 + enterprise: *752 + installation: *753 + organization: *754 + ref: &767 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -120583,12 +120660,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -120868,12 +120945,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -121216,12 +121293,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -121501,9 +121578,9 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -121511,7 +121588,7 @@ webhooks: type: - string - 'null' - repository: *741 + repository: *755 sender: *4 required: - action @@ -121754,12 +121831,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -122021,10 +122098,10 @@ webhooks: - updated_at - author_association - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -122105,18 +122182,18 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *740 - pusher_type: &754 + organization: *754 + pusher_type: &768 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &755 + ref: &769 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -122126,7 +122203,7 @@ webhooks: enum: - tag - branch - repository: *741 + repository: *755 sender: *4 required: - ref @@ -122209,9 +122286,9 @@ webhooks: enum: - created definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122296,9 +122373,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122376,9 +122453,9 @@ webhooks: enum: - promote_to_enterprise definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122456,9 +122533,9 @@ webhooks: enum: - updated definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122535,10 +122612,10 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - repository: *741 - organization: *740 + enterprise: *752 + installation: *753 + repository: *755 + organization: *754 sender: *4 new_property_values: type: array @@ -122623,18 +122700,18 @@ webhooks: title: delete event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - pusher_type: *754 - ref: *755 + enterprise: *752 + installation: *753 + organization: *754 + pusher_type: *768 + ref: *769 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *741 + repository: *755 sender: *4 required: - ref @@ -122719,10 +122796,10 @@ webhooks: enum: - auto_dismissed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122807,10 +122884,10 @@ webhooks: enum: - auto_reopened alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122895,10 +122972,10 @@ webhooks: enum: - created alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122981,10 +123058,10 @@ webhooks: enum: - dismissed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123067,10 +123144,10 @@ webhooks: enum: - fixed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123154,10 +123231,10 @@ webhooks: enum: - reintroduced alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123240,10 +123317,10 @@ webhooks: enum: - reopened alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123320,9 +123397,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - key: &756 + enterprise: *752 + installation: *753 + key: &770 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -123360,8 +123437,8 @@ webhooks: - verified - created_at - read_only - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -123438,11 +123515,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - key: *756 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + key: *770 + organization: *754 + repository: *755 sender: *4 required: - action @@ -124014,12 +124091,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: &760 + workflow: &774 title: Workflow type: - object @@ -124761,9 +124838,9 @@ webhooks: pull_requests: type: array items: *593 - repository: *741 - organization: *740 - installation: *739 + repository: *755 + organization: *754 + installation: *753 sender: *4 responses: '200': @@ -124834,7 +124911,7 @@ webhooks: type: string enum: - approved - approver: &757 + approver: &771 type: object properties: avatar_url: @@ -124877,11 +124954,11 @@ webhooks: type: string comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: &758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: &772 type: array items: type: object @@ -124962,7 +125039,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &759 + workflow_job_run: &773 type: object properties: conclusion: @@ -125708,18 +125785,18 @@ webhooks: type: string enum: - rejected - approver: *757 + approver: *771 comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: *758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: *772 sender: *4 since: type: string - workflow_job_run: *759 + workflow_job_run: *773 workflow_job_runs: type: array items: @@ -126436,13 +126513,13 @@ webhooks: type: string enum: - requested - enterprise: *738 + enterprise: *752 environment: type: string - installation: *739 - organization: *740 - repository: *741 - requestor: &765 + installation: *753 + organization: *754 + repository: *755 + requestor: &779 title: User type: - object @@ -128385,12 +128462,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Deployment Workflow Run type: @@ -129081,7 +129158,7 @@ webhooks: type: string enum: - answered - answer: &763 + answer: &777 type: object properties: author_association: @@ -129241,7 +129318,7 @@ webhooks: - created_at - updated_at - body - discussion: &761 + discussion: &775 title: Discussion description: A Discussion in a repository. type: object @@ -129559,10 +129636,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129689,11 +129766,11 @@ webhooks: - from required: - category - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129776,11 +129853,11 @@ webhooks: type: string enum: - closed - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129862,7 +129939,7 @@ webhooks: type: string enum: - created - comment: &762 + comment: &776 type: object properties: author_association: @@ -130022,11 +130099,11 @@ webhooks: - updated_at - body - reactions - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130109,12 +130186,12 @@ webhooks: type: string enum: - deleted - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130209,12 +130286,12 @@ webhooks: - from required: - body - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130298,11 +130375,11 @@ webhooks: type: string enum: - created - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130384,11 +130461,11 @@ webhooks: type: string enum: - deleted - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130488,11 +130565,11 @@ webhooks: type: string required: - from - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130574,10 +130651,10 @@ webhooks: type: string enum: - labeled - discussion: *761 - enterprise: *738 - installation: *739 - label: &764 + discussion: *775 + enterprise: *752 + installation: *753 + label: &778 title: Label type: object properties: @@ -130610,8 +130687,8 @@ webhooks: - color - default - description - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130694,11 +130771,11 @@ webhooks: type: string enum: - locked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130780,11 +130857,11 @@ webhooks: type: string enum: - pinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130866,11 +130943,11 @@ webhooks: type: string enum: - reopened - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130955,16 +131032,16 @@ webhooks: changes: type: object properties: - new_discussion: *761 - new_repository: *741 + new_discussion: *775 + new_repository: *755 required: - new_discussion - new_repository - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131047,10 +131124,10 @@ webhooks: type: string enum: - unanswered - discussion: *761 - old_answer: *763 - organization: *740 - repository: *741 + discussion: *775 + old_answer: *777 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131132,12 +131209,12 @@ webhooks: type: string enum: - unlabeled - discussion: *761 - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131220,11 +131297,11 @@ webhooks: type: string enum: - unlocked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131306,11 +131383,11 @@ webhooks: type: string enum: - unpinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131382,7 +131459,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131448,7 +131525,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131514,7 +131591,7 @@ webhooks: required: true content: application/json: - schema: *745 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131580,7 +131657,7 @@ webhooks: required: true content: application/json: - schema: *746 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131646,7 +131723,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131712,7 +131789,7 @@ webhooks: required: true content: application/json: - schema: *748 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131778,7 +131855,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131845,7 +131922,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *738 + enterprise: *752 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -132523,9 +132600,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - forkee @@ -132671,9 +132748,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pages: description: The pages that were updated. type: array @@ -132711,7 +132788,7 @@ webhooks: - action - sha - html_url - repository: *741 + repository: *755 sender: *4 required: - pages @@ -132787,10 +132864,10 @@ webhooks: type: string enum: - created - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: &766 + organization: *754 + repositories: &780 description: An array of repository objects that the installation can access. type: array @@ -132816,8 +132893,8 @@ webhooks: - name - full_name - private - repository: *741 - requester: *765 + repository: *755 + requester: *779 sender: *4 required: - action @@ -132892,11 +132969,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -132973,11 +133050,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133054,10 +133131,10 @@ webhooks: type: string enum: - added - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories_added: &767 + organization: *754 + repositories_added: &781 description: An array of repository objects, which were added to the installation. type: array @@ -133103,15 +133180,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *741 - repository_selection: &768 + repository: *755 + repository_selection: &782 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *765 + requester: *779 sender: *4 required: - action @@ -133190,10 +133267,10 @@ webhooks: type: string enum: - removed - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories_added: *767 + organization: *754 + repositories_added: *781 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -133220,9 +133297,9 @@ webhooks: - name - full_name - private - repository: *741 - repository_selection: *768 - requester: *765 + repository: *755 + repository_selection: *782 + requester: *779 sender: *4 required: - action @@ -133301,11 +133378,11 @@ webhooks: type: string enum: - suspend - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133488,10 +133565,10 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 target_type: type: string @@ -133570,11 +133647,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133822,8 +133899,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135014,8 +135091,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -135095,7 +135172,7 @@ webhooks: type: string enum: - deleted - comment: &769 + comment: &783 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -135262,8 +135339,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -136452,8 +136529,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -136533,7 +136610,7 @@ webhooks: type: string enum: - edited - changes: &794 + changes: &808 description: The changes to the comment. type: object properties: @@ -136545,9 +136622,9 @@ webhooks: type: string required: - from - comment: *769 - enterprise: *738 - installation: *739 + comment: *783 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -137737,8 +137814,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -137820,10 +137897,10 @@ webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - issue: &772 + assignee: *779 + enterprise: *752 + installation: *753 + issue: &786 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138768,8 +138845,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -138849,8 +138926,8 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139943,8 +140020,8 @@ webhooks: required: - state - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140023,8 +140100,8 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140964,8 +141041,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -141044,8 +141121,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141987,7 +142064,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &770 + milestone: &784 title: Milestone description: A collection of related issues and pull requests. type: object @@ -142130,8 +142207,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -142230,8 +142307,8 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143176,9 +143253,9 @@ webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -143258,8 +143335,8 @@ webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144203,9 +144280,9 @@ webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -144285,8 +144362,8 @@ webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145232,8 +145309,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -145312,8 +145389,8 @@ webhooks: type: string enum: - milestoned - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146253,9 +146330,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *770 - organization: *740 - repository: *741 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -147737,8 +147814,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148682,8 +148759,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148763,9 +148840,9 @@ webhooks: type: string enum: - pinned - enterprise: *738 - installation: *739 - issue: &771 + enterprise: *752 + installation: *753 + issue: &785 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149703,8 +149780,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149783,8 +149860,8 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150729,8 +150806,8 @@ webhooks: user_view_type: type: string type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152231,11 +152308,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152315,12 +152392,12 @@ webhooks: type: string enum: - typed - enterprise: *738 - installation: *739 - issue: *772 + enterprise: *752 + installation: *753 + issue: *786 type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152401,7 +152478,7 @@ webhooks: type: string enum: - unassigned - assignee: &797 + assignee: &811 title: User type: - object @@ -152473,11 +152550,11 @@ webhooks: required: - login - id - enterprise: *738 - installation: *739 - issue: *772 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *786 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152556,12 +152633,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - issue: *772 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *786 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152641,8 +152718,8 @@ webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153586,8 +153663,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153667,11 +153744,11 @@ webhooks: type: string enum: - unpinned - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153750,12 +153827,12 @@ webhooks: type: string enum: - untyped - enterprise: *738 - installation: *739 - issue: *772 + enterprise: *752 + installation: *753 + issue: *786 type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153835,11 +153912,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153917,11 +153994,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -154031,11 +154108,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -154117,9 +154194,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: &773 + enterprise: *752 + installation: *753 + marketplace_purchase: &787 title: Marketplace Purchase type: object required: @@ -154207,8 +154284,8 @@ webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: &774 + organization: *754 + previous_marketplace_purchase: &788 title: Marketplace Purchase type: object properties: @@ -154292,7 +154369,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154372,10 +154449,10 @@ webhooks: - changed effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154463,7 +154540,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154545,10 +154622,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154634,7 +154711,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154715,8 +154792,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 marketplace_purchase: title: Marketplace Purchase type: object @@ -154802,9 +154879,9 @@ webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -154884,12 +154961,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -154991,11 +155068,11 @@ webhooks: type: string required: - to - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155097,11 +155174,11 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155180,11 +155257,11 @@ webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155262,11 +155339,11 @@ webhooks: type: string enum: - added - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -155344,7 +155421,7 @@ webhooks: required: - login - id - team: &775 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -155537,11 +155614,11 @@ webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -155620,7 +155697,7 @@ webhooks: required: - login - id - team: *775 + team: *789 required: - action - scope @@ -155702,8 +155779,8 @@ webhooks: type: string enum: - checks_requested - installation: *739 - merge_group: &776 + installation: *753 + merge_group: &790 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -155729,8 +155806,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155816,10 +155893,10 @@ webhooks: - merged - invalidated - dequeued - installation: *739 - merge_group: *776 - organization: *740 - repository: *741 + installation: *753 + merge_group: *790 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155892,7 +155969,7 @@ webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *752 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -156000,12 +156077,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *739 - organization: *740 + installation: *753 + organization: *754 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -156085,11 +156162,11 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156168,9 +156245,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - milestone: &777 + enterprise: *752 + installation: *753 + milestone: &791 title: Milestone description: A collection of related issues and pull requests. type: object @@ -156312,8 +156389,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156392,11 +156469,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156506,11 +156583,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156590,11 +156667,11 @@ webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - milestone: *777 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *791 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156673,11 +156750,11 @@ webhooks: type: string enum: - blocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156756,11 +156833,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156839,9 +156916,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - membership: &778 + enterprise: *752 + installation: *753 + membership: &792 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -156935,8 +157012,8 @@ webhooks: - role - organization_url - user - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157014,11 +157091,11 @@ webhooks: type: string enum: - member_added - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157097,8 +157174,8 @@ webhooks: type: string enum: - member_invited - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -157220,10 +157297,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 - user: *765 + user: *779 required: - action - invitation @@ -157301,11 +157378,11 @@ webhooks: type: string enum: - member_removed - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157392,11 +157469,11 @@ webhooks: properties: from: type: string - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157472,9 +157549,9 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -157997,7 +158074,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &779 + items: &793 title: Ruby Gems metadata type: object properties: @@ -158094,7 +158171,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158170,9 +158247,9 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -158534,7 +158611,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 source_url: type: string format: uri @@ -158605,7 +158682,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158786,12 +158863,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *738 + enterprise: *752 id: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - id @@ -158868,7 +158945,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &780 + personal_access_token_request: &794 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -159018,10 +159095,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *738 - organization: *740 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159098,11 +159175,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *780 - enterprise: *738 - organization: *740 + personal_access_token_request: *794 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159178,11 +159255,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *780 - enterprise: *738 - organization: *740 + personal_access_token_request: *794 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159257,11 +159334,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *780 - organization: *740 - enterprise: *738 + personal_access_token_request: *794 + organization: *754 + enterprise: *752 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159366,7 +159443,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *781 + last_response: *795 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -159398,8 +159475,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 zen: description: Random string of GitHub zen. @@ -159644,10 +159721,10 @@ webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: &782 + enterprise: *752 + installation: *753 + organization: *754 + project_card: &796 title: Project Card type: object properties: @@ -159770,7 +159847,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -159851,11 +159928,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_card: *782 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *796 + repository: *755 sender: *4 required: - action @@ -159935,9 +160012,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 project_card: title: Project Card type: object @@ -160067,7 +160144,7 @@ webhooks: repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -160161,11 +160238,11 @@ webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: *782 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *796 + repository: *755 sender: *4 required: - action @@ -160259,9 +160336,9 @@ webhooks: - from required: - column_id - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 project_card: allOf: - title: Project Card @@ -160458,7 +160535,7 @@ webhooks: type: string required: - after_id - repository: *741 + repository: *755 sender: *4 required: - action @@ -160538,10 +160615,10 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - organization: *740 - project: &784 + enterprise: *752 + installation: *753 + organization: *754 + project: &798 title: Project type: object properties: @@ -160668,7 +160745,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160748,10 +160825,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_column: &783 + enterprise: *752 + installation: *753 + organization: *754 + project_column: &797 title: Project Column type: object properties: @@ -160791,7 +160868,7 @@ webhooks: - name - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160870,14 +160947,14 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -160966,11 +161043,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 + repository: *755 sender: *4 required: - action @@ -161050,11 +161127,11 @@ webhooks: type: string enum: - moved - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 + repository: *755 sender: *4 required: - action @@ -161134,11 +161211,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161218,14 +161295,14 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project: *784 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -161326,11 +161403,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161409,11 +161486,11 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161494,9 +161571,9 @@ webhooks: type: string enum: - closed - installation: *739 - organization: *740 - projects_v2: &785 + installation: *753 + organization: *754 + projects_v2: &799 title: Projects v2 Project description: A projects v2 project type: object @@ -161644,9 +161721,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161727,9 +161804,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161850,9 +161927,9 @@ webhooks: type: string to: type: string - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161935,7 +162012,7 @@ webhooks: type: string enum: - archived - changes: &789 + changes: &803 type: object properties: archived_at: @@ -161951,9 +162028,9 @@ webhooks: - string - 'null' format: date-time - installation: *739 - organization: *740 - projects_v2_item: &786 + installation: *753 + organization: *754 + projects_v2_item: &800 title: Projects v2 Item description: An item belonging to a project type: object @@ -162092,9 +162169,9 @@ webhooks: - 'null' to: type: string - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162176,9 +162253,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162259,9 +162336,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162366,7 +162443,7 @@ webhooks: oneOf: - type: string - type: integer - - &787 + - &801 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -162386,7 +162463,7 @@ webhooks: required: - id - name - - &788 + - &802 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -162415,8 +162492,8 @@ webhooks: oneOf: - type: string - type: integer - - *787 - - *788 + - *801 + - *802 type: - 'null' - string @@ -162439,9 +162516,9 @@ webhooks: - 'null' required: - body - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162538,9 +162615,9 @@ webhooks: type: - string - 'null' - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162623,10 +162700,10 @@ webhooks: type: string enum: - restored - changes: *789 - installation: *739 - organization: *740 - projects_v2_item: *786 + changes: *803 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162708,9 +162785,9 @@ webhooks: type: string enum: - reopened - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -162791,9 +162868,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_status_update: &790 + installation: *753 + organization: *754 + projects_v2_status_update: &804 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -162928,9 +163005,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_status_update: *790 + installation: *753 + organization: *754 + projects_v2_status_update: *804 sender: *4 required: - action @@ -163076,9 +163153,9 @@ webhooks: - string - 'null' format: date - installation: *739 - organization: *740 - projects_v2_status_update: *790 + installation: *753 + organization: *754 + projects_v2_status_update: *804 sender: *4 required: - action @@ -163149,10 +163226,10 @@ webhooks: title: public event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - repository @@ -163229,13 +163306,13 @@ webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - number: &791 + assignee: *779 + enterprise: *752 + installation: *753 + number: &805 description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -165584,7 +165661,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -165666,11 +165743,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -168012,7 +168089,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -168094,11 +168171,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -170440,7 +170517,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -170522,11 +170599,11 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: &792 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: &806 allOf: - *593 - type: object @@ -170590,7 +170667,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *741 + repository: *755 sender: *4 required: - action @@ -170671,12 +170748,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -170756,11 +170833,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *738 + enterprise: *752 milestone: *488 - number: *791 - organization: *740 - pull_request: &793 + number: *805 + organization: *754 + pull_request: &807 title: Pull Request type: object properties: @@ -173087,7 +173164,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -173166,11 +173243,11 @@ webhooks: type: string enum: - dequeued - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -175516,7 +175593,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *741 + repository: *755 sender: *4 required: - action @@ -175640,12 +175717,12 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -175725,11 +175802,11 @@ webhooks: type: string enum: - enqueued - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -178060,7 +178137,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -178140,11 +178217,11 @@ webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 - label: *764 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + label: *778 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -180492,7 +180569,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -180573,10 +180650,10 @@ webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -182922,7 +182999,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -183002,12 +183079,12 @@ webhooks: type: string enum: - milestoned - enterprise: *738 + enterprise: *752 milestone: *488 - number: *791 - organization: *740 - pull_request: *793 - repository: *741 + number: *805 + organization: *754 + pull_request: *807 + repository: *755 sender: *4 required: - action @@ -183086,12 +183163,12 @@ webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183172,12 +183249,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183257,12 +183334,12 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183637,9 +183714,9 @@ webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -185869,7 +185946,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -185949,7 +186026,7 @@ webhooks: type: string enum: - deleted - comment: &795 + comment: &809 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -186242,9 +186319,9 @@ webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -188462,7 +188539,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -188542,11 +188619,11 @@ webhooks: type: string enum: - edited - changes: *794 - comment: *795 - enterprise: *738 - installation: *739 - organization: *740 + changes: *808 + comment: *809 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -190767,7 +190844,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -190848,9 +190925,9 @@ webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -193083,7 +193160,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 review: description: The review that was affected. type: object @@ -193329,9 +193406,9 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -195445,8 +195522,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: &796 + repository: *755 + review: &810 description: The review that was affected. type: object properties: @@ -195679,12 +195756,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -198031,7 +198108,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -198117,12 +198194,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -200476,7 +200553,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200671,12 +200748,12 @@ webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -203025,7 +203102,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -203112,12 +203189,12 @@ webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -205457,7 +205534,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205641,9 +205718,9 @@ webhooks: type: string enum: - submitted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -207879,8 +207956,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: *796 + repository: *755 + review: *810 sender: *4 required: - action @@ -207960,9 +208037,9 @@ webhooks: type: string enum: - resolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -210093,7 +210170,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -210485,9 +210562,9 @@ webhooks: type: string enum: - unresolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -212601,7 +212678,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -212995,10 +213072,10 @@ webhooks: type: string before: type: string - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -215333,7 +215410,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -215415,11 +215492,11 @@ webhooks: type: string enum: - unassigned - assignee: *797 - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + assignee: *811 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -217769,7 +217846,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -217848,11 +217925,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - label: *764 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + label: *778 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -220191,7 +220268,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -220272,10 +220349,10 @@ webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -222604,7 +222681,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -222807,7 +222884,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *738 + enterprise: *752 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -222902,8 +222979,8 @@ webhooks: - url - author - committer - installation: *739 - organization: *740 + installation: *753 + organization: *754 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -223491,9 +223568,9 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -223970,7 +224047,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224026,7 +224103,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224104,9 +224181,9 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -224418,7 +224495,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224468,7 +224545,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224545,10 +224622,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - release: &798 + enterprise: *752 + installation: *753 + organization: *754 + release: &812 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -224869,7 +224946,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *741 + repository: *755 sender: *4 required: - action @@ -224946,11 +225023,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -225067,11 +225144,11 @@ webhooks: type: boolean required: - to - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -225149,9 +225226,9 @@ webhooks: type: string enum: - prereleased - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -225477,7 +225554,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225553,10 +225630,10 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - release: &799 + enterprise: *752 + installation: *753 + organization: *754 + release: &813 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -225879,7 +225956,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225955,11 +226032,11 @@ webhooks: type: string enum: - released - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -226035,11 +226112,11 @@ webhooks: type: string enum: - unpublished - enterprise: *738 - installation: *739 - organization: *740 - release: *799 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *813 + repository: *755 sender: *4 required: - action @@ -226115,11 +226192,11 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *650 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *664 sender: *4 required: - action @@ -226195,11 +226272,11 @@ webhooks: type: string enum: - reported - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *650 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *664 sender: *4 required: - action @@ -226275,10 +226352,10 @@ webhooks: type: string enum: - archived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226355,10 +226432,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226436,10 +226513,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226524,10 +226601,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226642,10 +226719,10 @@ webhooks: - 'null' items: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226717,10 +226794,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 status: type: string @@ -226801,10 +226878,10 @@ webhooks: type: string enum: - privatized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226881,10 +226958,10 @@ webhooks: type: string enum: - publicized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226978,10 +227055,10 @@ webhooks: - name required: - repository - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227061,10 +227138,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 sender: *4 required: @@ -227143,10 +227220,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 sender: *4 required: @@ -227225,10 +227302,10 @@ webhooks: type: string enum: - edited - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 changes: type: object @@ -227536,10 +227613,10 @@ webhooks: - from required: - owner - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227617,10 +227694,10 @@ webhooks: type: string enum: - unarchived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227698,7 +227775,7 @@ webhooks: type: string enum: - create - alert: &800 + alert: &814 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -227822,10 +227899,10 @@ webhooks: type: string enum: - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228035,10 +228112,10 @@ webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228116,11 +228193,11 @@ webhooks: type: string enum: - reopen - alert: *800 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228322,10 +228399,10 @@ webhooks: enum: - fixed - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228403,7 +228480,7 @@ webhooks: type: string enum: - created - alert: &801 + alert: &815 type: object properties: number: *96 @@ -228513,10 +228590,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228597,11 +228674,11 @@ webhooks: type: string enum: - created - alert: *801 - installation: *739 - location: *802 - organization: *740 - repository: *741 + alert: *815 + installation: *753 + location: *816 + organization: *754 + repository: *755 sender: *4 required: - location @@ -228839,11 +228916,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228921,11 +228998,11 @@ webhooks: type: string enum: - reopened - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229003,11 +229080,11 @@ webhooks: type: string enum: - resolved - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229085,11 +229162,11 @@ webhooks: type: string enum: - validated - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229219,10 +229296,10 @@ webhooks: - organization - enterprise - - repository: *741 - enterprise: *738 - installation: *739 - organization: *740 + repository: *755 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -229300,11 +229377,11 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: &803 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: &817 description: The details of the security advisory, including summary, description, and severity. type: object @@ -229490,11 +229567,11 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: *803 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: *817 sender: *4 required: - action @@ -229567,10 +229644,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -229757,9 +229834,9 @@ webhooks: type: object properties: security_and_analysis: *316 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: *379 sender: *4 required: @@ -229838,12 +229915,12 @@ webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: &804 + sponsorship: &818 type: object properties: created_at: @@ -230148,12 +230225,12 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - sponsorship @@ -230241,12 +230318,12 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230323,17 +230400,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &805 + effective_date: &819 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - sponsorship @@ -230407,7 +230484,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &806 + changes: &820 type: object properties: tier: @@ -230451,13 +230528,13 @@ webhooks: - from required: - tier - effective_date: *805 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + effective_date: *819 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230534,13 +230611,13 @@ webhooks: type: string enum: - tier_changed - changes: *806 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + changes: *820 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230614,10 +230691,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -230701,10 +230778,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231138,15 +231215,15 @@ webhooks: type: - string - 'null' - enterprise: *738 + enterprise: *752 id: description: The unique identifier of the status. type: integer - installation: *739 + installation: *753 name: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 sha: description: The Commit SHA. @@ -231262,9 +231339,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231354,9 +231431,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231446,9 +231523,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231538,9 +231615,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231617,12 +231694,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - team: &807 + team: &821 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -231815,9 +231892,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -232287,7 +232364,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232363,9 +232440,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -232835,7 +232912,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232912,9 +232989,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -233384,7 +233461,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -233528,9 +233605,9 @@ webhooks: - from required: - permissions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -234000,7 +234077,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - changes @@ -234078,9 +234155,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -234550,7 +234627,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -234626,10 +234703,10 @@ webhooks: type: string enum: - started - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -234702,17 +234779,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *738 + enterprise: *752 inputs: type: - object - 'null' additionalProperties: true - installation: *739 - organization: *740 + installation: *753 + organization: *754 ref: type: string - repository: *741 + repository: *755 sender: *4 workflow: type: string @@ -234794,10 +234871,10 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -235132,10 +235209,10 @@ webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -235496,10 +235573,10 @@ webhooks: type: string enum: - queued - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -235724,10 +235801,10 @@ webhooks: type: string enum: - waiting - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -235954,12 +236031,12 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -236978,12 +237055,12 @@ webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -237987,12 +238064,12 @@ webhooks: type: string enum: - requested - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index d3bcabad2c..4d99cee45c 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -36200,6 +36200,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -36213,6 +36216,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -36254,7 +36263,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -39833,6 +39841,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -39846,6 +39857,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -39887,7 +39904,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -51239,6 +51255,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." } } } @@ -86227,6 +86576,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": { @@ -86257,554 +86629,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" ] } } @@ -86982,7 +87361,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -120549,6 +120928,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -120562,6 +120944,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -120603,7 +120991,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -152690,6 +153077,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -152703,6 +153093,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -152744,7 +153140,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -192747,6 +193142,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." } } } @@ -534823,6 +535551,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." } } } @@ -535718,6 +536779,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." } } }, @@ -536571,6 +537965,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/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index be4791eca5..149c929d3f 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -1075,7 +1075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &652 + - &666 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1804,7 +1804,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &662 + schema: &676 title: Scim Error description: Scim Error type: object @@ -14286,6 +14286,8 @@ paths: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -14295,6 +14297,10 @@ paths: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -14324,7 +14330,6 @@ paths: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -18279,6 +18284,304 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &646 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &648 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &649 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &650 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &651 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &652 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &653 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &654 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &655 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &656 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &657 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &658 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &659 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &660 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + 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: &332 value: @@ -20420,7 +20723,7 @@ paths: url: type: string format: uri - user: &701 + user: &715 title: Public User description: Public User type: object @@ -24982,7 +25285,7 @@ paths: type: array items: *57 examples: - default: &718 + default: &732 value: - login: github id: 1 @@ -25144,6 +25447,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - *165 + - 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 @@ -25169,7 +25489,10 @@ paths: - internal accessible_repositories: type: array - items: *95 + items: + anyOf: + - type: 'null' + - *95 additionalProperties: false examples: default: @@ -25272,7 +25595,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -26881,7 +27204,7 @@ paths: type: array items: *62 examples: - default: &712 + default: &726 value: total_count: 1 repositories: @@ -27704,7 +28027,7 @@ paths: type: array items: *191 examples: - default: &704 + default: &718 value: total_count: 1 repositories: @@ -39404,7 +39727,7 @@ paths: parameters: - *165 - *292 - - &717 + - &731 name: repo_name description: repo_name parameter in: path @@ -40737,7 +41060,7 @@ paths: - nuget - container - *165 - - &719 + - &733 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40778,7 +41101,7 @@ paths: default: *298 '403': *27 '401': *23 - '400': &721 + '400': &735 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45429,7 +45752,7 @@ paths: application/json: schema: type: array - items: &650 + items: &664 description: A repository security advisory. type: object properties: @@ -45748,7 +46071,7 @@ paths: - private_fork additionalProperties: false examples: - default: &651 + default: &665 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47600,7 +47923,7 @@ paths: - updated_at - url examples: - default: &691 + default: &705 value: - author: login: octocat @@ -47848,7 +48171,7 @@ paths: application/json: schema: *349 examples: - default: &692 + default: &706 value: author: login: octocat @@ -48039,7 +48362,7 @@ paths: - updated_at - url examples: - default: &693 + default: &707 value: - author: login: octocat @@ -48265,7 +48588,7 @@ paths: application/json: schema: *352 examples: - default: &694 + default: &708 value: author: login: octocat @@ -48981,7 +49304,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &695 + response-if-user-is-a-team-maintainer: &709 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -49046,7 +49369,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: &696 + response-if-users-membership-with-team-is-now-pending: &710 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49188,7 +49511,7 @@ paths: - updated_at - permissions examples: - default: &697 + default: &711 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49267,7 +49590,7 @@ paths: application/json: schema: *364 examples: - default: &698 + default: &712 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49478,7 +49801,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &699 + schema: &713 title: Team Repository description: A team's access to a repository. type: object @@ -50316,7 +50639,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: &700 + response-if-child-teams-exist: &714 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -62791,7 +63114,7 @@ paths: check. type: array items: *438 - deployment: &750 + deployment: &764 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67993,7 +68316,7 @@ paths: type: array items: *476 examples: - default: &707 + default: &721 value: total_count: 2 machines: @@ -71341,7 +71664,7 @@ paths: application/json: schema: type: array - items: &655 + items: &669 title: Status description: The status of a commit. type: object @@ -72940,7 +73263,7 @@ paths: items: type: object properties: - placeholder_id: &647 + placeholder_id: &661 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79021,7 +79344,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &781 + last_response: &795 title: Hook Response type: object properties: @@ -79996,7 +80319,7 @@ paths: parameters: - *366 - *367 - - &730 + - &744 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -80430,7 +80753,7 @@ paths: type: array items: *549 examples: - default: &723 + default: &737 value: - id: 1 repository: @@ -94314,7 +94637,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 type: object properties: number: *96 @@ -94422,6 +94745,14 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *646 + 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: @@ -94559,7 +94890,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94641,7 +94972,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94729,7 +95060,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &802 + items: &816 type: object properties: type: @@ -94756,273 +95087,19 @@ paths: - commit details: oneOf: - - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url + - *648 + - *649 + - *650 + - *651 + - *652 + - *653 + - *654 + - *655 + - *656 + - *657 + - *658 + - *659 + - *660 examples: default: value: @@ -95117,14 +95194,14 @@ paths: schema: type: object properties: - reason: &648 + reason: &662 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *647 + placeholder_id: *661 required: - reason - placeholder_id @@ -95141,7 +95218,7 @@ paths: schema: type: object properties: - reason: *648 + reason: *662 expire_at: type: - string @@ -95201,7 +95278,7 @@ paths: properties: incremental_scans: type: array - items: &649 + items: &663 description: Information on a single scan performed by secret scanning on the repository type: object @@ -95229,15 +95306,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *649 + items: *663 backfill_scans: type: array - items: *649 + items: *663 custom_pattern_backfill_scans: type: array items: allOf: - - *649 + - *663 - type: object properties: pattern_name: @@ -95352,9 +95429,9 @@ paths: application/json: schema: type: array - items: *650 + items: *664 examples: - default: *651 + default: *665 '400': *14 '404': *6 x-github: @@ -95548,9 +95625,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: &653 + default: &667 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -95897,7 +95974,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: default: value: @@ -96046,15 +96123,15 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '200': description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: *653 + default: *667 '403': *27 '404': *6 x-github: @@ -96080,7 +96157,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 requestBody: required: true content: @@ -96251,10 +96328,10 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: - default: *653 - add_credit: *653 + default: *667 + add_credit: *667 '403': *27 '404': *6 '422': @@ -96294,7 +96371,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': *37 '400': *14 @@ -96323,7 +96400,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': description: Response @@ -96464,7 +96541,7 @@ paths: application/json: schema: type: array - items: &654 + items: &668 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -96837,7 +96914,7 @@ paths: application/json: schema: type: array - items: *654 + items: *668 examples: default: value: @@ -96927,7 +97004,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *669 examples: default: value: @@ -97021,7 +97098,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &656 + schema: &670 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -97121,7 +97198,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *670 examples: default: value: @@ -97261,7 +97338,7 @@ paths: application/json: schema: type: array - items: &657 + items: &671 title: Tag protection description: Tag protection type: object @@ -97342,7 +97419,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *671 examples: default: value: @@ -97490,7 +97567,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &672 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -97502,7 +97579,7 @@ paths: required: - names examples: - default: &659 + default: &673 value: names: - octocat @@ -97557,9 +97634,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *672 examples: - default: *659 + default: *673 '404': *6 '422': *7 x-github: @@ -97582,7 +97659,7 @@ paths: parameters: - *366 - *367 - - &660 + - &674 name: per description: The time frame to display results for. in: query @@ -97613,7 +97690,7 @@ paths: - 128 clones: type: array - items: &661 + items: &675 title: Traffic type: object properties: @@ -97861,7 +97938,7 @@ paths: parameters: - *366 - *367 - - *660 + - *674 responses: '200': description: Response @@ -97882,7 +97959,7 @@ paths: - 3782 views: type: array - items: *661 + items: *675 required: - uniques - count @@ -98554,7 +98631,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &669 + - &683 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -98564,7 +98641,7 @@ paths: type: string examples: - members - - &674 + - &688 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -98576,7 +98653,7 @@ paths: format: int32 examples: - 1 - - &675 + - &689 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -98620,7 +98697,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &663 + items: &677 allOf: - type: object required: @@ -98702,7 +98779,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &676 + meta: &690 type: object description: The metadata associated with the creation/updates to the user. @@ -98767,31 +98844,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &664 + '400': &678 description: Bad request content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '401': &665 + schema: *676 + '401': &679 description: Authorization failure - '403': &666 + '403': &680 description: Permission denied - '429': &667 + '429': &681 description: Too many requests content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '500': &668 + schema: *676 + '500': &682 description: Internal server error content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 + schema: *676 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98815,7 +98892,7 @@ paths: required: true content: application/json: - schema: &672 + schema: &686 type: object required: - schemas @@ -98875,9 +98952,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *663 + schema: *677 examples: - group: &670 + group: &684 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -98896,13 +98973,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *664 - '401': *665 - '403': *666 - '409': &673 + '400': *678 + '401': *679 + '403': *680 + '409': &687 description: Duplicate record detected - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98919,7 +98996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &671 + - &685 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -98928,22 +99005,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *669 + - *683 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *663 + schema: *677 examples: - default: *670 - '400': *664 - '401': *665 - '403': *666 + default: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98962,13 +99039,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *671 + - *685 - *39 requestBody: required: true content: application/json: - schema: *672 + schema: *686 examples: group: summary: Group @@ -98994,17 +99071,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *663 + schema: *677 examples: - group: *670 - groupWithMembers: *670 - '400': *664 - '401': *665 - '403': *666 + group: *684 + groupWithMembers: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99028,13 +99105,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *671 + - *685 - *39 requestBody: required: true content: application/json: - schema: &683 + schema: &697 type: object required: - Operations @@ -99094,17 +99171,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *663 + schema: *677 examples: - updateGroup: *670 - addMembers: *670 - '400': *664 - '401': *665 - '403': *666 + updateGroup: *684 + addMembers: *684 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99120,17 +99197,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *671 + - *685 - *39 responses: '204': description: Group was deleted, no content - '400': *664 - '401': *665 - '403': *666 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99164,8 +99241,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *674 - - *675 + - *688 + - *689 - *39 responses: '200': @@ -99199,7 +99276,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &678 + items: &692 allOf: - type: object required: @@ -99291,7 +99368,7 @@ paths: address. examples: - true - roles: &677 + roles: &691 type: array description: The roles assigned to the user. items: @@ -99350,7 +99427,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *676 + meta: *690 startIndex: type: integer description: A starting index for the returned page @@ -99389,11 +99466,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *664 - '401': *665 - '403': *666 - '429': *667 - '500': *668 + '400': *678 + '401': *679 + '403': *680 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99417,7 +99494,7 @@ paths: required: true content: application/json: - schema: &681 + schema: &695 type: object required: - schemas @@ -99510,9 +99587,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *677 + roles: *691 examples: - user: &682 + user: &696 summary: User value: schemas: @@ -99559,9 +99636,9 @@ paths: description: User has been created content: application/scim+json: - schema: *678 + schema: *692 examples: - user: &679 + user: &693 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99587,13 +99664,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *679 - '400': *664 - '401': *665 - '403': *666 - '409': *673 - '429': *667 - '500': *668 + enterpriseOwner: *693 + '400': *678 + '401': *679 + '403': *680 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99610,7 +99687,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &680 + - &694 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -99623,15 +99700,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *678 + schema: *692 examples: - default: *679 - '400': *664 - '401': *665 - '403': *666 + default: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99653,30 +99730,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *680 + - *694 - *39 requestBody: required: true content: application/json: - schema: *681 + schema: *695 examples: - user: *682 + user: *696 responses: '200': description: User was updated content: application/scim+json: - schema: *678 + schema: *692 examples: - user: *679 - '400': *664 - '401': *665 - '403': *666 + user: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99711,13 +99788,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *680 + - *694 - *39 requestBody: required: true content: application/json: - schema: *683 + schema: *697 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -99757,18 +99834,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *678 - examples: - userMultiValuedProperties: *679 - userSingleValuedProperties: *679 - disableUser: *679 - '400': *664 - '401': *665 - '403': *666 + schema: *692 + examples: + userMultiValuedProperties: *693 + userSingleValuedProperties: *693 + disableUser: *693 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '409': *673 - '429': *667 - '500': *668 + '409': *687 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99788,17 +99865,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *680 + - *694 - *39 responses: '204': description: User was deleted, no content - '400': *664 - '401': *665 - '403': *666 + '400': *678 + '401': *679 + '403': *680 '404': *6 - '429': *667 - '500': *668 + '429': *681 + '500': *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99889,7 +99966,7 @@ paths: - 1 Resources: type: array - items: &684 + items: &698 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -100136,22 +100213,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &685 + '404': &699 description: Resource not found content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '403': &686 + schema: *676 + '403': &700 description: Forbidden content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '400': *664 - '429': *667 + schema: *676 + '400': *678 + '429': *681 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -100177,9 +100254,9 @@ paths: description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: &687 + default: &701 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -100202,17 +100279,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *685 - '403': *686 - '500': *668 + '404': *699 + '403': *700 + '500': *682 '409': description: Conflict content: application/json: - schema: *662 + schema: *676 application/scim+json: - schema: *662 - '400': *664 + schema: *676 + '400': *678 requestBody: required: true content: @@ -100312,17 +100389,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 - '404': *685 - '403': *686 + default: *701 + '404': *699 + '403': *700 '304': *35 x-github: githubCloudOnly: true @@ -100346,18 +100423,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 + default: *701 '304': *35 - '404': *685 - '403': *686 + '404': *699 + '403': *700 requestBody: required: true content: @@ -100472,19 +100549,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *165 - - *680 + - *694 responses: '200': description: Response content: application/scim+json: - schema: *684 + schema: *698 examples: - default: *687 + default: *701 '304': *35 - '404': *685 - '403': *686 - '400': *664 + '404': *699 + '403': *700 + '400': *678 '429': description: Response content: @@ -100580,12 +100657,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *165 - - *680 + - *694 responses: '204': description: Response - '404': *685 - '403': *686 + '404': *699 + '403': *700 '304': *35 x-github: githubCloudOnly: true @@ -100719,7 +100796,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &688 + text_matches: &702 title: Search Result Text Matches type: array items: @@ -100883,7 +100960,7 @@ paths: enum: - author-date - committer-date - - &689 + - &703 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -101003,7 +101080,7 @@ paths: type: number node_id: type: string - text_matches: *688 + text_matches: *702 required: - sha - node_id @@ -101186,7 +101263,7 @@ paths: - interactions - created - updated - - *689 + - *703 - *17 - *19 - name: advanced_search @@ -101324,7 +101401,7 @@ paths: - string - 'null' format: date-time - text_matches: *688 + text_matches: *702 pull_request: type: object properties: @@ -101550,7 +101627,7 @@ paths: enum: - created - updated - - *689 + - *703 - *17 - *19 responses: @@ -101595,7 +101672,7 @@ paths: - 'null' score: type: number - text_matches: *688 + text_matches: *702 required: - id - node_id @@ -101681,7 +101758,7 @@ paths: - forks - help-wanted-issues - updated - - *689 + - *703 - *17 - *19 responses: @@ -101918,7 +101995,7 @@ paths: - admin - pull - push - text_matches: *688 + text_matches: *702 temp_clone_token: type: string allow_merge_commit: @@ -102227,7 +102304,7 @@ paths: - string - 'null' format: uri - text_matches: *688 + text_matches: *702 related: type: - array @@ -102422,7 +102499,7 @@ paths: - followers - repositories - joined - - *689 + - *703 - *17 - *19 responses: @@ -102532,7 +102609,7 @@ paths: type: - boolean - 'null' - text_matches: *688 + text_matches: *702 blog: type: - string @@ -102614,7 +102691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &690 + - &704 name: team_id description: The unique identifier of the team. in: path @@ -102655,7 +102732,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *690 + - *704 requestBody: required: true content: @@ -102756,7 +102833,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *690 + - *704 responses: '204': description: Response @@ -102787,7 +102864,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *690 + - *704 - *86 - *17 - *19 @@ -102800,7 +102877,7 @@ paths: type: array items: *349 examples: - default: *691 + default: *705 headers: Link: *38 x-github: @@ -102829,7 +102906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *690 + - *704 requestBody: required: true content: @@ -102892,7 +102969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *690 + - *704 - *351 responses: '200': @@ -102926,7 +103003,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *690 + - *704 - *351 requestBody: required: false @@ -102952,7 +103029,7 @@ paths: application/json: schema: *349 examples: - default: *692 + default: *706 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102977,7 +103054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *690 + - *704 - *351 responses: '204': @@ -103007,7 +103084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *690 + - *704 - *351 - *86 - *17 @@ -103021,7 +103098,7 @@ paths: type: array items: *352 examples: - default: *693 + default: *707 headers: Link: *38 x-github: @@ -103050,7 +103127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 requestBody: required: true @@ -103102,7 +103179,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 responses: @@ -103137,7 +103214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 requestBody: @@ -103163,7 +103240,7 @@ paths: application/json: schema: *352 examples: - default: *694 + default: *708 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103188,7 +103265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 responses: @@ -103219,7 +103296,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 - name: content @@ -103278,7 +103355,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *690 + - *704 - *351 - *354 requestBody: @@ -103340,7 +103417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *690 + - *704 - *351 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -103398,7 +103475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *690 + - *704 - *351 requestBody: required: true @@ -103457,7 +103534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -103495,7 +103572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *690 + - *704 - name: role description: Filters members returned by their role in the team. in: query @@ -103546,7 +103623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103583,7 +103660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103623,7 +103700,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103660,7 +103737,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 responses: '200': @@ -103669,7 +103746,7 @@ paths: application/json: schema: *363 examples: - response-if-user-is-a-team-maintainer: *695 + response-if-user-is-a-team-maintainer: *709 '404': *6 x-github: githubCloudOnly: false @@ -103702,7 +103779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 requestBody: required: false @@ -103730,7 +103807,7 @@ paths: application/json: schema: *363 examples: - response-if-users-membership-with-team-is-now-pending: *696 + response-if-users-membership-with-team-is-now-pending: *710 '403': description: Forbidden if team synchronization is set up '422': @@ -103764,7 +103841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *690 + - *704 - *213 responses: '204': @@ -103793,7 +103870,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -103805,7 +103882,7 @@ paths: type: array items: *364 examples: - default: *697 + default: *711 headers: Link: *38 '404': *6 @@ -103831,7 +103908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *690 + - *704 - *365 responses: '200': @@ -103840,7 +103917,7 @@ paths: application/json: schema: *364 examples: - default: *698 + default: *712 '404': description: Not Found if project is not managed by this team x-github: @@ -103864,7 +103941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *690 + - *704 - *365 requestBody: required: false @@ -103932,7 +104009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *690 + - *704 - *365 responses: '204': @@ -103960,7 +104037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -104002,7 +104079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *690 + - *704 - *366 - *367 responses: @@ -104010,7 +104087,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *699 + schema: *713 examples: alternative-response-with-extra-repository-information: value: @@ -104161,7 +104238,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *690 + - *704 - *366 - *367 requestBody: @@ -104213,7 +104290,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *690 + - *704 - *366 - *367 responses: @@ -104244,7 +104321,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *690 + - *704 responses: '200': description: Response @@ -104279,7 +104356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *690 + - *704 requestBody: required: true content: @@ -104371,7 +104448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *690 + - *704 - *17 - *19 responses: @@ -104383,7 +104460,7 @@ paths: type: array items: *222 examples: - response-if-child-teams-exist: *700 + response-if-child-teams-exist: *714 headers: Link: *38 '404': *6 @@ -104416,7 +104493,7 @@ paths: application/json: schema: oneOf: - - &702 + - &716 title: Private User description: Private User type: object @@ -104666,7 +104743,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *701 + - *715 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -104826,7 +104903,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *716 examples: default: value: @@ -105224,7 +105301,7 @@ paths: type: integer secrets: type: array - items: &703 + items: &717 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -105344,7 +105421,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *717 examples: default: value: @@ -105490,7 +105567,7 @@ paths: type: array items: *191 examples: - default: *704 + default: *718 '401': *23 '403': *27 '404': *6 @@ -105757,7 +105834,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &719 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -105810,7 +105887,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &706 + default: &720 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -105855,9 +105932,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *719 examples: - default: *706 + default: *720 '404': *6 x-github: githubCloudOnly: false @@ -105896,7 +105973,7 @@ paths: type: array items: *476 examples: - default: *707 + default: *721 '304': *35 '500': *83 '401': *23 @@ -106862,7 +106939,7 @@ paths: type: array items: *297 examples: - default: &720 + default: &734 value: - id: 197 name: hello_docker @@ -106963,7 +107040,7 @@ paths: application/json: schema: type: array - items: &708 + items: &722 title: Email description: Email type: object @@ -107033,9 +107110,9 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: - default: &722 + default: &736 value: - email: octocat@github.com verified: true @@ -107112,7 +107189,7 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: default: value: @@ -107370,7 +107447,7 @@ paths: application/json: schema: type: array - items: &709 + items: &723 title: GPG Key description: A unique encryption key type: object @@ -107515,7 +107592,7 @@ paths: - subkeys - revoked examples: - default: &733 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -107600,9 +107677,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *723 examples: - default: &710 + default: &724 value: id: 3 name: Octocat's GPG Key @@ -107659,7 +107736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &711 + - &725 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -107671,9 +107748,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *723 examples: - default: *710 + default: *724 '404': *6 '304': *35 '403': *27 @@ -107696,7 +107773,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *711 + - *725 responses: '204': description: Response @@ -107887,7 +107964,7 @@ paths: type: array items: *62 examples: - default: *712 + default: *726 headers: Link: *38 '404': *6 @@ -108151,7 +108228,7 @@ paths: application/json: schema: type: array - items: &713 + items: &727 title: Key description: Key type: object @@ -108249,9 +108326,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: &714 + default: &728 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108290,9 +108367,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: *714 + default: *728 '404': *6 '304': *35 '403': *27 @@ -108348,7 +108425,7 @@ paths: application/json: schema: type: array - items: &715 + items: &729 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -108427,7 +108504,7 @@ paths: - account - plan examples: - default: &716 + default: &730 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -108489,9 +108566,9 @@ paths: application/json: schema: type: array - items: *715 + items: *729 examples: - default: *716 + default: *730 headers: Link: *38 '304': *35 @@ -109495,7 +109572,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *292 - - *717 + - *731 responses: '204': description: Response @@ -109568,7 +109645,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 '304': *35 @@ -109610,7 +109687,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *19 - *17 responses: @@ -109622,8 +109699,8 @@ paths: type: array items: *297 examples: - default: *720 - '400': *721 + default: *734 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109652,7 +109729,7 @@ paths: application/json: schema: *297 examples: - default: &734 + default: &748 value: id: 40201 name: octo-name @@ -110107,9 +110184,9 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: - default: *722 + default: *736 headers: Link: *38 '304': *35 @@ -110222,7 +110299,7 @@ paths: type: array items: *62 examples: - default: &729 + default: &743 summary: Default response value: - id: 1296269 @@ -110582,7 +110659,7 @@ paths: type: array items: *549 examples: - default: *723 + default: *737 headers: Link: *38 '304': *35 @@ -110661,7 +110738,7 @@ paths: application/json: schema: type: array - items: &724 + items: &738 title: Social account description: Social media account type: object @@ -110678,7 +110755,7 @@ paths: - provider - url examples: - default: &725 + default: &739 value: - provider: twitter url: https://twitter.com/github @@ -110741,9 +110818,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 '422': *15 '304': *35 '404': *6 @@ -110831,7 +110908,7 @@ paths: application/json: schema: type: array - items: &726 + items: &740 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -110851,7 +110928,7 @@ paths: - title - created_at examples: - default: &735 + default: &749 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110918,9 +110995,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: &727 + default: &741 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110951,7 +111028,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &728 + - &742 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -110963,9 +111040,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: *727 + default: *741 '404': *6 '304': *35 '403': *27 @@ -110988,7 +111065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *728 + - *742 responses: '204': description: Response @@ -111017,7 +111094,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &736 + - &750 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -111042,11 +111119,11 @@ paths: type: array items: *62 examples: - default-response: *729 + default-response: *743 application/vnd.github.v3.star+json: schema: type: array - items: &737 + items: &751 title: Starred Repository description: Starred Repository type: object @@ -111415,10 +111492,10 @@ paths: application/json: schema: oneOf: - - *702 - - *701 + - *716 + - *715 examples: - default-response: &731 + default-response: &745 summary: Default response value: login: octocat @@ -111453,7 +111530,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &732 + response-with-git-hub-plan-information: &746 summary: Response with GitHub plan information value: login: octocat @@ -111513,7 +111590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *730 + - *744 - *17 responses: '200': @@ -111562,11 +111639,11 @@ paths: application/json: schema: oneOf: - - *702 - - *701 + - *716 + - *715 examples: - default-response: *731 - response-with-git-hub-plan-information: *732 + default-response: *745 + response-with-git-hub-plan-information: *746 '404': *6 x-github: githubCloudOnly: false @@ -111683,7 +111760,7 @@ paths: type: array items: *297 examples: - default: *720 + default: *734 '403': *27 '401': *23 x-github: @@ -112087,9 +112164,9 @@ paths: application/json: schema: type: array - items: *709 + items: *723 examples: - default: *733 + default: *747 headers: Link: *38 x-github: @@ -112271,7 +112348,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 x-github: @@ -112310,7 +112387,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *213 - *19 - *17 @@ -112323,10 +112400,10 @@ paths: type: array items: *297 examples: - default: *720 + default: *734 '403': *27 '401': *23 - '400': *721 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112356,7 +112433,7 @@ paths: application/json: schema: *297 examples: - default: *734 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113140,9 +113217,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 headers: Link: *38 x-github: @@ -113172,9 +113249,9 @@ paths: application/json: schema: type: array - items: *726 + items: *740 examples: - default: *735 + default: *749 headers: Link: *38 x-github: @@ -113199,7 +113276,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *213 - - *736 + - *750 - *86 - *17 - *19 @@ -113211,11 +113288,11 @@ paths: schema: anyOf: - type: array - items: *737 + items: *751 - type: array items: *62 examples: - default-response: *729 + default-response: *743 headers: Link: *38 x-github: @@ -113375,7 +113452,7 @@ webhooks: type: string enum: - disabled - enterprise: &738 + enterprise: &752 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -113444,7 +113521,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &739 + installation: &753 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -113465,7 +113542,7 @@ webhooks: required: - id - node_id - organization: &740 + organization: &754 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -113538,7 +113615,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &741 + repository: &755 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -114451,10 +114528,10 @@ webhooks: type: string enum: - enabled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -114530,11 +114607,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: &742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: &756 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -114757,11 +114834,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -114949,11 +115026,11 @@ webhooks: - everyone required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - rule: *742 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + rule: *756 sender: *4 required: - action @@ -115024,7 +115101,7 @@ webhooks: required: true content: application/json: - schema: &745 + schema: &759 title: Exemption request cancellation event type: object properties: @@ -115032,11 +115109,11 @@ webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: &743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: &757 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -115274,7 +115351,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &744 + items: &758 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -115384,7 +115461,7 @@ webhooks: required: true content: application/json: - schema: &746 + schema: &760 title: Exemption request completed event type: object properties: @@ -115392,11 +115469,11 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -115466,7 +115543,7 @@ webhooks: required: true content: application/json: - schema: &747 + schema: &761 title: Exemption request created event type: object properties: @@ -115474,11 +115551,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 sender: *4 required: - action @@ -115548,7 +115625,7 @@ webhooks: required: true content: application/json: - schema: &748 + schema: &762 title: Exemption response dismissed event type: object properties: @@ -115556,12 +115633,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -115633,7 +115710,7 @@ webhooks: required: true content: application/json: - schema: &749 + schema: &763 title: Exemption response submitted event type: object properties: @@ -115641,12 +115718,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - exemption_request: *743 - exemption_response: *744 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + exemption_request: *757 + exemption_response: *758 sender: *4 required: - action @@ -115719,7 +115796,7 @@ webhooks: required: true content: application/json: - schema: *745 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115786,7 +115863,7 @@ webhooks: required: true content: application/json: - schema: *746 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115853,7 +115930,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115920,7 +115997,7 @@ webhooks: required: true content: application/json: - schema: *748 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115988,7 +116065,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -116066,7 +116143,7 @@ webhooks: type: string enum: - completed - check_run: &751 + check_run: &765 title: CheckRun description: A check performed on the code of a given code change type: object @@ -116179,7 +116256,7 @@ webhooks: - examples: - neutral - deployment: *750 + deployment: *764 details_url: type: string examples: @@ -116277,9 +116354,9 @@ webhooks: - output - app - pull_requests - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -116672,10 +116749,10 @@ webhooks: type: string enum: - created - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -117071,10 +117148,10 @@ webhooks: type: string enum: - requested_action - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 requested_action: description: The action requested by the user. type: object @@ -117479,10 +117556,10 @@ webhooks: type: string enum: - rerequested - check_run: *751 - installation: *739 - organization: *740 - repository: *741 + check_run: *765 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - check_run @@ -118474,10 +118551,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -119162,10 +119239,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -119844,10 +119921,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -120165,20 +120242,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &752 + commit_oid: &766 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *738 - installation: *739 - organization: *740 - ref: &753 + enterprise: *752 + installation: *753 + organization: *754 + ref: &767 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -120583,12 +120660,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -120868,12 +120945,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -121216,12 +121293,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -121501,9 +121578,9 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -121511,7 +121588,7 @@ webhooks: type: - string - 'null' - repository: *741 + repository: *755 sender: *4 required: - action @@ -121754,12 +121831,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *752 - enterprise: *738 - installation: *739 - organization: *740 - ref: *753 - repository: *741 + commit_oid: *766 + enterprise: *752 + installation: *753 + organization: *754 + ref: *767 + repository: *755 sender: *4 required: - action @@ -122021,10 +122098,10 @@ webhooks: - updated_at - author_association - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -122105,18 +122182,18 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *740 - pusher_type: &754 + organization: *754 + pusher_type: &768 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &755 + ref: &769 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -122126,7 +122203,7 @@ webhooks: enum: - tag - branch - repository: *741 + repository: *755 sender: *4 required: - ref @@ -122209,9 +122286,9 @@ webhooks: enum: - created definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122296,9 +122373,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122376,9 +122453,9 @@ webhooks: enum: - promote_to_enterprise definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122456,9 +122533,9 @@ webhooks: enum: - updated definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122535,10 +122612,10 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - repository: *741 - organization: *740 + enterprise: *752 + installation: *753 + repository: *755 + organization: *754 sender: *4 new_property_values: type: array @@ -122623,18 +122700,18 @@ webhooks: title: delete event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - pusher_type: *754 - ref: *755 + enterprise: *752 + installation: *753 + organization: *754 + pusher_type: *768 + ref: *769 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *741 + repository: *755 sender: *4 required: - ref @@ -122719,10 +122796,10 @@ webhooks: enum: - auto_dismissed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122807,10 +122884,10 @@ webhooks: enum: - auto_reopened alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122895,10 +122972,10 @@ webhooks: enum: - created alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -122981,10 +123058,10 @@ webhooks: enum: - dismissed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123067,10 +123144,10 @@ webhooks: enum: - fixed alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123154,10 +123231,10 @@ webhooks: enum: - reintroduced alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123240,10 +123317,10 @@ webhooks: enum: - reopened alert: *502 - installation: *739 - organization: *740 - enterprise: *738 - repository: *741 + installation: *753 + organization: *754 + enterprise: *752 + repository: *755 sender: *4 required: - action @@ -123320,9 +123397,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - key: &756 + enterprise: *752 + installation: *753 + key: &770 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -123360,8 +123437,8 @@ webhooks: - verified - created_at - read_only - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -123438,11 +123515,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - key: *756 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + key: *770 + organization: *754 + repository: *755 sender: *4 required: - action @@ -124014,12 +124091,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: &760 + workflow: &774 title: Workflow type: - object @@ -124761,9 +124838,9 @@ webhooks: pull_requests: type: array items: *593 - repository: *741 - organization: *740 - installation: *739 + repository: *755 + organization: *754 + installation: *753 sender: *4 responses: '200': @@ -124834,7 +124911,7 @@ webhooks: type: string enum: - approved - approver: &757 + approver: &771 type: object properties: avatar_url: @@ -124877,11 +124954,11 @@ webhooks: type: string comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: &758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: &772 type: array items: type: object @@ -124962,7 +125039,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &759 + workflow_job_run: &773 type: object properties: conclusion: @@ -125708,18 +125785,18 @@ webhooks: type: string enum: - rejected - approver: *757 + approver: *771 comment: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - reviewers: *758 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + reviewers: *772 sender: *4 since: type: string - workflow_job_run: *759 + workflow_job_run: *773 workflow_job_runs: type: array items: @@ -126436,13 +126513,13 @@ webhooks: type: string enum: - requested - enterprise: *738 + enterprise: *752 environment: type: string - installation: *739 - organization: *740 - repository: *741 - requestor: &765 + installation: *753 + organization: *754 + repository: *755 + requestor: &779 title: User type: - object @@ -128385,12 +128462,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Deployment Workflow Run type: @@ -129081,7 +129158,7 @@ webhooks: type: string enum: - answered - answer: &763 + answer: &777 type: object properties: author_association: @@ -129241,7 +129318,7 @@ webhooks: - created_at - updated_at - body - discussion: &761 + discussion: &775 title: Discussion description: A Discussion in a repository. type: object @@ -129559,10 +129636,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129689,11 +129766,11 @@ webhooks: - from required: - category - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129776,11 +129853,11 @@ webhooks: type: string enum: - closed - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -129862,7 +129939,7 @@ webhooks: type: string enum: - created - comment: &762 + comment: &776 type: object properties: author_association: @@ -130022,11 +130099,11 @@ webhooks: - updated_at - body - reactions - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130109,12 +130186,12 @@ webhooks: type: string enum: - deleted - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130209,12 +130286,12 @@ webhooks: - from required: - body - comment: *762 - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + comment: *776 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130298,11 +130375,11 @@ webhooks: type: string enum: - created - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130384,11 +130461,11 @@ webhooks: type: string enum: - deleted - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130488,11 +130565,11 @@ webhooks: type: string required: - from - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130574,10 +130651,10 @@ webhooks: type: string enum: - labeled - discussion: *761 - enterprise: *738 - installation: *739 - label: &764 + discussion: *775 + enterprise: *752 + installation: *753 + label: &778 title: Label type: object properties: @@ -130610,8 +130687,8 @@ webhooks: - color - default - description - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130694,11 +130771,11 @@ webhooks: type: string enum: - locked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130780,11 +130857,11 @@ webhooks: type: string enum: - pinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130866,11 +130943,11 @@ webhooks: type: string enum: - reopened - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130955,16 +131032,16 @@ webhooks: changes: type: object properties: - new_discussion: *761 - new_repository: *741 + new_discussion: *775 + new_repository: *755 required: - new_discussion - new_repository - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131047,10 +131124,10 @@ webhooks: type: string enum: - unanswered - discussion: *761 - old_answer: *763 - organization: *740 - repository: *741 + discussion: *775 + old_answer: *777 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131132,12 +131209,12 @@ webhooks: type: string enum: - unlabeled - discussion: *761 - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131220,11 +131297,11 @@ webhooks: type: string enum: - unlocked - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131306,11 +131383,11 @@ webhooks: type: string enum: - unpinned - discussion: *761 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + discussion: *775 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -131382,7 +131459,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131448,7 +131525,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131514,7 +131591,7 @@ webhooks: required: true content: application/json: - schema: *745 + schema: *759 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131580,7 +131657,7 @@ webhooks: required: true content: application/json: - schema: *746 + schema: *760 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131646,7 +131723,7 @@ webhooks: required: true content: application/json: - schema: *747 + schema: *761 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131712,7 +131789,7 @@ webhooks: required: true content: application/json: - schema: *748 + schema: *762 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131778,7 +131855,7 @@ webhooks: required: true content: application/json: - schema: *749 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -131845,7 +131922,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *738 + enterprise: *752 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -132523,9 +132600,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - forkee @@ -132671,9 +132748,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pages: description: The pages that were updated. type: array @@ -132711,7 +132788,7 @@ webhooks: - action - sha - html_url - repository: *741 + repository: *755 sender: *4 required: - pages @@ -132787,10 +132864,10 @@ webhooks: type: string enum: - created - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: &766 + organization: *754 + repositories: &780 description: An array of repository objects that the installation can access. type: array @@ -132816,8 +132893,8 @@ webhooks: - name - full_name - private - repository: *741 - requester: *765 + repository: *755 + requester: *779 sender: *4 required: - action @@ -132892,11 +132969,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -132973,11 +133050,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133054,10 +133131,10 @@ webhooks: type: string enum: - added - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories_added: &767 + organization: *754 + repositories_added: &781 description: An array of repository objects, which were added to the installation. type: array @@ -133103,15 +133180,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *741 - repository_selection: &768 + repository: *755 + repository_selection: &782 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *765 + requester: *779 sender: *4 required: - action @@ -133190,10 +133267,10 @@ webhooks: type: string enum: - removed - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories_added: *767 + organization: *754 + repositories_added: *781 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -133220,9 +133297,9 @@ webhooks: - name - full_name - private - repository: *741 - repository_selection: *768 - requester: *765 + repository: *755 + repository_selection: *782 + requester: *779 sender: *4 required: - action @@ -133301,11 +133378,11 @@ webhooks: type: string enum: - suspend - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133488,10 +133565,10 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 target_type: type: string @@ -133570,11 +133647,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *738 + enterprise: *752 installation: *20 - organization: *740 - repositories: *766 - repository: *741 + organization: *754 + repositories: *780 + repository: *755 requester: type: - 'null' @@ -133822,8 +133899,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135014,8 +135091,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -135095,7 +135172,7 @@ webhooks: type: string enum: - deleted - comment: &769 + comment: &783 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -135262,8 +135339,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -136452,8 +136529,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -136533,7 +136610,7 @@ webhooks: type: string enum: - edited - changes: &794 + changes: &808 description: The changes to the comment. type: object properties: @@ -136545,9 +136622,9 @@ webhooks: type: string required: - from - comment: *769 - enterprise: *738 - installation: *739 + comment: *783 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -137737,8 +137814,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -137820,10 +137897,10 @@ webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - issue: &772 + assignee: *779 + enterprise: *752 + installation: *753 + issue: &786 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138768,8 +138845,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -138849,8 +138926,8 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139943,8 +140020,8 @@ webhooks: required: - state - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140023,8 +140100,8 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140964,8 +141041,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -141044,8 +141121,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141987,7 +142064,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &770 + milestone: &784 title: Milestone description: A collection of related issues and pull requests. type: object @@ -142130,8 +142207,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -142230,8 +142307,8 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143176,9 +143253,9 @@ webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -143258,8 +143335,8 @@ webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144203,9 +144280,9 @@ webhooks: - active_lock_reason - body - reactions - label: *764 - organization: *740 - repository: *741 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -144285,8 +144362,8 @@ webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145232,8 +145309,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -145312,8 +145389,8 @@ webhooks: type: string enum: - milestoned - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146253,9 +146330,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *770 - organization: *740 - repository: *741 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -147737,8 +147814,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148682,8 +148759,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148763,9 +148840,9 @@ webhooks: type: string enum: - pinned - enterprise: *738 - installation: *739 - issue: &771 + enterprise: *752 + installation: *753 + issue: &785 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149703,8 +149780,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149783,8 +149860,8 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150729,8 +150806,8 @@ webhooks: user_view_type: type: string type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152231,11 +152308,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152315,12 +152392,12 @@ webhooks: type: string enum: - typed - enterprise: *738 - installation: *739 - issue: *772 + enterprise: *752 + installation: *753 + issue: *786 type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152401,7 +152478,7 @@ webhooks: type: string enum: - unassigned - assignee: &797 + assignee: &811 title: User type: - object @@ -152473,11 +152550,11 @@ webhooks: required: - login - id - enterprise: *738 - installation: *739 - issue: *772 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *786 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152556,12 +152633,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - issue: *772 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *786 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152641,8 +152718,8 @@ webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153586,8 +153663,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153667,11 +153744,11 @@ webhooks: type: string enum: - unpinned - enterprise: *738 - installation: *739 - issue: *771 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + issue: *785 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153750,12 +153827,12 @@ webhooks: type: string enum: - untyped - enterprise: *738 - installation: *739 - issue: *772 + enterprise: *752 + installation: *753 + issue: *786 type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153835,11 +153912,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153917,11 +153994,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -154031,11 +154108,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - label: *764 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + label: *778 + organization: *754 + repository: *755 sender: *4 required: - action @@ -154117,9 +154194,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: &773 + enterprise: *752 + installation: *753 + marketplace_purchase: &787 title: Marketplace Purchase type: object required: @@ -154207,8 +154284,8 @@ webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: &774 + organization: *754 + previous_marketplace_purchase: &788 title: Marketplace Purchase type: object properties: @@ -154292,7 +154369,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154372,10 +154449,10 @@ webhooks: - changed effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154463,7 +154540,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154545,10 +154622,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154634,7 +154711,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154715,8 +154792,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 marketplace_purchase: title: Marketplace Purchase type: object @@ -154802,9 +154879,9 @@ webhooks: type: integer unit_count: type: integer - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -154884,12 +154961,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *738 - installation: *739 - marketplace_purchase: *773 - organization: *740 - previous_marketplace_purchase: *774 - repository: *741 + enterprise: *752 + installation: *753 + marketplace_purchase: *787 + organization: *754 + previous_marketplace_purchase: *788 + repository: *755 sender: *4 required: - action @@ -154991,11 +155068,11 @@ webhooks: type: string required: - to - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155097,11 +155174,11 @@ webhooks: type: - string - 'null' - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155180,11 +155257,11 @@ webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155262,11 +155339,11 @@ webhooks: type: string enum: - added - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -155344,7 +155421,7 @@ webhooks: required: - login - id - team: &775 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -155537,11 +155614,11 @@ webhooks: type: string enum: - removed - enterprise: *738 - installation: *739 - member: *765 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + member: *779 + organization: *754 + repository: *755 scope: description: The scope of the membership. Currently, can only be `team`. @@ -155620,7 +155697,7 @@ webhooks: required: - login - id - team: *775 + team: *789 required: - action - scope @@ -155702,8 +155779,8 @@ webhooks: type: string enum: - checks_requested - installation: *739 - merge_group: &776 + installation: *753 + merge_group: &790 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -155729,8 +155806,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155816,10 +155893,10 @@ webhooks: - merged - invalidated - dequeued - installation: *739 - merge_group: *776 - organization: *740 - repository: *741 + installation: *753 + merge_group: *790 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155892,7 +155969,7 @@ webhooks: type: string enum: - deleted - enterprise: *738 + enterprise: *752 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -156000,12 +156077,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *739 - organization: *740 + installation: *753 + organization: *754 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -156085,11 +156162,11 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156168,9 +156245,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - milestone: &777 + enterprise: *752 + installation: *753 + milestone: &791 title: Milestone description: A collection of related issues and pull requests. type: object @@ -156312,8 +156389,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156392,11 +156469,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156506,11 +156583,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - milestone: *770 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *784 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156590,11 +156667,11 @@ webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - milestone: *777 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + milestone: *791 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156673,11 +156750,11 @@ webhooks: type: string enum: - blocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156756,11 +156833,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *765 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + blocked_user: *779 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156839,9 +156916,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - membership: &778 + enterprise: *752 + installation: *753 + membership: &792 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -156935,8 +157012,8 @@ webhooks: - role - organization_url - user - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157014,11 +157091,11 @@ webhooks: type: string enum: - member_added - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157097,8 +157174,8 @@ webhooks: type: string enum: - member_invited - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -157220,10 +157297,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 - user: *765 + user: *779 required: - action - invitation @@ -157301,11 +157378,11 @@ webhooks: type: string enum: - member_removed - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157392,11 +157469,11 @@ webhooks: properties: from: type: string - enterprise: *738 - installation: *739 - membership: *778 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + membership: *792 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157472,9 +157549,9 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -157997,7 +158074,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &779 + items: &793 title: Ruby Gems metadata type: object properties: @@ -158094,7 +158171,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158170,9 +158247,9 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 package: description: Information about the package. type: object @@ -158534,7 +158611,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 source_url: type: string format: uri @@ -158605,7 +158682,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158786,12 +158863,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *738 + enterprise: *752 id: type: integer - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - id @@ -158868,7 +158945,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &780 + personal_access_token_request: &794 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -159018,10 +159095,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *738 - organization: *740 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159098,11 +159175,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *780 - enterprise: *738 - organization: *740 + personal_access_token_request: *794 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159178,11 +159255,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *780 - enterprise: *738 - organization: *740 + personal_access_token_request: *794 + enterprise: *752 + organization: *754 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159257,11 +159334,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *780 - organization: *740 - enterprise: *738 + personal_access_token_request: *794 + organization: *754 + enterprise: *752 sender: *4 - installation: *739 + installation: *753 required: - action - personal_access_token_request @@ -159366,7 +159443,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *781 + last_response: *795 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -159398,8 +159475,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 zen: description: Random string of GitHub zen. @@ -159644,10 +159721,10 @@ webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: &782 + enterprise: *752 + installation: *753 + organization: *754 + project_card: &796 title: Project Card type: object properties: @@ -159770,7 +159847,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -159851,11 +159928,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_card: *782 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *796 + repository: *755 sender: *4 required: - action @@ -159935,9 +160012,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 project_card: title: Project Card type: object @@ -160067,7 +160144,7 @@ webhooks: repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -160161,11 +160238,11 @@ webhooks: - from required: - note - enterprise: *738 - installation: *739 - organization: *740 - project_card: *782 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_card: *796 + repository: *755 sender: *4 required: - action @@ -160259,9 +160336,9 @@ webhooks: - from required: - column_id - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 project_card: allOf: - title: Project Card @@ -160458,7 +160535,7 @@ webhooks: type: string required: - after_id - repository: *741 + repository: *755 sender: *4 required: - action @@ -160538,10 +160615,10 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - organization: *740 - project: &784 + enterprise: *752 + installation: *753 + organization: *754 + project: &798 title: Project type: object properties: @@ -160668,7 +160745,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160748,10 +160825,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project_column: &783 + enterprise: *752 + installation: *753 + organization: *754 + project_column: &797 title: Project Column type: object properties: @@ -160791,7 +160868,7 @@ webhooks: - name - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160870,14 +160947,14 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -160966,11 +161043,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 + repository: *755 sender: *4 required: - action @@ -161050,11 +161127,11 @@ webhooks: type: string enum: - moved - enterprise: *738 - installation: *739 - organization: *740 - project_column: *783 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project_column: *797 + repository: *755 sender: *4 required: - action @@ -161134,11 +161211,11 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161218,14 +161295,14 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - project: *784 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -161326,11 +161403,11 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161409,11 +161486,11 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - organization: *740 - project: *784 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + project: *798 + repository: *755 sender: *4 required: - action @@ -161494,9 +161571,9 @@ webhooks: type: string enum: - closed - installation: *739 - organization: *740 - projects_v2: &785 + installation: *753 + organization: *754 + projects_v2: &799 title: Projects v2 Project description: A projects v2 project type: object @@ -161644,9 +161721,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161727,9 +161804,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161850,9 +161927,9 @@ webhooks: type: string to: type: string - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -161935,7 +162012,7 @@ webhooks: type: string enum: - archived - changes: &789 + changes: &803 type: object properties: archived_at: @@ -161951,9 +162028,9 @@ webhooks: - string - 'null' format: date-time - installation: *739 - organization: *740 - projects_v2_item: &786 + installation: *753 + organization: *754 + projects_v2_item: &800 title: Projects v2 Item description: An item belonging to a project type: object @@ -162092,9 +162169,9 @@ webhooks: - 'null' to: type: string - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162176,9 +162253,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162259,9 +162336,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162366,7 +162443,7 @@ webhooks: oneOf: - type: string - type: integer - - &787 + - &801 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -162386,7 +162463,7 @@ webhooks: required: - id - name - - &788 + - &802 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -162415,8 +162492,8 @@ webhooks: oneOf: - type: string - type: integer - - *787 - - *788 + - *801 + - *802 type: - 'null' - string @@ -162439,9 +162516,9 @@ webhooks: - 'null' required: - body - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162538,9 +162615,9 @@ webhooks: type: - string - 'null' - installation: *739 - organization: *740 - projects_v2_item: *786 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162623,10 +162700,10 @@ webhooks: type: string enum: - restored - changes: *789 - installation: *739 - organization: *740 - projects_v2_item: *786 + changes: *803 + installation: *753 + organization: *754 + projects_v2_item: *800 sender: *4 required: - action @@ -162708,9 +162785,9 @@ webhooks: type: string enum: - reopened - installation: *739 - organization: *740 - projects_v2: *785 + installation: *753 + organization: *754 + projects_v2: *799 sender: *4 required: - action @@ -162791,9 +162868,9 @@ webhooks: type: string enum: - created - installation: *739 - organization: *740 - projects_v2_status_update: &790 + installation: *753 + organization: *754 + projects_v2_status_update: &804 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -162928,9 +163005,9 @@ webhooks: type: string enum: - deleted - installation: *739 - organization: *740 - projects_v2_status_update: *790 + installation: *753 + organization: *754 + projects_v2_status_update: *804 sender: *4 required: - action @@ -163076,9 +163153,9 @@ webhooks: - string - 'null' format: date - installation: *739 - organization: *740 - projects_v2_status_update: *790 + installation: *753 + organization: *754 + projects_v2_status_update: *804 sender: *4 required: - action @@ -163149,10 +163226,10 @@ webhooks: title: public event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - repository @@ -163229,13 +163306,13 @@ webhooks: type: string enum: - assigned - assignee: *765 - enterprise: *738 - installation: *739 - number: &791 + assignee: *779 + enterprise: *752 + installation: *753 + number: &805 description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -165584,7 +165661,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -165666,11 +165743,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -168012,7 +168089,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -168094,11 +168171,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -170440,7 +170517,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -170522,11 +170599,11 @@ webhooks: type: string enum: - closed - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: &792 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: &806 allOf: - *593 - type: object @@ -170590,7 +170667,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *741 + repository: *755 sender: *4 required: - action @@ -170671,12 +170748,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -170756,11 +170833,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *738 + enterprise: *752 milestone: *488 - number: *791 - organization: *740 - pull_request: &793 + number: *805 + organization: *754 + pull_request: &807 title: Pull Request type: object properties: @@ -173087,7 +173164,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -173166,11 +173243,11 @@ webhooks: type: string enum: - dequeued - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -175516,7 +175593,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *741 + repository: *755 sender: *4 required: - action @@ -175640,12 +175717,12 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -175725,11 +175802,11 @@ webhooks: type: string enum: - enqueued - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -178060,7 +178137,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -178140,11 +178217,11 @@ webhooks: type: string enum: - labeled - enterprise: *738 - installation: *739 - label: *764 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + label: *778 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -180492,7 +180569,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -180573,10 +180650,10 @@ webhooks: type: string enum: - locked - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -182922,7 +182999,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -183002,12 +183079,12 @@ webhooks: type: string enum: - milestoned - enterprise: *738 + enterprise: *752 milestone: *488 - number: *791 - organization: *740 - pull_request: *793 - repository: *741 + number: *805 + organization: *754 + pull_request: *807 + repository: *755 sender: *4 required: - action @@ -183086,12 +183163,12 @@ webhooks: type: string enum: - opened - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183172,12 +183249,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183257,12 +183334,12 @@ webhooks: type: string enum: - reopened - enterprise: *738 - installation: *739 - number: *791 - organization: *740 - pull_request: *792 - repository: *741 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 + pull_request: *806 + repository: *755 sender: *4 required: - action @@ -183637,9 +183714,9 @@ webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -185869,7 +185946,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -185949,7 +186026,7 @@ webhooks: type: string enum: - deleted - comment: &795 + comment: &809 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -186242,9 +186319,9 @@ webhooks: - start_side - side - reactions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -188462,7 +188539,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -188542,11 +188619,11 @@ webhooks: type: string enum: - edited - changes: *794 - comment: *795 - enterprise: *738 - installation: *739 - organization: *740 + changes: *808 + comment: *809 + enterprise: *752 + installation: *753 + organization: *754 pull_request: type: object properties: @@ -190767,7 +190844,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -190848,9 +190925,9 @@ webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -193083,7 +193160,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 review: description: The review that was affected. type: object @@ -193329,9 +193406,9 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -195445,8 +195522,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: &796 + repository: *755 + review: &810 description: The review that was affected. type: object properties: @@ -195679,12 +195756,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -198031,7 +198108,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -198117,12 +198194,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -200476,7 +200553,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200671,12 +200748,12 @@ webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -203025,7 +203102,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -203112,12 +203189,12 @@ webhooks: type: string enum: - review_requested - enterprise: *738 - installation: *739 + enterprise: *752 + installation: *753 number: description: The pull request number. type: integer - organization: *740 + organization: *754 pull_request: title: Pull Request type: object @@ -205457,7 +205534,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205641,9 +205718,9 @@ webhooks: type: string enum: - submitted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -207879,8 +207956,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: *796 + repository: *755 + review: *810 sender: *4 required: - action @@ -207960,9 +208037,9 @@ webhooks: type: string enum: - resolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -210093,7 +210170,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -210485,9 +210562,9 @@ webhooks: type: string enum: - unresolved - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 pull_request: title: Simple Pull Request type: object @@ -212601,7 +212678,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -212995,10 +213072,10 @@ webhooks: type: string before: type: string - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -215333,7 +215410,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -215415,11 +215492,11 @@ webhooks: type: string enum: - unassigned - assignee: *797 - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + assignee: *811 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -217769,7 +217846,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -217848,11 +217925,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *738 - installation: *739 - label: *764 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + label: *778 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -220191,7 +220268,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -220272,10 +220349,10 @@ webhooks: type: string enum: - unlocked - enterprise: *738 - installation: *739 - number: *791 - organization: *740 + enterprise: *752 + installation: *753 + number: *805 + organization: *754 pull_request: title: Pull Request type: object @@ -222604,7 +222681,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -222807,7 +222884,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *738 + enterprise: *752 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -222902,8 +222979,8 @@ webhooks: - url - author - committer - installation: *739 - organization: *740 + installation: *753 + organization: *754 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -223491,9 +223568,9 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -223970,7 +224047,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224026,7 +224103,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224104,9 +224181,9 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 registry_package: type: object properties: @@ -224418,7 +224495,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224468,7 +224545,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224545,10 +224622,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - release: &798 + enterprise: *752 + installation: *753 + organization: *754 + release: &812 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -224869,7 +224946,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *741 + repository: *755 sender: *4 required: - action @@ -224946,11 +225023,11 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -225067,11 +225144,11 @@ webhooks: type: boolean required: - to - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -225149,9 +225226,9 @@ webhooks: type: string enum: - prereleased - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -225477,7 +225554,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225553,10 +225630,10 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - release: &799 + enterprise: *752 + installation: *753 + organization: *754 + release: &813 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -225879,7 +225956,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225955,11 +226032,11 @@ webhooks: type: string enum: - released - enterprise: *738 - installation: *739 - organization: *740 - release: *798 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *812 + repository: *755 sender: *4 required: - action @@ -226035,11 +226112,11 @@ webhooks: type: string enum: - unpublished - enterprise: *738 - installation: *739 - organization: *740 - release: *799 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + release: *813 + repository: *755 sender: *4 required: - action @@ -226115,11 +226192,11 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *650 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *664 sender: *4 required: - action @@ -226195,11 +226272,11 @@ webhooks: type: string enum: - reported - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - repository_advisory: *650 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + repository_advisory: *664 sender: *4 required: - action @@ -226275,10 +226352,10 @@ webhooks: type: string enum: - archived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226355,10 +226432,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226436,10 +226513,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226524,10 +226601,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226642,10 +226719,10 @@ webhooks: - 'null' items: type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226717,10 +226794,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 status: type: string @@ -226801,10 +226878,10 @@ webhooks: type: string enum: - privatized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226881,10 +226958,10 @@ webhooks: type: string enum: - publicized - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -226978,10 +227055,10 @@ webhooks: - name required: - repository - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227061,10 +227138,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 sender: *4 required: @@ -227143,10 +227220,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 sender: *4 required: @@ -227225,10 +227302,10 @@ webhooks: type: string enum: - edited - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 repository_ruleset: *126 changes: type: object @@ -227536,10 +227613,10 @@ webhooks: - from required: - owner - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227617,10 +227694,10 @@ webhooks: type: string enum: - unarchived - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -227698,7 +227775,7 @@ webhooks: type: string enum: - create - alert: &800 + alert: &814 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -227822,10 +227899,10 @@ webhooks: type: string enum: - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228035,10 +228112,10 @@ webhooks: type: string enum: - dismissed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228116,11 +228193,11 @@ webhooks: type: string enum: - reopen - alert: *800 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *814 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228322,10 +228399,10 @@ webhooks: enum: - fixed - open - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228403,7 +228480,7 @@ webhooks: type: string enum: - created - alert: &801 + alert: &815 type: object properties: number: *96 @@ -228513,10 +228590,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228597,11 +228674,11 @@ webhooks: type: string enum: - created - alert: *801 - installation: *739 - location: *802 - organization: *740 - repository: *741 + alert: *815 + installation: *753 + location: *816 + organization: *754 + repository: *755 sender: *4 required: - location @@ -228839,11 +228916,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -228921,11 +228998,11 @@ webhooks: type: string enum: - reopened - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229003,11 +229080,11 @@ webhooks: type: string enum: - resolved - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229085,11 +229162,11 @@ webhooks: type: string enum: - validated - alert: *801 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + alert: *815 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -229219,10 +229296,10 @@ webhooks: - organization - enterprise - - repository: *741 - enterprise: *738 - installation: *739 - organization: *740 + repository: *755 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -229300,11 +229377,11 @@ webhooks: type: string enum: - published - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: &803 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: &817 description: The details of the security advisory, including summary, description, and severity. type: object @@ -229490,11 +229567,11 @@ webhooks: type: string enum: - updated - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 - security_advisory: *803 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 + security_advisory: *817 sender: *4 required: - action @@ -229567,10 +229644,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -229757,9 +229834,9 @@ webhooks: type: object properties: security_and_analysis: *316 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: *379 sender: *4 required: @@ -229838,12 +229915,12 @@ webhooks: type: string enum: - cancelled - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: &804 + sponsorship: &818 type: object properties: created_at: @@ -230148,12 +230225,12 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - sponsorship @@ -230241,12 +230318,12 @@ webhooks: type: string required: - from - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230323,17 +230400,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &805 + effective_date: &819 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - sponsorship @@ -230407,7 +230484,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &806 + changes: &820 type: object properties: tier: @@ -230451,13 +230528,13 @@ webhooks: - from required: - tier - effective_date: *805 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + effective_date: *819 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230534,13 +230611,13 @@ webhooks: type: string enum: - tier_changed - changes: *806 - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + changes: *820 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - sponsorship: *804 + sponsorship: *818 required: - action - changes @@ -230614,10 +230691,10 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -230701,10 +230778,10 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231138,15 +231215,15 @@ webhooks: type: - string - 'null' - enterprise: *738 + enterprise: *752 id: description: The unique identifier of the status. type: integer - installation: *739 + installation: *753 name: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 sha: description: The Commit SHA. @@ -231262,9 +231339,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231354,9 +231431,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231446,9 +231523,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231538,9 +231615,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *149 - installation: *739 - organization: *740 - repository: *741 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -231617,12 +231694,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - team: &807 + team: &821 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -231815,9 +231892,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -232287,7 +232364,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232363,9 +232440,9 @@ webhooks: type: string enum: - created - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -232835,7 +232912,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232912,9 +232989,9 @@ webhooks: type: string enum: - deleted - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -233384,7 +233461,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -233528,9 +233605,9 @@ webhooks: - from required: - permissions - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -234000,7 +234077,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - changes @@ -234078,9 +234155,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 repository: title: Repository description: A git repository @@ -234550,7 +234627,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -234626,10 +234703,10 @@ webhooks: type: string enum: - started - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 required: - action @@ -234702,17 +234779,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *738 + enterprise: *752 inputs: type: - object - 'null' additionalProperties: true - installation: *739 - organization: *740 + installation: *753 + organization: *754 ref: type: string - repository: *741 + repository: *755 sender: *4 workflow: type: string @@ -234794,10 +234871,10 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -235132,10 +235209,10 @@ webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: allOf: @@ -235496,10 +235573,10 @@ webhooks: type: string enum: - queued - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -235724,10 +235801,10 @@ webhooks: type: string enum: - waiting - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 workflow_job: type: object @@ -235954,12 +236031,12 @@ webhooks: type: string enum: - completed - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -236978,12 +237055,12 @@ webhooks: type: string enum: - in_progress - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object @@ -237987,12 +238064,12 @@ webhooks: type: string enum: - requested - enterprise: *738 - installation: *739 - organization: *740 - repository: *741 + enterprise: *752 + installation: *753 + organization: *754 + repository: *755 sender: *4 - workflow: *760 + workflow: *774 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index da0701b49b..aeb2c2b8c9 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -12130,6 +12130,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": { @@ -12184,7 +12207,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -114665,6 +114688,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -114678,6 +114704,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -114719,7 +114751,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -117400,6 +117431,367 @@ null ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ] + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -117562,6 +117954,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." } } }, @@ -121206,7 +121612,14 @@ "accessible_repositories": { "type": "array", "items": { - "$ref": "#/components/schemas/simple-repository" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] } } }, @@ -143267,6 +143680,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." } } }, @@ -143277,323 +143704,6 @@ "null" ] }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index dc1b23c48c..9a087da52d 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -8598,6 +8598,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - "$ref": "#/components/parameters/org" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -8638,7 +8655,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -83040,6 +83057,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -83049,6 +83068,10 @@ components: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -83078,7 +83101,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -85130,6 +85152,282 @@ components: - revoked - used_in_tests - + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" organization-secret-scanning-alert: type: object properties: @@ -85241,6 +85539,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. actions-billing-usage: type: object properties: @@ -87851,7 +88157,9 @@ components: accessible_repositories: type: array items: - "$ref": "#/components/schemas/simple-repository" + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" additionalProperties: false organization-full: title: Organization Full @@ -103781,269 +104089,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/ghec/ghec.json b/descriptions-next/ghec/ghec.json index da0701b49b..aeb2c2b8c9 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -12130,6 +12130,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": { @@ -12184,7 +12207,7 @@ "application/json": { "schema": { "type": "object", - "oneOf": [ + "anyOf": [ { "required": [ "repository_ids_to_add" @@ -114665,6 +114688,9 @@ "name": { "type": "string" }, + "description": { + "type": "string" + }, "slug": { "type": "string" }, @@ -114678,6 +114704,12 @@ "disabled | all" ] }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, "group_id": { "type": [ "string", @@ -114719,7 +114751,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -117400,6 +117431,367 @@ null ] }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ] + }, "organization-secret-scanning-alert": { "type": "object", "properties": { @@ -117562,6 +117954,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." } } }, @@ -121206,7 +121612,14 @@ "accessible_repositories": { "type": "array", "items": { - "$ref": "#/components/schemas/simple-repository" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] } } }, @@ -143267,6 +143680,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." } } }, @@ -143277,323 +143704,6 @@ "null" ] }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, "secret-scanning-location": { "type": "object", "properties": { diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index dc1b23c48c..9a087da52d 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -8598,6 +8598,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies parameters: - "$ref": "#/components/parameters/org" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 responses: '200': description: Response @@ -8638,7 +8655,7 @@ paths: application/json: schema: type: object - oneOf: + anyOf: - required: - repository_ids_to_add - required: @@ -83040,6 +83057,8 @@ components: format: int64 name: type: string + description: + type: string slug: type: string url: @@ -83049,6 +83068,10 @@ components: type: string examples: - disabled | all + organization_selection_type: + type: string + examples: + - disabled | all group_id: type: - string @@ -83078,7 +83101,6 @@ components: - id - url - members_url - - sync_to_organizations - name - html_url - slug @@ -85130,6 +85152,282 @@ components: - revoked - used_in_tests - + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" organization-secret-scanning-alert: type: object properties: @@ -85241,6 +85539,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. actions-billing-usage: type: object properties: @@ -87851,7 +88157,9 @@ components: accessible_repositories: type: array items: - "$ref": "#/components/schemas/simple-repository" + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" additionalProperties: false organization-full: title: Organization Full @@ -103781,269 +104089,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: