mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-05-31 07:01:55 +00:00
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:
@@ -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 repository’s 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user