Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.71 KB

SystemdiagnosticsApi.md

File metadata and controls

56 lines (37 loc) · 1.71 KB

SystemdiagnosticsApi

All URIs are relative to http://localhost/nifi-api

Method HTTP request Description
getSystemDiagnostics GET /system-diagnostics Gets the diagnostics for the system NiFi is running on

getSystemDiagnostics

SystemDiagnosticsEntity getSystemDiagnostics(nodewise, clusterNodeId)

Gets the diagnostics for the system NiFi is running on

Example

// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.SystemdiagnosticsApi;


SystemdiagnosticsApi apiInstance = new SystemdiagnosticsApi();
Boolean nodewise = true; // Boolean | Whether or not to include the breakdown per node. Optional, defaults to false
String clusterNodeId = "clusterNodeId_example"; // String | The id of the node where to get the status.
try {
    SystemDiagnosticsEntity result = apiInstance.getSystemDiagnostics(nodewise, clusterNodeId);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling SystemdiagnosticsApi#getSystemDiagnostics");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
nodewise Boolean Whether or not to include the breakdown per node. Optional, defaults to false [optional]
clusterNodeId String The id of the node where to get the status. [optional]

Return type

SystemDiagnosticsEntity

Authorization

No authorization required

HTTP request headers

  • Content-Type: /
  • Accept: application/json