findWithHttpInfo method
Find a metric
Finds the metrics that match the query
Note: This method returns the HTTP Response
.
Parameters:
- String query (required):
Implementation
Future<Response> findWithHttpInfo(
String query,
) async {
// ignore: prefer_const_declarations
final path = r'/metrics/find';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'query', query));
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}