Skip to main content
Schema1.1.4object

pull-request

Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary.

Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Pull Request

object

Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary.

_links object
required
active_lock_reason string
optionalnullable
additions integer
required
assignees array
optionalnullable
author_association
string<author_association>
required

How the author is associated with the repository.

base object
required
body string
requirednullable
changed_files integer
required
closed_at string (date-time)
requirednullable
comments integer
required
comments_url string (uri)
required
commits integer
required
commits_url string (uri)
required
created_at string (date-time)
required
deletions integer
required
diff_url string (uri)
required
draft boolean
optional

Indicates whether or not the pull request is a draft.

head object
required
html_url string (uri)
required
id integer
required
issue_url string (uri)
required
labels array
required
locked boolean
required
maintainer_can_modify boolean
required

Indicates whether maintainers can modify the pull request.

merge_commit_sha string
requirednullable
mergeable boolean
requirednullable
mergeable_state string
required
merged boolean
required
merged_at string (date-time)
requirednullable
milestone Milestone object
requirednullable

A collection of related issues and pull requests.

node_id string
required
number integer
required

Number uniquely identifying the pull request within its repository.

patch_url string (uri)
required
rebaseable boolean
optionalnullable
requested_reviewers array
optionalnullable
requested_teams array
optionalnullable
review_comment_url string
required
review_comments integer
required
review_comments_url string (uri)
required
state string
required

State of this Pull Request. Either `open` or `closed`.

statuses_url string (uri)
required
title string
required

The title of the pull request.

updated_at string (date-time)
required
url string (uri)
required