Skip to main content

pull_requests

Overview

Namepull_requests
TypeResource
Idgithub.pulls.pull_requests

Fields

NameDatatypeDescription
idinteger
_linksobject
html_urlstring
numberinteger
headobject
lockedboolean
requested_reviewersarray
merge_commit_shastring
urlstring
statuses_urlstring
assigneesarray
commits_urlstring
assigneeobjectA GitHub user.
draftbooleanIndicates whether or not the pull request is a draft.
updated_atstring
milestoneobjectA collection of related issues and pull requests.
closed_atstring
review_comment_urlstring
created_atstring
issue_urlstring
merged_atstring
statestring
labelsarray
comments_urlstring
auto_mergeobjectThe status of auto merging a pull request.
baseobject
bodystring
node_idstring
requested_teamsarray
userobjectA GitHub user.
active_lock_reasonstring
patch_urlstring
author_associationstringHow the author is associated with the repository.
diff_urlstring
review_comments_urlstring
titlestring

Methods

NameAccessible byRequired Params
listSELECTowner, repo