mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-05-31 07:01:55 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -5649,7 +5649,7 @@ Name | Type | Description | Notes
|
||||
|
||||
<a name="repoGetAllCommits"></a>
|
||||
# **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<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 '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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user