mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-07-01 22:58:26 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -389,7 +389,7 @@ Name | Type | Description | Notes
|
||||
|
||||
<a name="actionsDispatchWorkflow"></a>
|
||||
# **actionsDispatchWorkflow**
|
||||
> RunDetails actionsDispatchWorkflow(owner, repo, workflowId, body, returnRunDetails)
|
||||
> RunDetails actionsDispatchWorkflow(owner, repo, workflowId, body, returnRunDetails, scopedWorkflowSourceRepoId)
|
||||
|
||||
Create a workflow dispatch event
|
||||
|
||||
@@ -450,8 +450,9 @@ String repo = "repo_example"; // String | name of the repo
|
||||
String workflowId = "workflowId_example"; // String | id of the workflow
|
||||
CreateActionWorkflowDispatch body = new CreateActionWorkflowDispatch(); // CreateActionWorkflowDispatch |
|
||||
Boolean returnRunDetails = true; // Boolean | Whether the response should include the workflow run ID and URLs.
|
||||
Long scopedWorkflowSourceRepoId = 789L; // Long | For a scoped workflow, the ID of the source repository providing it; omit or 0 for a repo-level workflow.
|
||||
try {
|
||||
RunDetails result = apiInstance.actionsDispatchWorkflow(owner, repo, workflowId, body, returnRunDetails);
|
||||
RunDetails result = apiInstance.actionsDispatchWorkflow(owner, repo, workflowId, body, returnRunDetails, scopedWorkflowSourceRepoId);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling RepositoryApi#actionsDispatchWorkflow");
|
||||
@@ -468,6 +469,7 @@ Name | Type | Description | Notes
|
||||
**workflowId** | **String**| id of the workflow |
|
||||
**body** | [**CreateActionWorkflowDispatch**](CreateActionWorkflowDispatch.md)| | [optional]
|
||||
**returnRunDetails** | **Boolean**| Whether the response should include the workflow run ID and URLs. | [optional]
|
||||
**scopedWorkflowSourceRepoId** | **Long**| For a scoped workflow, the ID of the source repository providing it; omit or 0 for a repo-level workflow. | [optional]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -755,7 +757,7 @@ Name | Type | Description | Notes
|
||||
|
||||
<a name="actionsListWorkflowRuns"></a>
|
||||
# **actionsListWorkflowRuns**
|
||||
> ActionWorkflowRunsResponse actionsListWorkflowRuns(owner, repo, workflowId, event, branch, status, actor, headSha, excludePullRequests, page, limit)
|
||||
> ActionWorkflowRunsResponse actionsListWorkflowRuns(owner, repo, workflowId, event, branch, status, actor, headSha, excludePullRequests, scopedWorkflowSourceRepoId, page, limit)
|
||||
|
||||
List runs for a workflow
|
||||
|
||||
@@ -820,10 +822,11 @@ String status = "status_example"; // String | workflow status (pending, queued,
|
||||
String actor = "actor_example"; // String | triggered by user
|
||||
String headSha = "headSha_example"; // String | triggering sha of the workflow run
|
||||
Boolean excludePullRequests = true; // Boolean | if true, the `pull_requests` field on each returned run is emptied
|
||||
Long scopedWorkflowSourceRepoId = 789L; // Long | For a scoped workflow, the ID of the source repository providing it; omit or 0 for a repo-level workflow.
|
||||
Integer page = 56; // Integer | page number of results to return (1-based)
|
||||
Integer limit = 56; // Integer | page size of results
|
||||
try {
|
||||
ActionWorkflowRunsResponse result = apiInstance.actionsListWorkflowRuns(owner, repo, workflowId, event, branch, status, actor, headSha, excludePullRequests, page, limit);
|
||||
ActionWorkflowRunsResponse result = apiInstance.actionsListWorkflowRuns(owner, repo, workflowId, event, branch, status, actor, headSha, excludePullRequests, scopedWorkflowSourceRepoId, page, limit);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling RepositoryApi#actionsListWorkflowRuns");
|
||||
@@ -844,6 +847,7 @@ Name | Type | Description | Notes
|
||||
**actor** | **String**| triggered by user | [optional]
|
||||
**headSha** | **String**| triggering sha of the workflow run | [optional]
|
||||
**excludePullRequests** | **Boolean**| if true, the `pull_requests` field on each returned run is emptied | [optional]
|
||||
**scopedWorkflowSourceRepoId** | **Long**| For a scoped workflow, the ID of the source repository providing it; omit or 0 for a repo-level workflow. | [optional]
|
||||
**page** | **Integer**| page number of results to return (1-based) | [optional]
|
||||
**limit** | **Integer**| page size of results | [optional]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user