From 93694b99969c4ab1fa67e846afdc38fbe7402af6 Mon Sep 17 00:00:00 2001 From: gitnexbot Date: Sun, 30 Apr 2023 00:26:42 +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 ca1b355..d3f0e0a 100644 --- a/docs/RepositoryApi.md +++ b/docs/RepositoryApi.md @@ -5649,7 +5649,7 @@ Name | Type | Description | Notes # **repoGetAllCommits** -> List<Commit> repoGetAllCommits(owner, repo, sha, path, stat, page, limit) +> List<Commit> repoGetAllCommits(owner, repo, sha, path, stat, page, limit, not) Get a list of all commits from a repository @@ -5712,8 +5712,9 @@ String path = "path_example"; // String | filepath of a file/dir Boolean stat = true; // Boolean | include diff stats for every commit (disable for speedup, default 'true') Integer page = 56; // Integer | page number of results to return (1-based) Integer limit = 56; // Integer | page size of results (ignored if used with 'path') +String not = "not_example"; // String | commits that match the given specifier will not be listed. try { - List result = apiInstance.repoGetAllCommits(owner, repo, sha, path, stat, page, limit); + List result = apiInstance.repoGetAllCommits(owner, repo, sha, path, stat, page, limit, not); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RepositoryApi#repoGetAllCommits"); @@ -5732,6 +5733,7 @@ Name | Type | Description | Notes **stat** | **Boolean**| include diff stats for every commit (disable for speedup, default 'true') | [optional] **page** | **Integer**| page number of results to return (1-based) | [optional] **limit** | **Integer**| page size of results (ignored if used with 'path') | [optional] + **not** | **String**| commits that match the given specifier will not be listed. | [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 19af8c6..2a5493c 100644 --- a/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java +++ b/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java @@ -1005,6 +1005,7 @@ public interface RepositoryApi { * (optional) * @param page page number of results to return (1-based) (optional) * @param limit page size of results (ignored if used with 'path') (optional) + * @param not commits that match the given specifier will not be listed. (optional) * @return Call<List<Commit>> */ @GET("repos/{owner}/{repo}/commits") @@ -1015,7 +1016,8 @@ public interface RepositoryApi { @retrofit2.http.Query("path") String path, @retrofit2.http.Query("stat") Boolean stat, @retrofit2.http.Query("page") Integer page, - @retrofit2.http.Query("limit") Integer limit); + @retrofit2.http.Query("limit") Integer limit, + @retrofit2.http.Query("not") String not); /** * Get an archive of a repository