Skip to content

PullRequests Object ​



id
string
REQUIRED · 

The unique identifier for the pull request

title
string

The title of the pull request

number
integer

The number of the pull request

description
object

The description of the pull request

content
string

The content of the body

format
string

The format of the body

All possible enum values:
  • markdown
  • html
  • plaintext
status
string

The status of the pull request

All possible enum values:
  • open
  • closed
  • merged
  • locked
base_branch
object

The base branch of the pull request

id
string

The unique identifier for the base branch

name
string

The name of the base branch

last_commit
string

The last commit of the base branch

head_branch
object

The head branch of the pull request

id
string

The unique identifier for the head branch

name
string

The name of the head branch

last_commit
string

The last commit of the head branch

author
object

The author of the pull request

id
string

The unique identifier for the author

username
string

The username of the author

type
string

The type of the author

All possible enum values:
  • user
  • bot
closed_at
string · date-time

The date and time when the pull request was closed

merged_at
string · date-time

The date and time when the pull request was merged

created_at
string · date-time

The date and time when the pull request was created

updated_at
string · date-time

The date and time when the pull request was last updated

remote_data
object

Raw data returned from the remote API call.