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..8e81613c10 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 @@ -100539,598 +100539,412 @@ null ] }, - "organization-secret-scanning-alert": { + "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": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { + "path": { "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" }, - "secret_type": { + "blob_sha": { "type": "string", - "description": "The type of secret that secret scanning detected." + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] }, - "secret_type_display_name": { + "blob_url": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "The API URL to get the associated blob resource" }, - "secret": { + "commit_sha": { "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" ] }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "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" ] }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." + "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." }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" + "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." }, - "validity": { + "blob_sha": { "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" ] }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - } - } - }, - "actor": { - "title": "Actor", - "description": "Actor", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "display_login": { - "type": "string" - }, - "gravatar_id": { - "type": [ - "string", - "null" + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" ] }, - "url": { + "commit_sha": { "type": "string", - "format": "uri" + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] }, - "avatar_url": { + "commit_url": { "type": "string", - "format": "uri" + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] } }, "required": [ - "id", - "login", - "gravatar_id", - "url", - "avatar_url" - ] + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", + "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": { - "url": { + "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/milestones/1" + "https://api.github.com/repos/octocat/Hello-World/issues/1347" ] - }, - "html_url": { + } + }, + "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://github.com/octocat/Hello-World/milestones/v1.0" + "https://api.github.com/repos/octocat/Hello-World/issues/1347" ] - }, - "labels_url": { + } + }, + "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/milestones/1/labels" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" ] - }, - "node_id": { + } + }, + "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": [ - "MDk6TWlsZXN0b25lMTAwMjYwNA==" - ] - }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [ - 42 + "https://github.com/community/community/discussions/39082" ] - }, - "state": { - "description": "The state of the milestone.", + } + }, + "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", - "enum": [ - "open", - "closed" - ], - "default": "open", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", "examples": [ - "open" + "https://github.com/community/community/discussions/39082#discussion-4566270" ] - }, - "title": { - "description": "The title of the milestone.", + } + }, + "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": [ - "v1.0" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "Tracking milestone for version 1.0" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "open_issues": { - "type": "integer", - "examples": [ - 4 - ] - }, - "closed_issues": { - "type": "integer", - "examples": [ - 8 + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" ] - }, - "created_at": { + } + }, + "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": "date-time", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", "examples": [ - "2011-04-10T20:09:31Z" + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" ] - }, - "updated_at": { + } + }, + "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": "date-time", - "examples": [ - "2014-03-03T18:58:10Z" - ] - }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", "examples": [ - "2013-02-12T13:22:01Z" + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" ] - }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time", + } + }, + "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": [ - "2012-10-09T23:39:01Z" + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" ] } }, "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" + "pull_request_comment_url" ] }, - "issue-type": { - "title": "Issue Type", - "description": "The type of issue.", - "type": [ - "object", - "null" - ], + "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": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." - }, - "node_id": { + "pull_request_review_url": { "type": "string", - "description": "The node identifier of the issue type." - }, - "name": { - "type": "string", - "description": "The name of the issue type." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The description of the issue type." - }, - "color": { - "type": [ - "string", - "null" - ], - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null + "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" ] - }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" - }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." } }, "required": [ - "id", - "node_id", - "name", - "description" - ] - }, - "author-association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" + "pull_request_review_url" ] }, - "reaction-rollup": { - "title": "Reaction Rollup", + "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": { - "url": { + "pull_request_review_comment_url": { "type": "string", - "format": "uri" + "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" }, - "total_count": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" }, - "+1": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" }, - "-1": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" }, - "laugh": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" }, - "confused": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" }, - "heart": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" }, - "hooray": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" }, - "eyes": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "sub-issues-summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" }, - "completed": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" }, - "percent_completed": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" } - }, - "required": [ - "total", - "completed", - "percent_completed" ] }, - "issue": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "organization-secret-scanning-alert": { "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int64" + "number": { + "$ref": "#/components/schemas/alert-number" }, - "node_id": { - "type": "string" + "created_at": { + "$ref": "#/components/schemas/alert-created-at" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/1" + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } ] }, - "repository_url": { - "type": "string", - "format": "uri" - }, - "labels_url": { - "type": "string" - }, - "comments_url": { - "type": "string", - "format": "uri" - }, - "events_url": { - "type": "string", - "format": "uri" + "url": { + "$ref": "#/components/schemas/alert-url" }, "html_url": { - "type": "string", - "format": "uri" - }, - "number": { - "description": "Number uniquely identifying the issue within its repository", - "type": "integer", - "examples": [ - 42 - ] + "$ref": "#/components/schemas/alert-html-url" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", + "locations_url": { "type": "string", - "examples": [ - "open" - ] + "format": "uri", + "description": "The REST API URL of the code locations for this alert." }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - null - ], - "examples": [ - "not_planned" - ] + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": [ - "Widget creation fails in Safari on OS X 10.8" - ] + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" }, - "body": { - "description": "Contents of the issue", + "resolved_at": { "type": [ "string", "null" ], - "examples": [ - "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" - ] + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "user": { + "resolved_by": { "anyOf": [ { "type": "null" @@ -101140,56 +100954,29 @@ } ] }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "color": { - "type": [ - "string", - "null" - ] - }, - "default": { - "type": "boolean" - } - } - } - ] - }, - "examples": [ - "bug", - "registration" - ] + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." }, - "assignee": { + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { "anyOf": [ { "type": "null" @@ -101199,213 +100986,206 @@ } ] }, - "assignees": { + "push_protection_bypassed_at": { "type": [ - "array", + "string", "null" ], - "items": { - "$ref": "#/components/schemas/simple-user" - } + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "milestone": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" }, { - "$ref": "#/components/schemas/milestone" + "$ref": "#/components/schemas/simple-user" } ] }, - "locked": { - "type": "boolean" - }, - "active_lock_reason": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" - ] + ], + "description": "An optional comment when reviewing a push protection bypass." }, - "comments": { - "type": "integer" + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "diff_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "html_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "patch_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri" - } - }, - "required": [ - "diff_url", - "html_url", - "patch_url", - "url" - ] + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." }, - "closed_at": { + "resolution_comment": { "type": [ "string", "null" ], - "format": "date-time" + "description": "The comment that was optionally added when this alert was closed" }, - "created_at": { + "validity": { "type": "string", - "format": "date-time" + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] }, - "updated_at": { - "type": "string", - "format": "date-time" + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." }, - "draft": { - "type": "boolean" + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." }, - "closed_by": { + "is_base64_encoded": { + "type": [ + "boolean", + "null" + ], + "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { "anyOf": [ { "type": "null" }, { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/secret-scanning-first-detected-location" } ] + } + } + }, + "actor": { + "title": "Actor", + "description": "Actor", + "type": "object", + "properties": { + "id": { + "type": "integer" }, - "body_html": { + "login": { "type": "string" }, - "body_text": { + "display_login": { "type": "string" }, - "timeline_url": { - "type": "string", - "format": "uri" - }, - "type": { - "$ref": "#/components/schemas/issue-type" - }, - "repository": { - "$ref": "#/components/schemas/repository" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/integration" - } + "gravatar_id": { + "type": [ + "string", + "null" ] }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "reactions": { - "$ref": "#/components/schemas/reaction-rollup" + "url": { + "type": "string", + "format": "uri" }, - "sub_issues_summary": { - "$ref": "#/components/schemas/sub-issues-summary" + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ - "assignee", - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", + "login", + "gravatar_id", "url", - "user", - "author_association", - "created_at", - "updated_at" + "avatar_url" ] }, - "issue-comment": { - "title": "Issue Comment", - "description": "Comments provide a way for people to collaborate on an issue.", + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", "type": "object", "properties": { - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "format": "int64", + "url": { + "type": "string", + "format": "uri", "examples": [ - 42 + "https://api.github.com/repos/octocat/Hello-World/milestones/1" ] }, - "node_id": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] }, - "url": { - "description": "URL for the issue comment", + "labels_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" ] }, - "body": { - "description": "Contents of the issue comment", + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { "type": "string", "examples": [ - "What version of Safari were you using when you observed this bug?" + "MDk6TWlsZXN0b25lMTAwMjYwNA==" ] }, - "body_text": { - "type": "string" + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] }, - "body_html": { - "type": "string" + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] }, - "html_url": { + "title": { + "description": "The title of the milestone.", "type": "string", - "format": "uri" + "examples": [ + "v1.0" + ] }, - "user": { + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { "anyOf": [ { "type": "null" @@ -101415,359 +101195,464 @@ } ] }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, "created_at": { "type": "string", "format": "date-time", "examples": [ - "2011-04-14T16:00:49Z" + "2011-04-10T20:09:31Z" ] }, "updated_at": { "type": "string", "format": "date-time", "examples": [ - "2011-04-14T16:00:49Z" + "2014-03-03T18:58:10Z" ] }, - "issue_url": { - "type": "string", - "format": "uri" - }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/integration" - } + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" ] }, - "reactions": { - "$ref": "#/components/schemas/reaction-rollup" + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] } }, "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", "id", "node_id", + "labels_url", "html_url", - "issue_url", - "author_association", - "user", + "number", + "open_issues", + "state", + "title", "url", "created_at", "updated_at" ] }, - "event": { - "title": "Event", - "description": "Event", - "type": "object", + "issue-type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], "properties": { "id": { - "type": "string" + "type": "integer", + "description": "The unique identifier of the issue type." }, - "type": { + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { "type": [ "string", "null" - ] - }, - "actor": { - "$ref": "#/components/schemas/actor" - }, - "repo": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "name", - "url" - ] - }, - "org": { - "$ref": "#/components/schemas/actor" - }, - "payload": { - "type": "object", - "properties": { - "action": { - "type": "string" - }, - "issue": { - "$ref": "#/components/schemas/issue" - }, - "comment": { - "$ref": "#/components/schemas/issue-comment" - }, - "pages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "page_name": { - "type": "string" - }, - "title": { - "type": "string" - }, - "summary": { - "type": [ - "string", - "null" - ] - }, - "action": { - "type": "string" - }, - "sha": { - "type": "string" - }, - "html_url": { - "type": "string" - } - } - } - } - } - }, - "public": { - "type": "boolean" + ], + "description": "The description of the issue type." }, - "created_at": { + "color": { "type": [ "string", "null" ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", "format": "date-time" - } + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } }, "required": [ "id", - "type", - "actor", - "repo", - "payload", - "public", - "created_at" + "node_id", + "name", + "description" ] }, - "link-with-type": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", + "author-association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reaction-rollup": { + "title": "Reaction Rollup", "type": "object", "properties": { - "href": { - "type": "string" + "url": { + "type": "string", + "format": "uri" }, - "type": { - "type": "string" + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" } }, "required": [ - "href", - "type" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "feed": { - "title": "Feed", - "description": "Feed", + "sub-issues-summary": { + "title": "Sub-issues Summary", "type": "object", "properties": { - "timeline_url": { - "type": "string", - "examples": [ - "https://github.com/timeline" - ] + "total": { + "type": "integer" }, - "user_url": { + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "issue": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", "type": "string", + "format": "uri", "examples": [ - "https://github.com/{user}" + "https://api.github.com/repositories/42/issues/1" ] }, - "current_user_public_url": { + "repository_url": { "type": "string", - "examples": [ - "https://github.com/octocat" - ] + "format": "uri" }, - "current_user_url": { + "labels_url": { + "type": "string" + }, + "comments_url": { "type": "string", - "examples": [ - "https://github.com/octocat.private?token=abc123" - ] + "format": "uri" }, - "current_user_actor_url": { + "events_url": { "type": "string", - "examples": [ - "https://github.com/octocat.private.actor?token=abc123" - ] + "format": "uri" }, - "current_user_organization_url": { + "html_url": { "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", "examples": [ - "https://github.com/octocat-org" + 42 ] }, - "current_user_organization_urls": { - "type": "array", - "items": { - "type": "string", - "format": "uri" - }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", "examples": [ - "https://github.com/organizations/github/octocat.private.atom?token=abc123" + "open" ] }, - "security_advisories_url": { - "type": "string", + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ - "https://github.com/security-advisories" + "not_planned" ] }, - "repository_discussions_url": { + "title": { + "description": "Title of the issue", "type": "string", - "description": "A feed of discussions for a given repository.", "examples": [ - "https://github.com/{user}/{repo}/discussions" + "Widget creation fails in Safari on OS X 10.8" ] }, - "repository_discussions_category_url": { - "type": "string", - "description": "A feed of discussions for a given repository and category.", + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], "examples": [ - "https://github.com/{user}/{repo}/discussions/categories/{category}" + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" ] }, - "_links": { - "type": "object", - "properties": { - "timeline": { - "$ref": "#/components/schemas/link-with-type" - }, - "user": { - "$ref": "#/components/schemas/link-with-type" - }, - "security_advisories": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_public": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_actor": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organization": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/link-with-type" - } - }, - "repository_discussions": { - "$ref": "#/components/schemas/link-with-type" + "user": { + "anyOf": [ + { + "type": "null" }, - "repository_discussions_category": { - "$ref": "#/components/schemas/link-with-type" + { + "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "timeline", - "user" ] - } - }, - "required": [ - "_links", - "timeline_url", - "user_url" - ] - }, - "base-gist": { - "title": "Base Gist", - "description": "Base Gist", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" }, - "forks_url": { - "type": "string", - "format": "uri" + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] }, - "commits_url": { - "type": "string", - "format": "uri" + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] }, - "id": { - "type": "string" + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/simple-user" + } }, - "node_id": { - "type": "string" + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/milestone" + } + ] }, - "git_pull_url": { - "type": "string", - "format": "uri" + "locked": { + "type": "boolean" }, - "git_push_url": { - "type": "string", - "format": "uri" + "active_lock_reason": { + "type": [ + "string", + "null" + ] }, - "html_url": { - "type": "string", - "format": "uri" + "comments": { + "type": "integer" }, - "files": { + "pull_request": { "type": "object", - "additionalProperties": { - "type": "object", - "properties": { - "filename": { - "type": "string" - }, - "type": { - "type": "string" - }, - "language": { - "type": "string" - }, - "raw_url": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "encoding": { - "type": "string", - "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.", - "default": "utf-8" - } + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" } - } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] }, - "public": { - "type": "boolean" + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" }, "created_at": { "type": "string", @@ -101777,19 +101662,10 @@ "type": "string", "format": "date-time" }, - "description": { - "type": [ - "string", - "null" - ] - }, - "comments": { - "type": "integer" - }, - "comments_enabled": { + "draft": { "type": "boolean" }, - "user": { + "closed_by": { "anyOf": [ { "type": "null" @@ -101799,517 +101675,421 @@ } ] }, - "comments_url": { + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { "type": "string", "format": "uri" }, - "owner": { - "$ref": "#/components/schemas/simple-user" + "type": { + "$ref": "#/components/schemas/issue-type" }, - "truncated": { - "type": "boolean" + "repository": { + "$ref": "#/components/schemas/repository" }, - "forks": { - "type": "array", - "items": {} + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/integration" + } + ] }, - "history": { - "type": "array", - "items": {} + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", "id", "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", "url", - "forks_url", - "commits_url", - "git_pull_url", - "git_push_url", - "html_url", - "comments_url", - "public", - "description", - "comments", "user", - "files", + "author_association", "created_at", "updated_at" ] }, - "public-user": { - "title": "Public User", - "description": "Public User", + "issue-comment": { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", "type": "object", "properties": { - "login": { - "type": "string" - }, "id": { + "description": "Unique identifier of the issue comment", "type": "integer", - "format": "int64" - }, - "user_view_type": { - "type": "string" + "format": "int64", + "examples": [ + 42 + ] }, "node_id": { "type": "string" }, - "avatar_url": { - "type": "string", - "format": "uri" - }, - "gravatar_id": { - "type": [ - "string", - "null" - ] - }, "url": { + "description": "URL for the issue comment", "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] }, - "followers_url": { + "body": { + "description": "Contents of the issue comment", "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string" - }, - "gists_url": { - "type": "string" + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] }, - "starred_url": { + "body_text": { "type": "string" }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "events_url": { + "body_html": { "type": "string" }, - "received_events_url": { + "html_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string" - }, - "site_admin": { - "type": "boolean" - }, - "name": { - "type": [ - "string", - "null" - ] - }, - "company": { - "type": [ - "string", - "null" + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] }, - "blog": { - "type": [ - "string", - "null" + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" ] }, - "location": { - "type": [ - "string", - "null" + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" ] }, - "email": { - "type": [ - "string", - "null" - ], - "format": "email" + "issue_url": { + "type": "string", + "format": "uri" }, - "notification_email": { - "type": [ - "string", - "null" - ], - "format": "email" + "author_association": { + "$ref": "#/components/schemas/author-association" }, - "hireable": { - "type": [ - "boolean", - "null" + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/integration" + } ] }, - "bio": { - "type": [ - "string", - "null" - ] + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "author_association", + "user", + "url", + "created_at", + "updated_at" + ] + }, + "event": { + "title": "Event", + "description": "Event", + "type": "object", + "properties": { + "id": { + "type": "string" }, - "twitter_username": { + "type": { "type": [ "string", "null" ] }, - "public_repos": { - "type": "integer" - }, - "public_gists": { - "type": "integer" - }, - "followers": { - "type": "integer" - }, - "following": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" + "actor": { + "$ref": "#/components/schemas/actor" }, - "plan": { + "repo": { "type": "object", "properties": { - "collaborators": { + "id": { "type": "integer" }, "name": { "type": "string" }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" + "url": { + "type": "string", + "format": "uri" } }, "required": [ - "collaborators", + "id", "name", - "space", - "private_repos" - ] - }, - "private_gists": { - "type": "integer", - "examples": [ - 1 - ] - }, - "total_private_repos": { - "type": "integer", - "examples": [ - 2 - ] - }, - "owned_private_repos": { - "type": "integer", - "examples": [ - 2 + "url" ] }, - "disk_usage": { - "type": "integer", - "examples": [ - 1 - ] + "org": { + "$ref": "#/components/schemas/actor" }, - "collaborators": { - "type": "integer", - "examples": [ - 3 - ] - } - }, - "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", - "bio", - "blog", - "company", - "email", - "followers", - "following", - "hireable", - "location", - "name", - "public_gists", - "public_repos", - "created_at", - "updated_at" - ], - "additionalProperties": false - }, - "gist-history": { - "title": "Gist History", - "description": "Gist History", - "type": "object", - "properties": { - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "version": { - "type": "string" - }, - "committed_at": { - "type": "string", - "format": "date-time" - }, - "change_status": { + "payload": { "type": "object", "properties": { - "total": { - "type": "integer" - }, - "additions": { - "type": "integer" - }, - "deletions": { - "type": "integer" - } - } - }, - "url": { - "type": "string", - "format": "uri" - } - } - }, - "gist-simple": { - "title": "Gist Simple", - "description": "Gist Simple", - "type": "object", - "properties": { - "forks": { - "deprecated": true, - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "user": { - "$ref": "#/components/schemas/public-user" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - } - } - } - }, - "history": { - "deprecated": true, - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/gist-history" - } - }, - "fork_of": { - "title": "Gist", - "description": "Gist", - "type": [ - "object", - "null" - ], - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "forks_url": { - "type": "string", - "format": "uri" - }, - "commits_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "string" - }, - "node_id": { + "action": { "type": "string" }, - "git_pull_url": { - "type": "string", - "format": "uri" - }, - "git_push_url": { - "type": "string", - "format": "uri" + "issue": { + "$ref": "#/components/schemas/issue" }, - "html_url": { - "type": "string", - "format": "uri" + "comment": { + "$ref": "#/components/schemas/issue-comment" }, - "files": { - "type": "object", - "additionalProperties": { + "pages": { + "type": "array", + "items": { "type": "object", "properties": { - "filename": { + "page_name": { "type": "string" }, - "type": { + "title": { "type": "string" }, - "language": { + "summary": { + "type": [ + "string", + "null" + ] + }, + "action": { "type": "string" }, - "raw_url": { + "sha": { "type": "string" }, - "size": { - "type": "integer" + "html_url": { + "type": "string" } } } - }, - "public": { - "type": "boolean" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "comments": { - "type": "integer" - }, - "comments_enabled": { - "type": "boolean" - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "comments_url": { - "type": "string", - "format": "uri" - }, - "owner": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "truncated": { - "type": "boolean" - }, - "forks": { - "type": "array", - "items": {} - }, - "history": { - "type": "array", - "items": {} } - }, - "required": [ - "id", - "node_id", - "url", - "forks_url", - "commits_url", - "git_pull_url", - "git_push_url", - "html_url", - "comments_url", - "public", - "description", - "comments", - "user", - "files", - "created_at", - "updated_at" - ] - }, - "url": { - "type": "string" + } }, - "forks_url": { + "public": { + "type": "boolean" + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "type", + "actor", + "repo", + "payload", + "public", + "created_at" + ] + }, + "link-with-type": { + "title": "Link With Type", + "description": "Hypermedia Link with Type", + "type": "object", + "properties": { + "href": { "type": "string" }, - "commits_url": { + "type": { "type": "string" + } + }, + "required": [ + "href", + "type" + ] + }, + "feed": { + "title": "Feed", + "description": "Feed", + "type": "object", + "properties": { + "timeline_url": { + "type": "string", + "examples": [ + "https://github.com/timeline" + ] + }, + "user_url": { + "type": "string", + "examples": [ + "https://github.com/{user}" + ] + }, + "current_user_public_url": { + "type": "string", + "examples": [ + "https://github.com/octocat" + ] + }, + "current_user_url": { + "type": "string", + "examples": [ + "https://github.com/octocat.private?token=abc123" + ] + }, + "current_user_actor_url": { + "type": "string", + "examples": [ + "https://github.com/octocat.private.actor?token=abc123" + ] + }, + "current_user_organization_url": { + "type": "string", + "examples": [ + "https://github.com/octocat-org" + ] + }, + "current_user_organization_urls": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "examples": [ + "https://github.com/organizations/github/octocat.private.atom?token=abc123" + ] + }, + "security_advisories_url": { + "type": "string", + "examples": [ + "https://github.com/security-advisories" + ] + }, + "repository_discussions_url": { + "type": "string", + "description": "A feed of discussions for a given repository.", + "examples": [ + "https://github.com/{user}/{repo}/discussions" + ] + }, + "repository_discussions_category_url": { + "type": "string", + "description": "A feed of discussions for a given repository and category.", + "examples": [ + "https://github.com/{user}/{repo}/discussions/categories/{category}" + ] + }, + "_links": { + "type": "object", + "properties": { + "timeline": { + "$ref": "#/components/schemas/link-with-type" + }, + "user": { + "$ref": "#/components/schemas/link-with-type" + }, + "security_advisories": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user_public": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user_actor": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user_organization": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user_organizations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/link-with-type" + } + }, + "repository_discussions": { + "$ref": "#/components/schemas/link-with-type" + }, + "repository_discussions_category": { + "$ref": "#/components/schemas/link-with-type" + } + }, + "required": [ + "timeline", + "user" + ] + } + }, + "required": [ + "_links", + "timeline_url", + "user_url" + ] + }, + "base-gist": { + "title": "Base Gist", + "description": "Base Gist", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "forks_url": { + "type": "string", + "format": "uri" + }, + "commits_url": { + "type": "string", + "format": "uri" }, "id": { "type": "string" @@ -102318,21 +102098,21 @@ "type": "string" }, "git_pull_url": { - "type": "string" + "type": "string", + "format": "uri" }, "git_push_url": { - "type": "string" + "type": "string", + "format": "uri" }, "html_url": { - "type": "string" + "type": "string", + "format": "uri" }, "files": { "type": "object", "additionalProperties": { - "type": [ - "object", - "null" - ], + "type": "object", "properties": { "filename": { "type": "string" @@ -102349,12 +102129,6 @@ "size": { "type": "integer" }, - "truncated": { - "type": "boolean" - }, - "content": { - "type": "string" - }, "encoding": { "type": "string", "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.", @@ -102367,10 +102141,12 @@ "type": "boolean" }, "created_at": { - "type": "string" + "type": "string", + "format": "date-time" }, "updated_at": { - "type": "string" + "type": "string", + "format": "date-time" }, "description": { "type": [ @@ -102385,111 +102161,297 @@ "type": "boolean" }, "user": { - "type": [ - "string", - "null" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] }, "comments_url": { - "type": "string" + "type": "string", + "format": "uri" }, "owner": { "$ref": "#/components/schemas/simple-user" }, "truncated": { "type": "boolean" + }, + "forks": { + "type": "array", + "items": {} + }, + "history": { + "type": "array", + "items": {} } - } + }, + "required": [ + "id", + "node_id", + "url", + "forks_url", + "commits_url", + "git_pull_url", + "git_push_url", + "html_url", + "comments_url", + "public", + "description", + "comments", + "user", + "files", + "created_at", + "updated_at" + ] }, - "gist-comment": { - "title": "Gist Comment", - "description": "A comment made to a gist.", + "public-user": { + "title": "Public User", + "description": "Public User", "type": "object", "properties": { + "login": { + "type": "string" + }, "id": { "type": "integer", - "examples": [ - 1 - ] + "format": "int64" + }, + "user_view_type": { + "type": "string" }, "node_id": { + "type": "string" + }, + "avatar_url": { "type": "string", - "examples": [ - "MDExOkdpc3RDb21tZW50MQ==" + "format": "uri" + }, + "gravatar_id": { + "type": [ + "string", + "null" ] }, "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1" - ] + "format": "uri" }, - "body": { - "description": "The comment text.", + "html_url": { "type": "string", - "maxLength": 65535, - "examples": [ - "Body of the attachment" + "format": "uri" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "name": { + "type": [ + "string", + "null" ] }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "company": { + "type": [ + "string", + "null" + ] + }, + "blog": { + "type": [ + "string", + "null" + ] + }, + "location": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ], + "format": "email" + }, + "notification_email": { + "type": [ + "string", + "null" + ], + "format": "email" + }, + "hireable": { + "type": [ + "boolean", + "null" + ] + }, + "bio": { + "type": [ + "string", + "null" + ] + }, + "twitter_username": { + "type": [ + "string", + "null" ] }, + "public_repos": { + "type": "integer" + }, + "public_gists": { + "type": "integer" + }, + "followers": { + "type": "integer" + }, + "following": { + "type": "integer" + }, "created_at": { "type": "string", - "format": "date-time", - "examples": [ - "2011-04-18T23:23:56Z" - ] + "format": "date-time" }, "updated_at": { "type": "string", - "format": "date-time", + "format": "date-time" + }, + "plan": { + "type": "object", + "properties": { + "collaborators": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "space": { + "type": "integer" + }, + "private_repos": { + "type": "integer" + } + }, + "required": [ + "collaborators", + "name", + "space", + "private_repos" + ] + }, + "private_gists": { + "type": "integer", "examples": [ - "2011-04-18T23:23:56Z" + 1 ] }, - "author_association": { - "$ref": "#/components/schemas/author-association" + "total_private_repos": { + "type": "integer", + "examples": [ + 2 + ] + }, + "owned_private_repos": { + "type": "integer", + "examples": [ + 2 + ] + }, + "disk_usage": { + "type": "integer", + "examples": [ + 1 + ] + }, + "collaborators": { + "type": "integer", + "examples": [ + 3 + ] } }, "required": [ - "url", + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "user", - "body", - "author_association", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url", + "bio", + "blog", + "company", + "email", + "followers", + "following", + "hireable", + "location", + "name", + "public_gists", + "public_repos", "created_at", "updated_at" - ] + ], + "additionalProperties": false }, - "gist-commit": { - "title": "Gist Commit", - "description": "Gist Commit", + "gist-history": { + "title": "Gist History", + "description": "Gist History", "type": "object", "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f" - ] - }, - "version": { - "type": "string", - "examples": [ - "57a7f021a713b1c5a6a199b54cc514735d2d462f" - ] - }, "user": { "anyOf": [ { @@ -102500,6 +102462,13 @@ } ] }, + "version": { + "type": "string" + }, + "committed_at": { + "type": "string", + "format": "date-time" + }, "change_status": { "type": "object", "properties": { @@ -102514,7 +102483,409 @@ } } }, - "committed_at": { + "url": { + "type": "string", + "format": "uri" + } + } + }, + "gist-simple": { + "title": "Gist Simple", + "description": "Gist Simple", + "type": "object", + "properties": { + "forks": { + "deprecated": true, + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "user": { + "$ref": "#/components/schemas/public-user" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "history": { + "deprecated": true, + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/gist-history" + } + }, + "fork_of": { + "title": "Gist", + "description": "Gist", + "type": [ + "object", + "null" + ], + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "forks_url": { + "type": "string", + "format": "uri" + }, + "commits_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "git_pull_url": { + "type": "string", + "format": "uri" + }, + "git_push_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "files": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "type": { + "type": "string" + }, + "language": { + "type": "string" + }, + "raw_url": { + "type": "string" + }, + "size": { + "type": "integer" + } + } + } + }, + "public": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "comments_enabled": { + "type": "boolean" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "truncated": { + "type": "boolean" + }, + "forks": { + "type": "array", + "items": {} + }, + "history": { + "type": "array", + "items": {} + } + }, + "required": [ + "id", + "node_id", + "url", + "forks_url", + "commits_url", + "git_pull_url", + "git_push_url", + "html_url", + "comments_url", + "public", + "description", + "comments", + "user", + "files", + "created_at", + "updated_at" + ] + }, + "url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "id": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "git_pull_url": { + "type": "string" + }, + "git_push_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "files": { + "type": "object", + "additionalProperties": { + "type": [ + "object", + "null" + ], + "properties": { + "filename": { + "type": "string" + }, + "type": { + "type": "string" + }, + "language": { + "type": "string" + }, + "raw_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "truncated": { + "type": "boolean" + }, + "content": { + "type": "string" + }, + "encoding": { + "type": "string", + "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.", + "default": "utf-8" + } + } + } + }, + "public": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "comments_enabled": { + "type": "boolean" + }, + "user": { + "type": [ + "string", + "null" + ] + }, + "comments_url": { + "type": "string" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "truncated": { + "type": "boolean" + } + } + }, + "gist-comment": { + "title": "Gist Comment", + "description": "A comment made to a gist.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkdpc3RDb21tZW50MQ==" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1" + ] + }, + "body": { + "description": "The comment text.", + "type": "string", + "maxLength": 65535, + "examples": [ + "Body of the attachment" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-18T23:23:56Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-18T23:23:56Z" + ] + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + } + }, + "required": [ + "url", + "id", + "node_id", + "user", + "body", + "author_association", + "created_at", + "updated_at" + ] + }, + "gist-commit": { + "title": "Gist Commit", + "description": "Gist Commit", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f" + ] + }, + "version": { + "type": "string", + "examples": [ + "57a7f021a713b1c5a6a199b54cc514735d2d462f" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "change_status": { + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "additions": { + "type": "integer" + }, + "deletions": { + "type": "integer" + } + } + }, + "committed_at": { "type": "string", "format": "date-time", "examples": [ @@ -128303,155 +128674,25 @@ "Organization" ] }, - "ruleset_source": { - "type": "string", - "description": "The name of the source of the ruleset that includes this rule." - }, - "ruleset_id": { - "type": "integer", - "description": "The ID of the ruleset that includes this rule." - } - } - }, - "repository-rule-detailed": { - "title": "Repository Rule", - "type": "object", - "description": "A repository rule with ruleset details.", - "oneOf": [ - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-creation" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-update" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-deletion" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-linear-history" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-merge-queue" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-deployments" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-signatures" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-pull-request" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-status-checks" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-non-fast-forward" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-commit-message-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-committer-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + }, + "repository-rule-detailed": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule with ruleset details.", + "oneOf": [ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + "$ref": "#/components/schemas/repository-rule-creation" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128461,7 +128702,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-tag-name-pattern" + "$ref": "#/components/schemas/repository-rule-update" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128471,7 +128712,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-file-path-restriction" + "$ref": "#/components/schemas/repository-rule-deletion" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128481,7 +128722,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-max-file-path-length" + "$ref": "#/components/schemas/repository-rule-required-linear-history" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128491,7 +128732,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + "$ref": "#/components/schemas/repository-rule-merge-queue" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128501,7 +128742,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-max-file-size" + "$ref": "#/components/schemas/repository-rule-required-deployments" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128511,7 +128752,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-workflows" + "$ref": "#/components/schemas/repository-rule-required-signatures" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128521,499 +128762,322 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-code-scanning" + "$ref": "#/components/schemas/repository-rule-pull-request" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - } - ] - }, - "secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - } - } - }, - "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" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-non-fast-forward" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "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." + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "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." + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-tag-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-file-path-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-max-file-path-length" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-max-file-size" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-workflows" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-code-scanning" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] } - }, - "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.", + "secret-scanning-alert": { "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" + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } ] - } - }, - "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": { + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_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" + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] - } - }, - "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": { + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { "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": { + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { "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": { + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { "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" + "description": "The secret that was detected." + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] - } - }, - "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", + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." + }, + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], "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" + "description": "The URL to a push protection bypass request." + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "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" + } ] } - }, - "required": [ - "pull_request_review_comment_url" + } + }, + "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": { 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..00d4382a98 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 @@ -72881,286 +72881,566 @@ components: - revoked - used_in_tests - - organization-secret-scanning-alert: + 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: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: + path: type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - secret_type: + 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: The type of secret that secret scanning detected. - secret_type_display_name: + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: + description: The API URL to get the associated blob resource + commit_sha: type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this alert was closed - validity: + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert is base64 - encoded - actor: - title: Actor - description: Actor + 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: - id: - type: integer - login: + path: type: string - display_login: + 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 - gravatar_id: - type: - - string - - 'null' - url: + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: type: string - format: uri - avatar_url: + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: type: string - format: uri + 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: - - id - - login - - gravatar_id - - url - - avatar_url - milestone: - title: Milestone - description: A collection of related issues and pull requests. + - 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: - url: + 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/milestones/1 - html_url: + - 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://github.com/octocat/Hello-World/milestones/v1.0 - labels_url: + - 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/milestones/1/labels - id: - type: integer - examples: - - 1002604 - node_id: - type: string - examples: - - MDk6TWlsZXN0b25lMTAwMjYwNA== - number: - description: The number of the milestone. - type: integer + - 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: - - 42 - state: - description: The state of the milestone. + - 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 - enum: - - open - - closed - default: open + format: uri + description: The URL to the discussion where the secret was detected. examples: - - open - title: - description: The title of the milestone. + - 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: - - v1.0 - description: - type: - - string - - 'null' + - 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: - - Tracking milestone for version 1.0 - creator: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - open_issues: - type: integer + - 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: - - 4 - closed_issues: - type: integer + - 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: - - 8 - created_at: + - 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: date-time + format: uri + description: The API URL to get the pull request review where the secret + was detected. examples: - - '2011-04-10T20:09:31Z' - updated_at: + - 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: date-time + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. examples: - - '2014-03-03T18:58:10Z' - closed_at: + - 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: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: type: - string - 'null' format: date-time - examples: - - '2013-02-12T13:22:01Z' - due_on: + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypassed_at: type: - string - 'null' format: date-time - examples: - - '2012-10-09T23:39:01Z' - required: - - closed_issues - - creator - - description - - due_on - - closed_at - - id - - node_id - - labels_url - - html_url - - number - - open_issues - - state - - title - - url - - created_at - - updated_at - issue-type: - title: Issue Type - description: The type of issue. - type: - - object - - 'null' - properties: - id: - type: integer - description: The unique identifier of the issue type. - node_id: - type: string - description: The node identifier of the issue type. - name: - type: string - description: The name of the issue type. - description: + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypass_request_reviewer_comment: type: - string - 'null' - description: The description of the issue type. - color: + description: An optional comment when reviewing a push protection bypass. + push_protection_bypass_request_comment: type: - string - 'null' - description: The color of the issue type. - enum: - - gray - - blue - - green - - yellow - - orange - - red - - pink - - purple - - + description: An optional comment when requesting a push protection bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + actor: + title: Actor + description: Actor + type: object + properties: + id: + type: integer + login: + type: string + display_login: + type: string + gravatar_id: + type: + - string + - 'null' + url: + type: string + format: uri + avatar_url: + type: string + format: uri + required: + - id + - login + - gravatar_id + - url + - avatar_url + milestone: + title: Milestone + description: A collection of related issues and pull requests. + type: object + properties: + url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/milestones/1 + html_url: + type: string + format: uri + examples: + - https://github.com/octocat/Hello-World/milestones/v1.0 + labels_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/milestones/1/labels + id: + type: integer + examples: + - 1002604 + node_id: + type: string + examples: + - MDk6TWlsZXN0b25lMTAwMjYwNA== + number: + description: The number of the milestone. + type: integer + examples: + - 42 + state: + description: The state of the milestone. + type: string + enum: + - open + - closed + default: open + examples: + - open + title: + description: The title of the milestone. + type: string + examples: + - v1.0 + description: + type: + - string + - 'null' + examples: + - Tracking milestone for version 1.0 + creator: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + open_issues: + type: integer + examples: + - 4 + closed_issues: + type: integer + examples: + - 8 + created_at: + type: string + format: date-time + examples: + - '2011-04-10T20:09:31Z' + updated_at: + type: string + format: date-time + examples: + - '2014-03-03T18:58:10Z' + closed_at: + type: + - string + - 'null' + format: date-time + examples: + - '2013-02-12T13:22:01Z' + due_on: + type: + - string + - 'null' + format: date-time + examples: + - '2012-10-09T23:39:01Z' + required: + - closed_issues + - creator + - description + - due_on + - closed_at + - id + - node_id + - labels_url + - html_url + - number + - open_issues + - state + - title + - url + - created_at + - updated_at + issue-type: + title: Issue Type + description: The type of issue. + type: + - object + - 'null' + properties: + id: + type: integer + description: The unique identifier of the issue type. + node_id: + type: string + description: The node identifier of the issue type. + name: + type: string + description: The name of the issue type. + description: + type: + - string + - 'null' + description: The description of the issue type. + color: + type: + - string + - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - created_at: type: string description: The time the issue type created. @@ -93267,269 +93547,16 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: - string - 'null' - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 4fffde0207..8e81613c10 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -100539,598 +100539,412 @@ null ] }, - "organization-secret-scanning-alert": { + "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": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { + "path": { "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" }, - "secret_type": { + "blob_sha": { "type": "string", - "description": "The type of secret that secret scanning detected." + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] }, - "secret_type_display_name": { + "blob_url": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "The API URL to get the associated blob resource" }, - "secret": { + "commit_sha": { "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" ] }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "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" ] }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." + "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." }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" + "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." }, - "validity": { + "blob_sha": { "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" ] }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - } - } - }, - "actor": { - "title": "Actor", - "description": "Actor", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "display_login": { - "type": "string" - }, - "gravatar_id": { - "type": [ - "string", - "null" + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" ] }, - "url": { + "commit_sha": { "type": "string", - "format": "uri" + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] }, - "avatar_url": { + "commit_url": { "type": "string", - "format": "uri" + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] } }, "required": [ - "id", - "login", - "gravatar_id", - "url", - "avatar_url" - ] + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", + "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": { - "url": { + "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/milestones/1" + "https://api.github.com/repos/octocat/Hello-World/issues/1347" ] - }, - "html_url": { + } + }, + "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://github.com/octocat/Hello-World/milestones/v1.0" + "https://api.github.com/repos/octocat/Hello-World/issues/1347" ] - }, - "labels_url": { + } + }, + "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/milestones/1/labels" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" ] - }, - "node_id": { + } + }, + "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": [ - "MDk6TWlsZXN0b25lMTAwMjYwNA==" - ] - }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [ - 42 + "https://github.com/community/community/discussions/39082" ] - }, - "state": { - "description": "The state of the milestone.", + } + }, + "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", - "enum": [ - "open", - "closed" - ], - "default": "open", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", "examples": [ - "open" + "https://github.com/community/community/discussions/39082#discussion-4566270" ] - }, - "title": { - "description": "The title of the milestone.", + } + }, + "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": [ - "v1.0" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "Tracking milestone for version 1.0" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "open_issues": { - "type": "integer", - "examples": [ - 4 - ] - }, - "closed_issues": { - "type": "integer", - "examples": [ - 8 + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" ] - }, - "created_at": { + } + }, + "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": "date-time", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", "examples": [ - "2011-04-10T20:09:31Z" + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" ] - }, - "updated_at": { + } + }, + "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": "date-time", - "examples": [ - "2014-03-03T18:58:10Z" - ] - }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", "examples": [ - "2013-02-12T13:22:01Z" + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" ] - }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time", + } + }, + "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": [ - "2012-10-09T23:39:01Z" + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" ] } }, "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" + "pull_request_comment_url" ] }, - "issue-type": { - "title": "Issue Type", - "description": "The type of issue.", - "type": [ - "object", - "null" - ], + "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": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." - }, - "node_id": { + "pull_request_review_url": { "type": "string", - "description": "The node identifier of the issue type." - }, - "name": { - "type": "string", - "description": "The name of the issue type." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The description of the issue type." - }, - "color": { - "type": [ - "string", - "null" - ], - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null + "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" ] - }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" - }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." } }, "required": [ - "id", - "node_id", - "name", - "description" - ] - }, - "author-association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" + "pull_request_review_url" ] }, - "reaction-rollup": { - "title": "Reaction Rollup", + "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": { - "url": { + "pull_request_review_comment_url": { "type": "string", - "format": "uri" + "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" }, - "total_count": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" }, - "+1": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" }, - "-1": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" }, - "laugh": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" }, - "confused": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" }, - "heart": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" }, - "hooray": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" }, - "eyes": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "sub-issues-summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" }, - "completed": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" }, - "percent_completed": { - "type": "integer" + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" } - }, - "required": [ - "total", - "completed", - "percent_completed" ] }, - "issue": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "organization-secret-scanning-alert": { "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int64" + "number": { + "$ref": "#/components/schemas/alert-number" }, - "node_id": { - "type": "string" + "created_at": { + "$ref": "#/components/schemas/alert-created-at" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/1" + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } ] }, - "repository_url": { - "type": "string", - "format": "uri" - }, - "labels_url": { - "type": "string" - }, - "comments_url": { - "type": "string", - "format": "uri" - }, - "events_url": { - "type": "string", - "format": "uri" + "url": { + "$ref": "#/components/schemas/alert-url" }, "html_url": { - "type": "string", - "format": "uri" - }, - "number": { - "description": "Number uniquely identifying the issue within its repository", - "type": "integer", - "examples": [ - 42 - ] + "$ref": "#/components/schemas/alert-html-url" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", + "locations_url": { "type": "string", - "examples": [ - "open" - ] + "format": "uri", + "description": "The REST API URL of the code locations for this alert." }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - null - ], - "examples": [ - "not_planned" - ] + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": [ - "Widget creation fails in Safari on OS X 10.8" - ] + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" }, - "body": { - "description": "Contents of the issue", + "resolved_at": { "type": [ "string", "null" ], - "examples": [ - "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" - ] + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "user": { + "resolved_by": { "anyOf": [ { "type": "null" @@ -101140,56 +100954,29 @@ } ] }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "color": { - "type": [ - "string", - "null" - ] - }, - "default": { - "type": "boolean" - } - } - } - ] - }, - "examples": [ - "bug", - "registration" - ] + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." }, - "assignee": { + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { "anyOf": [ { "type": "null" @@ -101199,213 +100986,206 @@ } ] }, - "assignees": { + "push_protection_bypassed_at": { "type": [ - "array", + "string", "null" ], - "items": { - "$ref": "#/components/schemas/simple-user" - } + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "milestone": { + "push_protection_bypass_request_reviewer": { "anyOf": [ { "type": "null" }, { - "$ref": "#/components/schemas/milestone" + "$ref": "#/components/schemas/simple-user" } ] }, - "locked": { - "type": "boolean" - }, - "active_lock_reason": { + "push_protection_bypass_request_reviewer_comment": { "type": [ "string", "null" - ] + ], + "description": "An optional comment when reviewing a push protection bypass." }, - "comments": { - "type": "integer" + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "diff_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "html_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "patch_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri" - } - }, - "required": [ - "diff_url", - "html_url", - "patch_url", - "url" - ] + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." }, - "closed_at": { + "resolution_comment": { "type": [ "string", "null" ], - "format": "date-time" + "description": "The comment that was optionally added when this alert was closed" }, - "created_at": { + "validity": { "type": "string", - "format": "date-time" + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] }, - "updated_at": { - "type": "string", - "format": "date-time" + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." }, - "draft": { - "type": "boolean" + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." }, - "closed_by": { + "is_base64_encoded": { + "type": [ + "boolean", + "null" + ], + "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { "anyOf": [ { "type": "null" }, { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/secret-scanning-first-detected-location" } ] + } + } + }, + "actor": { + "title": "Actor", + "description": "Actor", + "type": "object", + "properties": { + "id": { + "type": "integer" }, - "body_html": { + "login": { "type": "string" }, - "body_text": { + "display_login": { "type": "string" }, - "timeline_url": { - "type": "string", - "format": "uri" - }, - "type": { - "$ref": "#/components/schemas/issue-type" - }, - "repository": { - "$ref": "#/components/schemas/repository" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/integration" - } + "gravatar_id": { + "type": [ + "string", + "null" ] }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "reactions": { - "$ref": "#/components/schemas/reaction-rollup" + "url": { + "type": "string", + "format": "uri" }, - "sub_issues_summary": { - "$ref": "#/components/schemas/sub-issues-summary" + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ - "assignee", - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", + "login", + "gravatar_id", "url", - "user", - "author_association", - "created_at", - "updated_at" + "avatar_url" ] }, - "issue-comment": { - "title": "Issue Comment", - "description": "Comments provide a way for people to collaborate on an issue.", + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", "type": "object", "properties": { - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "format": "int64", + "url": { + "type": "string", + "format": "uri", "examples": [ - 42 + "https://api.github.com/repos/octocat/Hello-World/milestones/1" ] }, - "node_id": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] }, - "url": { - "description": "URL for the issue comment", + "labels_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" ] }, - "body": { - "description": "Contents of the issue comment", + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { "type": "string", "examples": [ - "What version of Safari were you using when you observed this bug?" + "MDk6TWlsZXN0b25lMTAwMjYwNA==" ] }, - "body_text": { - "type": "string" + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] }, - "body_html": { - "type": "string" + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] }, - "html_url": { + "title": { + "description": "The title of the milestone.", "type": "string", - "format": "uri" + "examples": [ + "v1.0" + ] }, - "user": { + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { "anyOf": [ { "type": "null" @@ -101415,359 +101195,464 @@ } ] }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, "created_at": { "type": "string", "format": "date-time", "examples": [ - "2011-04-14T16:00:49Z" + "2011-04-10T20:09:31Z" ] }, "updated_at": { "type": "string", "format": "date-time", "examples": [ - "2011-04-14T16:00:49Z" + "2014-03-03T18:58:10Z" ] }, - "issue_url": { - "type": "string", - "format": "uri" - }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/integration" - } + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" ] }, - "reactions": { - "$ref": "#/components/schemas/reaction-rollup" + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] } }, "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", "id", "node_id", + "labels_url", "html_url", - "issue_url", - "author_association", - "user", + "number", + "open_issues", + "state", + "title", "url", "created_at", "updated_at" ] }, - "event": { - "title": "Event", - "description": "Event", - "type": "object", + "issue-type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], "properties": { "id": { - "type": "string" + "type": "integer", + "description": "The unique identifier of the issue type." }, - "type": { + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { "type": [ "string", "null" - ] - }, - "actor": { - "$ref": "#/components/schemas/actor" - }, - "repo": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "name", - "url" - ] - }, - "org": { - "$ref": "#/components/schemas/actor" - }, - "payload": { - "type": "object", - "properties": { - "action": { - "type": "string" - }, - "issue": { - "$ref": "#/components/schemas/issue" - }, - "comment": { - "$ref": "#/components/schemas/issue-comment" - }, - "pages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "page_name": { - "type": "string" - }, - "title": { - "type": "string" - }, - "summary": { - "type": [ - "string", - "null" - ] - }, - "action": { - "type": "string" - }, - "sha": { - "type": "string" - }, - "html_url": { - "type": "string" - } - } - } - } - } - }, - "public": { - "type": "boolean" + ], + "description": "The description of the issue type." }, - "created_at": { + "color": { "type": [ "string", "null" ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", "format": "date-time" - } + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } }, "required": [ "id", - "type", - "actor", - "repo", - "payload", - "public", - "created_at" + "node_id", + "name", + "description" ] }, - "link-with-type": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", + "author-association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reaction-rollup": { + "title": "Reaction Rollup", "type": "object", "properties": { - "href": { - "type": "string" + "url": { + "type": "string", + "format": "uri" }, - "type": { - "type": "string" + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" } }, "required": [ - "href", - "type" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "feed": { - "title": "Feed", - "description": "Feed", + "sub-issues-summary": { + "title": "Sub-issues Summary", "type": "object", "properties": { - "timeline_url": { - "type": "string", - "examples": [ - "https://github.com/timeline" - ] + "total": { + "type": "integer" }, - "user_url": { + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "issue": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", "type": "string", + "format": "uri", "examples": [ - "https://github.com/{user}" + "https://api.github.com/repositories/42/issues/1" ] }, - "current_user_public_url": { + "repository_url": { "type": "string", - "examples": [ - "https://github.com/octocat" - ] + "format": "uri" }, - "current_user_url": { + "labels_url": { + "type": "string" + }, + "comments_url": { "type": "string", - "examples": [ - "https://github.com/octocat.private?token=abc123" - ] + "format": "uri" }, - "current_user_actor_url": { + "events_url": { "type": "string", - "examples": [ - "https://github.com/octocat.private.actor?token=abc123" - ] + "format": "uri" }, - "current_user_organization_url": { + "html_url": { "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", "examples": [ - "https://github.com/octocat-org" + 42 ] }, - "current_user_organization_urls": { - "type": "array", - "items": { - "type": "string", - "format": "uri" - }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", "examples": [ - "https://github.com/organizations/github/octocat.private.atom?token=abc123" + "open" ] }, - "security_advisories_url": { - "type": "string", + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], "examples": [ - "https://github.com/security-advisories" + "not_planned" ] }, - "repository_discussions_url": { + "title": { + "description": "Title of the issue", "type": "string", - "description": "A feed of discussions for a given repository.", "examples": [ - "https://github.com/{user}/{repo}/discussions" + "Widget creation fails in Safari on OS X 10.8" ] }, - "repository_discussions_category_url": { - "type": "string", - "description": "A feed of discussions for a given repository and category.", + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], "examples": [ - "https://github.com/{user}/{repo}/discussions/categories/{category}" + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" ] }, - "_links": { - "type": "object", - "properties": { - "timeline": { - "$ref": "#/components/schemas/link-with-type" - }, - "user": { - "$ref": "#/components/schemas/link-with-type" - }, - "security_advisories": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_public": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_actor": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organization": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/link-with-type" - } - }, - "repository_discussions": { - "$ref": "#/components/schemas/link-with-type" + "user": { + "anyOf": [ + { + "type": "null" }, - "repository_discussions_category": { - "$ref": "#/components/schemas/link-with-type" + { + "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "timeline", - "user" ] - } - }, - "required": [ - "_links", - "timeline_url", - "user_url" - ] - }, - "base-gist": { - "title": "Base Gist", - "description": "Base Gist", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri" }, - "forks_url": { - "type": "string", - "format": "uri" + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] }, - "commits_url": { - "type": "string", - "format": "uri" + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] }, - "id": { - "type": "string" + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/simple-user" + } }, - "node_id": { - "type": "string" + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/milestone" + } + ] }, - "git_pull_url": { - "type": "string", - "format": "uri" + "locked": { + "type": "boolean" }, - "git_push_url": { - "type": "string", - "format": "uri" + "active_lock_reason": { + "type": [ + "string", + "null" + ] }, - "html_url": { - "type": "string", - "format": "uri" + "comments": { + "type": "integer" }, - "files": { + "pull_request": { "type": "object", - "additionalProperties": { - "type": "object", - "properties": { - "filename": { - "type": "string" - }, - "type": { - "type": "string" - }, - "language": { - "type": "string" - }, - "raw_url": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "encoding": { - "type": "string", - "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.", - "default": "utf-8" - } + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" } - } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] }, - "public": { - "type": "boolean" + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" }, "created_at": { "type": "string", @@ -101777,19 +101662,10 @@ "type": "string", "format": "date-time" }, - "description": { - "type": [ - "string", - "null" - ] - }, - "comments": { - "type": "integer" - }, - "comments_enabled": { + "draft": { "type": "boolean" }, - "user": { + "closed_by": { "anyOf": [ { "type": "null" @@ -101799,517 +101675,421 @@ } ] }, - "comments_url": { + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { "type": "string", "format": "uri" }, - "owner": { - "$ref": "#/components/schemas/simple-user" + "type": { + "$ref": "#/components/schemas/issue-type" }, - "truncated": { - "type": "boolean" + "repository": { + "$ref": "#/components/schemas/repository" }, - "forks": { - "type": "array", - "items": {} + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/integration" + } + ] }, - "history": { - "type": "array", - "items": {} + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", "id", "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", "url", - "forks_url", - "commits_url", - "git_pull_url", - "git_push_url", - "html_url", - "comments_url", - "public", - "description", - "comments", "user", - "files", + "author_association", "created_at", "updated_at" ] }, - "public-user": { - "title": "Public User", - "description": "Public User", + "issue-comment": { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", "type": "object", "properties": { - "login": { - "type": "string" - }, "id": { + "description": "Unique identifier of the issue comment", "type": "integer", - "format": "int64" - }, - "user_view_type": { - "type": "string" + "format": "int64", + "examples": [ + 42 + ] }, "node_id": { "type": "string" }, - "avatar_url": { - "type": "string", - "format": "uri" - }, - "gravatar_id": { - "type": [ - "string", - "null" - ] - }, "url": { + "description": "URL for the issue comment", "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] }, - "followers_url": { + "body": { + "description": "Contents of the issue comment", "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string" - }, - "gists_url": { - "type": "string" + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] }, - "starred_url": { + "body_text": { "type": "string" }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "events_url": { + "body_html": { "type": "string" }, - "received_events_url": { + "html_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string" - }, - "site_admin": { - "type": "boolean" - }, - "name": { - "type": [ - "string", - "null" - ] - }, - "company": { - "type": [ - "string", - "null" + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] }, - "blog": { - "type": [ - "string", - "null" + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" ] }, - "location": { - "type": [ - "string", - "null" + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" ] }, - "email": { - "type": [ - "string", - "null" - ], - "format": "email" + "issue_url": { + "type": "string", + "format": "uri" }, - "notification_email": { - "type": [ - "string", - "null" - ], - "format": "email" + "author_association": { + "$ref": "#/components/schemas/author-association" }, - "hireable": { - "type": [ - "boolean", - "null" + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/integration" + } ] }, - "bio": { - "type": [ - "string", - "null" - ] + "reactions": { + "$ref": "#/components/schemas/reaction-rollup" + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "author_association", + "user", + "url", + "created_at", + "updated_at" + ] + }, + "event": { + "title": "Event", + "description": "Event", + "type": "object", + "properties": { + "id": { + "type": "string" }, - "twitter_username": { + "type": { "type": [ "string", "null" ] }, - "public_repos": { - "type": "integer" - }, - "public_gists": { - "type": "integer" - }, - "followers": { - "type": "integer" - }, - "following": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" + "actor": { + "$ref": "#/components/schemas/actor" }, - "plan": { + "repo": { "type": "object", "properties": { - "collaborators": { + "id": { "type": "integer" }, "name": { "type": "string" }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" + "url": { + "type": "string", + "format": "uri" } }, "required": [ - "collaborators", + "id", "name", - "space", - "private_repos" - ] - }, - "private_gists": { - "type": "integer", - "examples": [ - 1 - ] - }, - "total_private_repos": { - "type": "integer", - "examples": [ - 2 - ] - }, - "owned_private_repos": { - "type": "integer", - "examples": [ - 2 + "url" ] }, - "disk_usage": { - "type": "integer", - "examples": [ - 1 - ] + "org": { + "$ref": "#/components/schemas/actor" }, - "collaborators": { - "type": "integer", - "examples": [ - 3 - ] - } - }, - "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", - "bio", - "blog", - "company", - "email", - "followers", - "following", - "hireable", - "location", - "name", - "public_gists", - "public_repos", - "created_at", - "updated_at" - ], - "additionalProperties": false - }, - "gist-history": { - "title": "Gist History", - "description": "Gist History", - "type": "object", - "properties": { - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "version": { - "type": "string" - }, - "committed_at": { - "type": "string", - "format": "date-time" - }, - "change_status": { + "payload": { "type": "object", "properties": { - "total": { - "type": "integer" - }, - "additions": { - "type": "integer" - }, - "deletions": { - "type": "integer" - } - } - }, - "url": { - "type": "string", - "format": "uri" - } - } - }, - "gist-simple": { - "title": "Gist Simple", - "description": "Gist Simple", - "type": "object", - "properties": { - "forks": { - "deprecated": true, - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "user": { - "$ref": "#/components/schemas/public-user" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - } - } - } - }, - "history": { - "deprecated": true, - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/gist-history" - } - }, - "fork_of": { - "title": "Gist", - "description": "Gist", - "type": [ - "object", - "null" - ], - "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "forks_url": { - "type": "string", - "format": "uri" - }, - "commits_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "string" - }, - "node_id": { + "action": { "type": "string" }, - "git_pull_url": { - "type": "string", - "format": "uri" - }, - "git_push_url": { - "type": "string", - "format": "uri" + "issue": { + "$ref": "#/components/schemas/issue" }, - "html_url": { - "type": "string", - "format": "uri" + "comment": { + "$ref": "#/components/schemas/issue-comment" }, - "files": { - "type": "object", - "additionalProperties": { + "pages": { + "type": "array", + "items": { "type": "object", "properties": { - "filename": { + "page_name": { "type": "string" }, - "type": { + "title": { "type": "string" }, - "language": { + "summary": { + "type": [ + "string", + "null" + ] + }, + "action": { "type": "string" }, - "raw_url": { + "sha": { "type": "string" }, - "size": { - "type": "integer" + "html_url": { + "type": "string" } } } - }, - "public": { - "type": "boolean" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "comments": { - "type": "integer" - }, - "comments_enabled": { - "type": "boolean" - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "comments_url": { - "type": "string", - "format": "uri" - }, - "owner": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "truncated": { - "type": "boolean" - }, - "forks": { - "type": "array", - "items": {} - }, - "history": { - "type": "array", - "items": {} } - }, - "required": [ - "id", - "node_id", - "url", - "forks_url", - "commits_url", - "git_pull_url", - "git_push_url", - "html_url", - "comments_url", - "public", - "description", - "comments", - "user", - "files", - "created_at", - "updated_at" - ] - }, - "url": { - "type": "string" + } }, - "forks_url": { + "public": { + "type": "boolean" + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "type", + "actor", + "repo", + "payload", + "public", + "created_at" + ] + }, + "link-with-type": { + "title": "Link With Type", + "description": "Hypermedia Link with Type", + "type": "object", + "properties": { + "href": { "type": "string" }, - "commits_url": { + "type": { "type": "string" + } + }, + "required": [ + "href", + "type" + ] + }, + "feed": { + "title": "Feed", + "description": "Feed", + "type": "object", + "properties": { + "timeline_url": { + "type": "string", + "examples": [ + "https://github.com/timeline" + ] + }, + "user_url": { + "type": "string", + "examples": [ + "https://github.com/{user}" + ] + }, + "current_user_public_url": { + "type": "string", + "examples": [ + "https://github.com/octocat" + ] + }, + "current_user_url": { + "type": "string", + "examples": [ + "https://github.com/octocat.private?token=abc123" + ] + }, + "current_user_actor_url": { + "type": "string", + "examples": [ + "https://github.com/octocat.private.actor?token=abc123" + ] + }, + "current_user_organization_url": { + "type": "string", + "examples": [ + "https://github.com/octocat-org" + ] + }, + "current_user_organization_urls": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "examples": [ + "https://github.com/organizations/github/octocat.private.atom?token=abc123" + ] + }, + "security_advisories_url": { + "type": "string", + "examples": [ + "https://github.com/security-advisories" + ] + }, + "repository_discussions_url": { + "type": "string", + "description": "A feed of discussions for a given repository.", + "examples": [ + "https://github.com/{user}/{repo}/discussions" + ] + }, + "repository_discussions_category_url": { + "type": "string", + "description": "A feed of discussions for a given repository and category.", + "examples": [ + "https://github.com/{user}/{repo}/discussions/categories/{category}" + ] + }, + "_links": { + "type": "object", + "properties": { + "timeline": { + "$ref": "#/components/schemas/link-with-type" + }, + "user": { + "$ref": "#/components/schemas/link-with-type" + }, + "security_advisories": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user_public": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user_actor": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user_organization": { + "$ref": "#/components/schemas/link-with-type" + }, + "current_user_organizations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/link-with-type" + } + }, + "repository_discussions": { + "$ref": "#/components/schemas/link-with-type" + }, + "repository_discussions_category": { + "$ref": "#/components/schemas/link-with-type" + } + }, + "required": [ + "timeline", + "user" + ] + } + }, + "required": [ + "_links", + "timeline_url", + "user_url" + ] + }, + "base-gist": { + "title": "Base Gist", + "description": "Base Gist", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "forks_url": { + "type": "string", + "format": "uri" + }, + "commits_url": { + "type": "string", + "format": "uri" }, "id": { "type": "string" @@ -102318,21 +102098,21 @@ "type": "string" }, "git_pull_url": { - "type": "string" + "type": "string", + "format": "uri" }, "git_push_url": { - "type": "string" + "type": "string", + "format": "uri" }, "html_url": { - "type": "string" + "type": "string", + "format": "uri" }, "files": { "type": "object", "additionalProperties": { - "type": [ - "object", - "null" - ], + "type": "object", "properties": { "filename": { "type": "string" @@ -102349,12 +102129,6 @@ "size": { "type": "integer" }, - "truncated": { - "type": "boolean" - }, - "content": { - "type": "string" - }, "encoding": { "type": "string", "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.", @@ -102367,10 +102141,12 @@ "type": "boolean" }, "created_at": { - "type": "string" + "type": "string", + "format": "date-time" }, "updated_at": { - "type": "string" + "type": "string", + "format": "date-time" }, "description": { "type": [ @@ -102385,111 +102161,297 @@ "type": "boolean" }, "user": { - "type": [ - "string", - "null" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] }, "comments_url": { - "type": "string" + "type": "string", + "format": "uri" }, "owner": { "$ref": "#/components/schemas/simple-user" }, "truncated": { "type": "boolean" + }, + "forks": { + "type": "array", + "items": {} + }, + "history": { + "type": "array", + "items": {} } - } + }, + "required": [ + "id", + "node_id", + "url", + "forks_url", + "commits_url", + "git_pull_url", + "git_push_url", + "html_url", + "comments_url", + "public", + "description", + "comments", + "user", + "files", + "created_at", + "updated_at" + ] }, - "gist-comment": { - "title": "Gist Comment", - "description": "A comment made to a gist.", + "public-user": { + "title": "Public User", + "description": "Public User", "type": "object", "properties": { + "login": { + "type": "string" + }, "id": { "type": "integer", - "examples": [ - 1 - ] + "format": "int64" + }, + "user_view_type": { + "type": "string" }, "node_id": { + "type": "string" + }, + "avatar_url": { "type": "string", - "examples": [ - "MDExOkdpc3RDb21tZW50MQ==" + "format": "uri" + }, + "gravatar_id": { + "type": [ + "string", + "null" ] }, "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1" - ] + "format": "uri" }, - "body": { - "description": "The comment text.", + "html_url": { "type": "string", - "maxLength": 65535, - "examples": [ - "Body of the attachment" + "format": "uri" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "name": { + "type": [ + "string", + "null" ] }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "company": { + "type": [ + "string", + "null" + ] + }, + "blog": { + "type": [ + "string", + "null" + ] + }, + "location": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ], + "format": "email" + }, + "notification_email": { + "type": [ + "string", + "null" + ], + "format": "email" + }, + "hireable": { + "type": [ + "boolean", + "null" + ] + }, + "bio": { + "type": [ + "string", + "null" + ] + }, + "twitter_username": { + "type": [ + "string", + "null" ] }, + "public_repos": { + "type": "integer" + }, + "public_gists": { + "type": "integer" + }, + "followers": { + "type": "integer" + }, + "following": { + "type": "integer" + }, "created_at": { "type": "string", - "format": "date-time", - "examples": [ - "2011-04-18T23:23:56Z" - ] + "format": "date-time" }, "updated_at": { "type": "string", - "format": "date-time", + "format": "date-time" + }, + "plan": { + "type": "object", + "properties": { + "collaborators": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "space": { + "type": "integer" + }, + "private_repos": { + "type": "integer" + } + }, + "required": [ + "collaborators", + "name", + "space", + "private_repos" + ] + }, + "private_gists": { + "type": "integer", "examples": [ - "2011-04-18T23:23:56Z" + 1 ] }, - "author_association": { - "$ref": "#/components/schemas/author-association" + "total_private_repos": { + "type": "integer", + "examples": [ + 2 + ] + }, + "owned_private_repos": { + "type": "integer", + "examples": [ + 2 + ] + }, + "disk_usage": { + "type": "integer", + "examples": [ + 1 + ] + }, + "collaborators": { + "type": "integer", + "examples": [ + 3 + ] } }, "required": [ - "url", + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "user", - "body", - "author_association", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url", + "bio", + "blog", + "company", + "email", + "followers", + "following", + "hireable", + "location", + "name", + "public_gists", + "public_repos", "created_at", "updated_at" - ] + ], + "additionalProperties": false }, - "gist-commit": { - "title": "Gist Commit", - "description": "Gist Commit", + "gist-history": { + "title": "Gist History", + "description": "Gist History", "type": "object", "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f" - ] - }, - "version": { - "type": "string", - "examples": [ - "57a7f021a713b1c5a6a199b54cc514735d2d462f" - ] - }, "user": { "anyOf": [ { @@ -102500,6 +102462,13 @@ } ] }, + "version": { + "type": "string" + }, + "committed_at": { + "type": "string", + "format": "date-time" + }, "change_status": { "type": "object", "properties": { @@ -102514,7 +102483,409 @@ } } }, - "committed_at": { + "url": { + "type": "string", + "format": "uri" + } + } + }, + "gist-simple": { + "title": "Gist Simple", + "description": "Gist Simple", + "type": "object", + "properties": { + "forks": { + "deprecated": true, + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "user": { + "$ref": "#/components/schemas/public-user" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + } + }, + "history": { + "deprecated": true, + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/gist-history" + } + }, + "fork_of": { + "title": "Gist", + "description": "Gist", + "type": [ + "object", + "null" + ], + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "forks_url": { + "type": "string", + "format": "uri" + }, + "commits_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "git_pull_url": { + "type": "string", + "format": "uri" + }, + "git_push_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "files": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "type": { + "type": "string" + }, + "language": { + "type": "string" + }, + "raw_url": { + "type": "string" + }, + "size": { + "type": "integer" + } + } + } + }, + "public": { + "type": "boolean" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "comments_enabled": { + "type": "boolean" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "truncated": { + "type": "boolean" + }, + "forks": { + "type": "array", + "items": {} + }, + "history": { + "type": "array", + "items": {} + } + }, + "required": [ + "id", + "node_id", + "url", + "forks_url", + "commits_url", + "git_pull_url", + "git_push_url", + "html_url", + "comments_url", + "public", + "description", + "comments", + "user", + "files", + "created_at", + "updated_at" + ] + }, + "url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "id": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "git_pull_url": { + "type": "string" + }, + "git_push_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "files": { + "type": "object", + "additionalProperties": { + "type": [ + "object", + "null" + ], + "properties": { + "filename": { + "type": "string" + }, + "type": { + "type": "string" + }, + "language": { + "type": "string" + }, + "raw_url": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "truncated": { + "type": "boolean" + }, + "content": { + "type": "string" + }, + "encoding": { + "type": "string", + "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.", + "default": "utf-8" + } + } + } + }, + "public": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "comments_enabled": { + "type": "boolean" + }, + "user": { + "type": [ + "string", + "null" + ] + }, + "comments_url": { + "type": "string" + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "truncated": { + "type": "boolean" + } + } + }, + "gist-comment": { + "title": "Gist Comment", + "description": "A comment made to a gist.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkdpc3RDb21tZW50MQ==" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1" + ] + }, + "body": { + "description": "The comment text.", + "type": "string", + "maxLength": 65535, + "examples": [ + "Body of the attachment" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-18T23:23:56Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-18T23:23:56Z" + ] + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + } + }, + "required": [ + "url", + "id", + "node_id", + "user", + "body", + "author_association", + "created_at", + "updated_at" + ] + }, + "gist-commit": { + "title": "Gist Commit", + "description": "Gist Commit", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f" + ] + }, + "version": { + "type": "string", + "examples": [ + "57a7f021a713b1c5a6a199b54cc514735d2d462f" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "change_status": { + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "additions": { + "type": "integer" + }, + "deletions": { + "type": "integer" + } + } + }, + "committed_at": { "type": "string", "format": "date-time", "examples": [ @@ -128303,155 +128674,25 @@ "Organization" ] }, - "ruleset_source": { - "type": "string", - "description": "The name of the source of the ruleset that includes this rule." - }, - "ruleset_id": { - "type": "integer", - "description": "The ID of the ruleset that includes this rule." - } - } - }, - "repository-rule-detailed": { - "title": "Repository Rule", - "type": "object", - "description": "A repository rule with ruleset details.", - "oneOf": [ - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-creation" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-update" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-deletion" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-linear-history" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-merge-queue" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-deployments" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-signatures" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-pull-request" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-status-checks" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-non-fast-forward" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-commit-message-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-committer-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + }, + "repository-rule-detailed": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule with ruleset details.", + "oneOf": [ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + "$ref": "#/components/schemas/repository-rule-creation" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128461,7 +128702,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-tag-name-pattern" + "$ref": "#/components/schemas/repository-rule-update" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128471,7 +128712,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-file-path-restriction" + "$ref": "#/components/schemas/repository-rule-deletion" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128481,7 +128722,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-max-file-path-length" + "$ref": "#/components/schemas/repository-rule-required-linear-history" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128491,7 +128732,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + "$ref": "#/components/schemas/repository-rule-merge-queue" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128501,7 +128742,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-max-file-size" + "$ref": "#/components/schemas/repository-rule-required-deployments" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128511,7 +128752,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-workflows" + "$ref": "#/components/schemas/repository-rule-required-signatures" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -128521,499 +128762,322 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-code-scanning" + "$ref": "#/components/schemas/repository-rule-pull-request" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - } - ] - }, - "secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - } - } - }, - "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" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-non-fast-forward" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "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." + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "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." + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-tag-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-file-path-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-max-file-path-length" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-max-file-size" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-workflows" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-code-scanning" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] } - }, - "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.", + "secret-scanning-alert": { "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" + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } ] - } - }, - "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": { + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_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" + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] - } - }, - "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": { + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { "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": { + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { "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": { + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { "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" + "description": "The secret that was detected." + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] - } - }, - "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", + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." + }, + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], "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" + "description": "The URL to a push protection bypass request." + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "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" + } ] } - }, - "required": [ - "pull_request_review_comment_url" + } + }, + "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": { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 7b47862f62..00d4382a98 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -72881,286 +72881,566 @@ components: - revoked - used_in_tests - - organization-secret-scanning-alert: + 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: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: + path: type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - secret_type: + 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: The type of secret that secret scanning detected. - secret_type_display_name: + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: + description: The API URL to get the associated blob resource + commit_sha: type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this alert was closed - validity: + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert is base64 - encoded - actor: - title: Actor - description: Actor + 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: - id: - type: integer - login: + path: type: string - display_login: + 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 - gravatar_id: - type: - - string - - 'null' - url: + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: type: string - format: uri - avatar_url: + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: type: string - format: uri + 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: - - id - - login - - gravatar_id - - url - - avatar_url - milestone: - title: Milestone - description: A collection of related issues and pull requests. + - 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: - url: + 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/milestones/1 - html_url: + - 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://github.com/octocat/Hello-World/milestones/v1.0 - labels_url: + - 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/milestones/1/labels - id: - type: integer - examples: - - 1002604 - node_id: - type: string - examples: - - MDk6TWlsZXN0b25lMTAwMjYwNA== - number: - description: The number of the milestone. - type: integer + - 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: - - 42 - state: - description: The state of the milestone. + - 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 - enum: - - open - - closed - default: open + format: uri + description: The URL to the discussion where the secret was detected. examples: - - open - title: - description: The title of the milestone. + - 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: - - v1.0 - description: - type: - - string - - 'null' + - 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: - - Tracking milestone for version 1.0 - creator: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - open_issues: - type: integer + - 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: - - 4 - closed_issues: - type: integer + - 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: - - 8 - created_at: + - 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: date-time + format: uri + description: The API URL to get the pull request review where the secret + was detected. examples: - - '2011-04-10T20:09:31Z' - updated_at: + - 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: date-time + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. examples: - - '2014-03-03T18:58:10Z' - closed_at: + - 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: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: type: - string - 'null' format: date-time - examples: - - '2013-02-12T13:22:01Z' - due_on: + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypassed_at: type: - string - 'null' format: date-time - examples: - - '2012-10-09T23:39:01Z' - required: - - closed_issues - - creator - - description - - due_on - - closed_at - - id - - node_id - - labels_url - - html_url - - number - - open_issues - - state - - title - - url - - created_at - - updated_at - issue-type: - title: Issue Type - description: The type of issue. - type: - - object - - 'null' - properties: - id: - type: integer - description: The unique identifier of the issue type. - node_id: - type: string - description: The node identifier of the issue type. - name: - type: string - description: The name of the issue type. - description: + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypass_request_reviewer_comment: type: - string - 'null' - description: The description of the issue type. - color: + description: An optional comment when reviewing a push protection bypass. + push_protection_bypass_request_comment: type: - string - 'null' - description: The color of the issue type. - enum: - - gray - - blue - - green - - yellow - - orange - - red - - pink - - purple - - + description: An optional comment when requesting a push protection bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + actor: + title: Actor + description: Actor + type: object + properties: + id: + type: integer + login: + type: string + display_login: + type: string + gravatar_id: + type: + - string + - 'null' + url: + type: string + format: uri + avatar_url: + type: string + format: uri + required: + - id + - login + - gravatar_id + - url + - avatar_url + milestone: + title: Milestone + description: A collection of related issues and pull requests. + type: object + properties: + url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/milestones/1 + html_url: + type: string + format: uri + examples: + - https://github.com/octocat/Hello-World/milestones/v1.0 + labels_url: + type: string + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/milestones/1/labels + id: + type: integer + examples: + - 1002604 + node_id: + type: string + examples: + - MDk6TWlsZXN0b25lMTAwMjYwNA== + number: + description: The number of the milestone. + type: integer + examples: + - 42 + state: + description: The state of the milestone. + type: string + enum: + - open + - closed + default: open + examples: + - open + title: + description: The title of the milestone. + type: string + examples: + - v1.0 + description: + type: + - string + - 'null' + examples: + - Tracking milestone for version 1.0 + creator: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + open_issues: + type: integer + examples: + - 4 + closed_issues: + type: integer + examples: + - 8 + created_at: + type: string + format: date-time + examples: + - '2011-04-10T20:09:31Z' + updated_at: + type: string + format: date-time + examples: + - '2014-03-03T18:58:10Z' + closed_at: + type: + - string + - 'null' + format: date-time + examples: + - '2013-02-12T13:22:01Z' + due_on: + type: + - string + - 'null' + format: date-time + examples: + - '2012-10-09T23:39:01Z' + required: + - closed_issues + - creator + - description + - due_on + - closed_at + - id + - node_id + - labels_url + - html_url + - number + - open_issues + - state + - title + - url + - created_at + - updated_at + issue-type: + title: Issue Type + description: The type of issue. + type: + - object + - 'null' + properties: + id: + type: integer + description: The unique identifier of the issue type. + node_id: + type: string + description: The node identifier of the issue type. + name: + type: string + description: The name of the issue type. + description: + type: + - string + - 'null' + description: The description of the issue type. + color: + type: + - string + - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - created_at: type: string description: The time the issue type created. @@ -93267,269 +93547,16 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: - string - 'null' - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 54765577be..b2900e3461 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -25684,6 +25684,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -157368,6 +157697,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -494590,6 +495248,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -495485,6 +496472,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, @@ -496338,6 +497654,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index d3b8a4496f..c59acd71a3 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1067,7 +1067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &564 + - &578 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9894,6 +9894,300 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &558 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &560 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &561 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &562 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &563 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &564 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &565 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &566 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &567 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &568 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &569 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &570 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &571 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &572 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url examples: default: &245 value: @@ -11240,7 +11534,7 @@ paths: url: type: string format: uri - user: &587 + user: &601 title: Public User description: Public User type: object @@ -15862,7 +16156,7 @@ paths: - avatar_url - description examples: - default: &604 + default: &618 value: - login: github id: 1 @@ -16131,7 +16425,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *90 - - &627 + - &641 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -16140,7 +16434,7 @@ paths: required: false schema: type: integer - - &628 + - &642 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -16149,7 +16443,7 @@ paths: required: false schema: type: integer - - &629 + - &643 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -16158,7 +16452,7 @@ paths: required: false schema: type: integer - - &630 + - &644 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18049,7 +18343,7 @@ paths: type: array items: *59 examples: - default: &598 + default: &612 value: total_count: 1 repositories: @@ -18921,7 +19215,7 @@ paths: type: array items: *116 examples: - default: &590 + default: &604 value: total_count: 1 repositories: @@ -30560,7 +30854,7 @@ paths: parameters: - *90 - *198 - - &603 + - &617 name: repo_name description: repo_name parameter in: path @@ -31606,7 +31900,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 +31941,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 +37746,7 @@ paths: application/json: schema: type: array - items: &562 + items: &576 description: A repository security advisory. type: object properties: @@ -37771,7 +38065,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 +38539,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &635 type: object properties: total_minutes_used: @@ -38315,7 +38609,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &622 + default: &636 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -38351,7 +38645,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &637 type: object properties: total_gigabytes_bandwidth_used: @@ -38369,7 +38663,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 +38695,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &639 type: object properties: days_left_in_billing_cycle: @@ -38419,7 +38713,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 +40017,7 @@ paths: - updated_at - url examples: - default: &577 + default: &591 value: - author: login: octocat @@ -39971,7 +40265,7 @@ paths: application/json: schema: *255 examples: - default: &578 + default: &592 value: author: login: octocat @@ -40162,7 +40456,7 @@ paths: - updated_at - url examples: - default: &579 + default: &593 value: - author: login: octocat @@ -40388,7 +40682,7 @@ paths: application/json: schema: *258 examples: - default: &580 + default: &594 value: author: login: octocat @@ -41006,7 +41300,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 +41365,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 +41507,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 +41586,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 +41797,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 +42526,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 +54649,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 +59851,7 @@ paths: type: array items: *388 examples: - default: &593 + default: &607 value: total_count: 2 machines: @@ -62905,7 +63199,7 @@ paths: application/json: schema: type: array - items: &567 + items: &581 title: Status description: The status of a commit. type: object @@ -64504,7 +64798,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 +70694,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 +71669,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 +72103,7 @@ paths: type: array items: *458 examples: - default: &609 + default: &623 value: - id: 1 repository: @@ -85631,7 +85925,7 @@ paths: application/json: schema: type: array - items: &558 + items: &559 type: object properties: number: *52 @@ -85739,6 +86033,10 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *558 examples: default: value: @@ -85876,7 +86174,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -85958,7 +86256,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -86046,7 +86344,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &691 + items: &705 type: object properties: type: @@ -86073,273 +86371,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 +86478,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 +86502,7 @@ paths: schema: type: object properties: - reason: *560 + reason: *574 expire_at: type: - string @@ -86518,7 +86562,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 +86590,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 +86713,9 @@ paths: application/json: schema: type: array - items: *562 + items: *576 examples: - default: *563 + default: *577 '400': *14 '404': *6 x-github: @@ -86865,9 +86909,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 +87258,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: default: value: @@ -87363,15 +87407,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 +87441,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 requestBody: required: true content: @@ -87568,10 +87612,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 +87655,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': *37 '400': *14 @@ -87640,7 +87684,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': description: Response @@ -87781,7 +87825,7 @@ paths: application/json: schema: type: array - items: &566 + items: &580 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -88154,7 +88198,7 @@ paths: application/json: schema: type: array - items: *566 + items: *580 examples: default: value: @@ -88244,7 +88288,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *581 examples: default: value: @@ -88338,7 +88382,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 +88482,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *582 examples: default: value: @@ -88578,7 +88622,7 @@ paths: application/json: schema: type: array - items: &569 + items: &583 title: Tag protection description: Tag protection type: object @@ -88659,7 +88703,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *583 examples: default: value: @@ -88807,7 +88851,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 +88863,7 @@ paths: required: - names examples: - default: &571 + default: &585 value: names: - octocat @@ -88874,9 +88918,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *584 examples: - default: *571 + default: *585 '404': *6 '422': *7 x-github: @@ -88899,7 +88943,7 @@ paths: parameters: - *268 - *269 - - &572 + - &586 name: per description: The time frame to display results for. in: query @@ -88930,7 +88974,7 @@ paths: - 128 clones: type: array - items: &573 + items: &587 title: Traffic type: object properties: @@ -89178,7 +89222,7 @@ paths: parameters: - *268 - *269 - - *572 + - *586 responses: '200': description: Response @@ -89199,7 +89243,7 @@ paths: - 3782 views: type: array - items: *573 + items: *587 required: - uniques - count @@ -89969,7 +90013,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &574 + text_matches: &588 title: Search Result Text Matches type: array items: @@ -90132,7 +90176,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 +90296,7 @@ paths: type: number node_id: type: string - text_matches: *574 + text_matches: *588 required: - sha - node_id @@ -90434,7 +90478,7 @@ paths: - interactions - created - updated - - *575 + - *589 - *17 - *19 - name: advanced_search @@ -90572,7 +90616,7 @@ paths: - string - 'null' format: date-time - text_matches: *574 + text_matches: *588 pull_request: type: object properties: @@ -90798,7 +90842,7 @@ paths: enum: - created - updated - - *575 + - *589 - *17 - *19 responses: @@ -90843,7 +90887,7 @@ paths: - 'null' score: type: number - text_matches: *574 + text_matches: *588 required: - id - node_id @@ -90928,7 +90972,7 @@ paths: - forks - help-wanted-issues - updated - - *575 + - *589 - *17 - *19 responses: @@ -91165,7 +91209,7 @@ paths: - admin - pull - push - text_matches: *574 + text_matches: *588 temp_clone_token: type: string allow_merge_commit: @@ -91473,7 +91517,7 @@ paths: - string - 'null' format: uri - text_matches: *574 + text_matches: *588 related: type: - array @@ -91666,7 +91710,7 @@ paths: - followers - repositories - joined - - *575 + - *589 - *17 - *19 responses: @@ -91776,7 +91820,7 @@ paths: type: - boolean - 'null' - text_matches: *574 + text_matches: *588 blog: type: - string @@ -91858,7 +91902,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 +91943,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 +92044,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 +92075,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 +92088,7 @@ paths: type: array items: *255 examples: - default: *577 + default: *591 headers: Link: *57 x-github: @@ -92073,7 +92117,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 +92180,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 +92214,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 +92240,7 @@ paths: application/json: schema: *255 examples: - default: *578 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92221,7 +92265,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 +92295,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 +92309,7 @@ paths: type: array items: *258 examples: - default: *579 + default: *593 headers: Link: *57 x-github: @@ -92294,7 +92338,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 +92390,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 +92425,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 +92451,7 @@ paths: application/json: schema: *258 examples: - default: *580 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92432,7 +92476,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 +92507,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 +92566,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 +92628,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 +92686,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 +92745,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 +92783,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 +92834,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 +92871,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 +92911,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 +92948,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 +92957,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 +92990,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 +93018,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 +93052,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 +93081,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 +93093,7 @@ paths: type: array items: *266 examples: - default: *583 + default: *597 headers: Link: *57 '404': *6 @@ -93075,7 +93119,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 +93128,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 +93152,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 +93220,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 +93248,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 +93290,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 +93298,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 +93449,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 +93501,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 +93528,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 +93540,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 +93573,7 @@ paths: application/json: schema: oneOf: - - &588 + - &602 title: Private User description: Private User type: object @@ -93779,7 +93823,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 +93983,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *602 examples: default: value: @@ -94337,7 +94381,7 @@ paths: type: integer secrets: type: array - items: &589 + items: &603 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94457,7 +94501,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *603 examples: default: value: @@ -94603,7 +94647,7 @@ paths: type: array items: *116 examples: - default: *590 + default: *604 '401': *23 '403': *27 '404': *6 @@ -94870,7 +94914,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 +94967,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 +95012,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *605 examples: - default: *592 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -95009,7 +95053,7 @@ paths: type: array items: *388 examples: - default: *593 + default: *607 '304': *35 '500': *91 '401': *23 @@ -95975,7 +96019,7 @@ paths: type: array items: *204 examples: - default: &606 + default: &620 value: - id: 197 name: hello_docker @@ -96076,7 +96120,7 @@ paths: application/json: schema: type: array - items: &594 + items: &608 title: Email description: Email type: object @@ -96146,9 +96190,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 +96269,7 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: default: value: @@ -96483,7 +96527,7 @@ paths: application/json: schema: type: array - items: &595 + items: &609 title: GPG Key description: A unique encryption key type: object @@ -96628,7 +96672,7 @@ paths: - subkeys - revoked examples: - default: &619 + default: &633 value: - id: 3 name: Octocat's GPG Key @@ -96713,9 +96757,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 +96816,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 +96828,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *609 examples: - default: *596 + default: *610 '404': *6 '304': *35 '403': *27 @@ -96809,7 +96853,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 +97044,7 @@ paths: type: array items: *59 examples: - default: *598 + default: *612 headers: Link: *57 '404': *6 @@ -97264,7 +97308,7 @@ paths: application/json: schema: type: array - items: &599 + items: &613 title: Key description: Key type: object @@ -97362,9 +97406,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: &600 + default: &614 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97403,9 +97447,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: *600 + default: *614 '404': *6 '304': *35 '403': *27 @@ -97461,7 +97505,7 @@ paths: application/json: schema: type: array - items: &601 + items: &615 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97540,7 +97584,7 @@ paths: - account - plan examples: - default: &602 + default: &616 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97602,9 +97646,9 @@ paths: application/json: schema: type: array - items: *601 + items: *615 examples: - default: *602 + default: *616 headers: Link: *57 '304': *35 @@ -98608,7 +98652,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *198 - - *603 + - *617 responses: '204': description: Response @@ -98681,7 +98725,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 '304': *35 @@ -98723,7 +98767,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *19 - *17 responses: @@ -98735,8 +98779,8 @@ paths: type: array items: *204 examples: - default: *606 - '400': *607 + default: *620 + '400': *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98765,7 +98809,7 @@ paths: application/json: schema: *204 examples: - default: &620 + default: &634 value: id: 40201 name: octo-name @@ -99220,9 +99264,9 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: - default: *608 + default: *622 headers: Link: *57 '304': *35 @@ -99335,7 +99379,7 @@ paths: type: array items: *59 examples: - default: &615 + default: &629 summary: Default response value: - id: 1296269 @@ -99695,7 +99739,7 @@ paths: type: array items: *458 examples: - default: *609 + default: *623 headers: Link: *57 '304': *35 @@ -99774,7 +99818,7 @@ paths: application/json: schema: type: array - items: &610 + items: &624 title: Social account description: Social media account type: object @@ -99791,7 +99835,7 @@ paths: - provider - url examples: - default: &611 + default: &625 value: - provider: twitter url: https://twitter.com/github @@ -99854,9 +99898,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 '422': *15 '304': *35 '404': *6 @@ -99944,7 +99988,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 +100008,7 @@ paths: - title - created_at examples: - default: &631 + default: &645 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100031,9 +100075,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: &613 + default: &627 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100064,7 +100108,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 +100120,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: *613 + default: *627 '404': *6 '304': *35 '403': *27 @@ -100101,7 +100145,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 +100174,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 +100199,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 +100572,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 +100610,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 +100670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *616 + - *630 - *17 responses: '200': @@ -100675,11 +100719,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 +100840,7 @@ paths: type: array items: *204 examples: - default: *606 + default: *620 '403': *27 '401': *23 x-github: @@ -101200,9 +101244,9 @@ paths: application/json: schema: type: array - items: *595 + items: *609 examples: - default: *619 + default: *633 headers: Link: *57 x-github: @@ -101384,7 +101428,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 x-github: @@ -101423,7 +101467,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *129 - *19 - *17 @@ -101436,10 +101480,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 +101513,7 @@ paths: application/json: schema: *204 examples: - default: *620 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102068,9 +102112,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *635 examples: - default: *622 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102098,9 +102142,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *637 examples: - default: *624 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102128,9 +102172,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *639 examples: - default: *626 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102151,10 +102195,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 +102297,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 headers: Link: *57 x-github: @@ -102285,9 +102329,9 @@ paths: application/json: schema: type: array - items: *612 + items: *626 examples: - default: *631 + default: *645 headers: Link: *57 x-github: @@ -102312,7 +102356,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 +102368,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 +102532,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 +102601,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 +102622,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 +102695,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 +103608,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 +103687,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 +103914,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 +104106,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 +104194,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 +104307,7 @@ webhooks: - examples: - neutral - deployment: *639 + deployment: *653 details_url: type: string examples: @@ -104361,9 +104405,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 +104800,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 +105199,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 +105607,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 +106602,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 +107290,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 +107972,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 +108293,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 +108711,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 +108996,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 +109344,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 +109629,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 +109639,7 @@ webhooks: type: - string - 'null' - repository: *637 + repository: *651 sender: *4 required: - action @@ -109838,12 +109882,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 +110149,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 +110233,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 +110254,7 @@ webhooks: enum: - tag - branch - repository: *637 + repository: *651 sender: *4 required: - ref @@ -110293,9 +110337,9 @@ webhooks: enum: - created definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110380,9 +110424,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 +110504,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 +110584,9 @@ webhooks: enum: - updated definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110619,10 +110663,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 +110751,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 +110847,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 +110935,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 +111023,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 +111109,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 +111195,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 +111282,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 +111368,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 +111448,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 +111488,8 @@ webhooks: - verified - created_at - read_only - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -111522,11 +111566,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 +112142,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 +112889,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 +112962,7 @@ webhooks: type: string enum: - approved - approver: &646 + approver: &660 type: object properties: avatar_url: @@ -112961,11 +113005,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 +113090,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &648 + workflow_job_run: &662 type: object properties: conclusion: @@ -113792,18 +113836,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 +114564,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 +116513,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 +117209,7 @@ webhooks: type: string enum: - answered - answer: &652 + answer: &666 type: object properties: author_association: @@ -117325,7 +117369,7 @@ webhooks: - created_at - updated_at - body - discussion: &650 + discussion: &664 title: Discussion description: A Discussion in a repository. type: object @@ -117643,10 +117687,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 +117817,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 +117904,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 +117990,7 @@ webhooks: type: string enum: - created - comment: &651 + comment: &665 type: object properties: author_association: @@ -118106,11 +118150,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 +118237,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 +118337,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 +118426,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 +118512,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 +118616,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 +118702,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 +118738,8 @@ webhooks: - color - default - description - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118778,11 +118822,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 +118908,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 +118994,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 +119083,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 +119175,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 +119260,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 +119348,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 +119434,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 +119511,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 +120189,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 +120337,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 +120377,7 @@ webhooks: - action - sha - html_url - repository: *637 + repository: *651 sender: *4 required: - pages @@ -120409,10 +120453,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 +120482,8 @@ webhooks: - name - full_name - private - repository: *637 - requester: *654 + repository: *651 + requester: *668 sender: *4 required: - action @@ -120514,11 +120558,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 +120639,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 +120720,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 +120769,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 +120856,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 +120886,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 +120967,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 +121153,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 +121235,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 +121487,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 +122679,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -122716,7 +122760,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 +122927,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 +124117,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -124154,7 +124198,7 @@ webhooks: type: string enum: - edited - changes: &683 + changes: &697 description: The changes to the comment. type: object properties: @@ -124166,9 +124210,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 +125402,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -125441,10 +125485,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 +126433,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -126470,8 +126514,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 +127608,8 @@ webhooks: required: - state - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -127644,8 +127688,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 +128629,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -128665,8 +128709,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 +129652,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 +129795,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -129851,8 +129895,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 +130841,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 +130923,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 +131868,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 +131950,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 +132897,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -132933,8 +132977,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 +133918,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 +135402,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 +136347,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136384,9 +136428,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 +137368,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137404,8 +137448,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 +138394,8 @@ webhooks: user_view_type: type: string type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139852,11 +139896,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 +139980,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 +140066,7 @@ webhooks: type: string enum: - unassigned - assignee: &686 + assignee: &700 title: User type: - object @@ -140094,11 +140138,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 +140221,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 +140306,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 +141251,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141288,11 +141332,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 +141415,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 +141500,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 +141582,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 +141696,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 +141782,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 +141872,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 +141957,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -141993,10 +142037,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 +142128,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142166,10 +142210,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 +142299,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142336,8 +142380,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 +142467,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 +142549,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 +142656,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 +142762,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 +142845,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 +142927,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 +143009,7 @@ webhooks: required: - login - id - team: &664 + team: &678 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -143158,11 +143202,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 +143285,7 @@ webhooks: required: - login - id - team: *664 + team: *678 required: - action - scope @@ -143323,8 +143367,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 +143394,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143437,10 +143481,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 +143557,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 +143665,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 +143750,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 +143833,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 +143977,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144013,11 +144057,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 +144171,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 +144255,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 +144338,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 +144421,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 +144504,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 +144600,8 @@ webhooks: - role - organization_url - user - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144635,11 +144679,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 +144762,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 +144885,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 +144966,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 +145057,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 +145137,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 +145662,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &668 + items: &682 title: Ruby Gems metadata type: object properties: @@ -145715,7 +145759,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -145791,9 +145835,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 +146199,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 source_url: type: string format: uri @@ -146226,7 +146270,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -146407,12 +146451,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 +146533,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 +146683,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 +146763,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 +146843,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 +146922,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 +147031,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 +147063,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 +147309,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 +147435,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -147472,11 +147516,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 +147600,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 +147732,7 @@ webhooks: repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -147782,11 +147826,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 +147924,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 +148123,7 @@ webhooks: type: string required: - after_id - repository: *637 + repository: *651 sender: *4 required: - action @@ -148159,10 +148203,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 +148333,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148369,10 +148413,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 +148456,7 @@ webhooks: - name - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148491,14 +148535,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 +148631,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 +148715,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 +148799,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 +148883,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 +148991,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 +149074,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 +149159,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 +149309,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 +149392,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 +149515,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 +149600,7 @@ webhooks: type: string enum: - archived - changes: &678 + changes: &692 type: object properties: archived_at: @@ -149572,9 +149616,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 +149757,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 +149841,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 +149924,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 +150031,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 +150051,7 @@ webhooks: required: - id - name - - &677 + - &691 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150036,8 +150080,8 @@ webhooks: oneOf: - type: string - type: integer - - *676 - - *677 + - *690 + - *691 type: - 'null' - string @@ -150060,9 +150104,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 +150203,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 +150288,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 +150373,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 +150456,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 +150593,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 +150741,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 +150814,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 +150894,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 +153249,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -153287,11 +153331,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 +155677,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -155715,11 +155759,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 +158105,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -158143,11 +158187,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 +158255,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *637 + repository: *651 sender: *4 required: - action @@ -158292,12 +158336,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 +158421,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 +160752,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -160787,11 +160831,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 +163181,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *637 + repository: *651 sender: *4 required: - action @@ -163261,12 +163305,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 +163390,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 +165725,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -165761,11 +165805,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 +168157,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -168194,10 +168238,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 +170587,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -170623,12 +170667,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 +170751,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 +170837,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 +170922,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 +171302,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 +173534,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -173570,7 +173614,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 +173907,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 +176127,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -176163,11 +176207,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 +178432,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -178469,9 +178513,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 +180748,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 review: description: The review that was affected. type: object @@ -180950,9 +180994,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 +183110,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 +183344,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 +185696,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -185738,12 +185782,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 +188141,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 +188336,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 +190690,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -190733,12 +190777,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 +193122,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 +193306,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 +195544,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: *685 + repository: *651 + review: *699 sender: *4 required: - action @@ -195581,9 +195625,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 +197758,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -198106,9 +198150,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 +200266,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -200616,10 +200660,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 +202998,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -203036,11 +203080,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 +205434,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -205469,11 +205513,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 +207856,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -207893,10 +207937,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 +210269,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -210428,7 +210472,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 +210567,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 +211156,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 +211635,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -211647,7 +211691,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -211725,9 +211769,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 +212083,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -212089,7 +212133,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -212166,10 +212210,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 +212534,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *637 + repository: *651 sender: *4 required: - action @@ -212567,11 +212611,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 +212732,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 +212814,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 +213142,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213174,10 +213218,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 +213544,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213576,11 +213620,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 +213700,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 +213780,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 +213860,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 +213940,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 +214020,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 +214101,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 +214189,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 +214307,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 +214382,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 +214466,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 +214546,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 +214643,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 +214726,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 +214808,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 +214890,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 +215201,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 +215282,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 +215363,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 +215487,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 +215700,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 +215781,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 +215987,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 +216068,7 @@ webhooks: type: string enum: - created - alert: &690 + alert: &704 type: object properties: number: *52 @@ -216134,10 +216178,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 +216262,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 +216504,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 +216586,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 +216668,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 +216750,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 +216884,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 +216965,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 +217155,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 +217232,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 +217422,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 +217503,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 +217813,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 +217906,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 +217988,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 +218072,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &695 + changes: &709 type: object properties: tier: @@ -218072,13 +218116,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 +218199,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 +218279,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 +218366,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 +218803,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 +218927,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 +219019,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 +219111,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 +219203,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 +219282,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 +219480,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 +219952,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -219984,9 +220028,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 +220500,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -220533,9 +220577,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 +221049,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -221149,9 +221193,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 +221665,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - changes @@ -221699,9 +221743,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 +222215,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -222247,10 +222291,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 +222367,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 +222459,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 +222797,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 +223161,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 +223389,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 +223619,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 +224643,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 +225652,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..b2900e3461 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -25684,6 +25684,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -157368,6 +157697,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -494590,6 +495248,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -495485,6 +496472,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, @@ -496338,6 +497654,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index d3b8a4496f..c59acd71a3 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1067,7 +1067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &564 + - &578 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9894,6 +9894,300 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &558 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &560 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &561 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &562 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &563 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &564 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &565 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &566 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &567 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &568 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &569 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &570 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &571 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &572 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url examples: default: &245 value: @@ -11240,7 +11534,7 @@ paths: url: type: string format: uri - user: &587 + user: &601 title: Public User description: Public User type: object @@ -15862,7 +16156,7 @@ paths: - avatar_url - description examples: - default: &604 + default: &618 value: - login: github id: 1 @@ -16131,7 +16425,7 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *90 - - &627 + - &641 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -16140,7 +16434,7 @@ paths: required: false schema: type: integer - - &628 + - &642 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -16149,7 +16443,7 @@ paths: required: false schema: type: integer - - &629 + - &643 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -16158,7 +16452,7 @@ paths: required: false schema: type: integer - - &630 + - &644 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18049,7 +18343,7 @@ paths: type: array items: *59 examples: - default: &598 + default: &612 value: total_count: 1 repositories: @@ -18921,7 +19215,7 @@ paths: type: array items: *116 examples: - default: &590 + default: &604 value: total_count: 1 repositories: @@ -30560,7 +30854,7 @@ paths: parameters: - *90 - *198 - - &603 + - &617 name: repo_name description: repo_name parameter in: path @@ -31606,7 +31900,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 +31941,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 +37746,7 @@ paths: application/json: schema: type: array - items: &562 + items: &576 description: A repository security advisory. type: object properties: @@ -37771,7 +38065,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 +38539,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &635 type: object properties: total_minutes_used: @@ -38315,7 +38609,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &622 + default: &636 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -38351,7 +38645,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &637 type: object properties: total_gigabytes_bandwidth_used: @@ -38369,7 +38663,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 +38695,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &639 type: object properties: days_left_in_billing_cycle: @@ -38419,7 +38713,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 +40017,7 @@ paths: - updated_at - url examples: - default: &577 + default: &591 value: - author: login: octocat @@ -39971,7 +40265,7 @@ paths: application/json: schema: *255 examples: - default: &578 + default: &592 value: author: login: octocat @@ -40162,7 +40456,7 @@ paths: - updated_at - url examples: - default: &579 + default: &593 value: - author: login: octocat @@ -40388,7 +40682,7 @@ paths: application/json: schema: *258 examples: - default: &580 + default: &594 value: author: login: octocat @@ -41006,7 +41300,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 +41365,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 +41507,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 +41586,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 +41797,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 +42526,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 +54649,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 +59851,7 @@ paths: type: array items: *388 examples: - default: &593 + default: &607 value: total_count: 2 machines: @@ -62905,7 +63199,7 @@ paths: application/json: schema: type: array - items: &567 + items: &581 title: Status description: The status of a commit. type: object @@ -64504,7 +64798,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 +70694,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 +71669,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 +72103,7 @@ paths: type: array items: *458 examples: - default: &609 + default: &623 value: - id: 1 repository: @@ -85631,7 +85925,7 @@ paths: application/json: schema: type: array - items: &558 + items: &559 type: object properties: number: *52 @@ -85739,6 +86033,10 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *558 examples: default: value: @@ -85876,7 +86174,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -85958,7 +86256,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: default: value: @@ -86046,7 +86344,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &691 + items: &705 type: object properties: type: @@ -86073,273 +86371,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 +86478,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 +86502,7 @@ paths: schema: type: object properties: - reason: *560 + reason: *574 expire_at: type: - string @@ -86518,7 +86562,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 +86590,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 +86713,9 @@ paths: application/json: schema: type: array - items: *562 + items: *576 examples: - default: *563 + default: *577 '400': *14 '404': *6 x-github: @@ -86865,9 +86909,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 +87258,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *576 examples: default: value: @@ -87363,15 +87407,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 +87441,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 requestBody: required: true content: @@ -87568,10 +87612,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 +87655,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': *37 '400': *14 @@ -87640,7 +87684,7 @@ paths: parameters: - *268 - *269 - - *564 + - *578 responses: '202': description: Response @@ -87781,7 +87825,7 @@ paths: application/json: schema: type: array - items: &566 + items: &580 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -88154,7 +88198,7 @@ paths: application/json: schema: type: array - items: *566 + items: *580 examples: default: value: @@ -88244,7 +88288,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *581 examples: default: value: @@ -88338,7 +88382,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 +88482,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *582 examples: default: value: @@ -88578,7 +88622,7 @@ paths: application/json: schema: type: array - items: &569 + items: &583 title: Tag protection description: Tag protection type: object @@ -88659,7 +88703,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *583 examples: default: value: @@ -88807,7 +88851,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 +88863,7 @@ paths: required: - names examples: - default: &571 + default: &585 value: names: - octocat @@ -88874,9 +88918,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *584 examples: - default: *571 + default: *585 '404': *6 '422': *7 x-github: @@ -88899,7 +88943,7 @@ paths: parameters: - *268 - *269 - - &572 + - &586 name: per description: The time frame to display results for. in: query @@ -88930,7 +88974,7 @@ paths: - 128 clones: type: array - items: &573 + items: &587 title: Traffic type: object properties: @@ -89178,7 +89222,7 @@ paths: parameters: - *268 - *269 - - *572 + - *586 responses: '200': description: Response @@ -89199,7 +89243,7 @@ paths: - 3782 views: type: array - items: *573 + items: *587 required: - uniques - count @@ -89969,7 +90013,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &574 + text_matches: &588 title: Search Result Text Matches type: array items: @@ -90132,7 +90176,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 +90296,7 @@ paths: type: number node_id: type: string - text_matches: *574 + text_matches: *588 required: - sha - node_id @@ -90434,7 +90478,7 @@ paths: - interactions - created - updated - - *575 + - *589 - *17 - *19 - name: advanced_search @@ -90572,7 +90616,7 @@ paths: - string - 'null' format: date-time - text_matches: *574 + text_matches: *588 pull_request: type: object properties: @@ -90798,7 +90842,7 @@ paths: enum: - created - updated - - *575 + - *589 - *17 - *19 responses: @@ -90843,7 +90887,7 @@ paths: - 'null' score: type: number - text_matches: *574 + text_matches: *588 required: - id - node_id @@ -90928,7 +90972,7 @@ paths: - forks - help-wanted-issues - updated - - *575 + - *589 - *17 - *19 responses: @@ -91165,7 +91209,7 @@ paths: - admin - pull - push - text_matches: *574 + text_matches: *588 temp_clone_token: type: string allow_merge_commit: @@ -91473,7 +91517,7 @@ paths: - string - 'null' format: uri - text_matches: *574 + text_matches: *588 related: type: - array @@ -91666,7 +91710,7 @@ paths: - followers - repositories - joined - - *575 + - *589 - *17 - *19 responses: @@ -91776,7 +91820,7 @@ paths: type: - boolean - 'null' - text_matches: *574 + text_matches: *588 blog: type: - string @@ -91858,7 +91902,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 +91943,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 +92044,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 +92075,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 +92088,7 @@ paths: type: array items: *255 examples: - default: *577 + default: *591 headers: Link: *57 x-github: @@ -92073,7 +92117,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 +92180,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 +92214,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 +92240,7 @@ paths: application/json: schema: *255 examples: - default: *578 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92221,7 +92265,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 +92295,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 +92309,7 @@ paths: type: array items: *258 examples: - default: *579 + default: *593 headers: Link: *57 x-github: @@ -92294,7 +92338,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 +92390,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 +92425,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 +92451,7 @@ paths: application/json: schema: *258 examples: - default: *580 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92432,7 +92476,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 +92507,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 +92566,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 +92628,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 +92686,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 +92745,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 +92783,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 +92834,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 +92871,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 +92911,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 +92948,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 +92957,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 +92990,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 +93018,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 +93052,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 +93081,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 +93093,7 @@ paths: type: array items: *266 examples: - default: *583 + default: *597 headers: Link: *57 '404': *6 @@ -93075,7 +93119,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 +93128,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 +93152,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 +93220,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 +93248,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 +93290,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 +93298,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 +93449,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 +93501,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 +93528,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 +93540,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 +93573,7 @@ paths: application/json: schema: oneOf: - - &588 + - &602 title: Private User description: Private User type: object @@ -93779,7 +93823,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 +93983,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *602 examples: default: value: @@ -94337,7 +94381,7 @@ paths: type: integer secrets: type: array - items: &589 + items: &603 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94457,7 +94501,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *603 examples: default: value: @@ -94603,7 +94647,7 @@ paths: type: array items: *116 examples: - default: *590 + default: *604 '401': *23 '403': *27 '404': *6 @@ -94870,7 +94914,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 +94967,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 +95012,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *605 examples: - default: *592 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -95009,7 +95053,7 @@ paths: type: array items: *388 examples: - default: *593 + default: *607 '304': *35 '500': *91 '401': *23 @@ -95975,7 +96019,7 @@ paths: type: array items: *204 examples: - default: &606 + default: &620 value: - id: 197 name: hello_docker @@ -96076,7 +96120,7 @@ paths: application/json: schema: type: array - items: &594 + items: &608 title: Email description: Email type: object @@ -96146,9 +96190,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 +96269,7 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: default: value: @@ -96483,7 +96527,7 @@ paths: application/json: schema: type: array - items: &595 + items: &609 title: GPG Key description: A unique encryption key type: object @@ -96628,7 +96672,7 @@ paths: - subkeys - revoked examples: - default: &619 + default: &633 value: - id: 3 name: Octocat's GPG Key @@ -96713,9 +96757,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 +96816,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 +96828,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *609 examples: - default: *596 + default: *610 '404': *6 '304': *35 '403': *27 @@ -96809,7 +96853,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 +97044,7 @@ paths: type: array items: *59 examples: - default: *598 + default: *612 headers: Link: *57 '404': *6 @@ -97264,7 +97308,7 @@ paths: application/json: schema: type: array - items: &599 + items: &613 title: Key description: Key type: object @@ -97362,9 +97406,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: &600 + default: &614 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97403,9 +97447,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *613 examples: - default: *600 + default: *614 '404': *6 '304': *35 '403': *27 @@ -97461,7 +97505,7 @@ paths: application/json: schema: type: array - items: &601 + items: &615 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97540,7 +97584,7 @@ paths: - account - plan examples: - default: &602 + default: &616 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97602,9 +97646,9 @@ paths: application/json: schema: type: array - items: *601 + items: *615 examples: - default: *602 + default: *616 headers: Link: *57 '304': *35 @@ -98608,7 +98652,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *198 - - *603 + - *617 responses: '204': description: Response @@ -98681,7 +98725,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 '304': *35 @@ -98723,7 +98767,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *19 - *17 responses: @@ -98735,8 +98779,8 @@ paths: type: array items: *204 examples: - default: *606 - '400': *607 + default: *620 + '400': *621 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98765,7 +98809,7 @@ paths: application/json: schema: *204 examples: - default: &620 + default: &634 value: id: 40201 name: octo-name @@ -99220,9 +99264,9 @@ paths: application/json: schema: type: array - items: *594 + items: *608 examples: - default: *608 + default: *622 headers: Link: *57 '304': *35 @@ -99335,7 +99379,7 @@ paths: type: array items: *59 examples: - default: &615 + default: &629 summary: Default response value: - id: 1296269 @@ -99695,7 +99739,7 @@ paths: type: array items: *458 examples: - default: *609 + default: *623 headers: Link: *57 '304': *35 @@ -99774,7 +99818,7 @@ paths: application/json: schema: type: array - items: &610 + items: &624 title: Social account description: Social media account type: object @@ -99791,7 +99835,7 @@ paths: - provider - url examples: - default: &611 + default: &625 value: - provider: twitter url: https://twitter.com/github @@ -99854,9 +99898,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 '422': *15 '304': *35 '404': *6 @@ -99944,7 +99988,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 +100008,7 @@ paths: - title - created_at examples: - default: &631 + default: &645 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100031,9 +100075,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: &613 + default: &627 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100064,7 +100108,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 +100120,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *626 examples: - default: *613 + default: *627 '404': *6 '304': *35 '403': *27 @@ -100101,7 +100145,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 +100174,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 +100199,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 +100572,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 +100610,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 +100670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *616 + - *630 - *17 responses: '200': @@ -100675,11 +100719,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 +100840,7 @@ paths: type: array items: *204 examples: - default: *606 + default: *620 '403': *27 '401': *23 x-github: @@ -101200,9 +101244,9 @@ paths: application/json: schema: type: array - items: *595 + items: *609 examples: - default: *619 + default: *633 headers: Link: *57 x-github: @@ -101384,7 +101428,7 @@ paths: type: array items: *145 examples: - default: *604 + default: *618 headers: Link: *57 x-github: @@ -101423,7 +101467,7 @@ paths: - docker - nuget - container - - *605 + - *619 - *129 - *19 - *17 @@ -101436,10 +101480,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 +101513,7 @@ paths: application/json: schema: *204 examples: - default: *620 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102068,9 +102112,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *635 examples: - default: *622 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102098,9 +102142,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *637 examples: - default: *624 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102128,9 +102172,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *639 examples: - default: *626 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102151,10 +102195,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 +102297,9 @@ paths: application/json: schema: type: array - items: *610 + items: *624 examples: - default: *611 + default: *625 headers: Link: *57 x-github: @@ -102285,9 +102329,9 @@ paths: application/json: schema: type: array - items: *612 + items: *626 examples: - default: *631 + default: *645 headers: Link: *57 x-github: @@ -102312,7 +102356,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 +102368,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 +102532,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 +102601,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 +102622,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 +102695,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 +103608,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 +103687,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 +103914,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 +104106,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 +104194,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 +104307,7 @@ webhooks: - examples: - neutral - deployment: *639 + deployment: *653 details_url: type: string examples: @@ -104361,9 +104405,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 +104800,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 +105199,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 +105607,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 +106602,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 +107290,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 +107972,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 +108293,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 +108711,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 +108996,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 +109344,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 +109629,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 +109639,7 @@ webhooks: type: - string - 'null' - repository: *637 + repository: *651 sender: *4 required: - action @@ -109838,12 +109882,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 +110149,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 +110233,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 +110254,7 @@ webhooks: enum: - tag - branch - repository: *637 + repository: *651 sender: *4 required: - ref @@ -110293,9 +110337,9 @@ webhooks: enum: - created definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110380,9 +110424,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 +110504,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 +110584,9 @@ webhooks: enum: - updated definition: *221 - enterprise: *634 - installation: *635 - organization: *636 + enterprise: *648 + installation: *649 + organization: *650 sender: *4 required: - action @@ -110619,10 +110663,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 +110751,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 +110847,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 +110935,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 +111023,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 +111109,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 +111195,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 +111282,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 +111368,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 +111448,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 +111488,8 @@ webhooks: - verified - created_at - read_only - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -111522,11 +111566,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 +112142,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 +112889,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 +112962,7 @@ webhooks: type: string enum: - approved - approver: &646 + approver: &660 type: object properties: avatar_url: @@ -112961,11 +113005,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 +113090,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &648 + workflow_job_run: &662 type: object properties: conclusion: @@ -113792,18 +113836,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 +114564,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 +116513,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 +117209,7 @@ webhooks: type: string enum: - answered - answer: &652 + answer: &666 type: object properties: author_association: @@ -117325,7 +117369,7 @@ webhooks: - created_at - updated_at - body - discussion: &650 + discussion: &664 title: Discussion description: A Discussion in a repository. type: object @@ -117643,10 +117687,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 +117817,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 +117904,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 +117990,7 @@ webhooks: type: string enum: - created - comment: &651 + comment: &665 type: object properties: author_association: @@ -118106,11 +118150,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 +118237,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 +118337,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 +118426,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 +118512,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 +118616,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 +118702,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 +118738,8 @@ webhooks: - color - default - description - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -118778,11 +118822,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 +118908,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 +118994,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 +119083,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 +119175,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 +119260,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 +119348,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 +119434,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 +119511,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 +120189,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 +120337,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 +120377,7 @@ webhooks: - action - sha - html_url - repository: *637 + repository: *651 sender: *4 required: - pages @@ -120409,10 +120453,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 +120482,8 @@ webhooks: - name - full_name - private - repository: *637 - requester: *654 + repository: *651 + requester: *668 sender: *4 required: - action @@ -120514,11 +120558,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 +120639,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 +120720,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 +120769,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 +120856,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 +120886,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 +120967,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 +121153,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 +121235,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 +121487,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 +122679,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -122716,7 +122760,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 +122927,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 +124117,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -124154,7 +124198,7 @@ webhooks: type: string enum: - edited - changes: &683 + changes: &697 description: The changes to the comment. type: object properties: @@ -124166,9 +124210,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 +125402,8 @@ webhooks: - state - locked - assignee - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -125441,10 +125485,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 +126433,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -126470,8 +126514,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 +127608,8 @@ webhooks: required: - state - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -127644,8 +127688,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 +128629,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -128665,8 +128709,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 +129652,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 +129795,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -129851,8 +129895,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 +130841,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 +130923,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 +131868,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 +131950,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 +132897,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -132933,8 +132977,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 +133918,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 +135402,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 +136347,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -136384,9 +136428,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 +137368,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -137404,8 +137448,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 +138394,8 @@ webhooks: user_view_type: type: string type: *185 - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -139852,11 +139896,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 +139980,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 +140066,7 @@ webhooks: type: string enum: - unassigned - assignee: &686 + assignee: &700 title: User type: - object @@ -140094,11 +140138,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 +140221,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 +140306,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 +141251,8 @@ webhooks: format: uri user_view_type: type: string - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -141288,11 +141332,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 +141415,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 +141500,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 +141582,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 +141696,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 +141782,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 +141872,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 +141957,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -141993,10 +142037,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 +142128,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142166,10 +142210,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 +142299,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *637 + repository: *651 sender: *4 required: - action @@ -142336,8 +142380,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 +142467,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 +142549,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 +142656,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 +142762,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 +142845,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 +142927,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 +143009,7 @@ webhooks: required: - login - id - team: &664 + team: &678 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -143158,11 +143202,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 +143285,7 @@ webhooks: required: - login - id - team: *664 + team: *678 required: - action - scope @@ -143323,8 +143367,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 +143394,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -143437,10 +143481,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 +143557,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 +143665,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 +143750,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 +143833,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 +143977,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144013,11 +144057,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 +144171,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 +144255,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 +144338,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 +144421,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 +144504,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 +144600,8 @@ webhooks: - role - organization_url - user - organization: *636 - repository: *637 + organization: *650 + repository: *651 sender: *4 required: - action @@ -144635,11 +144679,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 +144762,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 +144885,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 +144966,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 +145057,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 +145137,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 +145662,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &668 + items: &682 title: Ruby Gems metadata type: object properties: @@ -145715,7 +145759,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -145791,9 +145835,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 +146199,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 source_url: type: string format: uri @@ -146226,7 +146270,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -146407,12 +146451,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 +146533,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 +146683,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 +146763,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 +146843,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 +146922,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 +147031,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 +147063,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 +147309,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 +147435,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -147472,11 +147516,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 +147600,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 +147732,7 @@ webhooks: repository: anyOf: - type: 'null' - - *637 + - *651 sender: *4 required: - action @@ -147782,11 +147826,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 +147924,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 +148123,7 @@ webhooks: type: string required: - after_id - repository: *637 + repository: *651 sender: *4 required: - action @@ -148159,10 +148203,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 +148333,7 @@ webhooks: - creator - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148369,10 +148413,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 +148456,7 @@ webhooks: - name - created_at - updated_at - repository: *637 + repository: *651 sender: *4 required: - action @@ -148491,14 +148535,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 +148631,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 +148715,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 +148799,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 +148883,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 +148991,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 +149074,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 +149159,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 +149309,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 +149392,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 +149515,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 +149600,7 @@ webhooks: type: string enum: - archived - changes: &678 + changes: &692 type: object properties: archived_at: @@ -149572,9 +149616,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 +149757,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 +149841,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 +149924,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 +150031,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 +150051,7 @@ webhooks: required: - id - name - - &677 + - &691 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150036,8 +150080,8 @@ webhooks: oneOf: - type: string - type: integer - - *676 - - *677 + - *690 + - *691 type: - 'null' - string @@ -150060,9 +150104,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 +150203,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 +150288,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 +150373,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 +150456,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 +150593,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 +150741,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 +150814,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 +150894,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 +153249,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -153287,11 +153331,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 +155677,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -155715,11 +155759,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 +158105,7 @@ webhooks: - draft reason: type: string - repository: *637 + repository: *651 sender: *4 required: - action @@ -158143,11 +158187,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 +158255,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *637 + repository: *651 sender: *4 required: - action @@ -158292,12 +158336,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 +158421,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 +160752,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -160787,11 +160831,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 +163181,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *637 + repository: *651 sender: *4 required: - action @@ -163261,12 +163305,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 +163390,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 +165725,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -165761,11 +165805,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 +168157,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -168194,10 +168238,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 +170587,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -170623,12 +170667,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 +170751,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 +170837,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 +170922,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 +171302,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 +173534,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -173570,7 +173614,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 +173907,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 +176127,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -176163,11 +176207,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 +178432,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *637 + repository: *651 sender: *4 required: - action @@ -178469,9 +178513,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 +180748,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 review: description: The review that was affected. type: object @@ -180950,9 +180994,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 +183110,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 +183344,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 +185696,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -185738,12 +185782,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 +188141,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 +188336,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 +190690,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 requested_reviewer: title: User type: @@ -190733,12 +190777,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 +193122,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 +193306,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 +195544,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 - review: *685 + repository: *651 + review: *699 sender: *4 required: - action @@ -195581,9 +195625,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 +197758,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -198106,9 +198150,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 +200266,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *637 + repository: *651 sender: *4 thread: type: object @@ -200616,10 +200660,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 +202998,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -203036,11 +203080,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 +205434,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -205469,11 +205513,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 +207856,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -207893,10 +207937,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 +210269,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *637 + repository: *651 sender: *4 required: - action @@ -210428,7 +210472,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 +210567,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 +211156,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 +211635,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -211647,7 +211691,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -211725,9 +211769,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 +212083,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *668 + items: *682 summary: type: string tag_name: @@ -212089,7 +212133,7 @@ webhooks: - owner - package_version - registry - repository: *637 + repository: *651 sender: *4 required: - action @@ -212166,10 +212210,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 +212534,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *637 + repository: *651 sender: *4 required: - action @@ -212567,11 +212611,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 +212732,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 +212814,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 +213142,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213174,10 +213218,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 +213544,7 @@ webhooks: - string - 'null' format: uri - repository: *637 + repository: *651 sender: *4 required: - action @@ -213576,11 +213620,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 +213700,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 +213780,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 +213860,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 +213940,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 +214020,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 +214101,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 +214189,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 +214307,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 +214382,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 +214466,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 +214546,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 +214643,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 +214726,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 +214808,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 +214890,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 +215201,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 +215282,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 +215363,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 +215487,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 +215700,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 +215781,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 +215987,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 +216068,7 @@ webhooks: type: string enum: - created - alert: &690 + alert: &704 type: object properties: number: *52 @@ -216134,10 +216178,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 +216262,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 +216504,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 +216586,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 +216668,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 +216750,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 +216884,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 +216965,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 +217155,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 +217232,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 +217422,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 +217503,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 +217813,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 +217906,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 +217988,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 +218072,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &695 + changes: &709 type: object properties: tier: @@ -218072,13 +218116,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 +218199,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 +218279,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 +218366,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 +218803,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 +218927,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 +219019,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 +219111,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 +219203,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 +219282,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 +219480,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 +219952,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -219984,9 +220028,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 +220500,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -220533,9 +220577,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 +221049,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -221149,9 +221193,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 +221665,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - changes @@ -221699,9 +221743,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 +222215,7 @@ webhooks: - topics - visibility sender: *4 - team: *696 + team: *710 required: - action - team @@ -222247,10 +222291,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 +222367,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 +222459,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 +222797,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 +223161,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 +223389,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 +223619,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 +224643,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 +225652,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..6f7aab2294 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -51239,6 +51239,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -192747,6 +193076,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -534823,6 +535481,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -535718,6 +536705,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, @@ -536571,6 +537887,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index be4791eca5..07bd34fc44 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 @@ -18279,6 +18279,300 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &646 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &648 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &649 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &650 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &651 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &652 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &653 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &654 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &655 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &656 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &657 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &658 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &659 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &660 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url examples: default: &332 value: @@ -20420,7 +20714,7 @@ paths: url: type: string format: uri - user: &701 + user: &715 title: Public User description: Public User type: object @@ -24982,7 +25276,7 @@ paths: type: array items: *57 examples: - default: &718 + default: &732 value: - login: github id: 1 @@ -26881,7 +27175,7 @@ paths: type: array items: *62 examples: - default: &712 + default: &726 value: total_count: 1 repositories: @@ -27704,7 +27998,7 @@ paths: type: array items: *191 examples: - default: &704 + default: &718 value: total_count: 1 repositories: @@ -39404,7 +39698,7 @@ paths: parameters: - *165 - *292 - - &717 + - &731 name: repo_name description: repo_name parameter in: path @@ -40737,7 +41031,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 +41072,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 +45723,7 @@ paths: application/json: schema: type: array - items: &650 + items: &664 description: A repository security advisory. type: object properties: @@ -45748,7 +46042,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 +47894,7 @@ paths: - updated_at - url examples: - default: &691 + default: &705 value: - author: login: octocat @@ -47848,7 +48142,7 @@ paths: application/json: schema: *349 examples: - default: &692 + default: &706 value: author: login: octocat @@ -48039,7 +48333,7 @@ paths: - updated_at - url examples: - default: &693 + default: &707 value: - author: login: octocat @@ -48265,7 +48559,7 @@ paths: application/json: schema: *352 examples: - default: &694 + default: &708 value: author: login: octocat @@ -48981,7 +49275,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 +49340,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 +49482,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 +49561,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 +49772,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 +50610,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 +63085,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 +68287,7 @@ paths: type: array items: *476 examples: - default: &707 + default: &721 value: total_count: 2 machines: @@ -71341,7 +71635,7 @@ paths: application/json: schema: type: array - items: &655 + items: &669 title: Status description: The status of a commit. type: object @@ -72940,7 +73234,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 +79315,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 +80290,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 +80724,7 @@ paths: type: array items: *549 examples: - default: &723 + default: &737 value: - id: 1 repository: @@ -94314,7 +94608,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 type: object properties: number: *96 @@ -94422,6 +94716,10 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *646 examples: default: value: @@ -94559,7 +94857,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94641,7 +94939,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94729,7 +95027,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &802 + items: &816 type: object properties: type: @@ -94756,273 +95054,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 +95161,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 +95185,7 @@ paths: schema: type: object properties: - reason: *648 + reason: *662 expire_at: type: - string @@ -95201,7 +95245,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 +95273,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 +95396,9 @@ paths: application/json: schema: type: array - items: *650 + items: *664 examples: - default: *651 + default: *665 '400': *14 '404': *6 x-github: @@ -95548,9 +95592,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 +95941,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: default: value: @@ -96046,15 +96090,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 +96124,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 requestBody: required: true content: @@ -96251,10 +96295,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 +96338,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': *37 '400': *14 @@ -96323,7 +96367,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': description: Response @@ -96464,7 +96508,7 @@ paths: application/json: schema: type: array - items: &654 + items: &668 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -96837,7 +96881,7 @@ paths: application/json: schema: type: array - items: *654 + items: *668 examples: default: value: @@ -96927,7 +96971,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *669 examples: default: value: @@ -97021,7 +97065,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 +97165,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *670 examples: default: value: @@ -97261,7 +97305,7 @@ paths: application/json: schema: type: array - items: &657 + items: &671 title: Tag protection description: Tag protection type: object @@ -97342,7 +97386,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *671 examples: default: value: @@ -97490,7 +97534,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 +97546,7 @@ paths: required: - names examples: - default: &659 + default: &673 value: names: - octocat @@ -97557,9 +97601,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *672 examples: - default: *659 + default: *673 '404': *6 '422': *7 x-github: @@ -97582,7 +97626,7 @@ paths: parameters: - *366 - *367 - - &660 + - &674 name: per description: The time frame to display results for. in: query @@ -97613,7 +97657,7 @@ paths: - 128 clones: type: array - items: &661 + items: &675 title: Traffic type: object properties: @@ -97861,7 +97905,7 @@ paths: parameters: - *366 - *367 - - *660 + - *674 responses: '200': description: Response @@ -97882,7 +97926,7 @@ paths: - 3782 views: type: array - items: *661 + items: *675 required: - uniques - count @@ -98554,7 +98598,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 +98608,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 +98620,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 +98664,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &663 + items: &677 allOf: - type: object required: @@ -98702,7 +98746,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 +98811,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 +98859,7 @@ paths: required: true content: application/json: - schema: &672 + schema: &686 type: object required: - schemas @@ -98875,9 +98919,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 +98940,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 +98963,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 +98972,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 +99006,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 +99038,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 +99072,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 +99138,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 +99164,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 +99208,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *674 - - *675 + - *688 + - *689 - *39 responses: '200': @@ -99199,7 +99243,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &678 + items: &692 allOf: - type: object required: @@ -99291,7 +99335,7 @@ paths: address. examples: - true - roles: &677 + roles: &691 type: array description: The roles assigned to the user. items: @@ -99350,7 +99394,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 +99433,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 +99461,7 @@ paths: required: true content: application/json: - schema: &681 + schema: &695 type: object required: - schemas @@ -99510,9 +99554,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 +99603,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 +99631,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 +99654,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 +99667,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 +99697,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 +99755,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 +99801,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 +99832,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 +99933,7 @@ paths: - 1 Resources: type: array - items: &684 + items: &698 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -100136,22 +100180,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 +100221,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 +100246,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 +100356,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 +100390,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 +100516,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 +100624,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 +100763,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &688 + text_matches: &702 title: Search Result Text Matches type: array items: @@ -100883,7 +100927,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 +101047,7 @@ paths: type: number node_id: type: string - text_matches: *688 + text_matches: *702 required: - sha - node_id @@ -101186,7 +101230,7 @@ paths: - interactions - created - updated - - *689 + - *703 - *17 - *19 - name: advanced_search @@ -101324,7 +101368,7 @@ paths: - string - 'null' format: date-time - text_matches: *688 + text_matches: *702 pull_request: type: object properties: @@ -101550,7 +101594,7 @@ paths: enum: - created - updated - - *689 + - *703 - *17 - *19 responses: @@ -101595,7 +101639,7 @@ paths: - 'null' score: type: number - text_matches: *688 + text_matches: *702 required: - id - node_id @@ -101681,7 +101725,7 @@ paths: - forks - help-wanted-issues - updated - - *689 + - *703 - *17 - *19 responses: @@ -101918,7 +101962,7 @@ paths: - admin - pull - push - text_matches: *688 + text_matches: *702 temp_clone_token: type: string allow_merge_commit: @@ -102227,7 +102271,7 @@ paths: - string - 'null' format: uri - text_matches: *688 + text_matches: *702 related: type: - array @@ -102422,7 +102466,7 @@ paths: - followers - repositories - joined - - *689 + - *703 - *17 - *19 responses: @@ -102532,7 +102576,7 @@ paths: type: - boolean - 'null' - text_matches: *688 + text_matches: *702 blog: type: - string @@ -102614,7 +102658,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 +102699,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 +102800,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 +102831,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 +102844,7 @@ paths: type: array items: *349 examples: - default: *691 + default: *705 headers: Link: *38 x-github: @@ -102829,7 +102873,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 +102936,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 +102970,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 +102996,7 @@ paths: application/json: schema: *349 examples: - default: *692 + default: *706 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102977,7 +103021,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 +103051,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 +103065,7 @@ paths: type: array items: *352 examples: - default: *693 + default: *707 headers: Link: *38 x-github: @@ -103050,7 +103094,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 +103146,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 +103181,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 +103207,7 @@ paths: application/json: schema: *352 examples: - default: *694 + default: *708 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103188,7 +103232,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 +103263,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 +103322,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 +103384,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 +103442,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 +103501,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 +103539,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 +103590,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 +103627,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 +103667,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 +103704,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 +103713,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 +103746,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 +103774,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 +103808,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 +103837,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 +103849,7 @@ paths: type: array items: *364 examples: - default: *697 + default: *711 headers: Link: *38 '404': *6 @@ -103831,7 +103875,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 +103884,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 +103908,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 +103976,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 +104004,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 +104046,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 +104054,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 +104205,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 +104257,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 +104288,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 +104323,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 +104415,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 +104427,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 +104460,7 @@ paths: application/json: schema: oneOf: - - &702 + - &716 title: Private User description: Private User type: object @@ -104666,7 +104710,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 +104870,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *716 examples: default: value: @@ -105224,7 +105268,7 @@ paths: type: integer secrets: type: array - items: &703 + items: &717 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -105344,7 +105388,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *717 examples: default: value: @@ -105490,7 +105534,7 @@ paths: type: array items: *191 examples: - default: *704 + default: *718 '401': *23 '403': *27 '404': *6 @@ -105757,7 +105801,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 +105854,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 +105899,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *719 examples: - default: *706 + default: *720 '404': *6 x-github: githubCloudOnly: false @@ -105896,7 +105940,7 @@ paths: type: array items: *476 examples: - default: *707 + default: *721 '304': *35 '500': *83 '401': *23 @@ -106862,7 +106906,7 @@ paths: type: array items: *297 examples: - default: &720 + default: &734 value: - id: 197 name: hello_docker @@ -106963,7 +107007,7 @@ paths: application/json: schema: type: array - items: &708 + items: &722 title: Email description: Email type: object @@ -107033,9 +107077,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 +107156,7 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: default: value: @@ -107370,7 +107414,7 @@ paths: application/json: schema: type: array - items: &709 + items: &723 title: GPG Key description: A unique encryption key type: object @@ -107515,7 +107559,7 @@ paths: - subkeys - revoked examples: - default: &733 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -107600,9 +107644,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 +107703,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 +107715,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *723 examples: - default: *710 + default: *724 '404': *6 '304': *35 '403': *27 @@ -107696,7 +107740,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 +107931,7 @@ paths: type: array items: *62 examples: - default: *712 + default: *726 headers: Link: *38 '404': *6 @@ -108151,7 +108195,7 @@ paths: application/json: schema: type: array - items: &713 + items: &727 title: Key description: Key type: object @@ -108249,9 +108293,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: &714 + default: &728 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108290,9 +108334,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: *714 + default: *728 '404': *6 '304': *35 '403': *27 @@ -108348,7 +108392,7 @@ paths: application/json: schema: type: array - items: &715 + items: &729 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -108427,7 +108471,7 @@ paths: - account - plan examples: - default: &716 + default: &730 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -108489,9 +108533,9 @@ paths: application/json: schema: type: array - items: *715 + items: *729 examples: - default: *716 + default: *730 headers: Link: *38 '304': *35 @@ -109495,7 +109539,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 +109612,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 '304': *35 @@ -109610,7 +109654,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *19 - *17 responses: @@ -109622,8 +109666,8 @@ paths: type: array items: *297 examples: - default: *720 - '400': *721 + default: *734 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109652,7 +109696,7 @@ paths: application/json: schema: *297 examples: - default: &734 + default: &748 value: id: 40201 name: octo-name @@ -110107,9 +110151,9 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: - default: *722 + default: *736 headers: Link: *38 '304': *35 @@ -110222,7 +110266,7 @@ paths: type: array items: *62 examples: - default: &729 + default: &743 summary: Default response value: - id: 1296269 @@ -110582,7 +110626,7 @@ paths: type: array items: *549 examples: - default: *723 + default: *737 headers: Link: *38 '304': *35 @@ -110661,7 +110705,7 @@ paths: application/json: schema: type: array - items: &724 + items: &738 title: Social account description: Social media account type: object @@ -110678,7 +110722,7 @@ paths: - provider - url examples: - default: &725 + default: &739 value: - provider: twitter url: https://twitter.com/github @@ -110741,9 +110785,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 '422': *15 '304': *35 '404': *6 @@ -110831,7 +110875,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 +110895,7 @@ paths: - title - created_at examples: - default: &735 + default: &749 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110918,9 +110962,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: &727 + default: &741 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110951,7 +110995,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 +111007,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: *727 + default: *741 '404': *6 '304': *35 '403': *27 @@ -110988,7 +111032,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 +111061,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 +111086,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 +111459,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 +111497,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 +111557,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 +111606,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 +111727,7 @@ paths: type: array items: *297 examples: - default: *720 + default: *734 '403': *27 '401': *23 x-github: @@ -112087,9 +112131,9 @@ paths: application/json: schema: type: array - items: *709 + items: *723 examples: - default: *733 + default: *747 headers: Link: *38 x-github: @@ -112271,7 +112315,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 x-github: @@ -112310,7 +112354,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *213 - *19 - *17 @@ -112323,10 +112367,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 +112400,7 @@ paths: application/json: schema: *297 examples: - default: *734 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113140,9 +113184,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 headers: Link: *38 x-github: @@ -113172,9 +113216,9 @@ paths: application/json: schema: type: array - items: *726 + items: *740 examples: - default: *735 + default: *749 headers: Link: *38 x-github: @@ -113199,7 +113243,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 +113255,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 +113419,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 +113488,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 +113509,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 +113582,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 +114495,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 +114574,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 +114801,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 +114993,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 +115068,7 @@ webhooks: required: true content: application/json: - schema: &745 + schema: &759 title: Exemption request cancellation event type: object properties: @@ -115032,11 +115076,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 +115318,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 +115428,7 @@ webhooks: required: true content: application/json: - schema: &746 + schema: &760 title: Exemption request completed event type: object properties: @@ -115392,11 +115436,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 +115510,7 @@ webhooks: required: true content: application/json: - schema: &747 + schema: &761 title: Exemption request created event type: object properties: @@ -115474,11 +115518,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 +115592,7 @@ webhooks: required: true content: application/json: - schema: &748 + schema: &762 title: Exemption response dismissed event type: object properties: @@ -115556,12 +115600,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 +115677,7 @@ webhooks: required: true content: application/json: - schema: &749 + schema: &763 title: Exemption response submitted event type: object properties: @@ -115641,12 +115685,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 +115763,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 +115830,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 +115897,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 +115964,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 +116032,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 +116110,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 +116223,7 @@ webhooks: - examples: - neutral - deployment: *750 + deployment: *764 details_url: type: string examples: @@ -116277,9 +116321,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 +116716,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 +117115,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 +117523,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 +118518,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 +119206,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 +119888,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 +120209,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 +120627,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 +120912,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 +121260,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 +121545,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 +121555,7 @@ webhooks: type: - string - 'null' - repository: *741 + repository: *755 sender: *4 required: - action @@ -121754,12 +121798,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 +122065,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 +122149,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 +122170,7 @@ webhooks: enum: - tag - branch - repository: *741 + repository: *755 sender: *4 required: - ref @@ -122209,9 +122253,9 @@ webhooks: enum: - created definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122296,9 +122340,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 +122420,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 +122500,9 @@ webhooks: enum: - updated definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122535,10 +122579,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 +122667,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 +122763,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 +122851,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 +122939,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 +123025,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 +123111,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 +123198,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 +123284,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 +123364,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 +123404,8 @@ webhooks: - verified - created_at - read_only - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -123438,11 +123482,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 +124058,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 +124805,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 +124878,7 @@ webhooks: type: string enum: - approved - approver: &757 + approver: &771 type: object properties: avatar_url: @@ -124877,11 +124921,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 +125006,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &759 + workflow_job_run: &773 type: object properties: conclusion: @@ -125708,18 +125752,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 +126480,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 +128429,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 +129125,7 @@ webhooks: type: string enum: - answered - answer: &763 + answer: &777 type: object properties: author_association: @@ -129241,7 +129285,7 @@ webhooks: - created_at - updated_at - body - discussion: &761 + discussion: &775 title: Discussion description: A Discussion in a repository. type: object @@ -129559,10 +129603,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 +129733,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 +129820,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 +129906,7 @@ webhooks: type: string enum: - created - comment: &762 + comment: &776 type: object properties: author_association: @@ -130022,11 +130066,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 +130153,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 +130253,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 +130342,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 +130428,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 +130532,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 +130618,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 +130654,8 @@ webhooks: - color - default - description - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130694,11 +130738,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 +130824,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 +130910,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 +130999,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 +131091,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 +131176,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 +131264,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 +131350,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 +131426,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 +131492,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 +131558,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 +131624,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 +131690,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 +131756,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 +131822,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 +131889,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 +132567,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 +132715,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 +132755,7 @@ webhooks: - action - sha - html_url - repository: *741 + repository: *755 sender: *4 required: - pages @@ -132787,10 +132831,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 +132860,8 @@ webhooks: - name - full_name - private - repository: *741 - requester: *765 + repository: *755 + requester: *779 sender: *4 required: - action @@ -132892,11 +132936,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 +133017,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 +133098,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 +133147,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 +133234,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 +133264,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 +133345,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 +133532,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 +133614,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 +133866,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 +135058,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -135095,7 +135139,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 +135306,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 +136496,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -136533,7 +136577,7 @@ webhooks: type: string enum: - edited - changes: &794 + changes: &808 description: The changes to the comment. type: object properties: @@ -136545,9 +136589,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 +137781,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -137820,10 +137864,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 +138812,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -138849,8 +138893,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 +139987,8 @@ webhooks: required: - state - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140023,8 +140067,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 +141008,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -141044,8 +141088,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 +142031,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 +142174,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -142230,8 +142274,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 +143220,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 +143302,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 +144247,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 +144329,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 +145276,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -145312,8 +145356,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 +146297,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 +147781,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 +148726,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148763,9 +148807,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 +149747,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149783,8 +149827,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 +150773,8 @@ webhooks: user_view_type: type: string type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152231,11 +152275,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 +152359,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 +152445,7 @@ webhooks: type: string enum: - unassigned - assignee: &797 + assignee: &811 title: User type: - object @@ -152473,11 +152517,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 +152600,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 +152685,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 +153630,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153667,11 +153711,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 +153794,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 +153879,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 +153961,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 +154075,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 +154161,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 +154251,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 +154336,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154372,10 +154416,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 +154507,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154545,10 +154589,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 +154678,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154715,8 +154759,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 +154846,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 +154928,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 +155035,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 +155141,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 +155224,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 +155306,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 +155388,7 @@ webhooks: required: - login - id - team: &775 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -155537,11 +155581,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 +155664,7 @@ webhooks: required: - login - id - team: *775 + team: *789 required: - action - scope @@ -155702,8 +155746,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 +155773,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155816,10 +155860,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 +155936,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 +156044,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 +156129,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 +156212,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 +156356,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156392,11 +156436,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 +156550,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 +156634,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 +156717,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 +156800,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 +156883,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 +156979,8 @@ webhooks: - role - organization_url - user - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157014,11 +157058,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 +157141,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 +157264,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 +157345,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 +157436,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 +157516,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 +158041,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &779 + items: &793 title: Ruby Gems metadata type: object properties: @@ -158094,7 +158138,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158170,9 +158214,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 +158578,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 source_url: type: string format: uri @@ -158605,7 +158649,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158786,12 +158830,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 +158912,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 +159062,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 +159142,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 +159222,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 +159301,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 +159410,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 +159442,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 +159688,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 +159814,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -159851,11 +159895,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 +159979,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 +160111,7 @@ webhooks: repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -160161,11 +160205,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 +160303,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 +160502,7 @@ webhooks: type: string required: - after_id - repository: *741 + repository: *755 sender: *4 required: - action @@ -160538,10 +160582,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 +160712,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160748,10 +160792,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 +160835,7 @@ webhooks: - name - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160870,14 +160914,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 +161010,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 +161094,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 +161178,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 +161262,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 +161370,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 +161453,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 +161538,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 +161688,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 +161771,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 +161894,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 +161979,7 @@ webhooks: type: string enum: - archived - changes: &789 + changes: &803 type: object properties: archived_at: @@ -161951,9 +161995,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 +162136,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 +162220,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 +162303,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 +162410,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 +162430,7 @@ webhooks: required: - id - name - - &788 + - &802 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -162415,8 +162459,8 @@ webhooks: oneOf: - type: string - type: integer - - *787 - - *788 + - *801 + - *802 type: - 'null' - string @@ -162439,9 +162483,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 +162582,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 +162667,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 +162752,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 +162835,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 +162972,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 +163120,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 +163193,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 +163273,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 +165628,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -165666,11 +165710,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 +168056,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -168094,11 +168138,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 +170484,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -170522,11 +170566,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 +170634,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *741 + repository: *755 sender: *4 required: - action @@ -170671,12 +170715,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 +170800,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 +173131,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -173166,11 +173210,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 +175560,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *741 + repository: *755 sender: *4 required: - action @@ -175640,12 +175684,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 +175769,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 +178104,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -178140,11 +178184,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 +180536,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -180573,10 +180617,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 +182966,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -183002,12 +183046,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 +183130,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 +183216,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 +183301,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 +183681,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 +185913,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -185949,7 +185993,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 +186286,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 +188506,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -188542,11 +188586,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 +190811,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -190848,9 +190892,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 +193127,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 review: description: The review that was affected. type: object @@ -193329,9 +193373,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 +195489,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 +195723,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 +198075,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -198117,12 +198161,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 +200520,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 +200715,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 +203069,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -203112,12 +203156,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 +205501,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 +205685,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 +207923,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: *796 + repository: *755 + review: *810 sender: *4 required: - action @@ -207960,9 +208004,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 +210137,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -210485,9 +210529,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 +212645,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -212995,10 +213039,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 +215377,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -215415,11 +215459,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 +217813,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -217848,11 +217892,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 +220235,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -220272,10 +220316,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 +222648,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -222807,7 +222851,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 +222946,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 +223535,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 +224014,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224026,7 +224070,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224104,9 +224148,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 +224462,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224468,7 +224512,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224545,10 +224589,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 +224913,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *741 + repository: *755 sender: *4 required: - action @@ -224946,11 +224990,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 +225111,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 +225193,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 +225521,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225553,10 +225597,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 +225923,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225955,11 +225999,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 +226079,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 +226159,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 +226239,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 +226319,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 +226399,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 +226480,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 +226568,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 +226686,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 +226761,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 +226845,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 +226925,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 +227022,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 +227105,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 +227187,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 +227269,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 +227580,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 +227661,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 +227742,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 +227866,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 +228079,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 +228160,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 +228366,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 +228447,7 @@ webhooks: type: string enum: - created - alert: &801 + alert: &815 type: object properties: number: *96 @@ -228513,10 +228557,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 +228641,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 +228883,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 +228965,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 +229047,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 +229129,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 +229263,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 +229344,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 +229534,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 +229611,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 +229801,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 +229882,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 +230192,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 +230285,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 +230367,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 +230451,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &806 + changes: &820 type: object properties: tier: @@ -230451,13 +230495,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 +230578,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 +230658,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 +230745,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 +231182,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 +231306,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 +231398,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 +231490,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 +231582,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 +231661,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 +231859,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 +232331,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232363,9 +232407,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 +232879,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232912,9 +232956,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 +233428,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -233528,9 +233572,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 +234044,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - changes @@ -234078,9 +234122,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 +234594,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -234626,10 +234670,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 +234746,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 +234838,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 +235176,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 +235540,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 +235768,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 +235998,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 +237022,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 +238031,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..6f7aab2294 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -51239,6 +51239,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -192747,6 +193076,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -534823,6 +535481,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } } @@ -535718,6 +536705,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, @@ -536571,6 +537887,335 @@ "null" ], "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + ] } } }, diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index be4791eca5..07bd34fc44 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 @@ -18279,6 +18279,300 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &646 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &648 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &649 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &650 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &651 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &652 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &653 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &654 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &655 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &656 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &657 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &658 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &659 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &660 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url examples: default: &332 value: @@ -20420,7 +20714,7 @@ paths: url: type: string format: uri - user: &701 + user: &715 title: Public User description: Public User type: object @@ -24982,7 +25276,7 @@ paths: type: array items: *57 examples: - default: &718 + default: &732 value: - login: github id: 1 @@ -26881,7 +27175,7 @@ paths: type: array items: *62 examples: - default: &712 + default: &726 value: total_count: 1 repositories: @@ -27704,7 +27998,7 @@ paths: type: array items: *191 examples: - default: &704 + default: &718 value: total_count: 1 repositories: @@ -39404,7 +39698,7 @@ paths: parameters: - *165 - *292 - - &717 + - &731 name: repo_name description: repo_name parameter in: path @@ -40737,7 +41031,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 +41072,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 +45723,7 @@ paths: application/json: schema: type: array - items: &650 + items: &664 description: A repository security advisory. type: object properties: @@ -45748,7 +46042,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 +47894,7 @@ paths: - updated_at - url examples: - default: &691 + default: &705 value: - author: login: octocat @@ -47848,7 +48142,7 @@ paths: application/json: schema: *349 examples: - default: &692 + default: &706 value: author: login: octocat @@ -48039,7 +48333,7 @@ paths: - updated_at - url examples: - default: &693 + default: &707 value: - author: login: octocat @@ -48265,7 +48559,7 @@ paths: application/json: schema: *352 examples: - default: &694 + default: &708 value: author: login: octocat @@ -48981,7 +49275,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 +49340,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 +49482,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 +49561,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 +49772,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 +50610,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 +63085,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 +68287,7 @@ paths: type: array items: *476 examples: - default: &707 + default: &721 value: total_count: 2 machines: @@ -71341,7 +71635,7 @@ paths: application/json: schema: type: array - items: &655 + items: &669 title: Status description: The status of a commit. type: object @@ -72940,7 +73234,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 +79315,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 +80290,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 +80724,7 @@ paths: type: array items: *549 examples: - default: &723 + default: &737 value: - id: 1 repository: @@ -94314,7 +94608,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 type: object properties: number: *96 @@ -94422,6 +94716,10 @@ paths: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - *646 examples: default: value: @@ -94559,7 +94857,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94641,7 +94939,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -94729,7 +95027,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &802 + items: &816 type: object properties: type: @@ -94756,273 +95054,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 +95161,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 +95185,7 @@ paths: schema: type: object properties: - reason: *648 + reason: *662 expire_at: type: - string @@ -95201,7 +95245,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 +95273,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 +95396,9 @@ paths: application/json: schema: type: array - items: *650 + items: *664 examples: - default: *651 + default: *665 '400': *14 '404': *6 x-github: @@ -95548,9 +95592,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 +95941,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *664 examples: default: value: @@ -96046,15 +96090,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 +96124,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 requestBody: required: true content: @@ -96251,10 +96295,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 +96338,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': *37 '400': *14 @@ -96323,7 +96367,7 @@ paths: parameters: - *366 - *367 - - *652 + - *666 responses: '202': description: Response @@ -96464,7 +96508,7 @@ paths: application/json: schema: type: array - items: &654 + items: &668 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -96837,7 +96881,7 @@ paths: application/json: schema: type: array - items: *654 + items: *668 examples: default: value: @@ -96927,7 +96971,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *669 examples: default: value: @@ -97021,7 +97065,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 +97165,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *670 examples: default: value: @@ -97261,7 +97305,7 @@ paths: application/json: schema: type: array - items: &657 + items: &671 title: Tag protection description: Tag protection type: object @@ -97342,7 +97386,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *671 examples: default: value: @@ -97490,7 +97534,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 +97546,7 @@ paths: required: - names examples: - default: &659 + default: &673 value: names: - octocat @@ -97557,9 +97601,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *672 examples: - default: *659 + default: *673 '404': *6 '422': *7 x-github: @@ -97582,7 +97626,7 @@ paths: parameters: - *366 - *367 - - &660 + - &674 name: per description: The time frame to display results for. in: query @@ -97613,7 +97657,7 @@ paths: - 128 clones: type: array - items: &661 + items: &675 title: Traffic type: object properties: @@ -97861,7 +97905,7 @@ paths: parameters: - *366 - *367 - - *660 + - *674 responses: '200': description: Response @@ -97882,7 +97926,7 @@ paths: - 3782 views: type: array - items: *661 + items: *675 required: - uniques - count @@ -98554,7 +98598,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 +98608,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 +98620,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 +98664,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &663 + items: &677 allOf: - type: object required: @@ -98702,7 +98746,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 +98811,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 +98859,7 @@ paths: required: true content: application/json: - schema: &672 + schema: &686 type: object required: - schemas @@ -98875,9 +98919,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 +98940,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 +98963,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 +98972,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 +99006,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 +99038,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 +99072,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 +99138,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 +99164,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 +99208,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *674 - - *675 + - *688 + - *689 - *39 responses: '200': @@ -99199,7 +99243,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &678 + items: &692 allOf: - type: object required: @@ -99291,7 +99335,7 @@ paths: address. examples: - true - roles: &677 + roles: &691 type: array description: The roles assigned to the user. items: @@ -99350,7 +99394,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 +99433,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 +99461,7 @@ paths: required: true content: application/json: - schema: &681 + schema: &695 type: object required: - schemas @@ -99510,9 +99554,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 +99603,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 +99631,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 +99654,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 +99667,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 +99697,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 +99755,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 +99801,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 +99832,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 +99933,7 @@ paths: - 1 Resources: type: array - items: &684 + items: &698 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -100136,22 +100180,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 +100221,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 +100246,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 +100356,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 +100390,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 +100516,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 +100624,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 +100763,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &688 + text_matches: &702 title: Search Result Text Matches type: array items: @@ -100883,7 +100927,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 +101047,7 @@ paths: type: number node_id: type: string - text_matches: *688 + text_matches: *702 required: - sha - node_id @@ -101186,7 +101230,7 @@ paths: - interactions - created - updated - - *689 + - *703 - *17 - *19 - name: advanced_search @@ -101324,7 +101368,7 @@ paths: - string - 'null' format: date-time - text_matches: *688 + text_matches: *702 pull_request: type: object properties: @@ -101550,7 +101594,7 @@ paths: enum: - created - updated - - *689 + - *703 - *17 - *19 responses: @@ -101595,7 +101639,7 @@ paths: - 'null' score: type: number - text_matches: *688 + text_matches: *702 required: - id - node_id @@ -101681,7 +101725,7 @@ paths: - forks - help-wanted-issues - updated - - *689 + - *703 - *17 - *19 responses: @@ -101918,7 +101962,7 @@ paths: - admin - pull - push - text_matches: *688 + text_matches: *702 temp_clone_token: type: string allow_merge_commit: @@ -102227,7 +102271,7 @@ paths: - string - 'null' format: uri - text_matches: *688 + text_matches: *702 related: type: - array @@ -102422,7 +102466,7 @@ paths: - followers - repositories - joined - - *689 + - *703 - *17 - *19 responses: @@ -102532,7 +102576,7 @@ paths: type: - boolean - 'null' - text_matches: *688 + text_matches: *702 blog: type: - string @@ -102614,7 +102658,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 +102699,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 +102800,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 +102831,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 +102844,7 @@ paths: type: array items: *349 examples: - default: *691 + default: *705 headers: Link: *38 x-github: @@ -102829,7 +102873,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 +102936,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 +102970,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 +102996,7 @@ paths: application/json: schema: *349 examples: - default: *692 + default: *706 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102977,7 +103021,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 +103051,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 +103065,7 @@ paths: type: array items: *352 examples: - default: *693 + default: *707 headers: Link: *38 x-github: @@ -103050,7 +103094,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 +103146,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 +103181,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 +103207,7 @@ paths: application/json: schema: *352 examples: - default: *694 + default: *708 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103188,7 +103232,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 +103263,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 +103322,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 +103384,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 +103442,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 +103501,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 +103539,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 +103590,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 +103627,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 +103667,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 +103704,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 +103713,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 +103746,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 +103774,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 +103808,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 +103837,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 +103849,7 @@ paths: type: array items: *364 examples: - default: *697 + default: *711 headers: Link: *38 '404': *6 @@ -103831,7 +103875,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 +103884,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 +103908,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 +103976,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 +104004,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 +104046,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 +104054,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 +104205,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 +104257,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 +104288,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 +104323,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 +104415,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 +104427,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 +104460,7 @@ paths: application/json: schema: oneOf: - - &702 + - &716 title: Private User description: Private User type: object @@ -104666,7 +104710,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 +104870,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *716 examples: default: value: @@ -105224,7 +105268,7 @@ paths: type: integer secrets: type: array - items: &703 + items: &717 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -105344,7 +105388,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *717 examples: default: value: @@ -105490,7 +105534,7 @@ paths: type: array items: *191 examples: - default: *704 + default: *718 '401': *23 '403': *27 '404': *6 @@ -105757,7 +105801,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 +105854,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 +105899,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *719 examples: - default: *706 + default: *720 '404': *6 x-github: githubCloudOnly: false @@ -105896,7 +105940,7 @@ paths: type: array items: *476 examples: - default: *707 + default: *721 '304': *35 '500': *83 '401': *23 @@ -106862,7 +106906,7 @@ paths: type: array items: *297 examples: - default: &720 + default: &734 value: - id: 197 name: hello_docker @@ -106963,7 +107007,7 @@ paths: application/json: schema: type: array - items: &708 + items: &722 title: Email description: Email type: object @@ -107033,9 +107077,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 +107156,7 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: default: value: @@ -107370,7 +107414,7 @@ paths: application/json: schema: type: array - items: &709 + items: &723 title: GPG Key description: A unique encryption key type: object @@ -107515,7 +107559,7 @@ paths: - subkeys - revoked examples: - default: &733 + default: &747 value: - id: 3 name: Octocat's GPG Key @@ -107600,9 +107644,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 +107703,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 +107715,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *723 examples: - default: *710 + default: *724 '404': *6 '304': *35 '403': *27 @@ -107696,7 +107740,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 +107931,7 @@ paths: type: array items: *62 examples: - default: *712 + default: *726 headers: Link: *38 '404': *6 @@ -108151,7 +108195,7 @@ paths: application/json: schema: type: array - items: &713 + items: &727 title: Key description: Key type: object @@ -108249,9 +108293,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: &714 + default: &728 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -108290,9 +108334,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *727 examples: - default: *714 + default: *728 '404': *6 '304': *35 '403': *27 @@ -108348,7 +108392,7 @@ paths: application/json: schema: type: array - items: &715 + items: &729 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -108427,7 +108471,7 @@ paths: - account - plan examples: - default: &716 + default: &730 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -108489,9 +108533,9 @@ paths: application/json: schema: type: array - items: *715 + items: *729 examples: - default: *716 + default: *730 headers: Link: *38 '304': *35 @@ -109495,7 +109539,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 +109612,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 '304': *35 @@ -109610,7 +109654,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *19 - *17 responses: @@ -109622,8 +109666,8 @@ paths: type: array items: *297 examples: - default: *720 - '400': *721 + default: *734 + '400': *735 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109652,7 +109696,7 @@ paths: application/json: schema: *297 examples: - default: &734 + default: &748 value: id: 40201 name: octo-name @@ -110107,9 +110151,9 @@ paths: application/json: schema: type: array - items: *708 + items: *722 examples: - default: *722 + default: *736 headers: Link: *38 '304': *35 @@ -110222,7 +110266,7 @@ paths: type: array items: *62 examples: - default: &729 + default: &743 summary: Default response value: - id: 1296269 @@ -110582,7 +110626,7 @@ paths: type: array items: *549 examples: - default: *723 + default: *737 headers: Link: *38 '304': *35 @@ -110661,7 +110705,7 @@ paths: application/json: schema: type: array - items: &724 + items: &738 title: Social account description: Social media account type: object @@ -110678,7 +110722,7 @@ paths: - provider - url examples: - default: &725 + default: &739 value: - provider: twitter url: https://twitter.com/github @@ -110741,9 +110785,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 '422': *15 '304': *35 '404': *6 @@ -110831,7 +110875,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 +110895,7 @@ paths: - title - created_at examples: - default: &735 + default: &749 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110918,9 +110962,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: &727 + default: &741 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110951,7 +110995,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 +111007,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *740 examples: - default: *727 + default: *741 '404': *6 '304': *35 '403': *27 @@ -110988,7 +111032,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 +111061,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 +111086,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 +111459,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 +111497,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 +111557,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 +111606,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 +111727,7 @@ paths: type: array items: *297 examples: - default: *720 + default: *734 '403': *27 '401': *23 x-github: @@ -112087,9 +112131,9 @@ paths: application/json: schema: type: array - items: *709 + items: *723 examples: - default: *733 + default: *747 headers: Link: *38 x-github: @@ -112271,7 +112315,7 @@ paths: type: array items: *57 examples: - default: *718 + default: *732 headers: Link: *38 x-github: @@ -112310,7 +112354,7 @@ paths: - docker - nuget - container - - *719 + - *733 - *213 - *19 - *17 @@ -112323,10 +112367,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 +112400,7 @@ paths: application/json: schema: *297 examples: - default: *734 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113140,9 +113184,9 @@ paths: application/json: schema: type: array - items: *724 + items: *738 examples: - default: *725 + default: *739 headers: Link: *38 x-github: @@ -113172,9 +113216,9 @@ paths: application/json: schema: type: array - items: *726 + items: *740 examples: - default: *735 + default: *749 headers: Link: *38 x-github: @@ -113199,7 +113243,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 +113255,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 +113419,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 +113488,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 +113509,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 +113582,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 +114495,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 +114574,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 +114801,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 +114993,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 +115068,7 @@ webhooks: required: true content: application/json: - schema: &745 + schema: &759 title: Exemption request cancellation event type: object properties: @@ -115032,11 +115076,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 +115318,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 +115428,7 @@ webhooks: required: true content: application/json: - schema: &746 + schema: &760 title: Exemption request completed event type: object properties: @@ -115392,11 +115436,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 +115510,7 @@ webhooks: required: true content: application/json: - schema: &747 + schema: &761 title: Exemption request created event type: object properties: @@ -115474,11 +115518,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 +115592,7 @@ webhooks: required: true content: application/json: - schema: &748 + schema: &762 title: Exemption response dismissed event type: object properties: @@ -115556,12 +115600,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 +115677,7 @@ webhooks: required: true content: application/json: - schema: &749 + schema: &763 title: Exemption response submitted event type: object properties: @@ -115641,12 +115685,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 +115763,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 +115830,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 +115897,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 +115964,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 +116032,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 +116110,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 +116223,7 @@ webhooks: - examples: - neutral - deployment: *750 + deployment: *764 details_url: type: string examples: @@ -116277,9 +116321,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 +116716,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 +117115,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 +117523,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 +118518,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 +119206,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 +119888,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 +120209,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 +120627,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 +120912,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 +121260,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 +121545,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 +121555,7 @@ webhooks: type: - string - 'null' - repository: *741 + repository: *755 sender: *4 required: - action @@ -121754,12 +121798,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 +122065,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 +122149,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 +122170,7 @@ webhooks: enum: - tag - branch - repository: *741 + repository: *755 sender: *4 required: - ref @@ -122209,9 +122253,9 @@ webhooks: enum: - created definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122296,9 +122340,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 +122420,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 +122500,9 @@ webhooks: enum: - updated definition: *112 - enterprise: *738 - installation: *739 - organization: *740 + enterprise: *752 + installation: *753 + organization: *754 sender: *4 required: - action @@ -122535,10 +122579,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 +122667,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 +122763,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 +122851,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 +122939,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 +123025,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 +123111,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 +123198,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 +123284,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 +123364,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 +123404,8 @@ webhooks: - verified - created_at - read_only - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -123438,11 +123482,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 +124058,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 +124805,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 +124878,7 @@ webhooks: type: string enum: - approved - approver: &757 + approver: &771 type: object properties: avatar_url: @@ -124877,11 +124921,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 +125006,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &759 + workflow_job_run: &773 type: object properties: conclusion: @@ -125708,18 +125752,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 +126480,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 +128429,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 +129125,7 @@ webhooks: type: string enum: - answered - answer: &763 + answer: &777 type: object properties: author_association: @@ -129241,7 +129285,7 @@ webhooks: - created_at - updated_at - body - discussion: &761 + discussion: &775 title: Discussion description: A Discussion in a repository. type: object @@ -129559,10 +129603,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 +129733,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 +129820,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 +129906,7 @@ webhooks: type: string enum: - created - comment: &762 + comment: &776 type: object properties: author_association: @@ -130022,11 +130066,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 +130153,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 +130253,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 +130342,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 +130428,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 +130532,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 +130618,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 +130654,8 @@ webhooks: - color - default - description - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -130694,11 +130738,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 +130824,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 +130910,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 +130999,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 +131091,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 +131176,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 +131264,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 +131350,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 +131426,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 +131492,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 +131558,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 +131624,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 +131690,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 +131756,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 +131822,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 +131889,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 +132567,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 +132715,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 +132755,7 @@ webhooks: - action - sha - html_url - repository: *741 + repository: *755 sender: *4 required: - pages @@ -132787,10 +132831,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 +132860,8 @@ webhooks: - name - full_name - private - repository: *741 - requester: *765 + repository: *755 + requester: *779 sender: *4 required: - action @@ -132892,11 +132936,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 +133017,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 +133098,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 +133147,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 +133234,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 +133264,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 +133345,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 +133532,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 +133614,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 +133866,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 +135058,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -135095,7 +135139,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 +135306,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 +136496,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -136533,7 +136577,7 @@ webhooks: type: string enum: - edited - changes: &794 + changes: &808 description: The changes to the comment. type: object properties: @@ -136545,9 +136589,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 +137781,8 @@ webhooks: - state - locked - assignee - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -137820,10 +137864,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 +138812,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -138849,8 +138893,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 +139987,8 @@ webhooks: required: - state - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -140023,8 +140067,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 +141008,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -141044,8 +141088,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 +142031,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 +142174,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -142230,8 +142274,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 +143220,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 +143302,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 +144247,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 +144329,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 +145276,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -145312,8 +145356,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 +146297,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 +147781,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 +148726,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -148763,9 +148807,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 +149747,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -149783,8 +149827,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 +150773,8 @@ webhooks: user_view_type: type: string type: *280 - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -152231,11 +152275,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 +152359,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 +152445,7 @@ webhooks: type: string enum: - unassigned - assignee: &797 + assignee: &811 title: User type: - object @@ -152473,11 +152517,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 +152600,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 +152685,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 +153630,8 @@ webhooks: format: uri user_view_type: type: string - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -153667,11 +153711,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 +153794,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 +153879,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 +153961,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 +154075,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 +154161,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 +154251,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 +154336,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154372,10 +154416,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 +154507,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154545,10 +154589,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 +154678,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *741 + repository: *755 sender: *4 required: - action @@ -154715,8 +154759,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 +154846,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 +154928,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 +155035,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 +155141,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 +155224,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 +155306,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 +155388,7 @@ webhooks: required: - login - id - team: &775 + team: &789 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -155537,11 +155581,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 +155664,7 @@ webhooks: required: - login - id - team: *775 + team: *789 required: - action - scope @@ -155702,8 +155746,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 +155773,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -155816,10 +155860,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 +155936,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 +156044,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 +156129,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 +156212,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 +156356,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -156392,11 +156436,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 +156550,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 +156634,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 +156717,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 +156800,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 +156883,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 +156979,8 @@ webhooks: - role - organization_url - user - organization: *740 - repository: *741 + organization: *754 + repository: *755 sender: *4 required: - action @@ -157014,11 +157058,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 +157141,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 +157264,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 +157345,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 +157436,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 +157516,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 +158041,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &779 + items: &793 title: Ruby Gems metadata type: object properties: @@ -158094,7 +158138,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158170,9 +158214,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 +158578,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 source_url: type: string format: uri @@ -158605,7 +158649,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -158786,12 +158830,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 +158912,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 +159062,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 +159142,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 +159222,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 +159301,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 +159410,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 +159442,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 +159688,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 +159814,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -159851,11 +159895,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 +159979,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 +160111,7 @@ webhooks: repository: anyOf: - type: 'null' - - *741 + - *755 sender: *4 required: - action @@ -160161,11 +160205,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 +160303,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 +160502,7 @@ webhooks: type: string required: - after_id - repository: *741 + repository: *755 sender: *4 required: - action @@ -160538,10 +160582,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 +160712,7 @@ webhooks: - creator - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160748,10 +160792,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 +160835,7 @@ webhooks: - name - created_at - updated_at - repository: *741 + repository: *755 sender: *4 required: - action @@ -160870,14 +160914,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 +161010,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 +161094,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 +161178,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 +161262,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 +161370,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 +161453,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 +161538,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 +161688,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 +161771,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 +161894,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 +161979,7 @@ webhooks: type: string enum: - archived - changes: &789 + changes: &803 type: object properties: archived_at: @@ -161951,9 +161995,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 +162136,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 +162220,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 +162303,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 +162410,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 +162430,7 @@ webhooks: required: - id - name - - &788 + - &802 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -162415,8 +162459,8 @@ webhooks: oneOf: - type: string - type: integer - - *787 - - *788 + - *801 + - *802 type: - 'null' - string @@ -162439,9 +162483,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 +162582,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 +162667,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 +162752,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 +162835,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 +162972,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 +163120,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 +163193,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 +163273,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 +165628,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -165666,11 +165710,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 +168056,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -168094,11 +168138,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 +170484,7 @@ webhooks: - draft reason: type: string - repository: *741 + repository: *755 sender: *4 required: - action @@ -170522,11 +170566,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 +170634,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *741 + repository: *755 sender: *4 required: - action @@ -170671,12 +170715,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 +170800,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 +173131,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -173166,11 +173210,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 +175560,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *741 + repository: *755 sender: *4 required: - action @@ -175640,12 +175684,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 +175769,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 +178104,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -178140,11 +178184,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 +180536,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -180573,10 +180617,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 +182966,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -183002,12 +183046,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 +183130,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 +183216,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 +183301,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 +183681,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 +185913,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -185949,7 +185993,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 +186286,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 +188506,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -188542,11 +188586,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 +190811,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *741 + repository: *755 sender: *4 required: - action @@ -190848,9 +190892,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 +193127,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 review: description: The review that was affected. type: object @@ -193329,9 +193373,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 +195489,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 +195723,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 +198075,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -198117,12 +198161,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 +200520,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 +200715,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 +203069,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 requested_reviewer: title: User type: @@ -203112,12 +203156,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 +205501,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 +205685,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 +207923,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 - review: *796 + repository: *755 + review: *810 sender: *4 required: - action @@ -207960,9 +208004,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 +210137,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -210485,9 +210529,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 +212645,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *741 + repository: *755 sender: *4 thread: type: object @@ -212995,10 +213039,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 +215377,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -215415,11 +215459,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 +217813,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -217848,11 +217892,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 +220235,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -220272,10 +220316,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 +222648,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *741 + repository: *755 sender: *4 required: - action @@ -222807,7 +222851,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 +222946,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 +223535,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 +224014,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224026,7 +224070,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224104,9 +224148,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 +224462,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *779 + items: *793 summary: type: string tag_name: @@ -224468,7 +224512,7 @@ webhooks: - owner - package_version - registry - repository: *741 + repository: *755 sender: *4 required: - action @@ -224545,10 +224589,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 +224913,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *741 + repository: *755 sender: *4 required: - action @@ -224946,11 +224990,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 +225111,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 +225193,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 +225521,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225553,10 +225597,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 +225923,7 @@ webhooks: - string - 'null' format: uri - repository: *741 + repository: *755 sender: *4 required: - action @@ -225955,11 +225999,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 +226079,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 +226159,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 +226239,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 +226319,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 +226399,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 +226480,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 +226568,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 +226686,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 +226761,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 +226845,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 +226925,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 +227022,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 +227105,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 +227187,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 +227269,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 +227580,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 +227661,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 +227742,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 +227866,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 +228079,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 +228160,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 +228366,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 +228447,7 @@ webhooks: type: string enum: - created - alert: &801 + alert: &815 type: object properties: number: *96 @@ -228513,10 +228557,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 +228641,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 +228883,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 +228965,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 +229047,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 +229129,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 +229263,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 +229344,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 +229534,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 +229611,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 +229801,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 +229882,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 +230192,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 +230285,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 +230367,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 +230451,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &806 + changes: &820 type: object properties: tier: @@ -230451,13 +230495,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 +230578,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 +230658,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 +230745,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 +231182,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 +231306,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 +231398,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 +231490,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 +231582,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 +231661,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 +231859,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 +232331,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232363,9 +232407,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 +232879,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -232912,9 +232956,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 +233428,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -233528,9 +233572,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 +234044,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - changes @@ -234078,9 +234122,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 +234594,7 @@ webhooks: - topics - visibility sender: *4 - team: *807 + team: *821 required: - action - team @@ -234626,10 +234670,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 +234746,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 +234838,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 +235176,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 +235540,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 +235768,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 +235998,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 +237022,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 +238031,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..5fd27217d9 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -117400,970 +117400,1341 @@ null ] }, - "organization-secret-scanning-alert": { + "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": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { + "path": { "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" }, - "secret_type": { + "blob_sha": { "type": "string", - "description": "The type of secret that secret scanning detected." + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] }, - "secret_type_display_name": { + "blob_url": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "The API URL to get the associated blob resource" }, - "secret": { + "commit_sha": { "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" ] }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "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" ] }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." + "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." }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" + "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." }, - "validity": { + "blob_sha": { "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" ] }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" + "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" + ] }, - "actions-billing-usage": { + "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": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } + "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": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" + "issue_title_url" ] }, - "advanced-security-active-committers-user": { + "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": { - "user_login": { - "type": "string" - }, - "last_pushed_date": { + "issue_body_url": { "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", "examples": [ - "2021-11-03" + "https://api.github.com/repos/octocat/Hello-World/issues/1347" ] - }, - "last_pushed_email": { + } + }, + "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": [ - "monalisa@github.com" + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" ] } }, "required": [ - "user_login", - "last_pushed_date", - "last_pushed_email" + "issue_comment_url" ] }, - "advanced-security-active-committers-repository": { + "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": { - "name": { + "discussion_title_url": { "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", "examples": [ - "octocat/Hello-World" - ] - }, - "advanced_security_committers": { - "type": "integer", - "examples": [ - 25 + "https://github.com/community/community/discussions/39082" ] - }, - "advanced_security_committers_breakdown": { - "type": "array", - "items": { - "$ref": "#/components/schemas/advanced-security-active-committers-user" - } } }, "required": [ - "name", - "advanced_security_committers", - "advanced_security_committers_breakdown" + "discussion_title_url" ] }, - "advanced-security-active-committers": { + "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": { - "total_advanced_security_committers": { - "type": "integer", - "examples": [ - 25 - ] - }, - "total_count": { - "type": "integer", - "examples": [ - 2 - ] - }, - "maximum_advanced_security_committers": { - "type": "integer", - "description": "The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security", - "examples": [ - 4 - ] - }, - "purchased_advanced_security_committers": { - "type": "integer", - "description": "The total number of GitHub Advanced Security licences purchased", + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", "examples": [ - 4 + "https://github.com/community/community/discussions/39082#discussion-4566270" ] - }, - "repositories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/advanced-security-active-committers-repository" - } } }, "required": [ - "repositories" + "discussion_body_url" ] }, - "get-all-cost-centers": { + "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": { - "costCenters": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the cost center." - }, - "name": { - "type": "string", - "description": "Name of the cost center." - }, - "resources": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "Type of the resource." - }, - "name": { - "type": "string", - "description": "Name of the resource." - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "required": [ - "id", - "name", - "resources" - ] - } + "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" + ] }, - "packages-billing-usage": { + "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": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." + "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": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" + "pull_request_title_url" ] }, - "combined-billing-usage": { + "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": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." + "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": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" + "pull_request_body_url" ] }, - "billing-usage-report": { + "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": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "organizationName": { - "type": "string", - "description": "Name of the organization." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount", - "organizationName" - ] - } + "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" + ] }, - "actor": { - "title": "Actor", - "description": "Actor", + "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": { - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "display_login": { - "type": "string" - }, - "gravatar_id": { - "type": [ - "string", - "null" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "avatar_url": { + "pull_request_review_url": { "type": "string", - "format": "uri" + "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": [ - "id", - "login", - "gravatar_id", - "url", - "avatar_url" + "pull_request_review_url" ] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", + "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": { - "url": { + "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/milestones/1" + "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" }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/milestones/v1.0" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" }, - "labels_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" }, - "node_id": { - "type": "string", - "examples": [ - "MDk6TWlsZXN0b25lMTAwMjYwNA==" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [ - 42 - ] + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": [ - "open", - "closed" - ], - "default": "open", - "examples": [ - "open" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" }, - "title": { - "description": "The title of the milestone.", - "type": "string", - "examples": [ - "v1.0" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "Tracking milestone for version 1.0" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" }, - "creator": { + { + "$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": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { "anyOf": [ { "type": "null" }, { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/alert-updated-at" } ] }, - "open_issues": { - "type": "integer", - "examples": [ - 4 - ] + "url": { + "$ref": "#/components/schemas/alert-url" }, - "closed_issues": { - "type": "integer", - "examples": [ - 8 - ] + "html_url": { + "$ref": "#/components/schemas/alert-html-url" }, - "created_at": { + "locations_url": { "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] + "format": "uri", + "description": "The REST API URL of the code locations for this alert." }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2014-03-03T18:58:10Z" - ] + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" }, - "closed_at": { + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { "type": [ "string", "null" ], "format": "date-time", - "examples": [ - "2013-02-12T13:22:01Z" + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] }, - "due_on": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], "format": "date-time", - "examples": [ - "2012-10-09T23:39:01Z" + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] - } - }, - "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" - ] - }, - "issue-type": { - "title": "Issue Type", - "description": "The type of issue.", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." }, - "node_id": { - "type": "string", - "description": "The node identifier of the issue type." + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." }, - "name": { - "type": "string", - "description": "The name of the issue type." + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." }, - "description": { + "push_protection_bypass_request_html_url": { "type": [ "string", "null" ], - "description": "The description of the issue type." + "format": "uri", + "description": "The URL to a push protection bypass request." }, - "color": { + "resolution_comment": { "type": [ "string", "null" ], - "description": "The color of the issue type.", + "description": "The comment that was optionally added when this alert was closed" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null + "active", + "inactive", + "unknown" ] }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." + "is_base64_encoded": { + "type": [ + "boolean", + "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" + } + ] } - }, - "required": [ - "id", - "node_id", - "name", - "description" - ] - }, - "author-association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] + } }, - "reaction-rollup": { - "title": "Reaction Rollup", + "actions-billing-usage": { "type": "object", "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" + "total_minutes_used": { + "type": "integer", + "description": "The sum of the free and paid GitHub Actions minutes used." }, - "hooray": { - "type": "integer" + "total_paid_minutes_used": { + "type": "integer", + "description": "The total paid GitHub Actions minutes used." }, - "eyes": { - "type": "integer" + "included_minutes": { + "type": "integer", + "description": "The amount of free GitHub Actions minutes available." }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" + "minutes_used_breakdown": { + "type": "object", + "properties": { + "UBUNTU": { + "type": "integer", + "description": "Total minutes used on Ubuntu runner machines." + }, + "MACOS": { + "type": "integer", + "description": "Total minutes used on macOS runner machines." + }, + "WINDOWS": { + "type": "integer", + "description": "Total minutes used on Windows runner machines." + }, + "ubuntu_4_core": { + "type": "integer", + "description": "Total minutes used on Ubuntu 4 core runner machines." + }, + "ubuntu_8_core": { + "type": "integer", + "description": "Total minutes used on Ubuntu 8 core runner machines." + }, + "ubuntu_16_core": { + "type": "integer", + "description": "Total minutes used on Ubuntu 16 core runner machines." + }, + "ubuntu_32_core": { + "type": "integer", + "description": "Total minutes used on Ubuntu 32 core runner machines." + }, + "ubuntu_64_core": { + "type": "integer", + "description": "Total minutes used on Ubuntu 64 core runner machines." + }, + "windows_4_core": { + "type": "integer", + "description": "Total minutes used on Windows 4 core runner machines." + }, + "windows_8_core": { + "type": "integer", + "description": "Total minutes used on Windows 8 core runner machines." + }, + "windows_16_core": { + "type": "integer", + "description": "Total minutes used on Windows 16 core runner machines." + }, + "windows_32_core": { + "type": "integer", + "description": "Total minutes used on Windows 32 core runner machines." + }, + "windows_64_core": { + "type": "integer", + "description": "Total minutes used on Windows 64 core runner machines." + }, + "macos_12_core": { + "type": "integer", + "description": "Total minutes used on macOS 12 core runner machines." + }, + "total": { + "type": "integer", + "description": "Total minutes used on all runner machines." + } + } + } + }, + "required": [ + "total_minutes_used", + "total_paid_minutes_used", + "included_minutes", + "minutes_used_breakdown" ] }, - "sub-issues-summary": { - "title": "Sub-issues Summary", + "advanced-security-active-committers-user": { "type": "object", "properties": { - "total": { - "type": "integer" + "user_login": { + "type": "string" }, - "completed": { - "type": "integer" + "last_pushed_date": { + "type": "string", + "examples": [ + "2021-11-03" + ] }, - "percent_completed": { - "type": "integer" + "last_pushed_email": { + "type": "string", + "examples": [ + "monalisa@github.com" + ] } }, "required": [ - "total", - "completed", - "percent_completed" + "user_login", + "last_pushed_date", + "last_pushed_email" ] }, - "issue": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "advanced-security-active-committers-repository": { "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the issue", + "name": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/repositories/42/issues/1" + "octocat/Hello-World" ] }, - "repository_url": { - "type": "string", - "format": "uri" - }, - "labels_url": { - "type": "string" - }, - "comments_url": { - "type": "string", - "format": "uri" - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "number": { - "description": "Number uniquely identifying the issue within its repository", + "advanced_security_committers": { "type": "integer", "examples": [ - 42 + 25 ] }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", + "advanced_security_committers_breakdown": { + "type": "array", + "items": { + "$ref": "#/components/schemas/advanced-security-active-committers-user" + } + } + }, + "required": [ + "name", + "advanced_security_committers", + "advanced_security_committers_breakdown" + ] + }, + "advanced-security-active-committers": { + "type": "object", + "properties": { + "total_advanced_security_committers": { + "type": "integer", "examples": [ - "open" + 25 ] }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - null - ], + "total_count": { + "type": "integer", "examples": [ - "not_planned" + 2 ] }, - "title": { - "description": "Title of the issue", - "type": "string", + "maximum_advanced_security_committers": { + "type": "integer", + "description": "The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security", "examples": [ - "Widget creation fails in Safari on OS X 10.8" + 4 ] }, - "body": { - "description": "Contents of the issue", - "type": [ - "string", - "null" - ], + "purchased_advanced_security_committers": { + "type": "integer", + "description": "The total number of GitHub Advanced Security licences purchased", "examples": [ - "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + 4 ] }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "repositories": { "type": "array", "items": { - "oneOf": [ - { - "type": "string" + "$ref": "#/components/schemas/advanced-security-active-committers-repository" + } + } + }, + "required": [ + "repositories" + ] + }, + "get-all-cost-centers": { + "type": "object", + "properties": { + "costCenters": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the cost center." }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { + "name": { + "type": "string", + "description": "Name of the cost center." + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of the resource." + }, + "name": { + "type": "string", + "description": "Name of the resource." + } + }, + "required": [ + "type", + "name" + ] + } + } + }, + "required": [ + "id", + "name", + "resources" + ] + } + } + } + }, + "packages-billing-usage": { + "type": "object", + "properties": { + "total_gigabytes_bandwidth_used": { + "type": "integer", + "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." + }, + "total_paid_gigabytes_bandwidth_used": { + "type": "integer", + "description": "Total paid storage space (GB) for GitHuub Packages." + }, + "included_gigabytes_bandwidth": { + "type": "integer", + "description": "Free storage space (GB) for GitHub Packages." + } + }, + "required": [ + "total_gigabytes_bandwidth_used", + "total_paid_gigabytes_bandwidth_used", + "included_gigabytes_bandwidth" + ] + }, + "combined-billing-usage": { + "type": "object", + "properties": { + "days_left_in_billing_cycle": { + "type": "integer", + "description": "Numbers of days left in billing cycle." + }, + "estimated_paid_storage_for_month": { + "type": "integer", + "description": "Estimated storage space (GB) used in billing cycle." + }, + "estimated_storage_for_month": { + "type": "integer", + "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." + } + }, + "required": [ + "days_left_in_billing_cycle", + "estimated_paid_storage_for_month", + "estimated_storage_for_month" + ] + }, + "billing-usage-report": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, + "actor": { + "title": "Actor", + "description": "Actor", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "display_login": { + "type": "string" + }, + "gravatar_id": { + "type": [ + "string", + "null" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "login", + "gravatar_id", + "url", + "avatar_url" + ] + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + }, + "issue-type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "author-association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reaction-rollup": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub-issues-summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "issue": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { "type": "string" }, "description": { @@ -142881,155 +143252,25 @@ "Organization" ] }, - "ruleset_source": { - "type": "string", - "description": "The name of the source of the ruleset that includes this rule." - }, - "ruleset_id": { - "type": "integer", - "description": "The ID of the ruleset that includes this rule." - } - } - }, - "repository-rule-detailed": { - "title": "Repository Rule", - "type": "object", - "description": "A repository rule with ruleset details.", - "oneOf": [ - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-creation" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-update" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-deletion" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-linear-history" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-merge-queue" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-deployments" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-signatures" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-pull-request" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-status-checks" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-non-fast-forward" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-commit-message-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-committer-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + }, + "repository-rule-detailed": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule with ruleset details.", + "oneOf": [ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + "$ref": "#/components/schemas/repository-rule-creation" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143039,7 +143280,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-tag-name-pattern" + "$ref": "#/components/schemas/repository-rule-update" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143049,7 +143290,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-file-path-restriction" + "$ref": "#/components/schemas/repository-rule-deletion" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143059,7 +143300,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-max-file-path-length" + "$ref": "#/components/schemas/repository-rule-required-linear-history" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143069,7 +143310,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + "$ref": "#/components/schemas/repository-rule-merge-queue" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143079,7 +143320,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-max-file-size" + "$ref": "#/components/schemas/repository-rule-required-deployments" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143089,7 +143330,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-workflows" + "$ref": "#/components/schemas/repository-rule-required-signatures" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143099,499 +143340,322 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-code-scanning" + "$ref": "#/components/schemas/repository-rule-pull-request" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - } - ] - }, - "secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - } - } - }, - "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" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-non-fast-forward" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "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." + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "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." + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-tag-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-file-path-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-max-file-path-length" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-max-file-size" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-workflows" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-code-scanning" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] } - }, - "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.", + "secret-scanning-alert": { "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" + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } ] - } - }, - "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": { + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_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" + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] - } - }, - "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": { + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { "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": { + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { "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": { + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { "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" + "description": "The secret that was detected." + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] - } - }, - "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", + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." + }, + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], "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" + "description": "The URL to a push protection bypass request." + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "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" + } ] } - }, - "required": [ - "pull_request_review_comment_url" + } + }, + "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": { diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index dc1b23c48c..229de6f2a4 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -85130,1529 +85130,1387 @@ components: - revoked - used_in_tests - - organization-secret-scanning-alert: + 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: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: + path: type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - secret_type: + 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: The type of secret that secret scanning detected. - secret_type_display_name: + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: + description: The API URL to get the associated blob resource + commit_sha: type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this alert was closed - validity: + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert is base64 - encoded - actions-billing-usage: - type: object - properties: - total_minutes_used: - type: integer - description: The sum of the free and paid GitHub Actions minutes used. - total_paid_minutes_used: - type: integer - description: The total paid GitHub Actions minutes used. - included_minutes: - type: integer - description: The amount of free GitHub Actions minutes available. - minutes_used_breakdown: - type: object - properties: - UBUNTU: - type: integer - description: Total minutes used on Ubuntu runner machines. - MACOS: - type: integer - description: Total minutes used on macOS runner machines. - WINDOWS: - type: integer - description: Total minutes used on Windows runner machines. - ubuntu_4_core: - type: integer - description: Total minutes used on Ubuntu 4 core runner machines. - ubuntu_8_core: - type: integer - description: Total minutes used on Ubuntu 8 core runner machines. - ubuntu_16_core: - type: integer - description: Total minutes used on Ubuntu 16 core runner machines. - ubuntu_32_core: - type: integer - description: Total minutes used on Ubuntu 32 core runner machines. - ubuntu_64_core: - type: integer - description: Total minutes used on Ubuntu 64 core runner machines. - windows_4_core: - type: integer - description: Total minutes used on Windows 4 core runner machines. - windows_8_core: - type: integer - description: Total minutes used on Windows 8 core runner machines. - windows_16_core: - type: integer - description: Total minutes used on Windows 16 core runner machines. - windows_32_core: - type: integer - description: Total minutes used on Windows 32 core runner machines. - windows_64_core: - type: integer - description: Total minutes used on Windows 64 core runner machines. - macos_12_core: - type: integer - description: Total minutes used on macOS 12 core runner machines. - total: - type: integer - description: Total minutes used on all runner machines. + description: The API URL to get the associated commit resource required: - - total_minutes_used - - total_paid_minutes_used - - included_minutes - - minutes_used_breakdown - advanced-security-active-committers-user: + - 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: - user_login: + path: type: string - last_pushed_date: + 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: - - '2021-11-03' - last_pushed_email: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: type: string + description: The GitHub URL to get the associated wiki page examples: - - monalisa@github.com - required: - - user_login - - last_pushed_date - - last_pushed_email - advanced-security-active-committers-repository: - type: object - properties: - name: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: type: string + description: SHA-1 hash ID of the associated commit examples: - - octocat/Hello-World - advanced_security_committers: - type: integer + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit examples: - - 25 - advanced_security_committers_breakdown: - type: array - items: - "$ref": "#/components/schemas/advanced-security-active-committers-user" + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 required: - - name - - advanced_security_committers - - advanced_security_committers_breakdown - advanced-security-active-committers: + - 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: - total_advanced_security_committers: - type: integer - examples: - - 25 - total_count: - type: integer - examples: - - 2 - maximum_advanced_security_committers: - type: integer - description: The total number of GitHub Advanced Security licences required - if all repositories were to enable GitHub Advanced Security - examples: - - 4 - purchased_advanced_security_committers: - type: integer - description: The total number of GitHub Advanced Security licences purchased + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. examples: - - 4 - repositories: - type: array - items: - "$ref": "#/components/schemas/advanced-security-active-committers-repository" + - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - - repositories - get-all-cost-centers: - type: object - properties: - costCenters: - type: array - items: - type: object - properties: - id: - type: string - description: ID of the cost center. - name: - type: string - description: Name of the cost center. - resources: - type: array - items: - type: object - properties: - type: - type: string - description: Type of the resource. - name: - type: string - description: Name of the resource. - required: - - type - - name - required: - - id - - name - - resources - packages-billing-usage: + - 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: - total_gigabytes_bandwidth_used: - type: integer - description: Sum of the free and paid storage space (GB) for GitHuub Packages. - total_paid_gigabytes_bandwidth_used: - type: integer - description: Total paid storage space (GB) for GitHuub Packages. - included_gigabytes_bandwidth: - type: integer - description: Free storage space (GB) for GitHub Packages. + 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: - - total_gigabytes_bandwidth_used - - total_paid_gigabytes_bandwidth_used - - included_gigabytes_bandwidth - combined-billing-usage: + - 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: - days_left_in_billing_cycle: - type: integer - description: Numbers of days left in billing cycle. - estimated_paid_storage_for_month: - type: integer - description: Estimated storage space (GB) used in billing cycle. - estimated_storage_for_month: - type: integer - description: Estimated sum of free and paid storage space (GB) used in billing - cycle. + 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: - - days_left_in_billing_cycle - - estimated_paid_storage_for_month - - estimated_storage_for_month - billing-usage-report: - type: object - properties: - usageItems: - type: array - items: - type: object - properties: - date: - type: string - description: Date of the usage line item. - product: - type: string - description: Product name. - sku: - type: string - description: SKU name. - quantity: - type: integer - description: Quantity of the usage line item. - unitType: - type: string - description: Unit type of the usage line item. - pricePerUnit: - type: number - description: Price per unit of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - organizationName: - type: string - description: Name of the organization. - repositoryName: - type: string - description: Name of the repository. - required: - - date - - product - - sku - - quantity - - unitType - - pricePerUnit - - grossAmount - - discountAmount - - netAmount - - organizationName - actor: - title: Actor - description: Actor + - 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: - id: - type: integer - login: - type: string - display_login: - type: string - gravatar_id: - type: - - string - - 'null' - url: - type: string - format: uri - avatar_url: + 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: - - id - - login - - gravatar_id - - url - - avatar_url - milestone: - title: Milestone - description: A collection of related issues and pull requests. + - 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: - url: + discussion_body_url: type: string format: uri + description: The URL to the discussion where the secret was detected. examples: - - https://api.github.com/repos/octocat/Hello-World/milestones/1 - html_url: + - 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/octocat/Hello-World/milestones/v1.0 - labels_url: + - 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/milestones/1/labels - id: - type: integer - examples: - - 1002604 - node_id: + - 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: - - MDk6TWlsZXN0b25lMTAwMjYwNA== - number: - description: The number of the milestone. - type: integer + - 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: - - 42 - state: - description: The state of the milestone. + - 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 - enum: - - open - - closed - default: open + format: uri + description: The API URL to get the pull request review where the secret + was detected. examples: - - open - title: - description: The title of the milestone. + - 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: - - v1.0 - description: + - 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: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: type: - string - 'null' - examples: - - Tracking milestone for version 1.0 - creator: + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: anyOf: - type: 'null' - "$ref": "#/components/schemas/simple-user" - open_issues: - type: integer - examples: - - 4 - closed_issues: - type: integer - examples: - - 8 - created_at: + secret_type: type: string - format: date-time - examples: - - '2011-04-10T20:09:31Z' - updated_at: + description: The type of secret that secret scanning detected. + secret_type_display_name: type: string - format: date-time - examples: - - '2014-03-03T18:58:10Z' - closed_at: + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypassed_at: type: - string - 'null' format: date-time - examples: - - '2013-02-12T13:22:01Z' - due_on: + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypass_request_reviewer_comment: type: - string - 'null' - format: date-time - examples: - - '2012-10-09T23:39:01Z' - required: - - closed_issues - - creator - - description - - due_on - - closed_at - - id - - node_id - - labels_url - - html_url - - number - - open_issues - - state - - title - - url - - created_at - - updated_at - issue-type: - title: Issue Type - description: The type of issue. - type: - - object - - 'null' - properties: - id: - type: integer - description: The unique identifier of the issue type. - node_id: - type: string - description: The node identifier of the issue type. - name: - type: string - description: The name of the issue type. - description: + description: An optional comment when reviewing a push protection bypass. + push_protection_bypass_request_comment: type: - string - 'null' - description: The description of the issue type. - color: + description: An optional comment when requesting a push protection bypass. + push_protection_bypass_request_html_url: type: - string - 'null' - description: The color of the issue type. - enum: - - gray - - blue - - green - - yellow - - orange - - red - - pink - - purple - - - created_at: - type: string - description: The time the issue type created. - format: date-time - updated_at: - type: string - description: The time the issue type last updated. - format: date-time - is_enabled: - type: boolean - description: The enabled state of the issue type. - required: - - id - - node_id - - name - - description - author-association: - title: author_association - type: string - description: How the author is associated with the repository. - enum: - - COLLABORATOR - - CONTRIBUTOR - - FIRST_TIMER - - FIRST_TIME_CONTRIBUTOR - - MANNEQUIN - - MEMBER - - NONE - - OWNER - examples: - - OWNER - reaction-rollup: - title: Reaction Rollup - type: object - properties: - url: - type: string format: uri - total_count: - type: integer - "+1": - type: integer - "-1": - type: integer - laugh: - type: integer - confused: - type: integer - heart: - type: integer - hooray: - type: integer - eyes: - type: integer - rocket: - type: integer - required: - - url - - total_count - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - eyes - - rocket - sub-issues-summary: - title: Sub-issues Summary + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + actions-billing-usage: type: object properties: - total: + total_minutes_used: type: integer - completed: + description: The sum of the free and paid GitHub Actions minutes used. + total_paid_minutes_used: type: integer - percent_completed: + description: The total paid GitHub Actions minutes used. + included_minutes: type: integer + description: The amount of free GitHub Actions minutes available. + minutes_used_breakdown: + type: object + properties: + UBUNTU: + type: integer + description: Total minutes used on Ubuntu runner machines. + MACOS: + type: integer + description: Total minutes used on macOS runner machines. + WINDOWS: + type: integer + description: Total minutes used on Windows runner machines. + ubuntu_4_core: + type: integer + description: Total minutes used on Ubuntu 4 core runner machines. + ubuntu_8_core: + type: integer + description: Total minutes used on Ubuntu 8 core runner machines. + ubuntu_16_core: + type: integer + description: Total minutes used on Ubuntu 16 core runner machines. + ubuntu_32_core: + type: integer + description: Total minutes used on Ubuntu 32 core runner machines. + ubuntu_64_core: + type: integer + description: Total minutes used on Ubuntu 64 core runner machines. + windows_4_core: + type: integer + description: Total minutes used on Windows 4 core runner machines. + windows_8_core: + type: integer + description: Total minutes used on Windows 8 core runner machines. + windows_16_core: + type: integer + description: Total minutes used on Windows 16 core runner machines. + windows_32_core: + type: integer + description: Total minutes used on Windows 32 core runner machines. + windows_64_core: + type: integer + description: Total minutes used on Windows 64 core runner machines. + macos_12_core: + type: integer + description: Total minutes used on macOS 12 core runner machines. + total: + type: integer + description: Total minutes used on all runner machines. required: - - total - - completed - - percent_completed - issue: - title: Issue - description: Issues are a great way to keep track of tasks, enhancements, and - bugs for your projects. + - total_minutes_used + - total_paid_minutes_used + - included_minutes + - minutes_used_breakdown + advanced-security-active-committers-user: type: object properties: - id: - type: integer - format: int64 - node_id: + user_login: type: string - url: - description: URL for the issue + last_pushed_date: type: string - format: uri examples: - - https://api.github.com/repositories/42/issues/1 - repository_url: - type: string - format: uri - labels_url: - type: string - comments_url: - type: string - format: uri - events_url: + - '2021-11-03' + last_pushed_email: type: string - format: uri - html_url: + examples: + - monalisa@github.com + required: + - user_login + - last_pushed_date + - last_pushed_email + advanced-security-active-committers-repository: + type: object + properties: + name: type: string - format: uri - number: - description: Number uniquely identifying the issue within its repository + examples: + - octocat/Hello-World + advanced_security_committers: type: integer examples: - - 42 - state: - description: State of the issue; either 'open' or 'closed' - type: string + - 25 + advanced_security_committers_breakdown: + type: array + items: + "$ref": "#/components/schemas/advanced-security-active-committers-user" + required: + - name + - advanced_security_committers + - advanced_security_committers_breakdown + advanced-security-active-committers: + type: object + properties: + total_advanced_security_committers: + type: integer examples: - - open - state_reason: - description: The reason for the current state - type: - - string - - 'null' - enum: - - completed - - reopened - - not_planned - - + - 25 + total_count: + type: integer examples: - - not_planned - title: - description: Title of the issue - type: string + - 2 + maximum_advanced_security_committers: + type: integer + description: The total number of GitHub Advanced Security licences required + if all repositories were to enable GitHub Advanced Security examples: - - Widget creation fails in Safari on OS X 10.8 - body: - description: Contents of the issue - type: - - string - - 'null' + - 4 + purchased_advanced_security_committers: + type: integer + description: The total number of GitHub Advanced Security licences purchased examples: - - It looks like the new widget form is broken on Safari. When I try and - create the widget, Safari crashes. This is reproducible on 10.8, but not - 10.9. Maybe a browser bug? - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - labels: - description: Labels to associate with this issue; pass one or more label - names to replace the set of labels on this issue; send an empty array - to clear all labels from the issue; note that the labels are silently - dropped for users without push access to the repository + - 4 + repositories: type: array items: - oneOf: - - type: string - - type: object - properties: - id: - type: integer - format: int64 - node_id: - type: string - url: - type: string - format: uri - name: - type: string - description: - type: - - string - - 'null' - color: - type: - - string - - 'null' - default: - type: boolean - examples: - - bug - - registration - assignee: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - assignees: - type: - - array - - 'null' + "$ref": "#/components/schemas/advanced-security-active-committers-repository" + required: + - repositories + get-all-cost-centers: + type: object + properties: + costCenters: + type: array items: - "$ref": "#/components/schemas/simple-user" - milestone: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/milestone" - locked: - type: boolean - active_lock_reason: - type: - - string - - 'null' - comments: + type: object + properties: + id: + type: string + description: ID of the cost center. + name: + type: string + description: Name of the cost center. + resources: + type: array + items: + type: object + properties: + type: + type: string + description: Type of the resource. + name: + type: string + description: Name of the resource. + required: + - type + - name + required: + - id + - name + - resources + packages-billing-usage: + type: object + properties: + total_gigabytes_bandwidth_used: type: integer - pull_request: - type: object - properties: - merged_at: - type: - - string - - 'null' - format: date-time - diff_url: - type: - - string - - 'null' - format: uri - html_url: - type: - - string - - 'null' - format: uri - patch_url: - type: - - string - - 'null' - format: uri - url: - type: - - string - - 'null' - format: uri - required: - - diff_url - - html_url - - patch_url - - url - closed_at: + description: Sum of the free and paid storage space (GB) for GitHuub Packages. + total_paid_gigabytes_bandwidth_used: + type: integer + description: Total paid storage space (GB) for GitHuub Packages. + included_gigabytes_bandwidth: + type: integer + description: Free storage space (GB) for GitHub Packages. + required: + - total_gigabytes_bandwidth_used + - total_paid_gigabytes_bandwidth_used + - included_gigabytes_bandwidth + combined-billing-usage: + type: object + properties: + days_left_in_billing_cycle: + type: integer + description: Numbers of days left in billing cycle. + estimated_paid_storage_for_month: + type: integer + description: Estimated storage space (GB) used in billing cycle. + estimated_storage_for_month: + type: integer + description: Estimated sum of free and paid storage space (GB) used in billing + cycle. + required: + - days_left_in_billing_cycle + - estimated_paid_storage_for_month + - estimated_storage_for_month + billing-usage-report: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + organizationName: + type: string + description: Name of the organization. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + - organizationName + actor: + title: Actor + description: Actor + type: object + properties: + id: + type: integer + login: + type: string + display_login: + type: string + gravatar_id: type: - string - 'null' - format: date-time - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - draft: - type: boolean - closed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - body_html: - type: string - body_text: + url: type: string - timeline_url: + format: uri + avatar_url: type: string format: uri - type: - "$ref": "#/components/schemas/issue-type" - repository: - "$ref": "#/components/schemas/repository" - performed_via_github_app: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/integration" - author_association: - "$ref": "#/components/schemas/author-association" - reactions: - "$ref": "#/components/schemas/reaction-rollup" - sub_issues_summary: - "$ref": "#/components/schemas/sub-issues-summary" required: - - assignee - - closed_at - - comments - - comments_url - - events_url - - html_url - id - - node_id - - labels - - labels_url - - milestone - - number - - repository_url - - state - - locked - - title + - login + - gravatar_id - url - - user - - author_association - - created_at - - updated_at - issue-comment: - title: Issue Comment - description: Comments provide a way for people to collaborate on an issue. + - avatar_url + milestone: + title: Milestone + description: A collection of related issues and pull requests. type: object properties: - id: - description: Unique identifier of the issue comment - type: integer - format: int64 - examples: - - 42 - node_id: - type: string url: - description: URL for the issue comment type: string format: uri examples: - - https://api.github.com/repositories/42/issues/comments/1 - body: - description: Contents of the issue comment + - https://api.github.com/repos/octocat/Hello-World/milestones/1 + html_url: type: string + format: uri examples: - - What version of Safari were you using when you observed this bug? - body_text: + - https://github.com/octocat/Hello-World/milestones/v1.0 + labels_url: type: string - body_html: + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/milestones/1/labels + id: + type: integer + examples: + - 1002604 + node_id: type: string - html_url: + examples: + - MDk6TWlsZXN0b25lMTAwMjYwNA== + number: + description: The number of the milestone. + type: integer + examples: + - 42 + state: + description: The state of the milestone. type: string - format: uri - user: + enum: + - open + - closed + default: open + examples: + - open + title: + description: The title of the milestone. + type: string + examples: + - v1.0 + description: + type: + - string + - 'null' + examples: + - Tracking milestone for version 1.0 + creator: anyOf: - type: 'null' - "$ref": "#/components/schemas/simple-user" + open_issues: + type: integer + examples: + - 4 + closed_issues: + type: integer + examples: + - 8 created_at: type: string format: date-time examples: - - '2011-04-14T16:00:49Z' + - '2011-04-10T20:09:31Z' updated_at: type: string format: date-time examples: - - '2011-04-14T16:00:49Z' - issue_url: - type: string - format: uri - author_association: - "$ref": "#/components/schemas/author-association" - performed_via_github_app: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/integration" - reactions: - "$ref": "#/components/schemas/reaction-rollup" + - '2014-03-03T18:58:10Z' + closed_at: + type: + - string + - 'null' + format: date-time + examples: + - '2013-02-12T13:22:01Z' + due_on: + type: + - string + - 'null' + format: date-time + examples: + - '2012-10-09T23:39:01Z' required: + - closed_issues + - creator + - description + - due_on + - closed_at - id - node_id + - labels_url - html_url - - issue_url - - author_association - - user + - number + - open_issues + - state + - title - url - created_at - updated_at - event: - title: Event - description: Event - type: object + issue-type: + title: Issue Type + description: The type of issue. + type: + - object + - 'null' properties: id: + type: integer + description: The unique identifier of the issue type. + node_id: type: string - type: + description: The node identifier of the issue type. + name: + type: string + description: The name of the issue type. + description: type: - string - 'null' - actor: - "$ref": "#/components/schemas/actor" - repo: - type: object - properties: - id: - type: integer - name: - type: string - url: - type: string - format: uri - required: - - id - - name - - url - org: - "$ref": "#/components/schemas/actor" - payload: - type: object - properties: - action: - type: string - issue: - "$ref": "#/components/schemas/issue" - comment: - "$ref": "#/components/schemas/issue-comment" - pages: - type: array - items: - type: object - properties: - page_name: - type: string - title: - type: string - summary: - type: - - string - - 'null' - action: - type: string - sha: - type: string - html_url: - type: string - public: - type: boolean - created_at: + description: The description of the issue type. + color: type: - string - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + created_at: + type: string + description: The time the issue type created. + format: date-time + updated_at: + type: string + description: The time the issue type last updated. format: date-time + is_enabled: + type: boolean + description: The enabled state of the issue type. required: - id - - type - - actor - - repo - - payload - - public - - created_at - link-with-type: - title: Link With Type - description: Hypermedia Link with Type + - node_id + - name + - description + author-association: + title: author_association + type: string + description: How the author is associated with the repository. + enum: + - COLLABORATOR + - CONTRIBUTOR + - FIRST_TIMER + - FIRST_TIME_CONTRIBUTOR + - MANNEQUIN + - MEMBER + - NONE + - OWNER + examples: + - OWNER + reaction-rollup: + title: Reaction Rollup type: object properties: - href: - type: string - type: + url: type: string + format: uri + total_count: + type: integer + "+1": + type: integer + "-1": + type: integer + laugh: + type: integer + confused: + type: integer + heart: + type: integer + hooray: + type: integer + eyes: + type: integer + rocket: + type: integer required: - - href - - type - feed: - title: Feed - description: Feed + - url + - total_count + - "+1" + - "-1" + - laugh + - confused + - heart + - hooray + - eyes + - rocket + sub-issues-summary: + title: Sub-issues Summary type: object properties: - timeline_url: - type: string - examples: - - https://github.com/timeline - user_url: - type: string - examples: - - https://github.com/{user} - current_user_public_url: - type: string - examples: - - https://github.com/octocat - current_user_url: - type: string - examples: - - https://github.com/octocat.private?token=abc123 - current_user_actor_url: - type: string - examples: - - https://github.com/octocat.private.actor?token=abc123 - current_user_organization_url: - type: string - examples: - - https://github.com/octocat-org - current_user_organization_urls: - type: array - items: - type: string - format: uri - examples: - - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: - type: string - examples: - - https://github.com/security-advisories - repository_discussions_url: - type: string - description: A feed of discussions for a given repository. - examples: - - https://github.com/{user}/{repo}/discussions - repository_discussions_category_url: - type: string - description: A feed of discussions for a given repository and category. - examples: - - https://github.com/{user}/{repo}/discussions/categories/{category} - _links: - type: object - properties: - timeline: - "$ref": "#/components/schemas/link-with-type" - user: - "$ref": "#/components/schemas/link-with-type" - security_advisories: - "$ref": "#/components/schemas/link-with-type" - current_user: - "$ref": "#/components/schemas/link-with-type" - current_user_public: - "$ref": "#/components/schemas/link-with-type" - current_user_actor: - "$ref": "#/components/schemas/link-with-type" - current_user_organization: - "$ref": "#/components/schemas/link-with-type" - current_user_organizations: - type: array - items: - "$ref": "#/components/schemas/link-with-type" - repository_discussions: - "$ref": "#/components/schemas/link-with-type" - repository_discussions_category: - "$ref": "#/components/schemas/link-with-type" - required: - - timeline - - user - required: - - _links - - timeline_url - - user_url - base-gist: - title: Base Gist - description: Base Gist - type: object - properties: - url: - type: string - format: uri - forks_url: - type: string - format: uri - commits_url: - type: string - format: uri - id: - type: string - node_id: - type: string - git_pull_url: - type: string - format: uri - git_push_url: - type: string - format: uri - html_url: - type: string - format: uri - files: - type: object - additionalProperties: - type: object - properties: - filename: - type: string - type: - type: string - language: - type: string - raw_url: - type: string - size: - type: integer - encoding: - type: string - description: The encoding used for `content`. Currently, `"utf-8"` - and `"base64"` are supported. - default: utf-8 - public: - type: boolean - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - description: - type: - - string - - 'null' - comments: + total: + type: integer + completed: + type: integer + percent_completed: type: integer - comments_enabled: - type: boolean - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - comments_url: - type: string - format: uri - owner: - "$ref": "#/components/schemas/simple-user" - truncated: - type: boolean - forks: - type: array - items: {} - history: - type: array - items: {} required: - - id - - node_id - - url - - forks_url - - commits_url - - git_pull_url - - git_push_url - - html_url - - comments_url - - public - - description - - comments - - user - - files - - created_at - - updated_at - public-user: - title: Public User - description: Public User + - total + - completed + - percent_completed + issue: + title: Issue + description: Issues are a great way to keep track of tasks, enhancements, and + bugs for your projects. type: object properties: - login: - type: string id: type: integer format: int64 - user_view_type: - type: string node_id: type: string - avatar_url: - type: string - format: uri - gravatar_id: - type: - - string - - 'null' url: + description: URL for the issue type: string format: uri - html_url: - type: string - format: uri - followers_url: - type: string - format: uri - following_url: - type: string - gists_url: - type: string - starred_url: - type: string - subscriptions_url: + examples: + - https://api.github.com/repositories/42/issues/1 + repository_url: type: string format: uri - organizations_url: + labels_url: type: string - format: uri - repos_url: + comments_url: type: string format: uri events_url: type: string - received_events_url: + format: uri + html_url: type: string format: uri - type: + number: + description: Number uniquely identifying the issue within its repository + type: integer + examples: + - 42 + state: + description: State of the issue; either 'open' or 'closed' type: string - site_admin: - type: boolean - name: - type: - - string - - 'null' - company: + examples: + - open + state_reason: + description: The reason for the current state type: - string - 'null' - blog: + enum: + - completed + - reopened + - not_planned + - + examples: + - not_planned + title: + description: Title of the issue + type: string + examples: + - Widget creation fails in Safari on OS X 10.8 + body: + description: Contents of the issue type: - string - 'null' - location: - type: - - string - - 'null' - email: - type: - - string - - 'null' - format: email - notification_email: - type: - - string - - 'null' - format: email - hireable: + examples: + - It looks like the new widget form is broken on Safari. When I try and + create the widget, Safari crashes. This is reproducible on 10.8, but not + 10.9. Maybe a browser bug? + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + labels: + description: Labels to associate with this issue; pass one or more label + names to replace the set of labels on this issue; send an empty array + to clear all labels from the issue; note that the labels are silently + dropped for users without push access to the repository + type: array + items: + oneOf: + - type: string + - type: object + properties: + id: + type: integer + format: int64 + node_id: + type: string + url: + type: string + format: uri + name: + type: string + description: + type: + - string + - 'null' + color: + type: + - string + - 'null' + default: + type: boolean + examples: + - bug + - registration + assignee: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + assignees: type: - - boolean + - array - 'null' - bio: + items: + "$ref": "#/components/schemas/simple-user" + milestone: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/milestone" + locked: + type: boolean + active_lock_reason: type: - string - 'null' - twitter_username: + comments: + type: integer + pull_request: + type: object + properties: + merged_at: + type: + - string + - 'null' + format: date-time + diff_url: + type: + - string + - 'null' + format: uri + html_url: + type: + - string + - 'null' + format: uri + patch_url: + type: + - string + - 'null' + format: uri + url: + type: + - string + - 'null' + format: uri + required: + - diff_url + - html_url + - patch_url + - url + closed_at: type: - string - 'null' - public_repos: - type: integer - public_gists: - type: integer - followers: - type: integer - following: - type: integer + format: date-time created_at: type: string format: date-time updated_at: type: string format: date-time - plan: - type: object - properties: - collaborators: - type: integer - name: - type: string - space: - type: integer - private_repos: - type: integer - required: - - collaborators - - name - - space - - private_repos - private_gists: - type: integer - examples: - - 1 - total_private_repos: - type: integer - examples: - - 2 - owned_private_repos: - type: integer - examples: - - 2 - disk_usage: - type: integer - examples: - - 1 - collaborators: - type: integer - examples: - - 3 + draft: + type: boolean + closed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + body_html: + type: string + body_text: + type: string + timeline_url: + type: string + format: uri + type: + "$ref": "#/components/schemas/issue-type" + repository: + "$ref": "#/components/schemas/repository" + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/integration" + author_association: + "$ref": "#/components/schemas/author-association" + reactions: + "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - - avatar_url + - assignee + - closed_at + - comments + - comments_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 + - labels + - labels_url + - milestone + - number + - repository_url + - state + - locked + - title - url - - bio - - blog - - company - - email - - followers - - following - - hireable - - location - - name - - public_gists - - public_repos + - user + - author_association - created_at - updated_at - additionalProperties: false - gist-history: - title: Gist History - description: Gist History + issue-comment: + title: Issue Comment + description: Comments provide a way for people to collaborate on an issue. type: object properties: + id: + description: Unique identifier of the issue comment + type: integer + format: int64 + examples: + - 42 + node_id: + type: string + url: + description: URL for the issue comment + type: string + format: uri + examples: + - https://api.github.com/repositories/42/issues/comments/1 + body: + description: Contents of the issue comment + type: string + examples: + - What version of Safari were you using when you observed this bug? + body_text: + type: string + body_html: + type: string + html_url: + type: string + format: uri user: anyOf: - type: 'null' - "$ref": "#/components/schemas/simple-user" - version: + created_at: type: string - committed_at: + format: date-time + examples: + - '2011-04-14T16:00:49Z' + updated_at: type: string format: date-time - change_status: - type: object - properties: - total: - type: integer - additions: - type: integer - deletions: - type: integer - url: + examples: + - '2011-04-14T16:00:49Z' + issue_url: type: string format: uri - gist-simple: - title: Gist Simple - description: Gist Simple + author_association: + "$ref": "#/components/schemas/author-association" + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/integration" + reactions: + "$ref": "#/components/schemas/reaction-rollup" + required: + - id + - node_id + - html_url + - issue_url + - author_association + - user + - url + - created_at + - updated_at + event: + title: Event + description: Event type: object properties: - forks: - deprecated: true - type: - - array - - 'null' - items: - type: object - properties: - id: - type: string - url: - type: string - format: uri - user: - "$ref": "#/components/schemas/public-user" - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - history: - deprecated: true - type: - - array - - 'null' - items: - "$ref": "#/components/schemas/gist-history" - fork_of: - title: Gist - description: Gist + id: + type: string + type: type: - - object + - string - 'null' + actor: + "$ref": "#/components/schemas/actor" + repo: + type: object properties: - url: - type: string - format: uri - forks_url: - type: string - format: uri - commits_url: - type: string - format: uri id: + type: integer + name: type: string - node_id: - type: string - git_pull_url: - type: string - format: uri - git_push_url: + url: type: string format: uri - html_url: + required: + - id + - name + - url + org: + "$ref": "#/components/schemas/actor" + payload: + type: object + properties: + action: type: string - format: uri - files: - type: object - additionalProperties: + issue: + "$ref": "#/components/schemas/issue" + comment: + "$ref": "#/components/schemas/issue-comment" + pages: + type: array + items: type: object properties: - filename: + page_name: type: string - type: + title: type: string - language: + summary: + type: + - string + - 'null' + action: type: string - raw_url: + sha: type: string - size: - type: integer - public: - type: boolean - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - description: - type: - - string - - 'null' - comments: - type: integer - comments_enabled: - type: boolean - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - comments_url: - type: string - format: uri - owner: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - truncated: - type: boolean - forks: - type: array - items: {} - history: - type: array - items: {} - required: - - id - - node_id - - url - - forks_url - - commits_url - - git_pull_url - - git_push_url - - html_url - - comments_url - - public - - description - - comments - - user - - files - - created_at - - updated_at - url: + html_url: + type: string + public: + type: boolean + created_at: + type: + - string + - 'null' + format: date-time + required: + - id + - type + - actor + - repo + - payload + - public + - created_at + link-with-type: + title: Link With Type + description: Hypermedia Link with Type + type: object + properties: + href: type: string - forks_url: + type: type: string - commits_url: + required: + - href + - type + feed: + title: Feed + description: Feed + type: object + properties: + timeline_url: type: string - id: + examples: + - https://github.com/timeline + user_url: type: string - node_id: + examples: + - https://github.com/{user} + current_user_public_url: type: string - git_pull_url: + examples: + - https://github.com/octocat + current_user_url: type: string - git_push_url: + examples: + - https://github.com/octocat.private?token=abc123 + current_user_actor_url: type: string - html_url: + examples: + - https://github.com/octocat.private.actor?token=abc123 + current_user_organization_url: type: string - files: - type: object - additionalProperties: - type: - - object - - 'null' - properties: - filename: - type: string - type: - type: string - language: - type: string + examples: + - https://github.com/octocat-org + current_user_organization_urls: + type: array + items: + type: string + format: uri + examples: + - https://github.com/organizations/github/octocat.private.atom?token=abc123 + security_advisories_url: + type: string + examples: + - https://github.com/security-advisories + repository_discussions_url: + type: string + description: A feed of discussions for a given repository. + examples: + - https://github.com/{user}/{repo}/discussions + repository_discussions_category_url: + type: string + description: A feed of discussions for a given repository and category. + examples: + - https://github.com/{user}/{repo}/discussions/categories/{category} + _links: + type: object + properties: + timeline: + "$ref": "#/components/schemas/link-with-type" + user: + "$ref": "#/components/schemas/link-with-type" + security_advisories: + "$ref": "#/components/schemas/link-with-type" + current_user: + "$ref": "#/components/schemas/link-with-type" + current_user_public: + "$ref": "#/components/schemas/link-with-type" + current_user_actor: + "$ref": "#/components/schemas/link-with-type" + current_user_organization: + "$ref": "#/components/schemas/link-with-type" + current_user_organizations: + type: array + items: + "$ref": "#/components/schemas/link-with-type" + repository_discussions: + "$ref": "#/components/schemas/link-with-type" + repository_discussions_category: + "$ref": "#/components/schemas/link-with-type" + required: + - timeline + - user + required: + - _links + - timeline_url + - user_url + base-gist: + title: Base Gist + description: Base Gist + type: object + properties: + url: + type: string + format: uri + forks_url: + type: string + format: uri + commits_url: + type: string + format: uri + id: + type: string + node_id: + type: string + git_pull_url: + type: string + format: uri + git_push_url: + type: string + format: uri + html_url: + type: string + format: uri + files: + type: object + additionalProperties: + type: object + properties: + filename: + type: string + type: + type: string + language: + type: string raw_url: type: string size: type: integer - truncated: - type: boolean - content: - type: string encoding: type: string description: The encoding used for `content`. Currently, `"utf-8"` @@ -86662,8 +86520,10 @@ components: type: boolean created_at: type: string + format: date-time updated_at: type: string + format: date-time description: type: - string @@ -86673,853 +86533,1273 @@ components: comments_enabled: type: boolean user: - type: - - string - - 'null' + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" comments_url: type: string + format: uri owner: "$ref": "#/components/schemas/simple-user" truncated: type: boolean - gist-comment: - title: Gist Comment - description: A comment made to a gist. + forks: + type: array + items: {} + history: + type: array + items: {} + required: + - id + - node_id + - url + - forks_url + - commits_url + - git_pull_url + - git_push_url + - html_url + - comments_url + - public + - description + - comments + - user + - files + - created_at + - updated_at + public-user: + title: Public User + description: Public User type: object properties: + login: + type: string id: type: integer - examples: - - 1 + format: int64 + user_view_type: + type: string node_id: type: string - examples: - - MDExOkdpc3RDb21tZW50MQ== + avatar_url: + type: string + format: uri + gravatar_id: + type: + - string + - 'null' url: type: string format: uri - examples: - - https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 - body: - description: The comment text. + html_url: type: string - maxLength: 65535 - examples: - - Body of the attachment - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - created_at: + format: uri + followers_url: type: string - format: date-time - examples: - - '2011-04-18T23:23:56Z' - updated_at: + format: uri + following_url: type: string - format: date-time - examples: - - '2011-04-18T23:23:56Z' - author_association: - "$ref": "#/components/schemas/author-association" - required: - - url - - id - - node_id - - user - - body - - author_association - - created_at - - updated_at - gist-commit: - title: Gist Commit - description: Gist Commit - type: object - properties: - url: + gists_url: + type: string + starred_url: + type: string + subscriptions_url: type: string format: uri - examples: - - https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f - version: + organizations_url: type: string - examples: - - 57a7f021a713b1c5a6a199b54cc514735d2d462f - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - change_status: - type: object - properties: - total: - type: integer - additions: - type: integer - deletions: - type: integer - committed_at: + format: uri + repos_url: type: string - format: date-time - examples: - - '2010-04-14T02:15:15Z' - required: - - url - - user - - version - - committed_at - - change_status - gitignore-template: - title: Gitignore Template - description: Gitignore Template - type: object - properties: - name: + format: uri + events_url: type: string - examples: - - C - source: + received_events_url: type: string - examples: - - | - # Object files - *.o - - # Libraries - *.lib - *.a - - # Shared objects (inc. Windows DLLs) - *.dll - *.so - *.so.* - *.dylib - - # Executables - *.exe - *.out - *.app - required: - - name - - source - license: - title: License - description: License - type: object - properties: - key: + format: uri + type: type: string - examples: - - mit + site_admin: + type: boolean name: - type: string - examples: - - MIT License - spdx_id: type: - string - 'null' - examples: - - MIT - url: + company: type: - string - 'null' - format: uri - examples: - - https://api.github.com/licenses/mit - node_id: - type: string - examples: - - MDc6TGljZW5zZW1pdA== - html_url: - type: string - format: uri - examples: - - http://choosealicense.com/licenses/mit/ - description: + blog: + type: + - string + - 'null' + location: + type: + - string + - 'null' + email: + type: + - string + - 'null' + format: email + notification_email: + type: + - string + - 'null' + format: email + hireable: + type: + - boolean + - 'null' + bio: + type: + - string + - 'null' + twitter_username: + type: + - string + - 'null' + public_repos: + type: integer + public_gists: + type: integer + followers: + type: integer + following: + type: integer + created_at: type: string - examples: - - A permissive license that is short and to the point. It lets people do - anything with your code with proper attribution and without warranty. - implementation: + format: date-time + updated_at: type: string + format: date-time + plan: + type: object + properties: + collaborators: + type: integer + name: + type: string + space: + type: integer + private_repos: + type: integer + required: + - collaborators + - name + - space + - private_repos + private_gists: + type: integer examples: - - Create a text file (typically named LICENSE or LICENSE.txt) in the root - of your source code and copy the text of the license into the file. Replace - [year] with the current year and [fullname] with the name (or names) of - the copyright holders. - permissions: - type: array - items: - type: string - examples: - - commercial-use - - modifications - - distribution - - sublicense - - private-use - conditions: - type: array - items: - type: string + - 1 + total_private_repos: + type: integer examples: - - include-copyright - limitations: - type: array - items: - type: string + - 2 + owned_private_repos: + type: integer examples: - - no-liability - body: - type: string + - 2 + disk_usage: + type: integer examples: - - |2 - - - The MIT License (MIT) - - Copyright (c) [year] [fullname] - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. - featured: - type: boolean + - 1 + collaborators: + type: integer examples: - - true + - 3 required: - - key - - name - - url - - spdx_id - - node_id + - avatar_url + - events_url + - followers_url + - following_url + - gists_url + - gravatar_id - html_url - - description - - implementation - - permissions - - conditions - - limitations - - body - - featured - marketplace-listing-plan: - title: Marketplace Listing Plan - description: Marketplace Listing Plan + - id + - node_id + - login + - organizations_url + - received_events_url + - repos_url + - site_admin + - starred_url + - subscriptions_url + - type + - url + - bio + - blog + - company + - email + - followers + - following + - hireable + - location + - name + - public_gists + - public_repos + - created_at + - updated_at + additionalProperties: false + gist-history: + title: Gist History + description: Gist History type: object properties: - url: - type: string - format: uri - examples: - - https://api.github.com/marketplace_listing/plans/1313 - accounts_url: + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + version: type: string - format: uri - examples: - - https://api.github.com/marketplace_listing/plans/1313/accounts - id: - type: integer - examples: - - 1313 - number: - type: integer - examples: - - 3 - name: + committed_at: type: string - examples: - - Pro - description: + format: date-time + change_status: + type: object + properties: + total: + type: integer + additions: + type: integer + deletions: + type: integer + url: type: string - examples: - - A professional-grade CI solution - monthly_price_in_cents: - type: integer - examples: - - 1099 - yearly_price_in_cents: - type: integer - examples: - - 11870 - price_model: - type: string - enum: - - FREE - - FLAT_RATE - - PER_UNIT - examples: - - FLAT_RATE - has_free_trial: - type: boolean - examples: - - true - unit_name: + format: uri + gist-simple: + title: Gist Simple + description: Gist Simple + type: object + properties: + forks: + deprecated: true type: - - string + - array - 'null' - state: - type: string - examples: - - published - bullets: - type: array items: - type: string - examples: - - Up to 25 private repositories - - 11 concurrent builds - required: - - url - - accounts_url - - id - - number - - name - - description - - has_free_trial - - price_model - - unit_name - - monthly_price_in_cents - - state - - yearly_price_in_cents - - bullets - marketplace-purchase: - title: Marketplace Purchase - description: Marketplace Purchase - type: object - properties: - url: - type: string - type: - type: string - id: - type: integer - login: - type: string - organization_billing_email: - type: string - email: + type: object + properties: + id: + type: string + url: + type: string + format: uri + user: + "$ref": "#/components/schemas/public-user" + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + history: + deprecated: true type: - - string + - array - 'null' - marketplace_pending_change: + items: + "$ref": "#/components/schemas/gist-history" + fork_of: + title: Gist + description: Gist type: - object - 'null' properties: - is_installed: - type: boolean - effective_date: + url: type: string - unit_count: - type: - - integer - - 'null' + format: uri + forks_url: + type: string + format: uri + commits_url: + type: string + format: uri id: - type: integer - plan: - "$ref": "#/components/schemas/marketplace-listing-plan" - marketplace_purchase: - type: object - properties: - billing_cycle: type: string - next_billing_date: - type: - - string - - 'null' - is_installed: - type: boolean - unit_count: - type: - - integer - - 'null' - on_free_trial: + node_id: + type: string + git_pull_url: + type: string + format: uri + git_push_url: + type: string + format: uri + html_url: + type: string + format: uri + files: + type: object + additionalProperties: + type: object + properties: + filename: + type: string + type: + type: string + language: + type: string + raw_url: + type: string + size: + type: integer + public: type: boolean - free_trial_ends_on: + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + description: type: - string - 'null' - updated_at: + comments: + type: integer + comments_enabled: + type: boolean + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + comments_url: type: string - plan: - "$ref": "#/components/schemas/marketplace-listing-plan" - required: - - url - - id - - type - - login - - marketplace_purchase - api-overview: - title: Api Overview - description: Api Overview - type: object - properties: - verifiable_password_authentication: - type: boolean - examples: - - true - ssh_key_fingerprints: + format: uri + owner: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + truncated: + type: boolean + forks: + type: array + items: {} + history: + type: array + items: {} + required: + - id + - node_id + - url + - forks_url + - commits_url + - git_pull_url + - git_push_url + - html_url + - comments_url + - public + - description + - comments + - user + - files + - created_at + - updated_at + url: + type: string + forks_url: + type: string + commits_url: + type: string + id: + type: string + node_id: + type: string + git_pull_url: + type: string + git_push_url: + type: string + html_url: + type: string + files: type: object - properties: - SHA256_RSA: - type: string - SHA256_DSA: - type: string - SHA256_ECDSA: - type: string - SHA256_ED25519: - type: string - ssh_keys: - type: array - items: - type: string - examples: - - ssh-ed25519 ABCDEFGHIJKLMNOPQRSTUVWXYZ - hooks: - type: array - items: - type: string + additionalProperties: + type: + - object + - 'null' + properties: + filename: + type: string + type: + type: string + language: + type: string + raw_url: + type: string + size: + type: integer + truncated: + type: boolean + content: + type: string + encoding: + type: string + description: The encoding used for `content`. Currently, `"utf-8"` + and `"base64"` are supported. + default: utf-8 + public: + type: boolean + created_at: + type: string + updated_at: + type: string + description: + type: + - string + - 'null' + comments: + type: integer + comments_enabled: + type: boolean + user: + type: + - string + - 'null' + comments_url: + type: string + owner: + "$ref": "#/components/schemas/simple-user" + truncated: + type: boolean + gist-comment: + title: Gist Comment + description: A comment made to a gist. + type: object + properties: + id: + type: integer examples: - - 192.0.2.1 - github_enterprise_importer: - type: array - items: - type: string + - 1 + node_id: + type: string examples: - - 192.0.2.1 - web: - type: array - items: - type: string + - MDExOkdpc3RDb21tZW50MQ== + url: + type: string + format: uri examples: - - 192.0.2.1 - api: - type: array - items: - type: string + - https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 + body: + description: The comment text. + type: string + maxLength: 65535 examples: - - 192.0.2.1 - git: - type: array - items: - type: string + - Body of the attachment + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time examples: - - 192.0.2.1 - packages: - type: array - items: - type: string + - '2011-04-18T23:23:56Z' + updated_at: + type: string + format: date-time examples: - - 192.0.2.1 - pages: + - '2011-04-18T23:23:56Z' + author_association: + "$ref": "#/components/schemas/author-association" + required: + - url + - id + - node_id + - user + - body + - author_association + - created_at + - updated_at + gist-commit: + title: Gist Commit + description: Gist Commit + type: object + properties: + url: + type: string + format: uri + examples: + - https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f + version: + type: string + examples: + - 57a7f021a713b1c5a6a199b54cc514735d2d462f + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + change_status: + type: object + properties: + total: + type: integer + additions: + type: integer + deletions: + type: integer + committed_at: + type: string + format: date-time + examples: + - '2010-04-14T02:15:15Z' + required: + - url + - user + - version + - committed_at + - change_status + gitignore-template: + title: Gitignore Template + description: Gitignore Template + type: object + properties: + name: + type: string + examples: + - C + source: + type: string + examples: + - | + # Object files + *.o + + # Libraries + *.lib + *.a + + # Shared objects (inc. Windows DLLs) + *.dll + *.so + *.so.* + *.dylib + + # Executables + *.exe + *.out + *.app + required: + - name + - source + license: + title: License + description: License + type: object + properties: + key: + type: string + examples: + - mit + name: + type: string + examples: + - MIT License + spdx_id: + type: + - string + - 'null' + examples: + - MIT + url: + type: + - string + - 'null' + format: uri + examples: + - https://api.github.com/licenses/mit + node_id: + type: string + examples: + - MDc6TGljZW5zZW1pdA== + html_url: + type: string + format: uri + examples: + - http://choosealicense.com/licenses/mit/ + description: + type: string + examples: + - A permissive license that is short and to the point. It lets people do + anything with your code with proper attribution and without warranty. + implementation: + type: string + examples: + - Create a text file (typically named LICENSE or LICENSE.txt) in the root + of your source code and copy the text of the license into the file. Replace + [year] with the current year and [fullname] with the name (or names) of + the copyright holders. + permissions: type: array items: type: string examples: - - 192.0.2.1 - importer: + - commercial-use + - modifications + - distribution + - sublicense + - private-use + conditions: type: array items: type: string examples: - - 192.0.2.1 - actions: + - include-copyright + limitations: type: array items: type: string examples: - - 192.0.2.1 - actions_macos: - type: array - items: - type: string - examples: - - 192.0.2.1 - codespaces: - type: array - items: - type: string - examples: - - 192.0.2.1 - dependabot: - type: array - items: - type: string + - no-liability + body: + type: string examples: - - 192.0.2.1 - copilot: - type: array - items: - type: string + - |2 + + + The MIT License (MIT) + + Copyright (c) [year] [fullname] + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + featured: + type: boolean examples: - - 192.0.2.1 - domains: - type: object - properties: - website: - type: array - items: - type: string - examples: - - example.com - codespaces: - type: array - items: - type: string - examples: - - example.com - copilot: - type: array - items: - type: string - examples: - - example.com - packages: - type: array - items: - type: string - examples: - - example.com - actions: - type: array - items: - type: string - examples: - - example.com - actions_inbound: - type: object - properties: - full_domains: - type: array - items: - type: string - examples: - - example.com - wildcard_domains: - type: array - items: - type: string - examples: - - example.com - artifact_attestations: - type: object - properties: - trust_domain: - type: string - examples: - - example - services: - type: array - items: - type: string - examples: - - example.com + - true required: - - verifiable_password_authentication - security-and-analysis: - type: - - object - - 'null' - properties: - advanced_security: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - code_security: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - dependabot_security_updates: - description: Enable or disable Dependabot security updates for the repository. - type: object - properties: - status: - description: The enablement status of Dependabot security updates for - the repository. - type: string - enum: - - enabled - - disabled - secret_scanning: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - secret_scanning_push_protection: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - secret_scanning_non_provider_patterns: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - secret_scanning_ai_detection: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - secret_scanning_validity_checks: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - minimal-repository: - title: Minimal Repository - description: Minimal Repository + - key + - name + - url + - spdx_id + - node_id + - html_url + - description + - implementation + - permissions + - conditions + - limitations + - body + - featured + marketplace-listing-plan: + title: Marketplace Listing Plan + description: Marketplace Listing Plan type: object properties: + url: + type: string + format: uri + examples: + - https://api.github.com/marketplace_listing/plans/1313 + accounts_url: + type: string + format: uri + examples: + - https://api.github.com/marketplace_listing/plans/1313/accounts id: type: integer - format: int64 examples: - - 1296269 - node_id: - type: string + - 1313 + number: + type: integer examples: - - MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + - 3 name: type: string examples: - - Hello-World - full_name: + - Pro + description: type: string examples: - - octocat/Hello-World - owner: - "$ref": "#/components/schemas/simple-user" - private: - type: boolean - html_url: + - A professional-grade CI solution + monthly_price_in_cents: + type: integer + examples: + - 1099 + yearly_price_in_cents: + type: integer + examples: + - 11870 + price_model: type: string - format: uri + enum: + - FREE + - FLAT_RATE + - PER_UNIT examples: - - https://github.com/octocat/Hello-World - description: + - FLAT_RATE + has_free_trial: + type: boolean + examples: + - true + unit_name: type: - string - 'null' - examples: - - This your first repo! - fork: - type: boolean - url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World - archive_url: - type: string - examples: - - http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: - type: string - examples: - - http://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: + state: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: - type: string + - published + bullets: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: + - Up to 25 private repositories + - 11 concurrent builds + required: + - url + - accounts_url + - id + - number + - name + - description + - has_free_trial + - price_model + - unit_name + - monthly_price_in_cents + - state + - yearly_price_in_cents + - bullets + marketplace-purchase: + title: Marketplace Purchase + description: Marketplace Purchase + type: object + properties: + url: type: string - examples: - - http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: + type: type: string - examples: - - http://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: + id: + type: integer + login: type: string - examples: - - http://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: + organization_billing_email: type: string + email: + type: + - string + - 'null' + marketplace_pending_change: + type: + - object + - 'null' + properties: + is_installed: + type: boolean + effective_date: + type: string + unit_count: + type: + - integer + - 'null' + id: + type: integer + plan: + "$ref": "#/components/schemas/marketplace-listing-plan" + marketplace_purchase: + type: object + properties: + billing_cycle: + type: string + next_billing_date: + type: + - string + - 'null' + is_installed: + type: boolean + unit_count: + type: + - integer + - 'null' + on_free_trial: + type: boolean + free_trial_ends_on: + type: + - string + - 'null' + updated_at: + type: string + plan: + "$ref": "#/components/schemas/marketplace-listing-plan" + required: + - url + - id + - type + - login + - marketplace_purchase + api-overview: + title: Api Overview + description: Api Overview + type: object + properties: + verifiable_password_authentication: + type: boolean examples: - - http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: - type: string + - true + ssh_key_fingerprints: + type: object + properties: + SHA256_RSA: + type: string + SHA256_DSA: + type: string + SHA256_ECDSA: + type: string + SHA256_ED25519: + type: string + ssh_keys: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: - type: string - format: uri + - ssh-ed25519 ABCDEFGHIJKLMNOPQRSTUVWXYZ + hooks: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: - type: string - format: uri + - 192.0.2.1 + github_enterprise_importer: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: - type: string - format: uri + - 192.0.2.1 + web: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/downloads - events_url: - type: string - format: uri + - 192.0.2.1 + api: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/events - forks_url: - type: string - format: uri + - 192.0.2.1 + git: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: - type: string + - 192.0.2.1 + packages: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: - type: string + - 192.0.2.1 + pages: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: - type: string + - 192.0.2.1 + importer: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - git_url: - type: string - issue_comment_url: - type: string + - 192.0.2.1 + actions: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: - type: string + - 192.0.2.1 + actions_macos: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: - type: string + - 192.0.2.1 + codespaces: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: - type: string + - 192.0.2.1 + dependabot: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: - type: string + - 192.0.2.1 + copilot: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: - type: string + - 192.0.2.1 + domains: + type: object + properties: + website: + type: array + items: + type: string + examples: + - example.com + codespaces: + type: array + items: + type: string + examples: + - example.com + copilot: + type: array + items: + type: string + examples: + - example.com + packages: + type: array + items: + type: string + examples: + - example.com + actions: + type: array + items: + type: string + examples: + - example.com + actions_inbound: + type: object + properties: + full_domains: + type: array + items: + type: string + examples: + - example.com + wildcard_domains: + type: array + items: + type: string + examples: + - example.com + artifact_attestations: + type: object + properties: + trust_domain: + type: string + examples: + - example + services: + type: array + items: + type: string + examples: + - example.com + required: + - verifiable_password_authentication + security-and-analysis: + type: + - object + - 'null' + properties: + advanced_security: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + code_security: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + dependabot_security_updates: + description: Enable or disable Dependabot security updates for the repository. + type: object + properties: + status: + description: The enablement status of Dependabot security updates for + the repository. + type: string + enum: + - enabled + - disabled + secret_scanning: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + secret_scanning_push_protection: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + secret_scanning_non_provider_patterns: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + secret_scanning_ai_detection: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + secret_scanning_validity_checks: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + minimal-repository: + title: Minimal Repository + description: Minimal Repository + type: object + properties: + id: + type: integer + format: int64 + examples: + - 1296269 + node_id: + type: string + examples: + - MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: + type: string + examples: + - Hello-World + full_name: + type: string + examples: + - octocat/Hello-World + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + html_url: + type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/languages - merges_url: + - https://github.com/octocat/Hello-World + description: + type: + - string + - 'null' + examples: + - This your first repo! + fork: + type: boolean + url: type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/merges - milestones_url: + - https://api.github.com/repos/octocat/Hello-World + archive_url: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: + - http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: + - http://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: + - http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/releases{/id} - ssh_url: + - http://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: type: string - stargazers_url: + examples: + - http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: type: string - format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: + - http://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: + - http://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: + - http://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/subscription - tags_url: + - http://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/tags - teams_url: + - http://api.github.com/repos/octocat/Hello-World/downloads + events_url: type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/teams - trees_url: + - http://api.github.com/repos/octocat/Hello-World/events + forks_url: type: string + format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - clone_url: + - http://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: type: string - mirror_url: - type: - - string - - 'null' - hooks_url: + examples: + - http://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: type: string - format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/hooks - svn_url: + - http://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: type: string - homepage: - type: - - string - - 'null' - language: + examples: + - http://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: + type: string + issue_comment_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/languages + merges_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/merges + milestones_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: + type: string + stargazers_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/subscription + tags_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/tags + teams_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/teams + trees_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + clone_url: + type: string + mirror_url: + type: + - string + - 'null' + hooks_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/hooks + svn_url: + type: string + homepage: + type: + - string + - 'null' + language: type: - string - 'null' @@ -103781,269 +104061,16 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: - string - 'null' - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index da0701b49b..5fd27217d9 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -117400,970 +117400,1341 @@ null ] }, - "organization-secret-scanning-alert": { + "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": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { + "path": { "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" }, - "secret_type": { + "blob_sha": { "type": "string", - "description": "The type of secret that secret scanning detected." + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] }, - "secret_type_display_name": { + "blob_url": { "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + "description": "The API URL to get the associated blob resource" }, - "secret": { + "commit_sha": { "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" ] }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "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" ] }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." + "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." }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" + "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." }, - "validity": { + "blob_sha": { "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" ] }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" + "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" + ] }, - "actions-billing-usage": { + "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": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } + "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": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" + "issue_title_url" ] }, - "advanced-security-active-committers-user": { + "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": { - "user_login": { - "type": "string" - }, - "last_pushed_date": { + "issue_body_url": { "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", "examples": [ - "2021-11-03" + "https://api.github.com/repos/octocat/Hello-World/issues/1347" ] - }, - "last_pushed_email": { + } + }, + "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": [ - "monalisa@github.com" + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" ] } }, "required": [ - "user_login", - "last_pushed_date", - "last_pushed_email" + "issue_comment_url" ] }, - "advanced-security-active-committers-repository": { + "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": { - "name": { + "discussion_title_url": { "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", "examples": [ - "octocat/Hello-World" - ] - }, - "advanced_security_committers": { - "type": "integer", - "examples": [ - 25 + "https://github.com/community/community/discussions/39082" ] - }, - "advanced_security_committers_breakdown": { - "type": "array", - "items": { - "$ref": "#/components/schemas/advanced-security-active-committers-user" - } } }, "required": [ - "name", - "advanced_security_committers", - "advanced_security_committers_breakdown" + "discussion_title_url" ] }, - "advanced-security-active-committers": { + "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": { - "total_advanced_security_committers": { - "type": "integer", - "examples": [ - 25 - ] - }, - "total_count": { - "type": "integer", - "examples": [ - 2 - ] - }, - "maximum_advanced_security_committers": { - "type": "integer", - "description": "The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security", - "examples": [ - 4 - ] - }, - "purchased_advanced_security_committers": { - "type": "integer", - "description": "The total number of GitHub Advanced Security licences purchased", + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", "examples": [ - 4 + "https://github.com/community/community/discussions/39082#discussion-4566270" ] - }, - "repositories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/advanced-security-active-committers-repository" - } } }, "required": [ - "repositories" + "discussion_body_url" ] }, - "get-all-cost-centers": { + "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": { - "costCenters": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the cost center." - }, - "name": { - "type": "string", - "description": "Name of the cost center." - }, - "resources": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "Type of the resource." - }, - "name": { - "type": "string", - "description": "Name of the resource." - } - }, - "required": [ - "type", - "name" - ] - } - } - }, - "required": [ - "id", - "name", - "resources" - ] - } + "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" + ] }, - "packages-billing-usage": { + "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": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." + "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": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" + "pull_request_title_url" ] }, - "combined-billing-usage": { + "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": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." + "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": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" + "pull_request_body_url" ] }, - "billing-usage-report": { + "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": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "organizationName": { - "type": "string", - "description": "Name of the organization." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount", - "organizationName" - ] - } + "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" + ] }, - "actor": { - "title": "Actor", - "description": "Actor", + "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": { - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "display_login": { - "type": "string" - }, - "gravatar_id": { - "type": [ - "string", - "null" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "avatar_url": { + "pull_request_review_url": { "type": "string", - "format": "uri" + "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": [ - "id", - "login", - "gravatar_id", - "url", - "avatar_url" + "pull_request_review_url" ] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", + "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": { - "url": { + "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/milestones/1" + "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" }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/milestones/v1.0" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" }, - "labels_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" }, - "node_id": { - "type": "string", - "examples": [ - "MDk6TWlsZXN0b25lMTAwMjYwNA==" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [ - 42 - ] + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": [ - "open", - "closed" - ], - "default": "open", - "examples": [ - "open" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" }, - "title": { - "description": "The title of the milestone.", - "type": "string", - "examples": [ - "v1.0" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "Tracking milestone for version 1.0" - ] + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" }, - "creator": { + { + "$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": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { "anyOf": [ { "type": "null" }, { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/alert-updated-at" } ] }, - "open_issues": { - "type": "integer", - "examples": [ - 4 - ] + "url": { + "$ref": "#/components/schemas/alert-url" }, - "closed_issues": { - "type": "integer", - "examples": [ - 8 - ] + "html_url": { + "$ref": "#/components/schemas/alert-html-url" }, - "created_at": { + "locations_url": { "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] + "format": "uri", + "description": "The REST API URL of the code locations for this alert." }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2014-03-03T18:58:10Z" - ] + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" }, - "closed_at": { + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { "type": [ "string", "null" ], "format": "date-time", - "examples": [ - "2013-02-12T13:22:01Z" + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] }, - "due_on": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypassed_at": { "type": [ "string", "null" ], "format": "date-time", - "examples": [ - "2012-10-09T23:39:01Z" + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] - } - }, - "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" - ] - }, - "issue-type": { - "title": "Issue Type", - "description": "The type of issue.", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." }, - "node_id": { - "type": "string", - "description": "The node identifier of the issue type." + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." }, - "name": { - "type": "string", - "description": "The name of the issue type." + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." }, - "description": { + "push_protection_bypass_request_html_url": { "type": [ "string", "null" ], - "description": "The description of the issue type." + "format": "uri", + "description": "The URL to a push protection bypass request." }, - "color": { + "resolution_comment": { "type": [ "string", "null" ], - "description": "The color of the issue type.", + "description": "The comment that was optionally added when this alert was closed" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null + "active", + "inactive", + "unknown" ] }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." + "is_base64_encoded": { + "type": [ + "boolean", + "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" + } + ] } - }, - "required": [ - "id", - "node_id", - "name", - "description" - ] - }, - "author-association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] + } }, - "reaction-rollup": { - "title": "Reaction Rollup", + "actions-billing-usage": { "type": "object", "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" - }, - "heart": { - "type": "integer" + "total_minutes_used": { + "type": "integer", + "description": "The sum of the free and paid GitHub Actions minutes used." }, - "hooray": { - "type": "integer" + "total_paid_minutes_used": { + "type": "integer", + "description": "The total paid GitHub Actions minutes used." }, - "eyes": { - "type": "integer" + "included_minutes": { + "type": "integer", + "description": "The amount of free GitHub Actions minutes available." }, - "rocket": { - "type": "integer" - } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" + "minutes_used_breakdown": { + "type": "object", + "properties": { + "UBUNTU": { + "type": "integer", + "description": "Total minutes used on Ubuntu runner machines." + }, + "MACOS": { + "type": "integer", + "description": "Total minutes used on macOS runner machines." + }, + "WINDOWS": { + "type": "integer", + "description": "Total minutes used on Windows runner machines." + }, + "ubuntu_4_core": { + "type": "integer", + "description": "Total minutes used on Ubuntu 4 core runner machines." + }, + "ubuntu_8_core": { + "type": "integer", + "description": "Total minutes used on Ubuntu 8 core runner machines." + }, + "ubuntu_16_core": { + "type": "integer", + "description": "Total minutes used on Ubuntu 16 core runner machines." + }, + "ubuntu_32_core": { + "type": "integer", + "description": "Total minutes used on Ubuntu 32 core runner machines." + }, + "ubuntu_64_core": { + "type": "integer", + "description": "Total minutes used on Ubuntu 64 core runner machines." + }, + "windows_4_core": { + "type": "integer", + "description": "Total minutes used on Windows 4 core runner machines." + }, + "windows_8_core": { + "type": "integer", + "description": "Total minutes used on Windows 8 core runner machines." + }, + "windows_16_core": { + "type": "integer", + "description": "Total minutes used on Windows 16 core runner machines." + }, + "windows_32_core": { + "type": "integer", + "description": "Total minutes used on Windows 32 core runner machines." + }, + "windows_64_core": { + "type": "integer", + "description": "Total minutes used on Windows 64 core runner machines." + }, + "macos_12_core": { + "type": "integer", + "description": "Total minutes used on macOS 12 core runner machines." + }, + "total": { + "type": "integer", + "description": "Total minutes used on all runner machines." + } + } + } + }, + "required": [ + "total_minutes_used", + "total_paid_minutes_used", + "included_minutes", + "minutes_used_breakdown" ] }, - "sub-issues-summary": { - "title": "Sub-issues Summary", + "advanced-security-active-committers-user": { "type": "object", "properties": { - "total": { - "type": "integer" + "user_login": { + "type": "string" }, - "completed": { - "type": "integer" + "last_pushed_date": { + "type": "string", + "examples": [ + "2021-11-03" + ] }, - "percent_completed": { - "type": "integer" + "last_pushed_email": { + "type": "string", + "examples": [ + "monalisa@github.com" + ] } }, "required": [ - "total", - "completed", - "percent_completed" + "user_login", + "last_pushed_date", + "last_pushed_email" ] }, - "issue": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "advanced-security-active-committers-repository": { "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the issue", + "name": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/repositories/42/issues/1" + "octocat/Hello-World" ] }, - "repository_url": { - "type": "string", - "format": "uri" - }, - "labels_url": { - "type": "string" - }, - "comments_url": { - "type": "string", - "format": "uri" - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "number": { - "description": "Number uniquely identifying the issue within its repository", + "advanced_security_committers": { "type": "integer", "examples": [ - 42 + 25 ] }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", + "advanced_security_committers_breakdown": { + "type": "array", + "items": { + "$ref": "#/components/schemas/advanced-security-active-committers-user" + } + } + }, + "required": [ + "name", + "advanced_security_committers", + "advanced_security_committers_breakdown" + ] + }, + "advanced-security-active-committers": { + "type": "object", + "properties": { + "total_advanced_security_committers": { + "type": "integer", "examples": [ - "open" + 25 ] }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - null - ], + "total_count": { + "type": "integer", "examples": [ - "not_planned" + 2 ] }, - "title": { - "description": "Title of the issue", - "type": "string", + "maximum_advanced_security_committers": { + "type": "integer", + "description": "The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security", "examples": [ - "Widget creation fails in Safari on OS X 10.8" + 4 ] }, - "body": { - "description": "Contents of the issue", - "type": [ - "string", - "null" - ], + "purchased_advanced_security_committers": { + "type": "integer", + "description": "The total number of GitHub Advanced Security licences purchased", "examples": [ - "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + 4 ] }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "repositories": { "type": "array", "items": { - "oneOf": [ - { - "type": "string" + "$ref": "#/components/schemas/advanced-security-active-committers-repository" + } + } + }, + "required": [ + "repositories" + ] + }, + "get-all-cost-centers": { + "type": "object", + "properties": { + "costCenters": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the cost center." }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { + "name": { + "type": "string", + "description": "Name of the cost center." + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of the resource." + }, + "name": { + "type": "string", + "description": "Name of the resource." + } + }, + "required": [ + "type", + "name" + ] + } + } + }, + "required": [ + "id", + "name", + "resources" + ] + } + } + } + }, + "packages-billing-usage": { + "type": "object", + "properties": { + "total_gigabytes_bandwidth_used": { + "type": "integer", + "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." + }, + "total_paid_gigabytes_bandwidth_used": { + "type": "integer", + "description": "Total paid storage space (GB) for GitHuub Packages." + }, + "included_gigabytes_bandwidth": { + "type": "integer", + "description": "Free storage space (GB) for GitHub Packages." + } + }, + "required": [ + "total_gigabytes_bandwidth_used", + "total_paid_gigabytes_bandwidth_used", + "included_gigabytes_bandwidth" + ] + }, + "combined-billing-usage": { + "type": "object", + "properties": { + "days_left_in_billing_cycle": { + "type": "integer", + "description": "Numbers of days left in billing cycle." + }, + "estimated_paid_storage_for_month": { + "type": "integer", + "description": "Estimated storage space (GB) used in billing cycle." + }, + "estimated_storage_for_month": { + "type": "integer", + "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." + } + }, + "required": [ + "days_left_in_billing_cycle", + "estimated_paid_storage_for_month", + "estimated_storage_for_month" + ] + }, + "billing-usage-report": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, + "actor": { + "title": "Actor", + "description": "Actor", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "display_login": { + "type": "string" + }, + "gravatar_id": { + "type": [ + "string", + "null" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "login", + "gravatar_id", + "url", + "avatar_url" + ] + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + }, + "issue-type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "author-association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reaction-rollup": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub-issues-summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "issue": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { "type": "string" }, "description": { @@ -142881,155 +143252,25 @@ "Organization" ] }, - "ruleset_source": { - "type": "string", - "description": "The name of the source of the ruleset that includes this rule." - }, - "ruleset_id": { - "type": "integer", - "description": "The ID of the ruleset that includes this rule." - } - } - }, - "repository-rule-detailed": { - "title": "Repository Rule", - "type": "object", - "description": "A repository rule with ruleset details.", - "oneOf": [ - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-creation" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-update" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-deletion" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-linear-history" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-merge-queue" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-deployments" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-signatures" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-pull-request" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-status-checks" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-non-fast-forward" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-commit-message-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-committer-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] + "ruleset_source": { + "type": "string", + "description": "The name of the source of the ruleset that includes this rule." }, + "ruleset_id": { + "type": "integer", + "description": "The ID of the ruleset that includes this rule." + } + } + }, + "repository-rule-detailed": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule with ruleset details.", + "oneOf": [ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + "$ref": "#/components/schemas/repository-rule-creation" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143039,7 +143280,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-tag-name-pattern" + "$ref": "#/components/schemas/repository-rule-update" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143049,7 +143290,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-file-path-restriction" + "$ref": "#/components/schemas/repository-rule-deletion" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143059,7 +143300,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-max-file-path-length" + "$ref": "#/components/schemas/repository-rule-required-linear-history" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143069,7 +143310,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + "$ref": "#/components/schemas/repository-rule-merge-queue" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143079,7 +143320,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-max-file-size" + "$ref": "#/components/schemas/repository-rule-required-deployments" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143089,7 +143330,7 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-workflows" + "$ref": "#/components/schemas/repository-rule-required-signatures" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" @@ -143099,499 +143340,322 @@ { "allOf": [ { - "$ref": "#/components/schemas/repository-rule-code-scanning" + "$ref": "#/components/schemas/repository-rule-pull-request" }, { "$ref": "#/components/schemas/repository-rule-ruleset-info" - } - ] - } - ] - }, - "secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - } - } - }, - "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" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-non-fast-forward" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "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." + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "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." + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } + ] }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-tag-name-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-file-path-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-max-file-path-length" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-max-file-size" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-workflows" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] - } - }, - "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" + }, + { + "allOf": [ + { + "$ref": "#/components/schemas/repository-rule-code-scanning" + }, + { + "$ref": "#/components/schemas/repository-rule-ruleset-info" + } ] } - }, - "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.", + "secret-scanning-alert": { "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" + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } ] - } - }, - "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": { + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_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" + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] - } - }, - "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": { + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "secret_type": { "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": { + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { "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": { + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { "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" + "description": "The secret that was detected." + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } ] - } - }, - "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", + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." + }, + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], "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" + "description": "The URL to a push protection bypass request." + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "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" + } ] } - }, - "required": [ - "pull_request_review_comment_url" + } + }, + "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": { diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index dc1b23c48c..229de6f2a4 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -85130,1529 +85130,1387 @@ components: - revoked - used_in_tests - - organization-secret-scanning-alert: + 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: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: + path: type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - secret_type: + 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: The type of secret that secret scanning detected. - secret_type_display_name: + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: + description: The API URL to get the associated blob resource + commit_sha: type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this alert was closed - validity: + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert is base64 - encoded - actions-billing-usage: - type: object - properties: - total_minutes_used: - type: integer - description: The sum of the free and paid GitHub Actions minutes used. - total_paid_minutes_used: - type: integer - description: The total paid GitHub Actions minutes used. - included_minutes: - type: integer - description: The amount of free GitHub Actions minutes available. - minutes_used_breakdown: - type: object - properties: - UBUNTU: - type: integer - description: Total minutes used on Ubuntu runner machines. - MACOS: - type: integer - description: Total minutes used on macOS runner machines. - WINDOWS: - type: integer - description: Total minutes used on Windows runner machines. - ubuntu_4_core: - type: integer - description: Total minutes used on Ubuntu 4 core runner machines. - ubuntu_8_core: - type: integer - description: Total minutes used on Ubuntu 8 core runner machines. - ubuntu_16_core: - type: integer - description: Total minutes used on Ubuntu 16 core runner machines. - ubuntu_32_core: - type: integer - description: Total minutes used on Ubuntu 32 core runner machines. - ubuntu_64_core: - type: integer - description: Total minutes used on Ubuntu 64 core runner machines. - windows_4_core: - type: integer - description: Total minutes used on Windows 4 core runner machines. - windows_8_core: - type: integer - description: Total minutes used on Windows 8 core runner machines. - windows_16_core: - type: integer - description: Total minutes used on Windows 16 core runner machines. - windows_32_core: - type: integer - description: Total minutes used on Windows 32 core runner machines. - windows_64_core: - type: integer - description: Total minutes used on Windows 64 core runner machines. - macos_12_core: - type: integer - description: Total minutes used on macOS 12 core runner machines. - total: - type: integer - description: Total minutes used on all runner machines. + description: The API URL to get the associated commit resource required: - - total_minutes_used - - total_paid_minutes_used - - included_minutes - - minutes_used_breakdown - advanced-security-active-committers-user: + - 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: - user_login: + path: type: string - last_pushed_date: + 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: - - '2021-11-03' - last_pushed_email: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: type: string + description: The GitHub URL to get the associated wiki page examples: - - monalisa@github.com - required: - - user_login - - last_pushed_date - - last_pushed_email - advanced-security-active-committers-repository: - type: object - properties: - name: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: type: string + description: SHA-1 hash ID of the associated commit examples: - - octocat/Hello-World - advanced_security_committers: - type: integer + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit examples: - - 25 - advanced_security_committers_breakdown: - type: array - items: - "$ref": "#/components/schemas/advanced-security-active-committers-user" + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 required: - - name - - advanced_security_committers - - advanced_security_committers_breakdown - advanced-security-active-committers: + - 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: - total_advanced_security_committers: - type: integer - examples: - - 25 - total_count: - type: integer - examples: - - 2 - maximum_advanced_security_committers: - type: integer - description: The total number of GitHub Advanced Security licences required - if all repositories were to enable GitHub Advanced Security - examples: - - 4 - purchased_advanced_security_committers: - type: integer - description: The total number of GitHub Advanced Security licences purchased + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. examples: - - 4 - repositories: - type: array - items: - "$ref": "#/components/schemas/advanced-security-active-committers-repository" + - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - - repositories - get-all-cost-centers: - type: object - properties: - costCenters: - type: array - items: - type: object - properties: - id: - type: string - description: ID of the cost center. - name: - type: string - description: Name of the cost center. - resources: - type: array - items: - type: object - properties: - type: - type: string - description: Type of the resource. - name: - type: string - description: Name of the resource. - required: - - type - - name - required: - - id - - name - - resources - packages-billing-usage: + - 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: - total_gigabytes_bandwidth_used: - type: integer - description: Sum of the free and paid storage space (GB) for GitHuub Packages. - total_paid_gigabytes_bandwidth_used: - type: integer - description: Total paid storage space (GB) for GitHuub Packages. - included_gigabytes_bandwidth: - type: integer - description: Free storage space (GB) for GitHub Packages. + 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: - - total_gigabytes_bandwidth_used - - total_paid_gigabytes_bandwidth_used - - included_gigabytes_bandwidth - combined-billing-usage: + - 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: - days_left_in_billing_cycle: - type: integer - description: Numbers of days left in billing cycle. - estimated_paid_storage_for_month: - type: integer - description: Estimated storage space (GB) used in billing cycle. - estimated_storage_for_month: - type: integer - description: Estimated sum of free and paid storage space (GB) used in billing - cycle. + 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: - - days_left_in_billing_cycle - - estimated_paid_storage_for_month - - estimated_storage_for_month - billing-usage-report: - type: object - properties: - usageItems: - type: array - items: - type: object - properties: - date: - type: string - description: Date of the usage line item. - product: - type: string - description: Product name. - sku: - type: string - description: SKU name. - quantity: - type: integer - description: Quantity of the usage line item. - unitType: - type: string - description: Unit type of the usage line item. - pricePerUnit: - type: number - description: Price per unit of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - organizationName: - type: string - description: Name of the organization. - repositoryName: - type: string - description: Name of the repository. - required: - - date - - product - - sku - - quantity - - unitType - - pricePerUnit - - grossAmount - - discountAmount - - netAmount - - organizationName - actor: - title: Actor - description: Actor + - 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: - id: - type: integer - login: - type: string - display_login: - type: string - gravatar_id: - type: - - string - - 'null' - url: - type: string - format: uri - avatar_url: + 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: - - id - - login - - gravatar_id - - url - - avatar_url - milestone: - title: Milestone - description: A collection of related issues and pull requests. + - 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: - url: + discussion_body_url: type: string format: uri + description: The URL to the discussion where the secret was detected. examples: - - https://api.github.com/repos/octocat/Hello-World/milestones/1 - html_url: + - 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/octocat/Hello-World/milestones/v1.0 - labels_url: + - 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/milestones/1/labels - id: - type: integer - examples: - - 1002604 - node_id: + - 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: - - MDk6TWlsZXN0b25lMTAwMjYwNA== - number: - description: The number of the milestone. - type: integer + - 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: - - 42 - state: - description: The state of the milestone. + - 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 - enum: - - open - - closed - default: open + format: uri + description: The API URL to get the pull request review where the secret + was detected. examples: - - open - title: - description: The title of the milestone. + - 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: - - v1.0 - description: + - 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: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: type: - string - 'null' - examples: - - Tracking milestone for version 1.0 - creator: + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: anyOf: - type: 'null' - "$ref": "#/components/schemas/simple-user" - open_issues: - type: integer - examples: - - 4 - closed_issues: - type: integer - examples: - - 8 - created_at: + secret_type: type: string - format: date-time - examples: - - '2011-04-10T20:09:31Z' - updated_at: + description: The type of secret that secret scanning detected. + secret_type_display_name: type: string - format: date-time - examples: - - '2014-03-03T18:58:10Z' - closed_at: + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypassed_at: type: - string - 'null' format: date-time - examples: - - '2013-02-12T13:22:01Z' - due_on: + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypass_request_reviewer_comment: type: - string - 'null' - format: date-time - examples: - - '2012-10-09T23:39:01Z' - required: - - closed_issues - - creator - - description - - due_on - - closed_at - - id - - node_id - - labels_url - - html_url - - number - - open_issues - - state - - title - - url - - created_at - - updated_at - issue-type: - title: Issue Type - description: The type of issue. - type: - - object - - 'null' - properties: - id: - type: integer - description: The unique identifier of the issue type. - node_id: - type: string - description: The node identifier of the issue type. - name: - type: string - description: The name of the issue type. - description: + description: An optional comment when reviewing a push protection bypass. + push_protection_bypass_request_comment: type: - string - 'null' - description: The description of the issue type. - color: + description: An optional comment when requesting a push protection bypass. + push_protection_bypass_request_html_url: type: - string - 'null' - description: The color of the issue type. - enum: - - gray - - blue - - green - - yellow - - orange - - red - - pink - - purple - - - created_at: - type: string - description: The time the issue type created. - format: date-time - updated_at: - type: string - description: The time the issue type last updated. - format: date-time - is_enabled: - type: boolean - description: The enabled state of the issue type. - required: - - id - - node_id - - name - - description - author-association: - title: author_association - type: string - description: How the author is associated with the repository. - enum: - - COLLABORATOR - - CONTRIBUTOR - - FIRST_TIMER - - FIRST_TIME_CONTRIBUTOR - - MANNEQUIN - - MEMBER - - NONE - - OWNER - examples: - - OWNER - reaction-rollup: - title: Reaction Rollup - type: object - properties: - url: - type: string format: uri - total_count: - type: integer - "+1": - type: integer - "-1": - type: integer - laugh: - type: integer - confused: - type: integer - heart: - type: integer - hooray: - type: integer - eyes: - type: integer - rocket: - type: integer - required: - - url - - total_count - - "+1" - - "-1" - - laugh - - confused - - heart - - hooray - - eyes - - rocket - sub-issues-summary: - title: Sub-issues Summary + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + actions-billing-usage: type: object properties: - total: + total_minutes_used: type: integer - completed: + description: The sum of the free and paid GitHub Actions minutes used. + total_paid_minutes_used: type: integer - percent_completed: + description: The total paid GitHub Actions minutes used. + included_minutes: type: integer + description: The amount of free GitHub Actions minutes available. + minutes_used_breakdown: + type: object + properties: + UBUNTU: + type: integer + description: Total minutes used on Ubuntu runner machines. + MACOS: + type: integer + description: Total minutes used on macOS runner machines. + WINDOWS: + type: integer + description: Total minutes used on Windows runner machines. + ubuntu_4_core: + type: integer + description: Total minutes used on Ubuntu 4 core runner machines. + ubuntu_8_core: + type: integer + description: Total minutes used on Ubuntu 8 core runner machines. + ubuntu_16_core: + type: integer + description: Total minutes used on Ubuntu 16 core runner machines. + ubuntu_32_core: + type: integer + description: Total minutes used on Ubuntu 32 core runner machines. + ubuntu_64_core: + type: integer + description: Total minutes used on Ubuntu 64 core runner machines. + windows_4_core: + type: integer + description: Total minutes used on Windows 4 core runner machines. + windows_8_core: + type: integer + description: Total minutes used on Windows 8 core runner machines. + windows_16_core: + type: integer + description: Total minutes used on Windows 16 core runner machines. + windows_32_core: + type: integer + description: Total minutes used on Windows 32 core runner machines. + windows_64_core: + type: integer + description: Total minutes used on Windows 64 core runner machines. + macos_12_core: + type: integer + description: Total minutes used on macOS 12 core runner machines. + total: + type: integer + description: Total minutes used on all runner machines. required: - - total - - completed - - percent_completed - issue: - title: Issue - description: Issues are a great way to keep track of tasks, enhancements, and - bugs for your projects. + - total_minutes_used + - total_paid_minutes_used + - included_minutes + - minutes_used_breakdown + advanced-security-active-committers-user: type: object properties: - id: - type: integer - format: int64 - node_id: + user_login: type: string - url: - description: URL for the issue + last_pushed_date: type: string - format: uri examples: - - https://api.github.com/repositories/42/issues/1 - repository_url: - type: string - format: uri - labels_url: - type: string - comments_url: - type: string - format: uri - events_url: + - '2021-11-03' + last_pushed_email: type: string - format: uri - html_url: + examples: + - monalisa@github.com + required: + - user_login + - last_pushed_date + - last_pushed_email + advanced-security-active-committers-repository: + type: object + properties: + name: type: string - format: uri - number: - description: Number uniquely identifying the issue within its repository + examples: + - octocat/Hello-World + advanced_security_committers: type: integer examples: - - 42 - state: - description: State of the issue; either 'open' or 'closed' - type: string + - 25 + advanced_security_committers_breakdown: + type: array + items: + "$ref": "#/components/schemas/advanced-security-active-committers-user" + required: + - name + - advanced_security_committers + - advanced_security_committers_breakdown + advanced-security-active-committers: + type: object + properties: + total_advanced_security_committers: + type: integer examples: - - open - state_reason: - description: The reason for the current state - type: - - string - - 'null' - enum: - - completed - - reopened - - not_planned - - + - 25 + total_count: + type: integer examples: - - not_planned - title: - description: Title of the issue - type: string + - 2 + maximum_advanced_security_committers: + type: integer + description: The total number of GitHub Advanced Security licences required + if all repositories were to enable GitHub Advanced Security examples: - - Widget creation fails in Safari on OS X 10.8 - body: - description: Contents of the issue - type: - - string - - 'null' + - 4 + purchased_advanced_security_committers: + type: integer + description: The total number of GitHub Advanced Security licences purchased examples: - - It looks like the new widget form is broken on Safari. When I try and - create the widget, Safari crashes. This is reproducible on 10.8, but not - 10.9. Maybe a browser bug? - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - labels: - description: Labels to associate with this issue; pass one or more label - names to replace the set of labels on this issue; send an empty array - to clear all labels from the issue; note that the labels are silently - dropped for users without push access to the repository + - 4 + repositories: type: array items: - oneOf: - - type: string - - type: object - properties: - id: - type: integer - format: int64 - node_id: - type: string - url: - type: string - format: uri - name: - type: string - description: - type: - - string - - 'null' - color: - type: - - string - - 'null' - default: - type: boolean - examples: - - bug - - registration - assignee: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - assignees: - type: - - array - - 'null' + "$ref": "#/components/schemas/advanced-security-active-committers-repository" + required: + - repositories + get-all-cost-centers: + type: object + properties: + costCenters: + type: array items: - "$ref": "#/components/schemas/simple-user" - milestone: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/milestone" - locked: - type: boolean - active_lock_reason: - type: - - string - - 'null' - comments: + type: object + properties: + id: + type: string + description: ID of the cost center. + name: + type: string + description: Name of the cost center. + resources: + type: array + items: + type: object + properties: + type: + type: string + description: Type of the resource. + name: + type: string + description: Name of the resource. + required: + - type + - name + required: + - id + - name + - resources + packages-billing-usage: + type: object + properties: + total_gigabytes_bandwidth_used: type: integer - pull_request: - type: object - properties: - merged_at: - type: - - string - - 'null' - format: date-time - diff_url: - type: - - string - - 'null' - format: uri - html_url: - type: - - string - - 'null' - format: uri - patch_url: - type: - - string - - 'null' - format: uri - url: - type: - - string - - 'null' - format: uri - required: - - diff_url - - html_url - - patch_url - - url - closed_at: + description: Sum of the free and paid storage space (GB) for GitHuub Packages. + total_paid_gigabytes_bandwidth_used: + type: integer + description: Total paid storage space (GB) for GitHuub Packages. + included_gigabytes_bandwidth: + type: integer + description: Free storage space (GB) for GitHub Packages. + required: + - total_gigabytes_bandwidth_used + - total_paid_gigabytes_bandwidth_used + - included_gigabytes_bandwidth + combined-billing-usage: + type: object + properties: + days_left_in_billing_cycle: + type: integer + description: Numbers of days left in billing cycle. + estimated_paid_storage_for_month: + type: integer + description: Estimated storage space (GB) used in billing cycle. + estimated_storage_for_month: + type: integer + description: Estimated sum of free and paid storage space (GB) used in billing + cycle. + required: + - days_left_in_billing_cycle + - estimated_paid_storage_for_month + - estimated_storage_for_month + billing-usage-report: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + organizationName: + type: string + description: Name of the organization. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + - organizationName + actor: + title: Actor + description: Actor + type: object + properties: + id: + type: integer + login: + type: string + display_login: + type: string + gravatar_id: type: - string - 'null' - format: date-time - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - draft: - type: boolean - closed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - body_html: - type: string - body_text: + url: type: string - timeline_url: + format: uri + avatar_url: type: string format: uri - type: - "$ref": "#/components/schemas/issue-type" - repository: - "$ref": "#/components/schemas/repository" - performed_via_github_app: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/integration" - author_association: - "$ref": "#/components/schemas/author-association" - reactions: - "$ref": "#/components/schemas/reaction-rollup" - sub_issues_summary: - "$ref": "#/components/schemas/sub-issues-summary" required: - - assignee - - closed_at - - comments - - comments_url - - events_url - - html_url - id - - node_id - - labels - - labels_url - - milestone - - number - - repository_url - - state - - locked - - title + - login + - gravatar_id - url - - user - - author_association - - created_at - - updated_at - issue-comment: - title: Issue Comment - description: Comments provide a way for people to collaborate on an issue. + - avatar_url + milestone: + title: Milestone + description: A collection of related issues and pull requests. type: object properties: - id: - description: Unique identifier of the issue comment - type: integer - format: int64 - examples: - - 42 - node_id: - type: string url: - description: URL for the issue comment type: string format: uri examples: - - https://api.github.com/repositories/42/issues/comments/1 - body: - description: Contents of the issue comment + - https://api.github.com/repos/octocat/Hello-World/milestones/1 + html_url: type: string + format: uri examples: - - What version of Safari were you using when you observed this bug? - body_text: + - https://github.com/octocat/Hello-World/milestones/v1.0 + labels_url: type: string - body_html: + format: uri + examples: + - https://api.github.com/repos/octocat/Hello-World/milestones/1/labels + id: + type: integer + examples: + - 1002604 + node_id: type: string - html_url: + examples: + - MDk6TWlsZXN0b25lMTAwMjYwNA== + number: + description: The number of the milestone. + type: integer + examples: + - 42 + state: + description: The state of the milestone. type: string - format: uri - user: + enum: + - open + - closed + default: open + examples: + - open + title: + description: The title of the milestone. + type: string + examples: + - v1.0 + description: + type: + - string + - 'null' + examples: + - Tracking milestone for version 1.0 + creator: anyOf: - type: 'null' - "$ref": "#/components/schemas/simple-user" + open_issues: + type: integer + examples: + - 4 + closed_issues: + type: integer + examples: + - 8 created_at: type: string format: date-time examples: - - '2011-04-14T16:00:49Z' + - '2011-04-10T20:09:31Z' updated_at: type: string format: date-time examples: - - '2011-04-14T16:00:49Z' - issue_url: - type: string - format: uri - author_association: - "$ref": "#/components/schemas/author-association" - performed_via_github_app: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/integration" - reactions: - "$ref": "#/components/schemas/reaction-rollup" + - '2014-03-03T18:58:10Z' + closed_at: + type: + - string + - 'null' + format: date-time + examples: + - '2013-02-12T13:22:01Z' + due_on: + type: + - string + - 'null' + format: date-time + examples: + - '2012-10-09T23:39:01Z' required: + - closed_issues + - creator + - description + - due_on + - closed_at - id - node_id + - labels_url - html_url - - issue_url - - author_association - - user + - number + - open_issues + - state + - title - url - created_at - updated_at - event: - title: Event - description: Event - type: object + issue-type: + title: Issue Type + description: The type of issue. + type: + - object + - 'null' properties: id: + type: integer + description: The unique identifier of the issue type. + node_id: type: string - type: + description: The node identifier of the issue type. + name: + type: string + description: The name of the issue type. + description: type: - string - 'null' - actor: - "$ref": "#/components/schemas/actor" - repo: - type: object - properties: - id: - type: integer - name: - type: string - url: - type: string - format: uri - required: - - id - - name - - url - org: - "$ref": "#/components/schemas/actor" - payload: - type: object - properties: - action: - type: string - issue: - "$ref": "#/components/schemas/issue" - comment: - "$ref": "#/components/schemas/issue-comment" - pages: - type: array - items: - type: object - properties: - page_name: - type: string - title: - type: string - summary: - type: - - string - - 'null' - action: - type: string - sha: - type: string - html_url: - type: string - public: - type: boolean - created_at: + description: The description of the issue type. + color: type: - string - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + created_at: + type: string + description: The time the issue type created. + format: date-time + updated_at: + type: string + description: The time the issue type last updated. format: date-time + is_enabled: + type: boolean + description: The enabled state of the issue type. required: - id - - type - - actor - - repo - - payload - - public - - created_at - link-with-type: - title: Link With Type - description: Hypermedia Link with Type + - node_id + - name + - description + author-association: + title: author_association + type: string + description: How the author is associated with the repository. + enum: + - COLLABORATOR + - CONTRIBUTOR + - FIRST_TIMER + - FIRST_TIME_CONTRIBUTOR + - MANNEQUIN + - MEMBER + - NONE + - OWNER + examples: + - OWNER + reaction-rollup: + title: Reaction Rollup type: object properties: - href: - type: string - type: + url: type: string + format: uri + total_count: + type: integer + "+1": + type: integer + "-1": + type: integer + laugh: + type: integer + confused: + type: integer + heart: + type: integer + hooray: + type: integer + eyes: + type: integer + rocket: + type: integer required: - - href - - type - feed: - title: Feed - description: Feed + - url + - total_count + - "+1" + - "-1" + - laugh + - confused + - heart + - hooray + - eyes + - rocket + sub-issues-summary: + title: Sub-issues Summary type: object properties: - timeline_url: - type: string - examples: - - https://github.com/timeline - user_url: - type: string - examples: - - https://github.com/{user} - current_user_public_url: - type: string - examples: - - https://github.com/octocat - current_user_url: - type: string - examples: - - https://github.com/octocat.private?token=abc123 - current_user_actor_url: - type: string - examples: - - https://github.com/octocat.private.actor?token=abc123 - current_user_organization_url: - type: string - examples: - - https://github.com/octocat-org - current_user_organization_urls: - type: array - items: - type: string - format: uri - examples: - - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: - type: string - examples: - - https://github.com/security-advisories - repository_discussions_url: - type: string - description: A feed of discussions for a given repository. - examples: - - https://github.com/{user}/{repo}/discussions - repository_discussions_category_url: - type: string - description: A feed of discussions for a given repository and category. - examples: - - https://github.com/{user}/{repo}/discussions/categories/{category} - _links: - type: object - properties: - timeline: - "$ref": "#/components/schemas/link-with-type" - user: - "$ref": "#/components/schemas/link-with-type" - security_advisories: - "$ref": "#/components/schemas/link-with-type" - current_user: - "$ref": "#/components/schemas/link-with-type" - current_user_public: - "$ref": "#/components/schemas/link-with-type" - current_user_actor: - "$ref": "#/components/schemas/link-with-type" - current_user_organization: - "$ref": "#/components/schemas/link-with-type" - current_user_organizations: - type: array - items: - "$ref": "#/components/schemas/link-with-type" - repository_discussions: - "$ref": "#/components/schemas/link-with-type" - repository_discussions_category: - "$ref": "#/components/schemas/link-with-type" - required: - - timeline - - user - required: - - _links - - timeline_url - - user_url - base-gist: - title: Base Gist - description: Base Gist - type: object - properties: - url: - type: string - format: uri - forks_url: - type: string - format: uri - commits_url: - type: string - format: uri - id: - type: string - node_id: - type: string - git_pull_url: - type: string - format: uri - git_push_url: - type: string - format: uri - html_url: - type: string - format: uri - files: - type: object - additionalProperties: - type: object - properties: - filename: - type: string - type: - type: string - language: - type: string - raw_url: - type: string - size: - type: integer - encoding: - type: string - description: The encoding used for `content`. Currently, `"utf-8"` - and `"base64"` are supported. - default: utf-8 - public: - type: boolean - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - description: - type: - - string - - 'null' - comments: + total: + type: integer + completed: + type: integer + percent_completed: type: integer - comments_enabled: - type: boolean - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - comments_url: - type: string - format: uri - owner: - "$ref": "#/components/schemas/simple-user" - truncated: - type: boolean - forks: - type: array - items: {} - history: - type: array - items: {} required: - - id - - node_id - - url - - forks_url - - commits_url - - git_pull_url - - git_push_url - - html_url - - comments_url - - public - - description - - comments - - user - - files - - created_at - - updated_at - public-user: - title: Public User - description: Public User + - total + - completed + - percent_completed + issue: + title: Issue + description: Issues are a great way to keep track of tasks, enhancements, and + bugs for your projects. type: object properties: - login: - type: string id: type: integer format: int64 - user_view_type: - type: string node_id: type: string - avatar_url: - type: string - format: uri - gravatar_id: - type: - - string - - 'null' url: + description: URL for the issue type: string format: uri - html_url: - type: string - format: uri - followers_url: - type: string - format: uri - following_url: - type: string - gists_url: - type: string - starred_url: - type: string - subscriptions_url: + examples: + - https://api.github.com/repositories/42/issues/1 + repository_url: type: string format: uri - organizations_url: + labels_url: type: string - format: uri - repos_url: + comments_url: type: string format: uri events_url: type: string - received_events_url: + format: uri + html_url: type: string format: uri - type: + number: + description: Number uniquely identifying the issue within its repository + type: integer + examples: + - 42 + state: + description: State of the issue; either 'open' or 'closed' type: string - site_admin: - type: boolean - name: - type: - - string - - 'null' - company: + examples: + - open + state_reason: + description: The reason for the current state type: - string - 'null' - blog: + enum: + - completed + - reopened + - not_planned + - + examples: + - not_planned + title: + description: Title of the issue + type: string + examples: + - Widget creation fails in Safari on OS X 10.8 + body: + description: Contents of the issue type: - string - 'null' - location: - type: - - string - - 'null' - email: - type: - - string - - 'null' - format: email - notification_email: - type: - - string - - 'null' - format: email - hireable: + examples: + - It looks like the new widget form is broken on Safari. When I try and + create the widget, Safari crashes. This is reproducible on 10.8, but not + 10.9. Maybe a browser bug? + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + labels: + description: Labels to associate with this issue; pass one or more label + names to replace the set of labels on this issue; send an empty array + to clear all labels from the issue; note that the labels are silently + dropped for users without push access to the repository + type: array + items: + oneOf: + - type: string + - type: object + properties: + id: + type: integer + format: int64 + node_id: + type: string + url: + type: string + format: uri + name: + type: string + description: + type: + - string + - 'null' + color: + type: + - string + - 'null' + default: + type: boolean + examples: + - bug + - registration + assignee: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + assignees: type: - - boolean + - array - 'null' - bio: + items: + "$ref": "#/components/schemas/simple-user" + milestone: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/milestone" + locked: + type: boolean + active_lock_reason: type: - string - 'null' - twitter_username: + comments: + type: integer + pull_request: + type: object + properties: + merged_at: + type: + - string + - 'null' + format: date-time + diff_url: + type: + - string + - 'null' + format: uri + html_url: + type: + - string + - 'null' + format: uri + patch_url: + type: + - string + - 'null' + format: uri + url: + type: + - string + - 'null' + format: uri + required: + - diff_url + - html_url + - patch_url + - url + closed_at: type: - string - 'null' - public_repos: - type: integer - public_gists: - type: integer - followers: - type: integer - following: - type: integer + format: date-time created_at: type: string format: date-time updated_at: type: string format: date-time - plan: - type: object - properties: - collaborators: - type: integer - name: - type: string - space: - type: integer - private_repos: - type: integer - required: - - collaborators - - name - - space - - private_repos - private_gists: - type: integer - examples: - - 1 - total_private_repos: - type: integer - examples: - - 2 - owned_private_repos: - type: integer - examples: - - 2 - disk_usage: - type: integer - examples: - - 1 - collaborators: - type: integer - examples: - - 3 + draft: + type: boolean + closed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + body_html: + type: string + body_text: + type: string + timeline_url: + type: string + format: uri + type: + "$ref": "#/components/schemas/issue-type" + repository: + "$ref": "#/components/schemas/repository" + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/integration" + author_association: + "$ref": "#/components/schemas/author-association" + reactions: + "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - - avatar_url + - assignee + - closed_at + - comments + - comments_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 + - labels + - labels_url + - milestone + - number + - repository_url + - state + - locked + - title - url - - bio - - blog - - company - - email - - followers - - following - - hireable - - location - - name - - public_gists - - public_repos + - user + - author_association - created_at - updated_at - additionalProperties: false - gist-history: - title: Gist History - description: Gist History + issue-comment: + title: Issue Comment + description: Comments provide a way for people to collaborate on an issue. type: object properties: + id: + description: Unique identifier of the issue comment + type: integer + format: int64 + examples: + - 42 + node_id: + type: string + url: + description: URL for the issue comment + type: string + format: uri + examples: + - https://api.github.com/repositories/42/issues/comments/1 + body: + description: Contents of the issue comment + type: string + examples: + - What version of Safari were you using when you observed this bug? + body_text: + type: string + body_html: + type: string + html_url: + type: string + format: uri user: anyOf: - type: 'null' - "$ref": "#/components/schemas/simple-user" - version: + created_at: type: string - committed_at: + format: date-time + examples: + - '2011-04-14T16:00:49Z' + updated_at: type: string format: date-time - change_status: - type: object - properties: - total: - type: integer - additions: - type: integer - deletions: - type: integer - url: + examples: + - '2011-04-14T16:00:49Z' + issue_url: type: string format: uri - gist-simple: - title: Gist Simple - description: Gist Simple + author_association: + "$ref": "#/components/schemas/author-association" + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/integration" + reactions: + "$ref": "#/components/schemas/reaction-rollup" + required: + - id + - node_id + - html_url + - issue_url + - author_association + - user + - url + - created_at + - updated_at + event: + title: Event + description: Event type: object properties: - forks: - deprecated: true - type: - - array - - 'null' - items: - type: object - properties: - id: - type: string - url: - type: string - format: uri - user: - "$ref": "#/components/schemas/public-user" - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - history: - deprecated: true - type: - - array - - 'null' - items: - "$ref": "#/components/schemas/gist-history" - fork_of: - title: Gist - description: Gist + id: + type: string + type: type: - - object + - string - 'null' + actor: + "$ref": "#/components/schemas/actor" + repo: + type: object properties: - url: - type: string - format: uri - forks_url: - type: string - format: uri - commits_url: - type: string - format: uri id: + type: integer + name: type: string - node_id: - type: string - git_pull_url: - type: string - format: uri - git_push_url: + url: type: string format: uri - html_url: + required: + - id + - name + - url + org: + "$ref": "#/components/schemas/actor" + payload: + type: object + properties: + action: type: string - format: uri - files: - type: object - additionalProperties: + issue: + "$ref": "#/components/schemas/issue" + comment: + "$ref": "#/components/schemas/issue-comment" + pages: + type: array + items: type: object properties: - filename: + page_name: type: string - type: + title: type: string - language: + summary: + type: + - string + - 'null' + action: type: string - raw_url: + sha: type: string - size: - type: integer - public: - type: boolean - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - description: - type: - - string - - 'null' - comments: - type: integer - comments_enabled: - type: boolean - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - comments_url: - type: string - format: uri - owner: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - truncated: - type: boolean - forks: - type: array - items: {} - history: - type: array - items: {} - required: - - id - - node_id - - url - - forks_url - - commits_url - - git_pull_url - - git_push_url - - html_url - - comments_url - - public - - description - - comments - - user - - files - - created_at - - updated_at - url: + html_url: + type: string + public: + type: boolean + created_at: + type: + - string + - 'null' + format: date-time + required: + - id + - type + - actor + - repo + - payload + - public + - created_at + link-with-type: + title: Link With Type + description: Hypermedia Link with Type + type: object + properties: + href: type: string - forks_url: + type: type: string - commits_url: + required: + - href + - type + feed: + title: Feed + description: Feed + type: object + properties: + timeline_url: type: string - id: + examples: + - https://github.com/timeline + user_url: type: string - node_id: + examples: + - https://github.com/{user} + current_user_public_url: type: string - git_pull_url: + examples: + - https://github.com/octocat + current_user_url: type: string - git_push_url: + examples: + - https://github.com/octocat.private?token=abc123 + current_user_actor_url: type: string - html_url: + examples: + - https://github.com/octocat.private.actor?token=abc123 + current_user_organization_url: type: string - files: - type: object - additionalProperties: - type: - - object - - 'null' - properties: - filename: - type: string - type: - type: string - language: - type: string + examples: + - https://github.com/octocat-org + current_user_organization_urls: + type: array + items: + type: string + format: uri + examples: + - https://github.com/organizations/github/octocat.private.atom?token=abc123 + security_advisories_url: + type: string + examples: + - https://github.com/security-advisories + repository_discussions_url: + type: string + description: A feed of discussions for a given repository. + examples: + - https://github.com/{user}/{repo}/discussions + repository_discussions_category_url: + type: string + description: A feed of discussions for a given repository and category. + examples: + - https://github.com/{user}/{repo}/discussions/categories/{category} + _links: + type: object + properties: + timeline: + "$ref": "#/components/schemas/link-with-type" + user: + "$ref": "#/components/schemas/link-with-type" + security_advisories: + "$ref": "#/components/schemas/link-with-type" + current_user: + "$ref": "#/components/schemas/link-with-type" + current_user_public: + "$ref": "#/components/schemas/link-with-type" + current_user_actor: + "$ref": "#/components/schemas/link-with-type" + current_user_organization: + "$ref": "#/components/schemas/link-with-type" + current_user_organizations: + type: array + items: + "$ref": "#/components/schemas/link-with-type" + repository_discussions: + "$ref": "#/components/schemas/link-with-type" + repository_discussions_category: + "$ref": "#/components/schemas/link-with-type" + required: + - timeline + - user + required: + - _links + - timeline_url + - user_url + base-gist: + title: Base Gist + description: Base Gist + type: object + properties: + url: + type: string + format: uri + forks_url: + type: string + format: uri + commits_url: + type: string + format: uri + id: + type: string + node_id: + type: string + git_pull_url: + type: string + format: uri + git_push_url: + type: string + format: uri + html_url: + type: string + format: uri + files: + type: object + additionalProperties: + type: object + properties: + filename: + type: string + type: + type: string + language: + type: string raw_url: type: string size: type: integer - truncated: - type: boolean - content: - type: string encoding: type: string description: The encoding used for `content`. Currently, `"utf-8"` @@ -86662,8 +86520,10 @@ components: type: boolean created_at: type: string + format: date-time updated_at: type: string + format: date-time description: type: - string @@ -86673,853 +86533,1273 @@ components: comments_enabled: type: boolean user: - type: - - string - - 'null' + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" comments_url: type: string + format: uri owner: "$ref": "#/components/schemas/simple-user" truncated: type: boolean - gist-comment: - title: Gist Comment - description: A comment made to a gist. + forks: + type: array + items: {} + history: + type: array + items: {} + required: + - id + - node_id + - url + - forks_url + - commits_url + - git_pull_url + - git_push_url + - html_url + - comments_url + - public + - description + - comments + - user + - files + - created_at + - updated_at + public-user: + title: Public User + description: Public User type: object properties: + login: + type: string id: type: integer - examples: - - 1 + format: int64 + user_view_type: + type: string node_id: type: string - examples: - - MDExOkdpc3RDb21tZW50MQ== + avatar_url: + type: string + format: uri + gravatar_id: + type: + - string + - 'null' url: type: string format: uri - examples: - - https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 - body: - description: The comment text. + html_url: type: string - maxLength: 65535 - examples: - - Body of the attachment - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - created_at: + format: uri + followers_url: type: string - format: date-time - examples: - - '2011-04-18T23:23:56Z' - updated_at: + format: uri + following_url: type: string - format: date-time - examples: - - '2011-04-18T23:23:56Z' - author_association: - "$ref": "#/components/schemas/author-association" - required: - - url - - id - - node_id - - user - - body - - author_association - - created_at - - updated_at - gist-commit: - title: Gist Commit - description: Gist Commit - type: object - properties: - url: + gists_url: + type: string + starred_url: + type: string + subscriptions_url: type: string format: uri - examples: - - https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f - version: + organizations_url: type: string - examples: - - 57a7f021a713b1c5a6a199b54cc514735d2d462f - user: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - change_status: - type: object - properties: - total: - type: integer - additions: - type: integer - deletions: - type: integer - committed_at: + format: uri + repos_url: type: string - format: date-time - examples: - - '2010-04-14T02:15:15Z' - required: - - url - - user - - version - - committed_at - - change_status - gitignore-template: - title: Gitignore Template - description: Gitignore Template - type: object - properties: - name: + format: uri + events_url: type: string - examples: - - C - source: + received_events_url: type: string - examples: - - | - # Object files - *.o - - # Libraries - *.lib - *.a - - # Shared objects (inc. Windows DLLs) - *.dll - *.so - *.so.* - *.dylib - - # Executables - *.exe - *.out - *.app - required: - - name - - source - license: - title: License - description: License - type: object - properties: - key: + format: uri + type: type: string - examples: - - mit + site_admin: + type: boolean name: - type: string - examples: - - MIT License - spdx_id: type: - string - 'null' - examples: - - MIT - url: + company: type: - string - 'null' - format: uri - examples: - - https://api.github.com/licenses/mit - node_id: - type: string - examples: - - MDc6TGljZW5zZW1pdA== - html_url: - type: string - format: uri - examples: - - http://choosealicense.com/licenses/mit/ - description: + blog: + type: + - string + - 'null' + location: + type: + - string + - 'null' + email: + type: + - string + - 'null' + format: email + notification_email: + type: + - string + - 'null' + format: email + hireable: + type: + - boolean + - 'null' + bio: + type: + - string + - 'null' + twitter_username: + type: + - string + - 'null' + public_repos: + type: integer + public_gists: + type: integer + followers: + type: integer + following: + type: integer + created_at: type: string - examples: - - A permissive license that is short and to the point. It lets people do - anything with your code with proper attribution and without warranty. - implementation: + format: date-time + updated_at: type: string + format: date-time + plan: + type: object + properties: + collaborators: + type: integer + name: + type: string + space: + type: integer + private_repos: + type: integer + required: + - collaborators + - name + - space + - private_repos + private_gists: + type: integer examples: - - Create a text file (typically named LICENSE or LICENSE.txt) in the root - of your source code and copy the text of the license into the file. Replace - [year] with the current year and [fullname] with the name (or names) of - the copyright holders. - permissions: - type: array - items: - type: string - examples: - - commercial-use - - modifications - - distribution - - sublicense - - private-use - conditions: - type: array - items: - type: string + - 1 + total_private_repos: + type: integer examples: - - include-copyright - limitations: - type: array - items: - type: string + - 2 + owned_private_repos: + type: integer examples: - - no-liability - body: - type: string + - 2 + disk_usage: + type: integer examples: - - |2 - - - The MIT License (MIT) - - Copyright (c) [year] [fullname] - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. - featured: - type: boolean + - 1 + collaborators: + type: integer examples: - - true + - 3 required: - - key - - name - - url - - spdx_id - - node_id + - avatar_url + - events_url + - followers_url + - following_url + - gists_url + - gravatar_id - html_url - - description - - implementation - - permissions - - conditions - - limitations - - body - - featured - marketplace-listing-plan: - title: Marketplace Listing Plan - description: Marketplace Listing Plan + - id + - node_id + - login + - organizations_url + - received_events_url + - repos_url + - site_admin + - starred_url + - subscriptions_url + - type + - url + - bio + - blog + - company + - email + - followers + - following + - hireable + - location + - name + - public_gists + - public_repos + - created_at + - updated_at + additionalProperties: false + gist-history: + title: Gist History + description: Gist History type: object properties: - url: - type: string - format: uri - examples: - - https://api.github.com/marketplace_listing/plans/1313 - accounts_url: + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + version: type: string - format: uri - examples: - - https://api.github.com/marketplace_listing/plans/1313/accounts - id: - type: integer - examples: - - 1313 - number: - type: integer - examples: - - 3 - name: + committed_at: type: string - examples: - - Pro - description: + format: date-time + change_status: + type: object + properties: + total: + type: integer + additions: + type: integer + deletions: + type: integer + url: type: string - examples: - - A professional-grade CI solution - monthly_price_in_cents: - type: integer - examples: - - 1099 - yearly_price_in_cents: - type: integer - examples: - - 11870 - price_model: - type: string - enum: - - FREE - - FLAT_RATE - - PER_UNIT - examples: - - FLAT_RATE - has_free_trial: - type: boolean - examples: - - true - unit_name: + format: uri + gist-simple: + title: Gist Simple + description: Gist Simple + type: object + properties: + forks: + deprecated: true type: - - string + - array - 'null' - state: - type: string - examples: - - published - bullets: - type: array items: - type: string - examples: - - Up to 25 private repositories - - 11 concurrent builds - required: - - url - - accounts_url - - id - - number - - name - - description - - has_free_trial - - price_model - - unit_name - - monthly_price_in_cents - - state - - yearly_price_in_cents - - bullets - marketplace-purchase: - title: Marketplace Purchase - description: Marketplace Purchase - type: object - properties: - url: - type: string - type: - type: string - id: - type: integer - login: - type: string - organization_billing_email: - type: string - email: + type: object + properties: + id: + type: string + url: + type: string + format: uri + user: + "$ref": "#/components/schemas/public-user" + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + history: + deprecated: true type: - - string + - array - 'null' - marketplace_pending_change: + items: + "$ref": "#/components/schemas/gist-history" + fork_of: + title: Gist + description: Gist type: - object - 'null' properties: - is_installed: - type: boolean - effective_date: + url: type: string - unit_count: - type: - - integer - - 'null' + format: uri + forks_url: + type: string + format: uri + commits_url: + type: string + format: uri id: - type: integer - plan: - "$ref": "#/components/schemas/marketplace-listing-plan" - marketplace_purchase: - type: object - properties: - billing_cycle: type: string - next_billing_date: - type: - - string - - 'null' - is_installed: - type: boolean - unit_count: - type: - - integer - - 'null' - on_free_trial: + node_id: + type: string + git_pull_url: + type: string + format: uri + git_push_url: + type: string + format: uri + html_url: + type: string + format: uri + files: + type: object + additionalProperties: + type: object + properties: + filename: + type: string + type: + type: string + language: + type: string + raw_url: + type: string + size: + type: integer + public: type: boolean - free_trial_ends_on: + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + description: type: - string - 'null' - updated_at: + comments: + type: integer + comments_enabled: + type: boolean + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + comments_url: type: string - plan: - "$ref": "#/components/schemas/marketplace-listing-plan" - required: - - url - - id - - type - - login - - marketplace_purchase - api-overview: - title: Api Overview - description: Api Overview - type: object - properties: - verifiable_password_authentication: - type: boolean - examples: - - true - ssh_key_fingerprints: + format: uri + owner: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + truncated: + type: boolean + forks: + type: array + items: {} + history: + type: array + items: {} + required: + - id + - node_id + - url + - forks_url + - commits_url + - git_pull_url + - git_push_url + - html_url + - comments_url + - public + - description + - comments + - user + - files + - created_at + - updated_at + url: + type: string + forks_url: + type: string + commits_url: + type: string + id: + type: string + node_id: + type: string + git_pull_url: + type: string + git_push_url: + type: string + html_url: + type: string + files: type: object - properties: - SHA256_RSA: - type: string - SHA256_DSA: - type: string - SHA256_ECDSA: - type: string - SHA256_ED25519: - type: string - ssh_keys: - type: array - items: - type: string - examples: - - ssh-ed25519 ABCDEFGHIJKLMNOPQRSTUVWXYZ - hooks: - type: array - items: - type: string + additionalProperties: + type: + - object + - 'null' + properties: + filename: + type: string + type: + type: string + language: + type: string + raw_url: + type: string + size: + type: integer + truncated: + type: boolean + content: + type: string + encoding: + type: string + description: The encoding used for `content`. Currently, `"utf-8"` + and `"base64"` are supported. + default: utf-8 + public: + type: boolean + created_at: + type: string + updated_at: + type: string + description: + type: + - string + - 'null' + comments: + type: integer + comments_enabled: + type: boolean + user: + type: + - string + - 'null' + comments_url: + type: string + owner: + "$ref": "#/components/schemas/simple-user" + truncated: + type: boolean + gist-comment: + title: Gist Comment + description: A comment made to a gist. + type: object + properties: + id: + type: integer examples: - - 192.0.2.1 - github_enterprise_importer: - type: array - items: - type: string + - 1 + node_id: + type: string examples: - - 192.0.2.1 - web: - type: array - items: - type: string + - MDExOkdpc3RDb21tZW50MQ== + url: + type: string + format: uri examples: - - 192.0.2.1 - api: - type: array - items: - type: string + - https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 + body: + description: The comment text. + type: string + maxLength: 65535 examples: - - 192.0.2.1 - git: - type: array - items: - type: string + - Body of the attachment + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time examples: - - 192.0.2.1 - packages: - type: array - items: - type: string + - '2011-04-18T23:23:56Z' + updated_at: + type: string + format: date-time examples: - - 192.0.2.1 - pages: + - '2011-04-18T23:23:56Z' + author_association: + "$ref": "#/components/schemas/author-association" + required: + - url + - id + - node_id + - user + - body + - author_association + - created_at + - updated_at + gist-commit: + title: Gist Commit + description: Gist Commit + type: object + properties: + url: + type: string + format: uri + examples: + - https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f + version: + type: string + examples: + - 57a7f021a713b1c5a6a199b54cc514735d2d462f + user: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + change_status: + type: object + properties: + total: + type: integer + additions: + type: integer + deletions: + type: integer + committed_at: + type: string + format: date-time + examples: + - '2010-04-14T02:15:15Z' + required: + - url + - user + - version + - committed_at + - change_status + gitignore-template: + title: Gitignore Template + description: Gitignore Template + type: object + properties: + name: + type: string + examples: + - C + source: + type: string + examples: + - | + # Object files + *.o + + # Libraries + *.lib + *.a + + # Shared objects (inc. Windows DLLs) + *.dll + *.so + *.so.* + *.dylib + + # Executables + *.exe + *.out + *.app + required: + - name + - source + license: + title: License + description: License + type: object + properties: + key: + type: string + examples: + - mit + name: + type: string + examples: + - MIT License + spdx_id: + type: + - string + - 'null' + examples: + - MIT + url: + type: + - string + - 'null' + format: uri + examples: + - https://api.github.com/licenses/mit + node_id: + type: string + examples: + - MDc6TGljZW5zZW1pdA== + html_url: + type: string + format: uri + examples: + - http://choosealicense.com/licenses/mit/ + description: + type: string + examples: + - A permissive license that is short and to the point. It lets people do + anything with your code with proper attribution and without warranty. + implementation: + type: string + examples: + - Create a text file (typically named LICENSE or LICENSE.txt) in the root + of your source code and copy the text of the license into the file. Replace + [year] with the current year and [fullname] with the name (or names) of + the copyright holders. + permissions: type: array items: type: string examples: - - 192.0.2.1 - importer: + - commercial-use + - modifications + - distribution + - sublicense + - private-use + conditions: type: array items: type: string examples: - - 192.0.2.1 - actions: + - include-copyright + limitations: type: array items: type: string examples: - - 192.0.2.1 - actions_macos: - type: array - items: - type: string - examples: - - 192.0.2.1 - codespaces: - type: array - items: - type: string - examples: - - 192.0.2.1 - dependabot: - type: array - items: - type: string + - no-liability + body: + type: string examples: - - 192.0.2.1 - copilot: - type: array - items: - type: string + - |2 + + + The MIT License (MIT) + + Copyright (c) [year] [fullname] + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + featured: + type: boolean examples: - - 192.0.2.1 - domains: - type: object - properties: - website: - type: array - items: - type: string - examples: - - example.com - codespaces: - type: array - items: - type: string - examples: - - example.com - copilot: - type: array - items: - type: string - examples: - - example.com - packages: - type: array - items: - type: string - examples: - - example.com - actions: - type: array - items: - type: string - examples: - - example.com - actions_inbound: - type: object - properties: - full_domains: - type: array - items: - type: string - examples: - - example.com - wildcard_domains: - type: array - items: - type: string - examples: - - example.com - artifact_attestations: - type: object - properties: - trust_domain: - type: string - examples: - - example - services: - type: array - items: - type: string - examples: - - example.com + - true required: - - verifiable_password_authentication - security-and-analysis: - type: - - object - - 'null' - properties: - advanced_security: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - code_security: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - dependabot_security_updates: - description: Enable or disable Dependabot security updates for the repository. - type: object - properties: - status: - description: The enablement status of Dependabot security updates for - the repository. - type: string - enum: - - enabled - - disabled - secret_scanning: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - secret_scanning_push_protection: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - secret_scanning_non_provider_patterns: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - secret_scanning_ai_detection: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - secret_scanning_validity_checks: - type: object - properties: - status: - type: string - enum: - - enabled - - disabled - minimal-repository: - title: Minimal Repository - description: Minimal Repository + - key + - name + - url + - spdx_id + - node_id + - html_url + - description + - implementation + - permissions + - conditions + - limitations + - body + - featured + marketplace-listing-plan: + title: Marketplace Listing Plan + description: Marketplace Listing Plan type: object properties: + url: + type: string + format: uri + examples: + - https://api.github.com/marketplace_listing/plans/1313 + accounts_url: + type: string + format: uri + examples: + - https://api.github.com/marketplace_listing/plans/1313/accounts id: type: integer - format: int64 examples: - - 1296269 - node_id: - type: string + - 1313 + number: + type: integer examples: - - MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + - 3 name: type: string examples: - - Hello-World - full_name: + - Pro + description: type: string examples: - - octocat/Hello-World - owner: - "$ref": "#/components/schemas/simple-user" - private: - type: boolean - html_url: + - A professional-grade CI solution + monthly_price_in_cents: + type: integer + examples: + - 1099 + yearly_price_in_cents: + type: integer + examples: + - 11870 + price_model: type: string - format: uri + enum: + - FREE + - FLAT_RATE + - PER_UNIT examples: - - https://github.com/octocat/Hello-World - description: + - FLAT_RATE + has_free_trial: + type: boolean + examples: + - true + unit_name: type: - string - 'null' - examples: - - This your first repo! - fork: - type: boolean - url: - type: string - format: uri - examples: - - https://api.github.com/repos/octocat/Hello-World - archive_url: - type: string - examples: - - http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: - type: string - examples: - - http://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: + state: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: - type: string + - published + bullets: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: + - Up to 25 private repositories + - 11 concurrent builds + required: + - url + - accounts_url + - id + - number + - name + - description + - has_free_trial + - price_model + - unit_name + - monthly_price_in_cents + - state + - yearly_price_in_cents + - bullets + marketplace-purchase: + title: Marketplace Purchase + description: Marketplace Purchase + type: object + properties: + url: type: string - examples: - - http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: + type: type: string - examples: - - http://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: + id: + type: integer + login: type: string - examples: - - http://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: + organization_billing_email: type: string + email: + type: + - string + - 'null' + marketplace_pending_change: + type: + - object + - 'null' + properties: + is_installed: + type: boolean + effective_date: + type: string + unit_count: + type: + - integer + - 'null' + id: + type: integer + plan: + "$ref": "#/components/schemas/marketplace-listing-plan" + marketplace_purchase: + type: object + properties: + billing_cycle: + type: string + next_billing_date: + type: + - string + - 'null' + is_installed: + type: boolean + unit_count: + type: + - integer + - 'null' + on_free_trial: + type: boolean + free_trial_ends_on: + type: + - string + - 'null' + updated_at: + type: string + plan: + "$ref": "#/components/schemas/marketplace-listing-plan" + required: + - url + - id + - type + - login + - marketplace_purchase + api-overview: + title: Api Overview + description: Api Overview + type: object + properties: + verifiable_password_authentication: + type: boolean examples: - - http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: - type: string + - true + ssh_key_fingerprints: + type: object + properties: + SHA256_RSA: + type: string + SHA256_DSA: + type: string + SHA256_ECDSA: + type: string + SHA256_ED25519: + type: string + ssh_keys: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: - type: string - format: uri + - ssh-ed25519 ABCDEFGHIJKLMNOPQRSTUVWXYZ + hooks: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: - type: string - format: uri + - 192.0.2.1 + github_enterprise_importer: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: - type: string - format: uri + - 192.0.2.1 + web: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/downloads - events_url: - type: string - format: uri + - 192.0.2.1 + api: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/events - forks_url: - type: string - format: uri + - 192.0.2.1 + git: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: - type: string + - 192.0.2.1 + packages: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: - type: string + - 192.0.2.1 + pages: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: - type: string + - 192.0.2.1 + importer: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - git_url: - type: string - issue_comment_url: - type: string + - 192.0.2.1 + actions: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: - type: string + - 192.0.2.1 + actions_macos: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: - type: string + - 192.0.2.1 + codespaces: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: - type: string + - 192.0.2.1 + dependabot: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: - type: string + - 192.0.2.1 + copilot: + type: array + items: + type: string examples: - - http://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: - type: string + - 192.0.2.1 + domains: + type: object + properties: + website: + type: array + items: + type: string + examples: + - example.com + codespaces: + type: array + items: + type: string + examples: + - example.com + copilot: + type: array + items: + type: string + examples: + - example.com + packages: + type: array + items: + type: string + examples: + - example.com + actions: + type: array + items: + type: string + examples: + - example.com + actions_inbound: + type: object + properties: + full_domains: + type: array + items: + type: string + examples: + - example.com + wildcard_domains: + type: array + items: + type: string + examples: + - example.com + artifact_attestations: + type: object + properties: + trust_domain: + type: string + examples: + - example + services: + type: array + items: + type: string + examples: + - example.com + required: + - verifiable_password_authentication + security-and-analysis: + type: + - object + - 'null' + properties: + advanced_security: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + code_security: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + dependabot_security_updates: + description: Enable or disable Dependabot security updates for the repository. + type: object + properties: + status: + description: The enablement status of Dependabot security updates for + the repository. + type: string + enum: + - enabled + - disabled + secret_scanning: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + secret_scanning_push_protection: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + secret_scanning_non_provider_patterns: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + secret_scanning_ai_detection: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + secret_scanning_validity_checks: + type: object + properties: + status: + type: string + enum: + - enabled + - disabled + minimal-repository: + title: Minimal Repository + description: Minimal Repository + type: object + properties: + id: + type: integer + format: int64 + examples: + - 1296269 + node_id: + type: string + examples: + - MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: + type: string + examples: + - Hello-World + full_name: + type: string + examples: + - octocat/Hello-World + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + html_url: + type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/languages - merges_url: + - https://github.com/octocat/Hello-World + description: + type: + - string + - 'null' + examples: + - This your first repo! + fork: + type: boolean + url: type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/merges - milestones_url: + - https://api.github.com/repos/octocat/Hello-World + archive_url: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: + - http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: + - http://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: + - http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/releases{/id} - ssh_url: + - http://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: type: string - stargazers_url: + examples: + - http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: type: string - format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: + - http://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: type: string examples: - - http://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: + - http://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: + - http://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/subscription - tags_url: + - http://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/tags - teams_url: + - http://api.github.com/repos/octocat/Hello-World/downloads + events_url: type: string format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/teams - trees_url: + - http://api.github.com/repos/octocat/Hello-World/events + forks_url: type: string + format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - clone_url: + - http://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: type: string - mirror_url: - type: - - string - - 'null' - hooks_url: + examples: + - http://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: type: string - format: uri examples: - - http://api.github.com/repos/octocat/Hello-World/hooks - svn_url: + - http://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: type: string - homepage: - type: - - string - - 'null' - language: + examples: + - http://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: + type: string + issue_comment_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/languages + merges_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/merges + milestones_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: + type: string + stargazers_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/subscription + tags_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/tags + teams_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/teams + trees_url: + type: string + examples: + - http://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + clone_url: + type: string + mirror_url: + type: + - string + - 'null' + hooks_url: + type: string + format: uri + examples: + - http://api.github.com/repos/octocat/Hello-World/hooks + svn_url: + type: string + homepage: + type: + - string + - 'null' + language: type: - string - 'null' @@ -103781,269 +104061,16 @@ components: - 'null' description: A boolean value representing whether or not alert is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" secret-scanning-alert-resolution-comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. type: - string - 'null' - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url secret-scanning-location: type: object properties: