Skip to content

PullRequestEntity

A resolved pull request entity from GitHub.

data: object

url: string

Format: uri

https://api.github.com/repos/octocat/Hello-World/pulls/1347

id: number

Format: int64

1

node_id: string

MDExOlB1bGxSZXF1ZXN0MQ==

html_url: string

Format: uri

https://github.com/octocat/Hello-World/pull/1347

diff_url: string

Format: uri

https://github.com/octocat/Hello-World/pull/1347.diff

patch_url: string

Format: uri

https://github.com/octocat/Hello-World/pull/1347.patch

issue_url: string

Format: uri

https://api.github.com/repos/octocat/Hello-World/issues/1347

commits_url: string

Format: uri

https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits

review_comments_url: string

Format: uri

https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments

review_comment_url: string

https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}

comments_url: string

Format: uri

https://api.github.com/repos/octocat/Hello-World/issues/1347/comments

statuses_url: string

Format: uri

https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e

number: number

Number uniquely identifying the pull request within its repository.

42

state: "open" | "closed"

State of this Pull Request. Either open or closed.

open
@enum {string}

locked: boolean

true

title: string

The title of the pull request.

Amazing new feature

user: object

optional name: string | null

optional email: string | null

login: string

octocat

id: number

Format: int64

1

node_id: string

MDQ6VXNlcjE=

avatar_url: string

Format: uri

https://github.com/images/error/octocat_happy.gif

gravatar_id: string | null

41d064eb2195891e12d0413f63227ea7

url: string

Format: uri

https://api.github.com/users/octocat

html_url: string

Format: uri

https://github.com/octocat

followers_url: string

Format: uri

https://api.github.com/users/octocat/followers

following_url: string

https://api.github.com/users/octocat/following{/other_user}

gists_url: string

https://api.github.com/users/octocat/gists{/gist_id}

starred_url: string

https://api.github.com/users/octocat/starred{/owner}{/repo}

subscriptions_url: string

Format: uri

https://api.github.com/users/octocat/subscriptions

organizations_url: string

Format: uri

https://api.github.com/users/octocat/orgs

repos_url: string

Format: uri

https://api.github.com/users/octocat/repos

events_url: string

https://api.github.com/users/octocat/events{/privacy}

received_events_url: string

Format: uri

https://api.github.com/users/octocat/received_events

type: string

User

site_admin: boolean

optional starred_at: string

"2020-07-09T00:17:55Z"

optional user_view_type: string

public

body: string | null

Please pull these awesome changes

labels: object[]

milestone: { url: string; html_url: string; labels_url: string; id: number; node_id: string; number: number; state: "open" | "closed"; title: string; description: string | null; creator: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | null; open_issues: number; closed_issues: number; created_at: string; updated_at: string; closed_at: string | null; due_on: string | null; } | null

{ url: string; html_url: string; labels_url: string; id: number; node_id: string; number: number; state: "open" | "closed"; title: string; description: string | null; creator: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | null; open_issues: number; closed_issues: number; created_at: string; updated_at: string; closed_at: string | null; due_on: string | null; }

null

optional active_lock_reason: string | null

too heated

created_at: string

Format: date-time

2011-01-26T19:01:12Z

updated_at: string

Format: date-time

2011-01-26T19:01:12Z

closed_at: string | null

Format: date-time

2011-01-26T19:01:12Z

merged_at: string | null

Format: date-time

2011-01-26T19:01:12Z

merge_commit_sha: string | null

e5bd3914e2e596debea16f433f57875b5b90bcd6

assignee: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | null

{ name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }

null

optional assignees: object[] | null

optional requested_reviewers: object[] | null

optional requested_teams: object[] | null

head: object

label: string

ref: string

repo: object

id: number

Format: int64

Unique identifier of the repository

42

node_id: string

MDEwOlJlcG9zaXRvcnkxMjk2MjY5

name: string

The name of the repository.

Team Environment

full_name: string

octocat/Hello-World

license: { key: string; name: string; url: string | null; spdx_id: string | null; node_id: string; html_url?: string; } | null

{ key: string; name: string; url: string | null; spdx_id: string | null; node_id: string; html_url?: string; }

null

forks: number

optional permissions: object

admin: boolean

pull: boolean

optional triage: boolean

push: boolean

optional maintain: boolean

owner: object

optional name: string | null

optional email: string | null

login: string

octocat

id: number

Format: int64

1

node_id: string

MDQ6VXNlcjE=

avatar_url: string

Format: uri

https://github.com/images/error/octocat_happy.gif

gravatar_id: string | null

41d064eb2195891e12d0413f63227ea7

url: string

Format: uri

https://api.github.com/users/octocat

html_url: string

Format: uri

https://github.com/octocat

followers_url: string

Format: uri

https://api.github.com/users/octocat/followers

following_url: string

https://api.github.com/users/octocat/following{/other_user}

gists_url: string

https://api.github.com/users/octocat/gists{/gist_id}

starred_url: string

https://api.github.com/users/octocat/starred{/owner}{/repo}

subscriptions_url: string

Format: uri

https://api.github.com/users/octocat/subscriptions

organizations_url: string

Format: uri

https://api.github.com/users/octocat/orgs

repos_url: string

Format: uri

https://api.github.com/users/octocat/repos

events_url: string

https://api.github.com/users/octocat/events{/privacy}

received_events_url: string

Format: uri

https://api.github.com/users/octocat/received_events

type: string

User

site_admin: boolean

optional starred_at: string

"2020-07-09T00:17:55Z"

optional user_view_type: string

public

private: boolean

Whether the repository is private or public.

false

html_url: string

Format: uri

https://github.com/octocat/Hello-World

description: string | null

This your first repo!

fork: boolean

url: string

Format: uri

https://api.github.com/repos/octocat/Hello-World

archive_url: string

http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}

assignees_url: string

http://api.github.com/repos/octocat/Hello-World/assignees{/user}

blobs_url: string

http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}

branches_url: string

http://api.github.com/repos/octocat/Hello-World/branches{/branch}

collaborators_url: string

http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}

comments_url: string

http://api.github.com/repos/octocat/Hello-World/comments{/number}

commits_url: string

http://api.github.com/repos/octocat/Hello-World/commits{/sha}

compare_url: string

http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}

contents_url: string

http://api.github.com/repos/octocat/Hello-World/contents/{+path}

contributors_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/contributors

deployments_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/deployments

downloads_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/downloads

events_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/events

forks_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/forks

git_commits_url: string

http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}

git_refs_url: string

http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}

git_tags_url: string

http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}

git_url: string

git:github.com/octocat/Hello-World.git

issue_comment_url: string

http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}

issue_events_url: string

http://api.github.com/repos/octocat/Hello-World/issues/events{/number}

issues_url: string

http://api.github.com/repos/octocat/Hello-World/issues{/number}

keys_url: string

http://api.github.com/repos/octocat/Hello-World/keys{/key_id}

labels_url: string

http://api.github.com/repos/octocat/Hello-World/labels{/name}

languages_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/languages

merges_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/merges

milestones_url: string

http://api.github.com/repos/octocat/Hello-World/milestones{/number}

notifications_url: string

http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}

pulls_url: string

http://api.github.com/repos/octocat/Hello-World/pulls{/number}

releases_url: string

http://api.github.com/repos/octocat/Hello-World/releases{/id}

ssh_url: string

git@github.com:octocat/Hello-World.git

stargazers_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/stargazers

statuses_url: string

http://api.github.com/repos/octocat/Hello-World/statuses/{sha}

subscribers_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/subscribers

subscription_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/subscription

tags_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/tags

teams_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/teams

trees_url: string

http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}

clone_url: string

https://github.com/octocat/Hello-World.git

mirror_url: string | null

Format: uri

git:git.example.com/octocat/Hello-World

hooks_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/hooks

svn_url: string

Format: uri

https://svn.github.com/octocat/Hello-World

homepage: string | null

Format: uri

https://github.com

language: string | null

forks_count: number

9

stargazers_count: number

80

watchers_count: number

80

size: number

The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.

108

default_branch: string

The default branch of the repository.

master

open_issues_count: number

0

optional is_template: boolean

Whether this repository acts as a template that can be used to generate new repositories.

false
true

optional topics: string[]

has_issues: boolean

Whether issues are enabled.

true
true

has_projects: boolean

Whether projects are enabled.

true
true

has_wiki: boolean

Whether the wiki is enabled.

true
true

has_pages: boolean

has_downloads: boolean

Whether downloads are enabled.

true
true

optional has_discussions: boolean

Whether discussions are enabled.

false
true

archived: boolean

Whether the repository is archived.

false

disabled: boolean

Returns whether or not this repository disabled.

optional visibility: string

The repository visibility: public, private, or internal.

public

pushed_at: string | null

Format: date-time

2011-01-26T19:06:43Z

created_at: string | null

Format: date-time

2011-01-26T19:01:12Z

updated_at: string | null

Format: date-time

2011-01-26T19:14:43Z

optional allow_rebase_merge: boolean

Whether to allow rebase merges for pull requests.

true
true

optional temp_clone_token: string

optional allow_squash_merge: boolean

Whether to allow squash merges for pull requests.

true
true

optional allow_auto_merge: boolean

Whether to allow Auto-merge to be used on pull requests.

false
false

optional delete_branch_on_merge: boolean

Whether to delete head branches when pull requests are merged

false
false

optional allow_update_branch: boolean

Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.

false
false

optional use_squash_pr_title_as_default: boolean

Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use squash_merge_commit_title instead.

false

optional squash_merge_commit_title: "PR_TITLE" | "COMMIT_OR_PR_TITLE"

The default value for a squash merge commit title:

  • PR_TITLE - default to the pull request’s title.
  • COMMIT_OR_PR_TITLE - default to the commit’s title (if only one commit) or the pull request’s title (when more than one commit).

optional squash_merge_commit_message: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"

The default value for a squash merge commit message:

  • PR_BODY - default to the pull request’s body.
  • COMMIT_MESSAGES - default to the branch’s commit messages.
  • BLANK - default to a blank commit message.

optional merge_commit_title: "PR_TITLE" | "MERGE_MESSAGE"

The default value for a merge commit title.

  • PR_TITLE - default to the pull request’s title.
  • MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).

optional merge_commit_message: "PR_TITLE" | "PR_BODY" | "BLANK"

The default value for a merge commit message.

  • PR_TITLE - default to the pull request’s title.
  • PR_BODY - default to the pull request’s body.
  • BLANK - default to a blank commit message.

optional allow_merge_commit: boolean

Whether to allow merge commits for pull requests.

true
true

optional allow_forking: boolean

Whether to allow forking this repo

optional web_commit_signoff_required: boolean

Whether to require contributors to sign off on web-based commits

false

open_issues: number

watchers: number

optional master_branch: string

optional starred_at: string

"2020-07-09T00:17:42Z"

optional anonymous_access_enabled: boolean

Whether anonymous git access is enabled for this repository

optional code_search_index_status: object

The status of the code search index for this repository

head.repo.code_search_index_status.lexical_search_ok?
Section titled “head.repo.code_search_index_status.lexical_search_ok?”

optional lexical_search_ok: boolean

head.repo.code_search_index_status.lexical_commit_sha?
Section titled “head.repo.code_search_index_status.lexical_commit_sha?”

optional lexical_commit_sha: string

sha: string

user: object

optional name: string | null

optional email: string | null

login: string

