Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2023-07-17 08:00:03 +00:00
parent ce8e7cffbf
commit 5ff2cc7559
@@ -115,21 +115,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);
}