getPlanHealthWithHttpInfo method

Future<Response> getPlanHealthWithHttpInfo()

Health reports that the plans subsystem is mounted and serving.

Health reports that the plans subsystem is mounted and serving. It answers from the process itself and consults neither the catalog bundle nor the goja host, so it stays "ok" while either is degraded.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getPlanHealthWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/plan/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,
  );
}