Merge pull request 'Remove LFS endpoint' (#5) from fixes into main

Reviewed-on: https://codeberg.org/gitnex/tea4j-autodeploy/pulls/5
This commit is contained in:
M M Arif
2023-07-17 07:55:39 +00:00
@@ -116,21 +116,4 @@ public interface CustomApi {
@retrofit2.http.Path("repo") String repo,
@retrofit2.http.Path("filepath") String filepath,
@retrofit2.http.Query("ref") String ref);
/**
* Get a file or it's LFS object from a repository
*
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param filepath filepath of the file to get (required)
* @param ref The name of the commit/branch/tag. Default the repositorys default branch (usually
* master) (optional)
* @return Call<ResponseBody>;
*/
@GET("repos/{owner}/{repo}/media/{filepath}")
Call<ResponseBody> repoGetRawFileOrLFS(
@retrofit2.http.Path("owner") String owner,
@retrofit2.http.Path("repo") String repo,
@retrofit2.http.Path("filepath") String filepath,
@retrofit2.http.Query("ref") String ref);
}