Activity related to pull requests. The type of activity is specified in the action property of the payload object. For more information, see the "pull requests" REST API.
The event object includes properties that are common for all events. Each event object includes a payload property and the value is unique to each event type. The payload object for this event is described below.
payload object| Key | Type | Description |
|---|---|---|
action |
string |
The action that was performed. Can be one of opened, closed, reopened, assigned, unassigned, review_requested, review_request_removed, labeled, unlabeled, and synchronize. |
number |
integer |
The pull request number. |
changes |
object |
The changes to the comment if the action was edited. |
changes[title][from] |
string |
The previous version of the title if the action was edited. |
changes[body][from] |
string |
The previous version of the body if the action was edited. |
pull_request |
object |
The pull request itself. |