Interface GithubService
public interface GithubService
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<GithubCommit>retrofit2.Call<retrofit2.Response<okhttp3.ResponseBody>>updateCheck(String token, String repo, String sha, GithubStatus status)
-
Method Details
-
updateCheck
@POST("repos/{repo}/statuses/{sha}") retrofit2.Call<retrofit2.Response<okhttp3.ResponseBody>> updateCheck(@Header("Authorization") String token, @Path(value="repo",encoded=true) String repo, @Path("sha") String sha, @Body GithubStatus status) -
getCommit
@GET("repos/{repo}/commits/{sha}") retrofit2.Call<GithubCommit> getCommit(@Header("Authorization") String token, @Path(value="repo",encoded=true) String repo, @Path("sha") String sha)
-