All URIs are relative to http://localhost/nifi-api
| Method | HTTP request | Description |
|---|---|---|
| createBulletin | POST /controller/bulletin | Creates a new bulletin |
| createControllerService | POST /controller/controller-services | Creates a new controller service |
| createFlowRegistryClient | POST /controller/registry-clients | Creates a new flow registry client |
| createParameterProvider | POST /controller/parameter-providers | Creates a new parameter provider |
| createReportingTask | POST /controller/reporting-tasks | Creates a new reporting task |
| deleteFlowRegistryClient | DELETE /controller/registry-clients/{id} | Deletes a flow registry client |
| deleteHistory | DELETE /controller/history | Purges history |
| deleteNode | DELETE /controller/cluster/nodes/{id} | Removes a node from the cluster |
| getCluster | GET /controller/cluster | Gets the contents of the cluster |
| getControllerConfig | GET /controller/config | Retrieves the configuration for this NiFi Controller |
| getFlowRegistryClient | GET /controller/registry-clients/{id} | Gets a flow registry client |
| getFlowRegistryClients | GET /controller/registry-clients | Gets the listing of available flow registry clients |
| getNode | GET /controller/cluster/nodes/{id} | Gets a node in the cluster |
| getNodeStatusHistory | GET /controller/status/history | Gets status history for the node |
| getPropertyDescriptor | GET /controller/registry-clients/{id}/descriptors | Gets a flow registry client property descriptor |
| getRegistryClientTypes | GET /controller/registry-types | Retrieves the types of flow that this NiFi supports |
| updateControllerConfig | PUT /controller/config | Retrieves the configuration for this NiFi |
| updateFlowRegistryClient | PUT /controller/registry-clients/{id} | Updates a flow registry client |
| updateNode | PUT /controller/cluster/nodes/{id} | Updates a node in the cluster |
BulletinEntity createBulletin(body)
Creates a new bulletin
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
BulletinEntity body = new BulletinEntity(); // BulletinEntity | The reporting task configuration details.
try {
BulletinEntity result = apiInstance.createBulletin(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#createBulletin");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | BulletinEntity | The reporting task configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
ControllerServiceEntity createControllerService(body)
Creates a new controller service
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
ControllerServiceEntity body = new ControllerServiceEntity(); // ControllerServiceEntity | The controller service configuration details.
try {
ControllerServiceEntity result = apiInstance.createControllerService(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#createControllerService");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | ControllerServiceEntity | The controller service configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
FlowRegistryClientEntity createFlowRegistryClient(body)
Creates a new flow registry client
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
FlowRegistryClientEntity body = new FlowRegistryClientEntity(); // FlowRegistryClientEntity | The flow registry client configuration details.
try {
FlowRegistryClientEntity result = apiInstance.createFlowRegistryClient(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#createFlowRegistryClient");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | FlowRegistryClientEntity | The flow registry client configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
ParameterProviderEntity createParameterProvider(body)
Creates a new parameter provider
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
ParameterProviderEntity body = new ParameterProviderEntity(); // ParameterProviderEntity | The parameter provider configuration details.
try {
ParameterProviderEntity result = apiInstance.createParameterProvider(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#createParameterProvider");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | ParameterProviderEntity | The parameter provider configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
ReportingTaskEntity createReportingTask(body)
Creates a new reporting task
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
ReportingTaskEntity body = new ReportingTaskEntity(); // ReportingTaskEntity | The reporting task configuration details.
try {
ReportingTaskEntity result = apiInstance.createReportingTask(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#createReportingTask");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | ReportingTaskEntity | The reporting task configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
FlowRegistryClientEntity deleteFlowRegistryClient(id, version, clientId, disconnectedNodeAcknowledged)
Deletes a flow registry client
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
String id = "id_example"; // String | The flow registry client id.
String version = "version_example"; // String | The revision is used to verify the client is working with the latest version of the flow.
String clientId = "clientId_example"; // String | If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.
Boolean disconnectedNodeAcknowledged = false; // Boolean | Acknowledges that this node is disconnected to allow for mutable requests to proceed.
try {
FlowRegistryClientEntity result = apiInstance.deleteFlowRegistryClient(id, version, clientId, disconnectedNodeAcknowledged);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#deleteFlowRegistryClient");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The flow registry client id. | |
| version | String | The revision is used to verify the client is working with the latest version of the flow. | [optional] |
| clientId | String | If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. | [optional] |
| disconnectedNodeAcknowledged | Boolean | Acknowledges that this node is disconnected to allow for mutable requests to proceed. | [optional] [default to false] |
No authorization required
- Content-Type: /
- Accept: application/json
HistoryEntity deleteHistory(endDate)
Purges history
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
String endDate = "endDate_example"; // String | Purge actions before this date/time.
try {
HistoryEntity result = apiInstance.deleteHistory(endDate);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#deleteHistory");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| endDate | String | Purge actions before this date/time. |
No authorization required
- Content-Type: /
- Accept: application/json
NodeEntity deleteNode(id)
Removes a node from the cluster
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
String id = "id_example"; // String | The node id.
try {
NodeEntity result = apiInstance.deleteNode(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#deleteNode");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The node id. |
No authorization required
- Content-Type: /
- Accept: application/json
ClusterEntity getCluster()
Gets the contents of the cluster
Returns the contents of the cluster including all nodes and their status.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
try {
ClusterEntity result = apiInstance.getCluster();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#getCluster");
e.printStackTrace();
}This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
ControllerConfigurationEntity getControllerConfig()
Retrieves the configuration for this NiFi Controller
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
try {
ControllerConfigurationEntity result = apiInstance.getControllerConfig();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#getControllerConfig");
e.printStackTrace();
}This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
FlowRegistryClientEntity getFlowRegistryClient(id)
Gets a flow registry client
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
String id = "id_example"; // String | The flow registry client id.
try {
FlowRegistryClientEntity result = apiInstance.getFlowRegistryClient(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#getFlowRegistryClient");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The flow registry client id. |
No authorization required
- Content-Type: /
- Accept: application/json
FlowRegistryClientsEntity getFlowRegistryClients()
Gets the listing of available flow registry clients
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
try {
FlowRegistryClientsEntity result = apiInstance.getFlowRegistryClients();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#getFlowRegistryClients");
e.printStackTrace();
}This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
NodeEntity getNode(id)
Gets a node in the cluster
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
String id = "id_example"; // String | The node id.
try {
NodeEntity result = apiInstance.getNode(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#getNode");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The node id. |
No authorization required
- Content-Type: /
- Accept: application/json
ComponentHistoryEntity getNodeStatusHistory()
Gets status history for the node
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
try {
ComponentHistoryEntity result = apiInstance.getNodeStatusHistory();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#getNodeStatusHistory");
e.printStackTrace();
}This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
PropertyDescriptorEntity getPropertyDescriptor(id, propertyName, sensitive)
Gets a flow registry client property descriptor
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
String id = "id_example"; // String | The flow registry client id.
String propertyName = "propertyName_example"; // String | The property name.
Boolean sensitive = false; // Boolean | Property Descriptor requested sensitive status
try {
PropertyDescriptorEntity result = apiInstance.getPropertyDescriptor(id, propertyName, sensitive);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#getPropertyDescriptor");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The flow registry client id. | |
| propertyName | String | The property name. | |
| sensitive | Boolean | Property Descriptor requested sensitive status | [optional] [default to false] |
No authorization required
- Content-Type: /
- Accept: application/json
FlowRegistryClientTypesEntity getRegistryClientTypes()
Retrieves the types of flow that this NiFi supports
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
try {
FlowRegistryClientTypesEntity result = apiInstance.getRegistryClientTypes();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#getRegistryClientTypes");
e.printStackTrace();
}This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
ControllerConfigurationEntity updateControllerConfig(body)
Retrieves the configuration for this NiFi
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
ControllerConfigurationEntity body = new ControllerConfigurationEntity(); // ControllerConfigurationEntity | The controller configuration.
try {
ControllerConfigurationEntity result = apiInstance.updateControllerConfig(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#updateControllerConfig");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | ControllerConfigurationEntity | The controller configuration. |
No authorization required
- Content-Type: application/json
- Accept: application/json
FlowRegistryClientEntity updateFlowRegistryClient(id, body)
Updates a flow registry client
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
String id = "id_example"; // String | The flow registry client id.
FlowRegistryClientEntity body = new FlowRegistryClientEntity(); // FlowRegistryClientEntity | The flow registry client configuration details.
try {
FlowRegistryClientEntity result = apiInstance.updateFlowRegistryClient(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#updateFlowRegistryClient");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The flow registry client id. | |
| body | FlowRegistryClientEntity | The flow registry client configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
NodeEntity updateNode(id, body)
Updates a node in the cluster
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ControllerApi;
ControllerApi apiInstance = new ControllerApi();
String id = "id_example"; // String | The node id.
NodeEntity body = new NodeEntity(); // NodeEntity | The node configuration. The only configuration that will be honored at this endpoint is the status.
try {
NodeEntity result = apiInstance.updateNode(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControllerApi#updateNode");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The node id. | |
| body | NodeEntity | The node configuration. The only configuration that will be honored at this endpoint is the status. |
No authorization required
- Content-Type: application/json
- Accept: application/json