Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2026-03-02 00:03:21 +00:00
parent 94390b73da
commit 8f195637a0
6 changed files with 152 additions and 100 deletions
+6 -4
View File
@@ -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**