Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the List commits endpoint.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Commit
Example:https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e
Example:6dcb09b5b57875f334f61aebed695e2e4193db5e
Example:MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==
Example:https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e
Example:https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments
Simple User
Simple User
Diff Entry
Note: Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Diff Entry
Example:bbcd538c8e72b8c175046e27cc8f907076331401
Example:file1.txt
Allowed values:addedremovedmodifiedrenamedcopiedchangedunchanged
Example:added
Example:103
Example:21
Example:124
Example:https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt
Example:https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt
Example:https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e
Example:@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test
Example:file.txt
Response if pull request has been merged
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.
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
if merge was successful
Pull Request Merge Result
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Pull Request Review Request
Simple User
Groups of organization members that gives permissions on specified repositories.