All URIs are relative to http://localhost/nifi-api
Method | HTTP request | Description |
---|---|---|
getFunnel | GET /funnels/{id} | Gets a funnel |
removeFunnel | DELETE /funnels/{id} | Deletes a funnel |
updateFunnel | PUT /funnels/{id} | Updates a funnel |
FunnelEntity getFunnel(id)
Gets a funnel
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.FunnelApi;
FunnelApi apiInstance = new FunnelApi();
String id = "id_example"; // String | The funnel id.
try {
FunnelEntity result = apiInstance.getFunnel(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FunnelApi#getFunnel");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | The funnel id. |
No authorization required
- Content-Type: /
- Accept: application/json
FunnelEntity removeFunnel(id, version, clientId, disconnectedNodeAcknowledged)
Deletes a funnel
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.FunnelApi;
FunnelApi apiInstance = new FunnelApi();
String id = "id_example"; // String | The funnel 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 {
FunnelEntity result = apiInstance.removeFunnel(id, version, clientId, disconnectedNodeAcknowledged);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FunnelApi#removeFunnel");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | The funnel 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
FunnelEntity updateFunnel(id, body)
Updates a funnel
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.FunnelApi;
FunnelApi apiInstance = new FunnelApi();
String id = "id_example"; // String | The funnel id.
FunnelEntity body = new FunnelEntity(); // FunnelEntity | The funnel configuration details.
try {
FunnelEntity result = apiInstance.updateFunnel(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FunnelApi#updateFunnel");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | The funnel id. | |
body | FunnelEntity | The funnel configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json