Added repo watchers/subscribrs list

This commit is contained in:
M M Arif
2019-09-14 11:29:20 +05:00
parent 6866154714
commit 39c1ec36a7
16 changed files with 376 additions and 5 deletions

View File

@@ -207,4 +207,7 @@ public interface ApiInterface {
@GET("repos/{owner}/{repo}/stargazers") // get all repo stars
Call<List<UserInfo>> getRepoStargazers(@Header("Authorization") String token, @Path("owner") String ownerName, @Path("repo") String repoName);
@GET("repos/{owner}/{repo}/subscribers") // get all repo watchers
Call<List<UserInfo>> getRepoWatchers(@Header("Authorization") String token, @Path("owner") String ownerName, @Path("repo") String repoName);
}