getNotifyHealthWithHttpInfo method

Future<Response> getNotifyHealthWithHttpInfo()

Reports that the notify send surface is mounted.

Reports that the notify send surface is mounted. It is a pure liveness probe: it answers 200 whenever this subsystem is mounted and checks nothing downstream, so an "ok" here says the routes are reachable, not that any provider credential is configured. The body is notifyd's verbatim, so probes and clients that keyed on the standalone service keep working unchanged.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getNotifyHealthWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/notify/health';

  // 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,
  );
}