Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2022-06-04 22:01:28 +00:00
parent 3111bc1b18
commit 51eba76a68
2 changed files with 111 additions and 0 deletions
@@ -1269,6 +1269,23 @@ public interface RepositoryApi {
@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<Void>
*/
@GET("repos/{owner}/{repo}/media/{filepath}")
Call<Void> 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);
/**
* Get a release
*