Check if a pull request has been merged
Path Parameters
Response
Response
Response if pull request has been merged
Path Parameters
Merge a pull request
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in secondary rate limiting. See “Secondary rate limits” and “Dealing with secondary rate limits” for details.
Path Parameters
Body
application/json
Body
Title for the automatic commit message.
Extra detail to append to automatic commit message.
SHA that pull request head must match to allow merge.
Merge method to use. Possible values are merge
, squash
or rebase
. Default is merge
.
Allowed values:mergesquashrebase
Response
application/json
Response
if merge was successful
Pull Request Merge Result
Pull Request Merge Result
Path Parameters
Body
List requested reviewers for a pull request
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
200 application/json
Response
Response
Pull Request Review Request
Pull Request Review Request
Simple User
Show Child Parameters
Groups of organization members that gives permissions on specified repositories.
Show Child Parameters
Path Parameters
Query Parameters
Request reviewers for a pull request
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in secondary rate limiting. See “Secondary rate limits” and “Dealing with secondary rate limits” for details.
Path Parameters
Body
application/json
Body
Any Of
Response
application/json
Response
Response
Pull Request Simple
Pull Request Simple
Example:https://api.github.com/repos/octocat/Hello-World/pulls/1347
Example:1
Example:MDExOlB1bGxSZXF1ZXN0MQ==
Example:https://github.com/octocat/Hello-World/pull/1347
Example:https://github.com/octocat/Hello-World/pull/1347.diff
Example:https://github.com/octocat/Hello-World/pull/1347.patch
Example:https://api.github.com/repos/octocat/Hello-World/issues/1347
Example:https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits
Example:https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments
Example:https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}
Example:https://api.github.com/repos/octocat/Hello-World/issues/1347/comments
Example:https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e
Example:1347
Example:open
Example:true
Example:new-feature
Simple User
Show Child Parameters
Example:Please pull these awesome changes
Show Child Parameters
A collection of related issues and pull requests.
Show Child Parameters
Example:too heated
Example:2011-01-26T19:01:12Z
Example:2011-01-26T19:01:12Z
Example:2011-01-26T19:01:12Z
Example:2011-01-26T19:01:12Z
Example:e5bd3914e2e596debea16f433f57875b5b90bcd6
Simple User
Show Child Parameters
Simple User
Show Child Parameters
Simple User
Show Child Parameters
Groups of organization members that gives permissions on specified repositories.
Show Child Parameters
Show Child Parameters
Show Child Parameters
Show Child Parameters
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
Indicates whether or not the pull request is a draft.
Example:false
Path Parameters
Body
Remove requested reviewers from a pull request
Path Parameters
Body
application/json
Body
An array of user login
s that will be removed.
An array of team slug
s that will be removed.
Response
application/json
Response
Response
Pull Request Simple
Pull Request Simple
Example:https://api.github.com/repos/octocat/Hello-World/pulls/1347
Example:1
Example:MDExOlB1bGxSZXF1ZXN0MQ==
Example:https://github.com/octocat/Hello-World/pull/1347
Example:https://github.com/octocat/Hello-World/pull/1347.diff
Example:https://github.com/octocat/Hello-World/pull/1347.patch
Example:https://api.github.com/repos/octocat/Hello-World/issues/1347
Example:https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits
Example:https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments
Example:https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}
Example:https://api.github.com/repos/octocat/Hello-World/issues/1347/comments
Example:https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e
Example:1347
Example:open
Example:true
Example:new-feature
Simple User
Show Child Parameters
Example:Please pull these awesome changes
Show Child Parameters
A collection of related issues and pull requests.
Show Child Parameters
Example:too heated
Example:2011-01-26T19:01:12Z
Example:2011-01-26T19:01:12Z
Example:2011-01-26T19:01:12Z
Example:2011-01-26T19:01:12Z
Example:e5bd3914e2e596debea16f433f57875b5b90bcd6
Simple User
Show Child Parameters
Simple User
Show Child Parameters
Simple User
Show Child Parameters
Groups of organization members that gives permissions on specified repositories.
Show Child Parameters
Show Child Parameters
Show Child Parameters
Show Child Parameters
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
Indicates whether or not the pull request is a draft.
Example:false