Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2025-07-11 00:05:48 +00:00
parent e22c13460e
commit a5d000f0a9
2 changed files with 6 additions and 5 deletions
+3 -3
View File
@@ -2841,7 +2841,7 @@ Name | Type | Description | Notes
<a name="getWorkflowRuns"></a>
# **getWorkflowRuns**
> ActionArtifactsResponse getWorkflowRuns(owner, repo, event, branch, status, actor, headSha, page, limit)
> ActionWorkflowRunsResponse getWorkflowRuns(owner, repo, event, branch, status, actor, headSha, page, limit)
Lists all runs for a repository run
@@ -2907,7 +2907,7 @@ String headSha = "headSha_example"; // String | triggering sha of the workflow r
Integer page = 56; // Integer | page number of results to return (1-based)
Integer limit = 56; // Integer | page size of results
try {
ActionArtifactsResponse result = apiInstance.getWorkflowRuns(owner, repo, event, branch, status, actor, headSha, page, limit);
ActionWorkflowRunsResponse result = apiInstance.getWorkflowRuns(owner, repo, event, branch, status, actor, headSha, page, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RepositoryApi#getWorkflowRuns");
@@ -2931,7 +2931,7 @@ Name | Type | Description | Notes
### Return type
[**ActionArtifactsResponse**](ActionArtifactsResponse.md)
[**ActionWorkflowRunsResponse**](ActionWorkflowRunsResponse.md)
### Authorization
@@ -15,6 +15,7 @@ import org.gitnex.tea4j.v2.models.ActionWorkflowJob;
import org.gitnex.tea4j.v2.models.ActionWorkflowJobsResponse;
import org.gitnex.tea4j.v2.models.ActionWorkflowResponse;
import org.gitnex.tea4j.v2.models.ActionWorkflowRun;
import org.gitnex.tea4j.v2.models.ActionWorkflowRunsResponse;
import org.gitnex.tea4j.v2.models.Activity;
import org.gitnex.tea4j.v2.models.AddCollaboratorOption;
import org.gitnex.tea4j.v2.models.AnnotatedTag;
@@ -538,10 +539,10 @@ public interface RepositoryApi {
* @param headSha triggering sha of the workflow run (optional)
* @param page page number of results to return (1-based) (optional)
* @param limit page size of results (optional)
* @return Call&lt;ActionArtifactsResponse&gt;
* @return Call&lt;ActionWorkflowRunsResponse&gt;
*/
@GET("repos/{owner}/{repo}/actions/runs")
Call<ActionArtifactsResponse> getWorkflowRuns(
Call<ActionWorkflowRunsResponse> getWorkflowRuns(
@retrofit2.http.Path("owner") String owner,
@retrofit2.http.Path("repo") String repo,
@retrofit2.http.Query("event") String event,