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:
@@ -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<ActionArtifactsResponse>
|
||||
* @return Call<ActionWorkflowRunsResponse>
|
||||
*/
|
||||
@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,
|
||||
|
||||
Reference in New Issue
Block a user