handle_pull_request
callback is used for pull_request
events.
It also offers the option of reporting the progress of your webhook
handler through the Statused API functions, by using the
event/6
function.
file() = #{}
message() = #{commit_id => string(), path => binary(), position => pos_integer(), text => binary()}
req_data() = #{}
request() = #{headers => #{}, body => #{}}
event/3 | Should be called from the endpoint that handles the GitHub's request for the webhook. |
event/6 | Should be called from the endpoint that handles the GitHub's request for the webhook. |
event(Module::atom(), Cred::egithub:credentials(), X3::request()) -> ok | {error, term()}
Should be called from the endpoint that handles the GitHub's request for the webhook.
event(Module::atom(), StatusCred::egithub:credentials(), ToolName::string(), Context::string(), CommentsCred::egithub:credentials(), Request::request()) -> ok | {error, term()}
Should be called from the endpoint that handles the GitHub's request for the webhook.
The credentials provided in theStatusCred
argument need
to have the appropiate permissions to be able to change the
repository's status.
Generated by EDoc, May 17 2016, 14:51:38.