diff --git a/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java b/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java index 05f8419..e8d89fa 100644 --- a/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java +++ b/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java @@ -122,4 +122,17 @@ public interface CustomApi { @retrofit2.http.Path("repo") String repo, @retrofit2.http.Path("index") String index, @retrofit2.http.Body IssueMeta body); + + @GET("users/{username}/repos") + Call> customUserListRepos( + @retrofit2.http.Path("username") String username, + @retrofit2.http.Query("page") Integer page, + @retrofit2.http.Query("limit") Integer limit, + @retrofit2.http.Query("order_by") String sort); + + @GET("user/repos") + Call> customUserCurrentListRepos( + @retrofit2.http.Query("page") Integer page, + @retrofit2.http.Query("limit") Integer limit, + @retrofit2.http.Query("order_by") String sort); }