Interface GithubService


public interface GithubService
  • Method Details

    • getRepository

      default retrofit2.Call<Repo> getRepository(String slug)
    • getRepository

      @GET("repos/{owner}/{repo}") retrofit2.Call<Repo> getRepository(@Path("owner") String owner, @Path("repo") String repo)
    • getUser

      @GET("users/{user}") retrofit2.Call<User> getUser(@Path("user") String user)
    • getLicense

      @GET retrofit2.Call<License> getLicense(@Url String url)
    • uploadDependencySnapshot

      @POST("repos/{owner}/{repo}/dependency-graph/snapshots") retrofit2.Call<UploadSnapshotResponse> uploadDependencySnapshot(@Path("owner") String owner, @Path("repo") String repo, @Body Snapshot snapshot)