MemberEvent

Activity related to repository collaborators. The type of activity is specified in the action property of the payload object. For more information, see the "collaborators" 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.

Event payload object

Key Type Description
action string The action that was performed. Can be added to indicate a user accepted an invitation to a repository.
member object The user that was added.
changes object The changes to the collaborator permissions if the action was edited.
changes[old_permission][from] string The previous permissions of the collaborator if the action was edited.