package io.flow.github.v0.models; import io.reactivex.Single; import java.lang.Long; import java.lang.String; import retrofit2.http.GET; import retrofit2.http.Path; import retrofit2.http.Query; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.5.12 * User agent: apibuilder app.apibuilder.io/flow/github/0.5.12/android_rx2_client * * WARNING: not all features (notably unions) and data types work with android generator yet. * Android generator is designed to be used in an android application, but should work in any java codebase as long as you import jackson, retrofit2 and RxJava2 libraries. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact android-feedback@gilt.com * */ public interface RepositoriesClient { @GET("user/repos") Single getUserRepos(@Query("page") Long page, @Query("visibility") Visibility visibility, @Query("affiliation") String affiliation, @Query("type") String type, @Query("sort") String sort, @Query("direction") String direction); /** * List public repositories for the specified user. */ @GET("users/{username}/repos") Single getUsersUsernameRepos(@Path("username") String username, @Query("page") Long page, @Query("type") String type, @Query("sort") String sort, @Query("direction") String direction); /** * List repositories for the specified org. */ @GET("orgs/{org}/repos") Single getOrgsOrgRepos(@Path("org") String org, @Query("page") Long page, @Query("type") String type, @Query("sort") String sort, @Query("direction") String direction); }