mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-05-31 07:01:55 +00:00
Merge pull request 'Fix file path encoding and clean up' (#2) from fixes into main
Reviewed-on: https://codeberg.org/gitnex/tea4j-autodeploy/pulls/2
This commit is contained in:
@@ -12,7 +12,7 @@ public interface CustomApi {
|
||||
Call<List<ContentsResponse>> repoGetContentsList(
|
||||
@Path("owner") String owner,
|
||||
@Path("repo") String repo,
|
||||
@Path("filepath") String filepath,
|
||||
@Path(value = "filepath", encoded = false) String filepath,
|
||||
@Query("ref") String ref);
|
||||
|
||||
/**
|
||||
|
||||
@@ -33,11 +33,4 @@ public interface OTPApi {
|
||||
@Header("X-Gitea-OTP") int otp,
|
||||
@Path("username") String username,
|
||||
@Body CreateAccessTokenOption body);
|
||||
|
||||
@GET("repos/{owner}/{repo}/contents/{filepath}")
|
||||
Call<List<ContentsResponse>> repoGetContentsList(
|
||||
@Path("owner") String owner,
|
||||
@Path("repo") String repo,
|
||||
@Path("filepath") String filepath,
|
||||
@Query("ref") String ref);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user