mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-26 11:00:37 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -381,7 +381,7 @@ Name | Type | Description | Notes
|
||||
|
||||
<a name="actionsDispatchWorkflow"></a>
|
||||
# **actionsDispatchWorkflow**
|
||||
> Void actionsDispatchWorkflow(owner, repo, workflowId, body)
|
||||
> RunDetails actionsDispatchWorkflow(owner, repo, workflowId, body, returnRunDetails)
|
||||
|
||||
Create a workflow dispatch event
|
||||
|
||||
@@ -441,8 +441,9 @@ String owner = "owner_example"; // String | owner of the repo
|
||||
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.
|
||||
try {
|
||||
Void result = apiInstance.actionsDispatchWorkflow(owner, repo, workflowId, body);
|
||||
RunDetails result = apiInstance.actionsDispatchWorkflow(owner, repo, workflowId, body, returnRunDetails);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling RepositoryApi#actionsDispatchWorkflow");
|
||||
@@ -458,10 +459,11 @@ Name | Type | Description | Notes
|
||||
**repo** | **String**| name of the repo |
|
||||
**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]
|
||||
|
||||
### Return type
|
||||
|
||||
[**Void**](.md)
|
||||
[**RunDetails**](RunDetails.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
@@ -470,7 +472,7 @@ Name | Type | Description | Notes
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json, text/plain
|
||||
- **Accept**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
<a name="actionsEnableWorkflow"></a>
|
||||
# **actionsEnableWorkflow**
|
||||
|
||||
Reference in New Issue
Block a user