Interface GithubService
public interface GithubService
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<License>
getLicense
(String url) default retrofit2.Call<Repo>
getRepository
(String slug) retrofit2.Call<Repo>
getRepository
(String owner, String repo) retrofit2.Call<User>
retrofit2.Call<UploadSnapshotResponse>
uploadDependencySnapshot
(String owner, String repo, Snapshot snapshot)
-
Method Details
-
getRepository
-
getRepository
-
getUser
-
getLicense
-
uploadDependencySnapshot
@POST("repos/{owner}/{repo}/dependency-graph/snapshots") retrofit2.Call<UploadSnapshotResponse> uploadDependencySnapshot(@Path("owner") String owner, @Path("repo") String repo, @Body Snapshot snapshot)
-