Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
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.
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.
Any Of
Response
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
Example:Please pull these awesome changes
A collection of related issues and pull requests.
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
Simple User
Simple User
Groups of organization members that gives permissions on specified repositories.
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