octocat

id: number

Format: int64

1

node_id: string

MDQ6VXNlcjE=

avatar_url: string

Format: uri

https://github.com/images/error/octocat_happy.gif

gravatar_id: string | null

41d064eb2195891e12d0413f63227ea7

url: string

Format: uri

https://api.github.com/users/octocat

html_url: string

Format: uri

https://github.com/octocat

followers_url: string

Format: uri

https://api.github.com/users/octocat/followers

following_url: string

https://api.github.com/users/octocat/following{/other_user}

gists_url: string

https://api.github.com/users/octocat/gists{/gist_id}

starred_url: string

https://api.github.com/users/octocat/starred{/owner}{/repo}

subscriptions_url: string

Format: uri

https://api.github.com/users/octocat/subscriptions

organizations_url: string

Format: uri

https://api.github.com/users/octocat/orgs

repos_url: string

Format: uri

https://api.github.com/users/octocat/repos

events_url: string

https://api.github.com/users/octocat/events{/privacy}

received_events_url: string

Format: uri

https://api.github.com/users/octocat/received_events

type: string

User

site_admin: boolean

optional starred_at: string

"2020-07-09T00:17:55Z"

optional user_view_type: string

public

base: object

label: string

ref: string

repo: object

id: number

Format: int64

Unique identifier of the repository

42

node_id: string

MDEwOlJlcG9zaXRvcnkxMjk2MjY5

name: string

The name of the repository.

Team Environment

full_name: string

octocat/Hello-World

license: { key: string; name: string; url: string | null; spdx_id: string | null; node_id: string; html_url?: string; } | null

{ key: string; name: string; url: string | null; spdx_id: string | null; node_id: string; html_url?: string; }

null

forks: number

optional permissions: object

admin: boolean

pull: boolean

optional triage: boolean

push: boolean

optional maintain: boolean

owner: object

optional name: string | null

optional email: string | null

login: string

octocat

id: number

Format: int64

1

node_id: string

MDQ6VXNlcjE=

avatar_url: string

Format: uri

https://github.com/images/error/octocat_happy.gif

gravatar_id: string | null

41d064eb2195891e12d0413f63227ea7

url: string

Format: uri

https://api.github.com/users/octocat

html_url: string

Format: uri

https://github.com/octocat

followers_url: string

Format: uri

https://api.github.com/users/octocat/followers

following_url: string

https://api.github.com/users/octocat/following{/other_user}

gists_url: string

https://api.github.com/users/octocat/gists{/gist_id}

starred_url: string

https://api.github.com/users/octocat/starred{/owner}{/repo}

subscriptions_url: string

Format: uri

https://api.github.com/users/octocat/subscriptions

organizations_url: string

Format: uri

https://api.github.com/users/octocat/orgs

repos_url: string

Format: uri

https://api.github.com/users/octocat/repos

events_url: string

https://api.github.com/users/octocat/events{/privacy}

received_events_url: string

Format: uri

https://api.github.com/users/octocat/received_events

type: string

User

site_admin: boolean

optional starred_at: string

"2020-07-09T00:17:55Z"

optional user_view_type: string

public

private: boolean

Whether the repository is private or public.

false

html_url: string

Format: uri

https://github.com/octocat/Hello-World

description: string | null

This your first repo!

fork: boolean

url: string

Format: uri

https://api.github.com/repos/octocat/Hello-World

archive_url: string

http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}

assignees_url: string

http://api.github.com/repos/octocat/Hello-World/assignees{/user}

blobs_url: string

http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}

branches_url: string

http://api.github.com/repos/octocat/Hello-World/branches{/branch}

collaborators_url: string

http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}

comments_url: string

http://api.github.com/repos/octocat/Hello-World/comments{/number}

commits_url: string

http://api.github.com/repos/octocat/Hello-World/commits{/sha}

compare_url: string

http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}

contents_url: string

