wip, need clean up

This commit is contained in:
M M Arif
2019-10-03 23:50:57 +05:00
parent 345d577fbf
commit e4ab2f64fc
5 changed files with 115 additions and 6 deletions

View File

@@ -223,5 +223,5 @@ public interface ApiInterface {
Call<Files> getSingleFileContents(@Header("Authorization") String token, @Path("owner") String ownerName, @Path("repo") String repoName, @Path("file") String file);
@GET("repos/{owner}/{repo}/contents/{fileDir}") // get all the sub files and dirs of a repository
Call<List<Files>> getDirFiles(@Header("Authorization") String token, @Path("owner") String ownerName, @Path("repo") String repoName, @Path("file") String fileDir);
Call<List<Files>> getDirFiles(@Header("Authorization") String token, @Path("owner") String ownerName, @Path("repo") String repoName, @Path("fileDir") String fileDir);
}