Interface GithubService


  • public interface GithubService
    • Method Detail

      • getRepository

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

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

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

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

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