http://api.github.com/repos/octocat/Hello-World/contents/{+path}

contributors_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/contributors

deployments_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/deployments

downloads_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/downloads

events_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/events

forks_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/forks

git_commits_url: string

http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}

git_refs_url: string

http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}

git_tags_url: string

http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}

git_url: string

git:github.com/octocat/Hello-World.git

issue_comment_url: string

http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}

issue_events_url: string

http://api.github.com/repos/octocat/Hello-World/issues/events{/number}

issues_url: string

http://api.github.com/repos/octocat/Hello-World/issues{/number}

keys_url: string

http://api.github.com/repos/octocat/Hello-World/keys{/key_id}

labels_url: string

http://api.github.com/repos/octocat/Hello-World/labels{/name}

languages_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/languages

merges_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/merges

milestones_url: string

http://api.github.com/repos/octocat/Hello-World/milestones{/number}

notifications_url: string

http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}

pulls_url: string

http://api.github.com/repos/octocat/Hello-World/pulls{/number}

releases_url: string

http://api.github.com/repos/octocat/Hello-World/releases{/id}

ssh_url: string

git@github.com:octocat/Hello-World.git

stargazers_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/stargazers

statuses_url: string

http://api.github.com/repos/octocat/Hello-World/statuses/{sha}

subscribers_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/subscribers

subscription_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/subscription

tags_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/tags

teams_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/teams

trees_url: string

http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}

clone_url: string

https://github.com/octocat/Hello-World.git

mirror_url: string | null

Format: uri

git:git.example.com/octocat/Hello-World

hooks_url: string

Format: uri

http://api.github.com/repos/octocat/Hello-World/hooks

svn_url: string

Format: uri

https://svn.github.com/octocat/Hello-World

homepage: string | null

Format: uri

https://github.com

language: string | null

forks_count: number

9

stargazers_count: number

80

watchers_count: number

80

size: number

The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.

108

default_branch: string

The default branch of the repository.

master

open_issues_count: number

0

optional is_template: boolean

Whether this repository acts as a template that can be used to generate new repositories.

false
true

optional topics: string[]

has_issues: boolean

Whether issues are enabled.

true
true

has_projects: boolean

Whether projects are enabled.

true
true

has_wiki: boolean

Whether the wiki is enabled.

true
true

has_pages: boolean

has_downloads: boolean

Whether downloads are enabled.

true
true

optional has_discussions: boolean

Whether discussions are enabled.

false
true

archived: boolean

Whether the repository is archived.

false

disabled: boolean

Returns whether or not this repository disabled.

optional visibility: string

The repository visibility: public, private, or internal.

public

pushed_at: string | null

Format: date-time

2011-01-26T19:06:43Z

created_at: string | null

Format: date-time

2011-01-26T19:01:12Z

updated_at: string | null

Format: date-time

2011-01-26T19:14:43Z

optional allow_rebase_merge: boolean

Whether to allow rebase merges for pull requests.

true
true

optional temp_clone_token: string

optional allow_squash_merge: boolean

Whether to allow squash merges for pull requests.

true
true

optional allow_auto_merge: boolean

Whether to allow Auto-merge to be used on pull requests.

false
false

optional delete_branch_on_merge: boolean

Whether to delete head branches when pull requests are merged

false
false

optional allow_update_branch: boolean

Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.

false
false

optional use_squash_pr_title_as_default: boolean

Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use squash_merge_commit_title instead.

false

optional squash_merge_commit_title: "PR_TITLE" | "COMMIT_OR_PR_TITLE"

The default value for a squash merge commit title:

  • PR_TITLE - default to the pull request’s title.
  • COMMIT_OR_PR_TITLE - default to the commit’s title (if only one commit) or the pull request’s title (when more than one commit).

optional squash_merge_commit_message: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK"

