Interface GithubService
-
public interface GithubService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description retrofit2.Call<License>
getLicense(String url)
default retrofit2.Call<Repo>
getRepository(String slug)
retrofit2.Call<Repo>
getRepository(String owner, String repo)
retrofit2.Call<User>
getUser(String user)
retrofit2.Call<UploadSnapshotResponse>
uploadDependencySnapshot(String owner, String repo, Snapshot snapshot)
-
-
-
Method Detail
-
getRepository
@GET("repos/{owner}/{repo}") retrofit2.Call<Repo> getRepository(@Path("owner") String owner, @Path("repo") String repo)
-
uploadDependencySnapshot
@POST("repos/{owner}/{repo}/dependency-graph/snapshots") retrofit2.Call<UploadSnapshotResponse> uploadDependencySnapshot(@Path("owner") String owner, @Path("repo") String repo, @Body Snapshot snapshot)
-
-