From c6e3e1a5d252ea729b1d8d9e5bc4195e23153113 Mon Sep 17 00:00:00 2001 From: gitnexbot Date: Sat, 17 Jan 2026 00:09:55 +0000 Subject: [PATCH] Synchronizing API and documentation updates --- docs/RepositoryApi.md | 6 ++++-- src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/RepositoryApi.md b/docs/RepositoryApi.md index 508f5af..f82aba0 100644 --- a/docs/RepositoryApi.md +++ b/docs/RepositoryApi.md @@ -8936,7 +8936,7 @@ Name | Type | Description | Notes # **repoGetArchive** -> Void repoGetArchive(owner, repo, archive) +> Void repoGetArchive(owner, repo, archive, path) Get an archive of a repository @@ -8995,8 +8995,9 @@ RepositoryApi apiInstance = new RepositoryApi(); String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repo String archive = "archive_example"; // String | the git reference for download with attached archive format (e.g. master.zip) +List path = Arrays.asList("path_example"); // List | subpath of the repository to download try { - Void result = apiInstance.repoGetArchive(owner, repo, archive); + Void result = apiInstance.repoGetArchive(owner, repo, archive, path); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RepositoryApi#repoGetArchive"); @@ -9011,6 +9012,7 @@ Name | Type | Description | Notes **owner** | **String**| owner of the repo | **repo** | **String**| name of the repo | **archive** | **String**| the git reference for download with attached archive format (e.g. master.zip) | + **path** | [**List<String>**](String.md)| subpath of the repository to download | [optional] ### Return type diff --git a/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java b/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java index efb69ae..c20d078 100644 --- a/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java +++ b/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java @@ -1581,13 +1581,15 @@ public interface RepositoryApi { * @param repo name of the repo (required) * @param archive the git reference for download with attached archive format (e.g. master.zip) * (required) + * @param path subpath of the repository to download (optional) * @return Call<Void> */ @GET("repos/{owner}/{repo}/archive/{archive}") Call repoGetArchive( @retrofit2.http.Path("owner") String owner, @retrofit2.http.Path("repo") String repo, - @retrofit2.http.Path("archive") String archive); + @retrofit2.http.Path("archive") String archive, + @retrofit2.http.Query("path") List path); /** * Return all users that have write access and can be assigned to issues