public class Github extends TaskClusterRequestHandler
The github service, typically available at github.taskcluster.net, is responsible for publishing pulse messages in response to GitHub events.
This document describes the API end-point for consuming GitHub web hooks
See: http://docs.taskcluster.net/services/taskcluster-github
| Modifier and Type | Field and Description |
|---|---|
protected static String |
defaultBaseURL |
| Constructor and Description |
|---|
Github() |
Github(String baseURL) |
Github(String clientId,
String accessToken) |
Github(String clientId,
String accessToken,
String certificate) |
| Modifier and Type | Method and Description |
|---|---|
CallSummary<EmptyPayload,EmptyPayload> |
githubWebHookConsumer()
Capture a GitHub event and publish it via pulse, if it’s a push or pull request.
|
CallSummary<EmptyPayload,EmptyPayload> |
ping()
Documented later…
|
apiCall, configureHawk, setBaseURL, uriEncodeprotected static final String defaultBaseURL
public Github(String baseURL)
public Github()
public CallSummary<EmptyPayload,EmptyPayload> githubWebHookConsumer() throws APICallFailure
Capture a GitHub event and publish it via pulse, if it’s a push or pull request.
See http://docs.taskcluster.net/services/taskcluster-github/#githubWebHookConsumer
APICallFailurepublic CallSummary<EmptyPayload,EmptyPayload> ping() throws APICallFailure
Documented later…
Warning this api end-point is not stable.
See http://docs.taskcluster.net/services/taskcluster-github/#ping
APICallFailureCopyright © 2014–2016 Mozilla. All rights reserved.