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: https://docs.taskcluster.net/reference/core/github/api-docs
| Modifier and Type | Field and Description |
|---|---|
protected static String |
defaultBaseURL |
| Constructor and Description |
|---|
Github() |
Github(Credentials credentials) |
Github(Credentials credentials,
String baseURL) |
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, setBaseURL, uriEncodeprotected static final String defaultBaseURL
public Github(Credentials credentials)
public Github(Credentials credentials, String baseURL)
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 https://docs.taskcluster.net/reference/core/github/api-docs#githubWebHookConsumer
APICallFailurepublic CallSummary<EmptyPayload,EmptyPayload> ping() throws APICallFailure
Documented later…
Warning this api end-point is not stable.
See https://docs.taskcluster.net/reference/core/github/api-docs#ping
APICallFailureCopyright © 2014–2016 Mozilla. All rights reserved.