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 |
SystemDiagnosticsEntity getSystemDiagnostics(nodewise, clusterNodeId)
Gets the diagnostics for the system NiFi is running on
// 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();
}
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] |
No authorization required
- Content-Type: /
- Accept: application/json