postAutoConnectorsByIdRunWithHttpInfo method
Run executes one connector action in-process and answers the outcome.
Run executes one connector action in-process and answers the outcome. The caller's resolved credential travels in auth, delivered to the action verbatim — the runtime resolves no credential itself. An action that ran and failed (or an action name the connector does not have) answers ok:false with the failure message, not an HTTP error; an unknown connector is 404 and a missing action 422.
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> postAutoConnectorsByIdRunWithHttpInfo(String id, RunIn runIn,) async {
// ignore: prefer_const_declarations
final path = r'/v1/auto/connectors/{id}/run'
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = runIn;
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,
);
}