{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/webhook-pull-request-review-thread-resolved", "title": "pull_request_review_thread resolved event", "type": "object", "properties": { "action": { "type": "string", "enum": [ "resolved" ] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "installation": { "$ref": "#/components/schemas/simple-installation" }, "organization": { "$ref": "#/components/schemas/organization-simple-webhooks" }, "pull_request": { "title": "Simple Pull Request", "type": "object", "properties": { "_links": { "type": "object", "properties": { "comments": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] }, "commits": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] }, "html": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] }, "issue": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] }, "review_comment": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] }, "review_comments": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] }, "self": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] }, "statuses": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] } }, "required": [ "self", "html", "issue", "comments", "review_comments", "review_comment", "commits", "statuses" ] }, "active_lock_reason": { "type": "string", "nullable": true, "enum": [ "resolved", "off-topic", "too heated", "spam", null ] }, "assignee": { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] }, "assignees": { "type": "array", "items": { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] } }, "author_association": { "title": "AuthorAssociation", "description": "How the author is associated with the repository.", "type": "string", "enum": [ "COLLABORATOR", "CONTRIBUTOR", "FIRST_TIMER", "FIRST_TIME_CONTRIBUTOR", "MANNEQUIN", "MEMBER", "NONE", "OWNER" ] }, "auto_merge": { "title": "PullRequestAutoMerge", "description": "The status of auto merging a pull request.", "type": "object", "nullable": true, "properties": { "commit_message": { "description": "Commit message for the merge commit.", "type": "string", "nullable": true }, "commit_title": { "description": "Title for the merge commit message.", "type": "string", "nullable": true }, "enabled_by": { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] }, "merge_method": { "description": "The merge method to use.", "type": "string", "enum": [ "merge", "squash", "rebase" ] } }, "required": [ "enabled_by", "merge_method", "commit_title", "commit_message" ] }, "base": { "type": "object", "properties": { "label": { "type": "string" }, "ref": { "type": "string" }, "repo": { "title": "Repository", "description": "A git repository", "type": "object", "properties": { "allow_auto_merge": { "description": "Whether to allow auto-merge for pull requests.", "type": "boolean", "default": false }, "allow_forking": { "description": "Whether to allow private forks", "type": "boolean" }, "allow_merge_commit": { "description": "Whether to allow merge commits for pull requests.", "type": "boolean", "default": true }, "allow_rebase_merge": { "description": "Whether to allow rebase merges for pull requests.", "type": "boolean", "default": true }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "type": "boolean", "default": true }, "allow_update_branch": { "type": "boolean" }, "archive_url": { "type": "string", "format": "uri-template" }, "archived": { "description": "Whether the repository is archived.", "type": "boolean", "default": false }, "assignees_url": { "type": "string", "format": "uri-template" }, "blobs_url": { "type": "string", "format": "uri-template" }, "branches_url": { "type": "string", "format": "uri-template" }, "clone_url": { "type": "string", "format": "uri" }, "collaborators_url": { "type": "string", "format": "uri-template" }, "comments_url": { "type": "string", "format": "uri-template" }, "commits_url": { "type": "string", "format": "uri-template" }, "compare_url": { "type": "string", "format": "uri-template" }, "contents_url": { "type": "string", "format": "uri-template" }, "contributors_url": { "type": "string", "format": "uri" }, "created_at": { "oneOf": [ { "type": "integer" }, { "type": "string", "format": "date-time" } ] }, "default_branch": { "description": "The default branch of the repository.", "type": "string" }, "delete_branch_on_merge": { "description": "Whether to delete head branches when pull requests are merged", "type": "boolean", "default": false }, "deployments_url": { "type": "string", "format": "uri" }, "description": { "type": "string", "nullable": true }, "disabled": { "description": "Returns whether or not this repository is disabled.", "type": "boolean" }, "downloads_url": { "type": "string", "format": "uri" }, "events_url": { "type": "string", "format": "uri" }, "fork": { "type": "boolean" }, "forks": { "type": "integer" }, "forks_count": { "type": "integer" }, "forks_url": { "type": "string", "format": "uri" }, "full_name": { "type": "string" }, "git_commits_url": { "type": "string", "format": "uri-template" }, "git_refs_url": { "type": "string", "format": "uri-template" }, "git_tags_url": { "type": "string", "format": "uri-template" }, "git_url": { "type": "string", "format": "uri" }, "has_downloads": { "description": "Whether downloads are enabled.", "type": "boolean", "default": true }, "has_issues": { "description": "Whether issues are enabled.", "type": "boolean", "default": true }, "has_pages": { "type": "boolean" }, "has_projects": { "description": "Whether projects are enabled.", "type": "boolean", "default": true }, "has_wiki": { "description": "Whether the wiki is enabled.", "type": "boolean", "default": true }, "has_discussions": { "description": "Whether discussions are enabled.", "type": "boolean", "default": false }, "homepage": { "type": "string", "nullable": true }, "hooks_url": { "type": "string", "format": "uri" }, "html_url": { "type": "string", "format": "uri" }, "id": { "description": "Unique identifier of the repository", "type": "integer", "format": "int64" }, "is_template": { "type": "boolean" }, "issue_comment_url": { "type": "string", "format": "uri-template" }, "issue_events_url": { "type": "string", "format": "uri-template" }, "issues_url": { "type": "string", "format": "uri-template" }, "keys_url": { "type": "string", "format": "uri-template" }, "labels_url": { "type": "string", "format": "uri-template" }, "language": { "type": "string", "nullable": true }, "languages_url": { "type": "string", "format": "uri" }, "license": { "title": "License", "type": "object", "nullable": true, "properties": { "key": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "spdx_id": { "type": "string" }, "url": { "type": "string", "nullable": true, "format": "uri" } }, "required": [ "key", "name", "spdx_id", "url", "node_id" ] }, "master_branch": { "type": "string" }, "merges_url": { "type": "string", "format": "uri" }, "milestones_url": { "type": "string", "format": "uri-template" }, "mirror_url": { "type": "string", "nullable": true, "format": "uri" }, "name": { "description": "The name of the repository.", "type": "string" }, "node_id": { "type": "string" }, "notifications_url": { "type": "string", "format": "uri-template" }, "open_issues": { "type": "integer" }, "open_issues_count": { "type": "integer" }, "organization": { "type": "string" }, "owner": { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] }, "permissions": { "type": "object", "properties": { "admin": { "type": "boolean" }, "maintain": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" }, "triage": { "type": "boolean" } }, "required": [ "pull", "push", "admin" ] }, "private": { "description": "Whether the repository is private or public.", "type": "boolean" }, "public": { "type": "boolean" }, "pulls_url": { "type": "string", "format": "uri-template" }, "pushed_at": { "nullable": true, "oneOf": [ { "type": "integer" }, { "type": "string", "format": "date-time" } ] }, "releases_url": { "type": "string", "format": "uri-template" }, "role_name": { "type": "string", "nullable": true }, "size": { "type": "integer" }, "ssh_url": { "type": "string" }, "stargazers": { "type": "integer" }, "stargazers_count": { "type": "integer" }, "stargazers_url": { "type": "string", "format": "uri" }, "statuses_url": { "type": "string", "format": "uri-template" }, "subscribers_url": { "type": "string", "format": "uri" }, "subscription_url": { "type": "string", "format": "uri" }, "svn_url": { "type": "string", "format": "uri" }, "tags_url": { "type": "string", "format": "uri" }, "teams_url": { "type": "string", "format": "uri" }, "topics": { "type": "array", "items": { "type": "string" } }, "trees_url": { "type": "string", "format": "uri-template" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string", "format": "uri" }, "visibility": { "type": "string", "enum": [ "public", "private", "internal" ] }, "watchers": { "type": "integer" }, "watchers_count": { "type": "integer" }, "web_commit_signoff_required": { "description": "Whether to require contributors to sign off on web-based commits", "type": "boolean" } }, "required": [ "id", "node_id", "name", "full_name", "private", "owner", "html_url", "description", "fork", "url", "forks_url", "keys_url", "collaborators_url", "teams_url", "hooks_url", "issue_events_url", "events_url", "assignees_url", "branches_url", "tags_url", "blobs_url", "git_tags_url", "git_refs_url", "trees_url", "statuses_url", "languages_url", "stargazers_url", "contributors_url", "subscribers_url", "subscription_url", "commits_url", "git_commits_url", "comments_url", "issue_comment_url", "contents_url", "compare_url", "merges_url", "archive_url", "downloads_url", "issues_url", "pulls_url", "milestones_url", "notifications_url", "labels_url", "releases_url", "deployments_url", "created_at", "updated_at", "pushed_at", "git_url", "ssh_url", "clone_url", "svn_url", "homepage", "size", "stargazers_count", "watchers_count", "language", "has_issues", "has_projects", "has_downloads", "has_wiki", "has_pages", "has_discussions", "forks_count", "mirror_url", "archived", "open_issues_count", "license", "forks", "open_issues", "watchers", "default_branch", "topics", "visibility" ] }, "sha": { "type": "string" }, "user": { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer", "format": "int64" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] } }, "required": [ "label", "ref", "sha", "user", "repo" ] }, "body": { "type": "string", "nullable": true }, "closed_at": { "type": "string", "nullable": true }, "comments_url": { "type": "string", "format": "uri" }, "commits_url": { "type": "string", "format": "uri" }, "created_at": { "type": "string" }, "diff_url": { "type": "string", "format": "uri" }, "draft": { "type": "boolean" }, "head": { "type": "object", "properties": { "label": { "type": "string", "nullable": true }, "ref": { "type": "string" }, "repo": { "title": "Repository", "description": "A git repository", "type": "object", "nullable": true, "properties": { "allow_auto_merge": { "description": "Whether to allow auto-merge for pull requests.", "type": "boolean", "default": false }, "allow_forking": { "description": "Whether to allow private forks", "type": "boolean" }, "allow_merge_commit": { "description": "Whether to allow merge commits for pull requests.", "type": "boolean", "default": true }, "allow_rebase_merge": { "description": "Whether to allow rebase merges for pull requests.", "type": "boolean", "default": true }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "type": "boolean", "default": true }, "allow_update_branch": { "type": "boolean" }, "archive_url": { "type": "string", "format": "uri-template" }, "archived": { "description": "Whether the repository is archived.", "type": "boolean", "default": false }, "assignees_url": { "type": "string", "format": "uri-template" }, "blobs_url": { "type": "string", "format": "uri-template" }, "branches_url": { "type": "string", "format": "uri-template" }, "clone_url": { "type": "string", "format": "uri" }, "collaborators_url": { "type": "string", "format": "uri-template" }, "comments_url": { "type": "string", "format": "uri-template" }, "commits_url": { "type": "string", "format": "uri-template" }, "compare_url": { "type": "string", "format": "uri-template" }, "contents_url": { "type": "string", "format": "uri-template" }, "contributors_url": { "type": "string", "format": "uri" }, "created_at": { "oneOf": [ { "type": "integer" }, { "type": "string", "format": "date-time" } ] }, "default_branch": { "description": "The default branch of the repository.", "type": "string" }, "delete_branch_on_merge": { "description": "Whether to delete head branches when pull requests are merged", "type": "boolean", "default": false }, "deployments_url": { "type": "string", "format": "uri" }, "description": { "type": "string", "nullable": true }, "disabled": { "description": "Returns whether or not this repository is disabled.", "type": "boolean" }, "downloads_url": { "type": "string", "format": "uri" }, "events_url": { "type": "string", "format": "uri" }, "fork": { "type": "boolean" }, "forks": { "type": "integer" }, "forks_count": { "type": "integer" }, "forks_url": { "type": "string", "format": "uri" }, "full_name": { "type": "string" }, "git_commits_url": { "type": "string", "format": "uri-template" }, "git_refs_url": { "type": "string", "format": "uri-template" }, "git_tags_url": { "type": "string", "format": "uri-template" }, "git_url": { "type": "string", "format": "uri" }, "has_downloads": { "description": "Whether downloads are enabled.", "type": "boolean", "default": true }, "has_issues": { "description": "Whether issues are enabled.", "type": "boolean", "default": true }, "has_pages": { "type": "boolean" }, "has_projects": { "description": "Whether projects are enabled.", "type": "boolean", "default": true }, "has_wiki": { "description": "Whether the wiki is enabled.", "type": "boolean", "default": true }, "has_discussions": { "description": "Whether discussions are enabled.", "type": "boolean", "default": false }, "homepage": { "type": "string", "nullable": true }, "hooks_url": { "type": "string", "format": "uri" }, "html_url": { "type": "string", "format": "uri" }, "id": { "description": "Unique identifier of the repository", "type": "integer", "format": "int64" }, "is_template": { "type": "boolean" }, "issue_comment_url": { "type": "string", "format": "uri-template" }, "issue_events_url": { "type": "string", "format": "uri-template" }, "issues_url": { "type": "string", "format": "uri-template" }, "keys_url": { "type": "string", "format": "uri-template" }, "labels_url": { "type": "string", "format": "uri-template" }, "language": { "type": "string", "nullable": true }, "languages_url": { "type": "string", "format": "uri" }, "license": { "title": "License", "type": "object", "nullable": true, "properties": { "key": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "spdx_id": { "type": "string" }, "url": { "type": "string", "nullable": true, "format": "uri" } }, "required": [ "key", "name", "spdx_id", "url", "node_id" ] }, "master_branch": { "type": "string" }, "merges_url": { "type": "string", "format": "uri" }, "milestones_url": { "type": "string", "format": "uri-template" }, "mirror_url": { "type": "string", "nullable": true, "format": "uri" }, "name": { "description": "The name of the repository.", "type": "string" }, "node_id": { "type": "string" }, "notifications_url": { "type": "string", "format": "uri-template" }, "open_issues": { "type": "integer" }, "open_issues_count": { "type": "integer" }, "organization": { "type": "string" }, "owner": { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] }, "permissions": { "type": "object", "properties": { "admin": { "type": "boolean" }, "maintain": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" }, "triage": { "type": "boolean" } }, "required": [ "pull", "push", "admin" ] }, "private": { "description": "Whether the repository is private or public.", "type": "boolean" }, "public": { "type": "boolean" }, "pulls_url": { "type": "string", "format": "uri-template" }, "pushed_at": { "nullable": true, "oneOf": [ { "type": "integer" }, { "type": "string", "format": "date-time" } ] }, "releases_url": { "type": "string", "format": "uri-template" }, "role_name": { "type": "string", "nullable": true }, "size": { "type": "integer" }, "ssh_url": { "type": "string" }, "stargazers": { "type": "integer" }, "stargazers_count": { "type": "integer" }, "stargazers_url": { "type": "string", "format": "uri" }, "statuses_url": { "type": "string", "format": "uri-template" }, "subscribers_url": { "type": "string", "format": "uri" }, "subscription_url": { "type": "string", "format": "uri" }, "svn_url": { "type": "string", "format": "uri" }, "tags_url": { "type": "string", "format": "uri" }, "teams_url": { "type": "string", "format": "uri" }, "topics": { "type": "array", "items": { "type": "string" } }, "trees_url": { "type": "string", "format": "uri-template" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string", "format": "uri" }, "visibility": { "type": "string", "enum": [ "public", "private", "internal" ] }, "watchers": { "type": "integer" }, "watchers_count": { "type": "integer" }, "web_commit_signoff_required": { "description": "Whether to require contributors to sign off on web-based commits", "type": "boolean" } }, "required": [ "id", "node_id", "name", "full_name", "private", "owner", "html_url", "description", "fork", "url", "forks_url", "keys_url", "collaborators_url", "teams_url", "hooks_url", "issue_events_url", "events_url", "assignees_url", "branches_url", "tags_url", "blobs_url", "git_tags_url", "git_refs_url", "trees_url", "statuses_url", "languages_url", "stargazers_url", "contributors_url", "subscribers_url", "subscription_url", "commits_url", "git_commits_url", "comments_url", "issue_comment_url", "contents_url", "compare_url", "merges_url", "archive_url", "downloads_url", "issues_url", "pulls_url", "milestones_url", "notifications_url", "labels_url", "releases_url", "deployments_url", "created_at", "updated_at", "pushed_at", "git_url", "ssh_url", "clone_url", "svn_url", "homepage", "size", "stargazers_count", "watchers_count", "language", "has_issues", "has_projects", "has_downloads", "has_wiki", "has_pages", "has_discussions", "forks_count", "mirror_url", "archived", "open_issues_count", "license", "forks", "open_issues", "watchers", "default_branch", "topics", "visibility" ] }, "sha": { "type": "string" }, "user": { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer", "format": "int64" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] } }, "required": [ "label", "ref", "sha", "user", "repo" ] }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, "issue_url": { "type": "string", "format": "uri" }, "labels": { "type": "array", "items": { "title": "Label", "type": "object", "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", "type": "string" }, "default": { "type": "boolean" }, "description": { "type": "string", "nullable": true }, "id": { "type": "integer" }, "name": { "description": "The name of the label.", "type": "string" }, "node_id": { "type": "string" }, "url": { "description": "URL for the label", "type": "string", "format": "uri" } }, "required": [ "id", "node_id", "url", "name", "color", "default", "description" ] } }, "locked": { "type": "boolean" }, "merge_commit_sha": { "type": "string", "nullable": true }, "merged_at": { "type": "string", "nullable": true }, "milestone": { "title": "Milestone", "description": "A collection of related issues and pull requests.", "type": "object", "nullable": true, "properties": { "closed_at": { "type": "string", "nullable": true, "format": "date-time" }, "closed_issues": { "type": "integer" }, "created_at": { "type": "string", "format": "date-time" }, "creator": { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] }, "description": { "type": "string", "nullable": true }, "due_on": { "type": "string", "nullable": true, "format": "date-time" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, "labels_url": { "type": "string", "format": "uri" }, "node_id": { "type": "string" }, "number": { "description": "The number of the milestone.", "type": "integer" }, "open_issues": { "type": "integer" }, "state": { "description": "The state of the milestone.", "type": "string", "enum": [ "open", "closed" ] }, "title": { "description": "The title of the milestone.", "type": "string" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string", "format": "uri" } }, "required": [ "url", "html_url", "labels_url", "id", "node_id", "number", "title", "description", "creator", "open_issues", "closed_issues", "state", "created_at", "updated_at", "due_on", "closed_at" ] }, "node_id": { "type": "string" }, "number": { "type": "integer" }, "patch_url": { "type": "string", "format": "uri" }, "requested_reviewers": { "type": "array", "items": { "oneOf": [ { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization", "Mannequin" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] }, { "title": "Team", "description": "Groups of organization members that gives permissions on specified repositories.", "type": "object", "properties": { "deleted": { "type": "boolean" }, "description": { "description": "Description of the team", "type": "string", "nullable": true }, "html_url": { "type": "string", "format": "uri" }, "id": { "description": "Unique identifier of the team", "type": "integer" }, "members_url": { "type": "string", "format": "uri-template" }, "name": { "description": "Name of the team", "type": "string" }, "node_id": { "type": "string" }, "parent": { "type": "object", "nullable": true, "properties": { "description": { "description": "Description of the team", "type": "string", "nullable": true }, "html_url": { "type": "string", "format": "uri" }, "id": { "description": "Unique identifier of the team", "type": "integer" }, "members_url": { "type": "string", "format": "uri-template" }, "name": { "description": "Name of the team", "type": "string" }, "node_id": { "type": "string" }, "permission": { "description": "Permission that the team will have for its repositories", "type": "string" }, "privacy": { "type": "string", "enum": [ "open", "closed", "secret" ] }, "repositories_url": { "type": "string", "format": "uri" }, "slug": { "type": "string" }, "url": { "description": "URL for the team", "type": "string", "format": "uri" } }, "required": [ "name", "id", "node_id", "slug", "description", "privacy", "url", "html_url", "members_url", "repositories_url", "permission" ] }, "permission": { "description": "Permission that the team will have for its repositories", "type": "string" }, "privacy": { "type": "string", "enum": [ "open", "closed", "secret" ] }, "repositories_url": { "type": "string", "format": "uri" }, "slug": { "type": "string" }, "url": { "description": "URL for the team", "type": "string", "format": "uri" } }, "required": [ "name", "id", "node_id", "slug", "description", "privacy", "url", "html_url", "members_url", "repositories_url", "permission" ] } ] } }, "requested_teams": { "type": "array", "items": { "title": "Team", "description": "Groups of organization members that gives permissions on specified repositories.", "type": "object", "properties": { "deleted": { "type": "boolean" }, "description": { "description": "Description of the team", "type": "string", "nullable": true }, "html_url": { "type": "string", "format": "uri" }, "id": { "description": "Unique identifier of the team", "type": "integer" }, "members_url": { "type": "string", "format": "uri-template" }, "name": { "description": "Name of the team", "type": "string" }, "node_id": { "type": "string" }, "parent": { "type": "object", "nullable": true, "properties": { "description": { "description": "Description of the team", "type": "string", "nullable": true }, "html_url": { "type": "string", "format": "uri" }, "id": { "description": "Unique identifier of the team", "type": "integer" }, "members_url": { "type": "string", "format": "uri-template" }, "name": { "description": "Name of the team", "type": "string" }, "node_id": { "type": "string" }, "permission": { "description": "Permission that the team will have for its repositories", "type": "string" }, "privacy": { "type": "string", "enum": [ "open", "closed", "secret" ] }, "repositories_url": { "type": "string", "format": "uri" }, "slug": { "type": "string" }, "url": { "description": "URL for the team", "type": "string", "format": "uri" } }, "required": [ "name", "id", "node_id", "slug", "description", "privacy", "url", "html_url", "members_url", "repositories_url", "permission" ] }, "permission": { "description": "Permission that the team will have for its repositories", "type": "string" }, "privacy": { "type": "string", "enum": [ "open", "closed", "secret" ] }, "repositories_url": { "type": "string", "format": "uri" }, "slug": { "type": "string" }, "url": { "description": "URL for the team", "type": "string", "format": "uri" } }, "required": [ "name", "id" ] } }, "review_comment_url": { "type": "string", "format": "uri-template" }, "review_comments_url": { "type": "string", "format": "uri" }, "state": { "type": "string", "enum": [ "open", "closed" ] }, "statuses_url": { "type": "string", "format": "uri" }, "title": { "type": "string" }, "updated_at": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer", "format": "int64" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization", "Mannequin" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] } }, "required": [ "url", "id", "node_id", "html_url", "diff_url", "patch_url", "issue_url", "number", "state", "locked", "title", "user", "body", "created_at", "updated_at", "closed_at", "merged_at", "merge_commit_sha", "assignee", "assignees", "requested_reviewers", "requested_teams", "labels", "milestone", "draft", "commits_url", "review_comments_url", "review_comment_url", "comments_url", "statuses_url", "head", "base", "_links", "author_association", "auto_merge", "active_lock_reason" ] }, "repository": { "$ref": "#/components/schemas/repository-webhooks" }, "sender": { "$ref": "#/components/schemas/simple-user-webhooks" }, "thread": { "type": "object", "properties": { "comments": { "type": "array", "items": { "title": "Pull Request Review Comment", "description": "The [comment](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", "type": "object", "properties": { "_links": { "type": "object", "properties": { "html": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] }, "pull_request": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] }, "self": { "title": "Link", "type": "object", "properties": { "href": { "type": "string", "format": "uri-template" } }, "required": [ "href" ] } }, "required": [ "self", "html", "pull_request" ] }, "author_association": { "title": "AuthorAssociation", "description": "How the author is associated with the repository.", "type": "string", "enum": [ "COLLABORATOR", "CONTRIBUTOR", "FIRST_TIMER", "FIRST_TIME_CONTRIBUTOR", "MANNEQUIN", "MEMBER", "NONE", "OWNER" ] }, "body": { "description": "The text of the comment.", "type": "string" }, "commit_id": { "description": "The SHA of the commit to which the comment applies.", "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "diff_hunk": { "description": "The diff of the line that the comment refers to.", "type": "string" }, "html_url": { "description": "HTML URL for the pull request review comment.", "type": "string", "format": "uri" }, "id": { "description": "The ID of the pull request review comment.", "type": "integer" }, "in_reply_to_id": { "description": "The comment ID to reply to.", "type": "integer" }, "line": { "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", "type": "integer", "nullable": true }, "node_id": { "description": "The node ID of the pull request review comment.", "type": "string" }, "original_commit_id": { "description": "The SHA of the original commit to which the comment applies.", "type": "string" }, "original_line": { "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", "type": "integer", "nullable": true }, "original_position": { "description": "The index of the original line in the diff to which the comment applies.", "type": "integer" }, "original_start_line": { "description": "The first line of the range for a multi-line comment.", "type": "integer", "nullable": true }, "path": { "description": "The relative path of the file to which the comment applies.", "type": "string" }, "position": { "description": "The line index in the diff to which the comment applies.", "type": "integer", "nullable": true }, "pull_request_review_id": { "description": "The ID of the pull request review to which the comment belongs.", "type": "integer", "nullable": true }, "pull_request_url": { "description": "URL for the pull request that the review comment belongs to.", "type": "string", "format": "uri" }, "reactions": { "title": "Reactions", "type": "object", "properties": { "+1": { "type": "integer" }, "-1": { "type": "integer" }, "confused": { "type": "integer" }, "eyes": { "type": "integer" }, "heart": { "type": "integer" }, "hooray": { "type": "integer" }, "laugh": { "type": "integer" }, "rocket": { "type": "integer" }, "total_count": { "type": "integer" }, "url": { "type": "string", "format": "uri" } }, "required": [ "url", "total_count", "+1", "-1", "laugh", "confused", "heart", "hooray", "eyes", "rocket" ] }, "side": { "description": "The side of the first line of the range for a multi-line comment.", "type": "string", "enum": [ "LEFT", "RIGHT" ] }, "start_line": { "description": "The first line of the range for a multi-line comment.", "type": "integer", "nullable": true }, "start_side": { "description": "The side of the first line of the range for a multi-line comment.", "type": "string", "nullable": true, "enum": [ "LEFT", "RIGHT", null ], "default": "RIGHT" }, "subject_type": { "description": "The level at which the comment is targeted, can be a diff line or a file.", "type": "string", "enum": [ "line", "file" ] }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "description": "URL for the pull request review comment", "type": "string", "format": "uri" }, "user": { "title": "User", "type": "object", "nullable": true, "properties": { "avatar_url": { "type": "string", "format": "uri" }, "deleted": { "type": "boolean" }, "email": { "type": "string", "nullable": true }, "events_url": { "type": "string", "format": "uri-template" }, "followers_url": { "type": "string", "format": "uri" }, "following_url": { "type": "string", "format": "uri-template" }, "gists_url": { "type": "string", "format": "uri-template" }, "gravatar_id": { "type": "string" }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer", "format": "int64" }, "login": { "type": "string" }, "name": { "type": "string" }, "node_id": { "type": "string" }, "organizations_url": { "type": "string", "format": "uri" }, "received_events_url": { "type": "string", "format": "uri" }, "repos_url": { "type": "string", "format": "uri" }, "site_admin": { "type": "boolean" }, "starred_url": { "type": "string", "format": "uri-template" }, "subscriptions_url": { "type": "string", "format": "uri" }, "type": { "type": "string", "enum": [ "Bot", "User", "Organization", "Mannequin" ] }, "url": { "type": "string", "format": "uri" } }, "required": [ "login", "id" ] } }, "required": [ "url", "pull_request_review_id", "id", "node_id", "diff_hunk", "path", "position", "original_position", "commit_id", "original_commit_id", "user", "body", "created_at", "updated_at", "html_url", "pull_request_url", "author_association", "_links", "start_line", "original_start_line", "original_line", "line", "start_side", "side", "reactions" ] } }, "node_id": { "type": "string" } }, "required": [ "node_id", "comments" ] } }, "required": [ "action", "thread", "pull_request", "repository" ] }