getAutoRunsByIdWithHttpInfo method
Returns one run.
Returns one run. A run that has not reached a terminal status is refreshed from the durable engine first — scoped to the org's own namespace — so the caller sees live progress rather than the last status that happened to be persisted.
Note: This method returns the HTTP Response.
Parameters:
- String id (required): ID is the run to read, from the path.
Implementation
Future<Response> getAutoRunsByIdWithHttpInfo(String id,) async {
// ignore: prefer_const_declarations
final path = r'/v1/auto/runs/{id}'
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}