Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2023-04-30 00:26:42 +00:00
parent e5720459cd
commit 93694b9996
2 changed files with 7 additions and 3 deletions
+4 -2
View File
@@ -5649,7 +5649,7 @@ Name | Type | Description | Notes
<a name="repoGetAllCommits"></a>
# **repoGetAllCommits**
> List&lt;Commit&gt; repoGetAllCommits(owner, repo, sha, path, stat, page, limit)
> List&lt;Commit&gt; 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<Commit> result = apiInstance.repoGetAllCommits(owner, repo, sha, path, stat, page, limit);
List<Commit> 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 &#x27;true&#x27;) | [optional]
**page** | **Integer**| page number of results to return (1-based) | [optional]
**limit** | **Integer**| page size of results (ignored if used with &#x27;path&#x27;) | [optional]
**not** | **String**| commits that match the given specifier will not be listed. | [optional]
### Return type
@@ -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 &#x27;path&#x27;) (optional)
* @param not commits that match the given specifier will not be listed. (optional)
* @return Call&lt;List&lt;Commit&gt;&gt;
*/
@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