executeActionWithHttpInfo method
Renderer-side execute alias. The canonical endpoint is POST /v1/agent/actions/execute; this path delegates to the same handler.
Note: This method returns the HTTP Response.
Parameters:
- ExecuteActionRequest executeActionRequest (required):
Implementation
Future<Response> executeActionWithHttpInfo(ExecuteActionRequest executeActionRequest,) async {
// ignore: prefer_const_declarations
final path = r'/v1/actions/execute';
// ignore: prefer_final_locals
Object? postBody = executeActionRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}