mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-06 18:02:16 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package org.gitnex.tea4j.v2.apis;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -1618,10 +1619,10 @@ public interface RepositoryApi {
|
||||
* @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<Void>
|
||||
* @return Call<File>
|
||||
*/
|
||||
@GET("repos/{owner}/{repo}/raw/{filepath}")
|
||||
Call<Void> repoGetRawFile(
|
||||
Call<File> repoGetRawFile(
|
||||
@retrofit2.http.Path("owner") String owner,
|
||||
@retrofit2.http.Path("repo") String repo,
|
||||
@retrofit2.http.Path("filepath") String filepath,
|
||||
@@ -1635,10 +1636,10 @@ public interface RepositoryApi {
|
||||
* @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<Void>
|
||||
* @return Call<File>
|
||||
*/
|
||||
@GET("repos/{owner}/{repo}/media/{filepath}")
|
||||
Call<Void> repoGetRawFileOrLFS(
|
||||
Call<File> repoGetRawFileOrLFS(
|
||||
@retrofit2.http.Path("owner") String owner,
|
||||
@retrofit2.http.Path("repo") String repo,
|
||||
@retrofit2.http.Path("filepath") String filepath,
|
||||
|
||||
Reference in New Issue
Block a user