From d24ec17edaa8d96739e864f65cab2ff3e4e90e19 Mon Sep 17 00:00:00 2001 From: M M Arif Date: Mon, 17 Jul 2023 12:54:42 +0500 Subject: [PATCH] Remove LFS endpoint --- .../gitnex/tea4j/v2/apis/custom/CustomApi.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java b/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java index 1935fc5..94283fc 100644 --- a/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java +++ b/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java @@ -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; - */ - @GET("repos/{owner}/{repo}/media/{filepath}") - Call 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); }