Add it to src custom file

This commit is contained in:
M M Arif
2025-06-17 19:09:15 +05:00
parent 6622b84908
commit 2278868d34
@@ -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<List<Repository>> 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<List<Repository>> customUserCurrentListRepos(
@retrofit2.http.Query("page") Integer page,
@retrofit2.http.Query("limit") Integer limit,
@retrofit2.http.Query("order_by") String sort);
}