The default value for a squash merge commit message:

  • PR_BODY - default to the pull request’s body.
  • COMMIT_MESSAGES - default to the branch’s commit messages.
  • BLANK - default to a blank commit message.

optional merge_commit_title: "PR_TITLE" | "MERGE_MESSAGE"

The default value for a merge commit title.

  • PR_TITLE - default to the pull request’s title.
  • MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).

optional merge_commit_message: "PR_TITLE" | "PR_BODY" | "BLANK"

The default value for a merge commit message.

  • PR_TITLE - default to the pull request’s title.
  • PR_BODY - default to the pull request’s body.
  • BLANK - default to a blank commit message.

optional allow_merge_commit: boolean

Whether to allow merge commits for pull requests.

true
true

optional allow_forking: boolean

Whether to allow forking this repo

optional web_commit_signoff_required: boolean

Whether to require contributors to sign off on web-based commits

false

open_issues: number

watchers: number

optional master_branch: string

optional starred_at: string

"2020-07-09T00:17:42Z"

optional anonymous_access_enabled: boolean

Whether anonymous git access is enabled for this repository

optional code_search_index_status: object

The status of the code search index for this repository

base.repo.code_search_index_status.lexical_search_ok?
Section titled “base.repo.code_search_index_status.lexical_search_ok?”

optional lexical_search_ok: boolean

base.repo.code_search_index_status.lexical_commit_sha?
Section titled “base.repo.code_search_index_status.lexical_commit_sha?”

optional lexical_commit_sha: string

sha: string

user: object

optional name: string | null

optional email: string | null

login: string

octocat

id: number

Format: int64

1

node_id: string

MDQ6VXNlcjE=

avatar_url: string

Format: uri

https://github.com/images/error/octocat_happy.gif

gravatar_id: string | null

41d064eb2195891e12d0413f63227ea7

url: string

Format: uri

https://api.github.com/users/octocat

html_url: string

Format: uri

https://github.com/octocat

followers_url: string

Format: uri

https://api.github.com/users/octocat/followers

following_url: string

https://api.github.com/users/octocat/following{/other_user}

gists_url: string

https://api.github.com/users/octocat/gists{/gist_id}

starred_url: string

https://api.github.com/users/octocat/starred{/owner}{/repo}

subscriptions_url: string

Format: uri

https://api.github.com/users/octocat/subscriptions

organizations_url: string

Format: uri

https://api.github.com/users/octocat/orgs

repos_url: string

Format: uri

https://api.github.com/users/octocat/repos

events_url: string

https://api.github.com/users/octocat/events{/privacy}

received_events_url: string

Format: uri

https://api.github.com/users/octocat/received_events

type: string

User

site_admin: boolean

optional starred_at: string

"2020-07-09T00:17:55Z"

optional user_view_type: string

public

_links: object

comments: object

href: string

commits: object

href: string

statuses: object

href: string

html: object

href: string

issue: object

href: string

review_comments: object

href: string

review_comment: object

href: string

self: object

href: string

author_association: "COLLABORATOR" | "CONTRIBUTOR" | "FIRST_TIMER" | "FIRST_TIME_CONTRIBUTOR" | "MANNEQUIN" | "MEMBER" | "NONE" | "OWNER"

auto_merge: { enabled_by: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }; merge_method: "merge" | "squash" | "rebase"; commit_title: string; commit_message: string; } | null

{ enabled_by: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }; merge_method: "merge" | "squash" | "rebase"; commit_title: string; commit_message: string; }

null

optional draft: boolean

Indicates whether or not the pull request is a draft.

false

merged: boolean

mergeable: boolean | null

true

optional rebaseable: boolean | null

true

mergeable_state: string

clean

merged_by: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | null

{ name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }

null

comments: number

10

review_comments: number

0

maintainer_can_modify: boolean

Indicates whether maintainers can modify the pull request.

true

commits: number

3

additions: number

100

deletions: number

3

changed_files: number

5

number: number


type: "pull_request"