All URIs are relative to http://localhost/nifi-api
Method | HTTP request | Description |
---|---|---|
ActivateControllerServices | PUT /flow/process-groups/{id}/controller-services | Enable or disable Controller Services in the specified Process Group. |
GenerateClientId | GET /flow/client-id | Generates a client id. |
GetAboutInfo | GET /flow/about | Retrieves details about this NiFi to put in the About dialog |
GetAction | GET /flow/history/{id} | Gets an action |
GetBanners | GET /flow/banners | Retrieves the banners for this NiFi |
GetBuckets | GET /flow/registries/{id}/buckets | Gets the buckets from the specified registry for the current user |
GetBulletinBoard | GET /flow/bulletin-board | Gets current bulletins |
GetBulletins | GET /flow/controller/bulletins | Retrieves Controller level bulletins |
GetClusterSummary | GET /flow/cluster/summary | The cluster summary for this NiFi |
GetComponentHistory | GET /flow/history/components/{componentId} | Gets configuration history for a component |
GetConnectionStatus | GET /flow/connections/{id}/status | Gets status for a connection |
GetConnectionStatusHistory | GET /flow/connections/{id}/status/history | Gets the status history for a connection |
GetControllerServiceTypes | GET /flow/controller-service-types | Retrieves the types of controller services that this NiFi supports |
GetControllerServicesFromController | GET /flow/controller/controller-services | Gets controller services for reporting tasks |
GetControllerServicesFromGroup | GET /flow/process-groups/{id}/controller-services | Gets all controller services |
GetControllerStatus | GET /flow/status | Gets the current status of this NiFi |
GetCurrentUser | GET /flow/current-user | Retrieves the user identity of the user making the request |
GetFlow | GET /flow/process-groups/{id} | Gets a process group |
GetFlowConfig | GET /flow/config | Retrieves the configuration for this NiFi flow |
GetFlows | GET /flow/registries/{registry-id}/buckets/{bucket-id}/flows | Gets the flows from the specified registry and bucket for the current user |
GetInputPortStatus | GET /flow/input-ports/{id}/status | Gets status for an input port |
GetOutputPortStatus | GET /flow/output-ports/{id}/status | Gets status for an output port |
GetPrioritizers | GET /flow/prioritizers | Retrieves the types of prioritizers that this NiFi supports |
GetProcessGroupStatus | GET /flow/process-groups/{id}/status | Gets the status for a process group |
GetProcessGroupStatusHistory | GET /flow/process-groups/{id}/status/history | Gets status history for a remote process group |
GetProcessorStatus | GET /flow/processors/{id}/status | Gets status for a processor |
GetProcessorStatusHistory | GET /flow/processors/{id}/status/history | Gets status history for a processor |
GetProcessorTypes | GET /flow/processor-types | Retrieves the types of processors that this NiFi supports |
GetRegistries | GET /flow/registries | Gets the listing of available registries |
GetRemoteProcessGroupStatus | GET /flow/remote-process-groups/{id}/status | Gets status for a remote process group |
GetRemoteProcessGroupStatusHistory | GET /flow/remote-process-groups/{id}/status/history | Gets the status history |
GetReportingTaskTypes | GET /flow/reporting-task-types | Retrieves the types of reporting tasks that this NiFi supports |
GetReportingTasks | GET /flow/reporting-tasks | Gets all reporting tasks |
GetTemplates | GET /flow/templates | Gets all templates |
GetVersions | GET /flow/registries/{registry-id}/buckets/{bucket-id}/flows/{flow-id}/versions | Gets the flow versions from the specified registry and bucket for the specified flow for the current user |
QueryHistory | GET /flow/history | Gets configuration history |
ScheduleComponents | PUT /flow/process-groups/{id} | Schedule or unschedule components in the specified Process Group. |
SearchCluster | GET /flow/cluster/search-results | Searches the cluster for a node with the specified address |
SearchFlow | GET /flow/search-results | Performs a search against this NiFi using the specified search term |
ActivateControllerServicesEntity ActivateControllerServices (string id, ActivateControllerServicesEntity body)
Enable or disable Controller Services in the specified Process Group.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ActivateControllerServicesExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The process group id.
var body = new ActivateControllerServicesEntity(); // ActivateControllerServicesEntity | The request to schedule or unschedule. If the comopnents in the request are not specified, all authorized components will be considered.
try
{
// Enable or disable Controller Services in the specified Process Group.
ActivateControllerServicesEntity result = apiInstance.ActivateControllerServices(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.ActivateControllerServices: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | ActivateControllerServicesEntity | The request to schedule or unschedule. If the comopnents in the request are not specified, all authorized components will be considered. |
ActivateControllerServicesEntity
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string GenerateClientId ()
Generates a client id.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GenerateClientIdExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Generates a client id.
string result = apiInstance.GenerateClientId();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GenerateClientId: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
string
No authorization required
- Content-Type: /
- Accept: text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AboutEntity GetAboutInfo ()
Retrieves details about this NiFi to put in the About dialog
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetAboutInfoExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Retrieves details about this NiFi to put in the About dialog
AboutEntity result = apiInstance.GetAboutInfo();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetAboutInfo: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ActionEntity GetAction (string id)
Gets an action
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetActionExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The action id.
try
{
// Gets an action
ActionEntity result = apiInstance.GetAction(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetAction: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The action id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BannerEntity GetBanners ()
Retrieves the banners for this NiFi
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetBannersExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Retrieves the banners for this NiFi
BannerEntity result = apiInstance.GetBanners();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetBanners: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BucketsEntity GetBuckets (string id)
Gets the buckets from the specified registry for the current user
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetBucketsExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The registry id.
try
{
// Gets the buckets from the specified registry for the current user
BucketsEntity result = apiInstance.GetBuckets(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetBuckets: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The registry id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BulletinBoardEntity GetBulletinBoard (string after = null, string sourceName = null, string message = null, string sourceId = null, string groupId = null, string limit = null)
Gets current bulletins
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetBulletinBoardExample
{
public void main()
{
var apiInstance = new FlowApi();
var after = after_example; // string | Includes bulletins with an id after this value. (optional)
var sourceName = sourceName_example; // string | Includes bulletins originating from this sources whose name match this regular expression. (optional)
var message = message_example; // string | Includes bulletins whose message that match this regular expression. (optional)
var sourceId = sourceId_example; // string | Includes bulletins originating from this sources whose id match this regular expression. (optional)
var groupId = groupId_example; // string | Includes bulletins originating from this sources whose group id match this regular expression. (optional)
var limit = limit_example; // string | The number of bulletins to limit the response to. (optional)
try
{
// Gets current bulletins
BulletinBoardEntity result = apiInstance.GetBulletinBoard(after, sourceName, message, sourceId, groupId, limit);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetBulletinBoard: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
after | string | Includes bulletins with an id after this value. | [optional] |
sourceName | string | Includes bulletins originating from this sources whose name match this regular expression. | [optional] |
message | string | Includes bulletins whose message that match this regular expression. | [optional] |
sourceId | string | Includes bulletins originating from this sources whose id match this regular expression. | [optional] |
groupId | string | Includes bulletins originating from this sources whose group id match this regular expression. | [optional] |
limit | string | The number of bulletins to limit the response to. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ControllerBulletinsEntity GetBulletins ()
Retrieves Controller level bulletins
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetBulletinsExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Retrieves Controller level bulletins
ControllerBulletinsEntity result = apiInstance.GetBulletins();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetBulletins: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusteSummaryEntity GetClusterSummary ()
The cluster summary for this NiFi
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetClusterSummaryExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// The cluster summary for this NiFi
ClusteSummaryEntity result = apiInstance.GetClusterSummary();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetClusterSummary: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ComponentHistoryEntity GetComponentHistory (string componentId)
Gets configuration history for a component
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetComponentHistoryExample
{
public void main()
{
var apiInstance = new FlowApi();
var componentId = componentId_example; // string | The component id.
try
{
// Gets configuration history for a component
ComponentHistoryEntity result = apiInstance.GetComponentHistory(componentId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetComponentHistory: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
componentId | string | The component id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConnectionStatusEntity GetConnectionStatus (string id, bool? nodewise = null, string clusterNodeId = null)
Gets status for a connection
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetConnectionStatusExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The connection id.
var nodewise = true; // bool? | Whether or not to include the breakdown per node. Optional, defaults to false (optional) (default to false)
var clusterNodeId = clusterNodeId_example; // string | The id of the node where to get the status. (optional)
try
{
// Gets status for a connection
ConnectionStatusEntity result = apiInstance.GetConnectionStatus(id, nodewise, clusterNodeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetConnectionStatus: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The connection id. | |
nodewise | bool? | Whether or not to include the breakdown per node. Optional, defaults to false | [optional] [default to false] |
clusterNodeId | string | The id of the node where to get the status. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StatusHistoryEntity GetConnectionStatusHistory (string id)
Gets the status history for a connection
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetConnectionStatusHistoryExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The connection id.
try
{
// Gets the status history for a connection
StatusHistoryEntity result = apiInstance.GetConnectionStatusHistory(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetConnectionStatusHistory: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The connection id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ControllerServiceTypesEntity GetControllerServiceTypes (string serviceType = null, string serviceBundleGroup = null, string serviceBundleArtifact = null, string serviceBundleVersion = null, string bundleGroupFilter = null, string bundleArtifactFilter = null, string typeFilter = null)
Retrieves the types of controller services that this NiFi supports
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetControllerServiceTypesExample
{
public void main()
{
var apiInstance = new FlowApi();
var serviceType = serviceType_example; // string | If specified, will only return controller services that are compatible with this type of service. (optional)
var serviceBundleGroup = serviceBundleGroup_example; // string | If serviceType specified, is the bundle group of the serviceType. (optional)
var serviceBundleArtifact = serviceBundleArtifact_example; // string | If serviceType specified, is the bundle artifact of the serviceType. (optional)
var serviceBundleVersion = serviceBundleVersion_example; // string | If serviceType specified, is the bundle version of the serviceType. (optional)
var bundleGroupFilter = bundleGroupFilter_example; // string | If specified, will only return types that are a member of this bundle group. (optional)
var bundleArtifactFilter = bundleArtifactFilter_example; // string | If specified, will only return types that are a member of this bundle artifact. (optional)
var typeFilter = typeFilter_example; // string | If specified, will only return types whose fully qualified classname matches. (optional)
try
{
// Retrieves the types of controller services that this NiFi supports
ControllerServiceTypesEntity result = apiInstance.GetControllerServiceTypes(serviceType, serviceBundleGroup, serviceBundleArtifact, serviceBundleVersion, bundleGroupFilter, bundleArtifactFilter, typeFilter);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetControllerServiceTypes: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
serviceType | string | If specified, will only return controller services that are compatible with this type of service. | [optional] |
serviceBundleGroup | string | If serviceType specified, is the bundle group of the serviceType. | [optional] |
serviceBundleArtifact | string | If serviceType specified, is the bundle artifact of the serviceType. | [optional] |
serviceBundleVersion | string | If serviceType specified, is the bundle version of the serviceType. | [optional] |
bundleGroupFilter | string | If specified, will only return types that are a member of this bundle group. | [optional] |
bundleArtifactFilter | string | If specified, will only return types that are a member of this bundle artifact. | [optional] |
typeFilter | string | If specified, will only return types whose fully qualified classname matches. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ControllerServicesEntity GetControllerServicesFromController ()
Gets controller services for reporting tasks
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetControllerServicesFromControllerExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Gets controller services for reporting tasks
ControllerServicesEntity result = apiInstance.GetControllerServicesFromController();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetControllerServicesFromController: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ControllerServicesEntity GetControllerServicesFromGroup (string id, bool? includeAncestorGroups = null, bool? includeDescendantGroups = null)
Gets all controller services
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetControllerServicesFromGroupExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The process group id.
var includeAncestorGroups = true; // bool? | Whether or not to include parent/ancestory process groups (optional) (default to true)
var includeDescendantGroups = true; // bool? | Whether or not to include descendant process groups (optional) (default to false)
try
{
// Gets all controller services
ControllerServicesEntity result = apiInstance.GetControllerServicesFromGroup(id, includeAncestorGroups, includeDescendantGroups);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetControllerServicesFromGroup: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
includeAncestorGroups | bool? | Whether or not to include parent/ancestory process groups | [optional] [default to true] |
includeDescendantGroups | bool? | Whether or not to include descendant process groups | [optional] [default to false] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ControllerStatusEntity GetControllerStatus ()
Gets the current status of this NiFi
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetControllerStatusExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Gets the current status of this NiFi
ControllerStatusEntity result = apiInstance.GetControllerStatus();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetControllerStatus: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CurrentUserEntity GetCurrentUser ()
Retrieves the user identity of the user making the request
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetCurrentUserExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Retrieves the user identity of the user making the request
CurrentUserEntity result = apiInstance.GetCurrentUser();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetCurrentUser: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessGroupFlowEntity GetFlow (string id)
Gets a process group
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetFlowExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The process group id.
try
{
// Gets a process group
ProcessGroupFlowEntity result = apiInstance.GetFlow(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetFlow: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FlowConfigurationEntity GetFlowConfig ()
Retrieves the configuration for this NiFi flow
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetFlowConfigExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Retrieves the configuration for this NiFi flow
FlowConfigurationEntity result = apiInstance.GetFlowConfig();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetFlowConfig: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VersionedFlowsEntity GetFlows (string registryId, string bucketId)
Gets the flows from the specified registry and bucket for the current user
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetFlowsExample
{
public void main()
{
var apiInstance = new FlowApi();
var registryId = registryId_example; // string | The registry id.
var bucketId = bucketId_example; // string | The bucket id.
try
{
// Gets the flows from the specified registry and bucket for the current user
VersionedFlowsEntity result = apiInstance.GetFlows(registryId, bucketId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetFlows: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
registryId | string | The registry id. | |
bucketId | string | The bucket id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PortStatusEntity GetInputPortStatus (string id, bool? nodewise = null, string clusterNodeId = null)
Gets status for an input port
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetInputPortStatusExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The input port id.
var nodewise = true; // bool? | Whether or not to include the breakdown per node. Optional, defaults to false (optional) (default to false)
var clusterNodeId = clusterNodeId_example; // string | The id of the node where to get the status. (optional)
try
{
// Gets status for an input port
PortStatusEntity result = apiInstance.GetInputPortStatus(id, nodewise, clusterNodeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetInputPortStatus: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The input port id. | |
nodewise | bool? | Whether or not to include the breakdown per node. Optional, defaults to false | [optional] [default to false] |
clusterNodeId | string | The id of the node where to get the status. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PortStatusEntity GetOutputPortStatus (string id, bool? nodewise = null, string clusterNodeId = null)
Gets status for an output port
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetOutputPortStatusExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The output port id.
var nodewise = true; // bool? | Whether or not to include the breakdown per node. Optional, defaults to false (optional) (default to false)
var clusterNodeId = clusterNodeId_example; // string | The id of the node where to get the status. (optional)
try
{
// Gets status for an output port
PortStatusEntity result = apiInstance.GetOutputPortStatus(id, nodewise, clusterNodeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetOutputPortStatus: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The output port id. | |
nodewise | bool? | Whether or not to include the breakdown per node. Optional, defaults to false | [optional] [default to false] |
clusterNodeId | string | The id of the node where to get the status. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PrioritizerTypesEntity GetPrioritizers ()
Retrieves the types of prioritizers that this NiFi supports
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetPrioritizersExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Retrieves the types of prioritizers that this NiFi supports
PrioritizerTypesEntity result = apiInstance.GetPrioritizers();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetPrioritizers: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessGroupStatusEntity GetProcessGroupStatus (string id, bool? recursive = null, bool? nodewise = null, string clusterNodeId = null)
Gets the status for a process group
The status for a process group includes status for all descendent components. When invoked on the root group with recursive set to true, it will return the current status of every component in the flow.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetProcessGroupStatusExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The process group id.
var recursive = true; // bool? | Whether all descendant groups and the status of their content will be included. Optional, defaults to false (optional) (default to false)
var nodewise = true; // bool? | Whether or not to include the breakdown per node. Optional, defaults to false (optional) (default to false)
var clusterNodeId = clusterNodeId_example; // string | The id of the node where to get the status. (optional)
try
{
// Gets the status for a process group
ProcessGroupStatusEntity result = apiInstance.GetProcessGroupStatus(id, recursive, nodewise, clusterNodeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetProcessGroupStatus: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
recursive | bool? | Whether all descendant groups and the status of their content will be included. Optional, defaults to false | [optional] [default to false] |
nodewise | bool? | Whether or not to include the breakdown per node. Optional, defaults to false | [optional] [default to false] |
clusterNodeId | string | The id of the node where to get the status. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StatusHistoryEntity GetProcessGroupStatusHistory (string id)
Gets status history for a remote process group
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetProcessGroupStatusHistoryExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The process group id.
try
{
// Gets status history for a remote process group
StatusHistoryEntity result = apiInstance.GetProcessGroupStatusHistory(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetProcessGroupStatusHistory: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessorStatusEntity GetProcessorStatus (string id, bool? nodewise = null, string clusterNodeId = null)
Gets status for a processor
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetProcessorStatusExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The processor id.
var nodewise = true; // bool? | Whether or not to include the breakdown per node. Optional, defaults to false (optional) (default to false)
var clusterNodeId = clusterNodeId_example; // string | The id of the node where to get the status. (optional)
try
{
// Gets status for a processor
ProcessorStatusEntity result = apiInstance.GetProcessorStatus(id, nodewise, clusterNodeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetProcessorStatus: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The processor id. | |
nodewise | bool? | Whether or not to include the breakdown per node. Optional, defaults to false | [optional] [default to false] |
clusterNodeId | string | The id of the node where to get the status. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StatusHistoryEntity GetProcessorStatusHistory (string id)
Gets status history for a processor
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetProcessorStatusHistoryExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The processor id.
try
{
// Gets status history for a processor
StatusHistoryEntity result = apiInstance.GetProcessorStatusHistory(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetProcessorStatusHistory: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The processor id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessorTypesEntity GetProcessorTypes (string bundleGroupFilter = null, string bundleArtifactFilter = null, string type = null)
Retrieves the types of processors that this NiFi supports
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetProcessorTypesExample
{
public void main()
{
var apiInstance = new FlowApi();
var bundleGroupFilter = bundleGroupFilter_example; // string | If specified, will only return types that are a member of this bundle group. (optional)
var bundleArtifactFilter = bundleArtifactFilter_example; // string | If specified, will only return types that are a member of this bundle artifact. (optional)
var type = type_example; // string | If specified, will only return types whose fully qualified classname matches. (optional)
try
{
// Retrieves the types of processors that this NiFi supports
ProcessorTypesEntity result = apiInstance.GetProcessorTypes(bundleGroupFilter, bundleArtifactFilter, type);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetProcessorTypes: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
bundleGroupFilter | string | If specified, will only return types that are a member of this bundle group. | [optional] |
bundleArtifactFilter | string | If specified, will only return types that are a member of this bundle artifact. | [optional] |
type | string | If specified, will only return types whose fully qualified classname matches. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RegistryClientsEntity GetRegistries ()
Gets the listing of available registries
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetRegistriesExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Gets the listing of available registries
RegistryClientsEntity result = apiInstance.GetRegistries();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetRegistries: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RemoteProcessGroupStatusEntity GetRemoteProcessGroupStatus (string id, bool? nodewise = null, string clusterNodeId = null)
Gets status for a remote process group
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetRemoteProcessGroupStatusExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The remote process group id.
var nodewise = true; // bool? | Whether or not to include the breakdown per node. Optional, defaults to false (optional) (default to false)
var clusterNodeId = clusterNodeId_example; // string | The id of the node where to get the status. (optional)
try
{
// Gets status for a remote process group
RemoteProcessGroupStatusEntity result = apiInstance.GetRemoteProcessGroupStatus(id, nodewise, clusterNodeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetRemoteProcessGroupStatus: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The remote process group id. | |
nodewise | bool? | Whether or not to include the breakdown per node. Optional, defaults to false | [optional] [default to false] |
clusterNodeId | string | The id of the node where to get the status. | [optional] |
RemoteProcessGroupStatusEntity
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StatusHistoryEntity GetRemoteProcessGroupStatusHistory (string id)
Gets the status history
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetRemoteProcessGroupStatusHistoryExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The remote process group id.
try
{
// Gets the status history
StatusHistoryEntity result = apiInstance.GetRemoteProcessGroupStatusHistory(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetRemoteProcessGroupStatusHistory: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The remote process group id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ReportingTaskTypesEntity GetReportingTaskTypes (string bundleGroupFilter = null, string bundleArtifactFilter = null, string type = null)
Retrieves the types of reporting tasks that this NiFi supports
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetReportingTaskTypesExample
{
public void main()
{
var apiInstance = new FlowApi();
var bundleGroupFilter = bundleGroupFilter_example; // string | If specified, will only return types that are a member of this bundle group. (optional)
var bundleArtifactFilter = bundleArtifactFilter_example; // string | If specified, will only return types that are a member of this bundle artifact. (optional)
var type = type_example; // string | If specified, will only return types whose fully qualified classname matches. (optional)
try
{
// Retrieves the types of reporting tasks that this NiFi supports
ReportingTaskTypesEntity result = apiInstance.GetReportingTaskTypes(bundleGroupFilter, bundleArtifactFilter, type);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetReportingTaskTypes: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
bundleGroupFilter | string | If specified, will only return types that are a member of this bundle group. | [optional] |
bundleArtifactFilter | string | If specified, will only return types that are a member of this bundle artifact. | [optional] |
type | string | If specified, will only return types whose fully qualified classname matches. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ReportingTasksEntity GetReportingTasks ()
Gets all reporting tasks
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetReportingTasksExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Gets all reporting tasks
ReportingTasksEntity result = apiInstance.GetReportingTasks();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetReportingTasks: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TemplatesEntity GetTemplates ()
Gets all templates
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetTemplatesExample
{
public void main()
{
var apiInstance = new FlowApi();
try
{
// Gets all templates
TemplatesEntity result = apiInstance.GetTemplates();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetTemplates: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VersionedFlowSnapshotMetadataSetEntity GetVersions (string registryId, string bucketId, string flowId)
Gets the flow versions from the specified registry and bucket for the specified flow for the current user
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetVersionsExample
{
public void main()
{
var apiInstance = new FlowApi();
var registryId = registryId_example; // string | The registry id.
var bucketId = bucketId_example; // string | The bucket id.
var flowId = flowId_example; // string | The flow id.
try
{
// Gets the flow versions from the specified registry and bucket for the specified flow for the current user
VersionedFlowSnapshotMetadataSetEntity result = apiInstance.GetVersions(registryId, bucketId, flowId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.GetVersions: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
registryId | string | The registry id. | |
bucketId | string | The bucket id. | |
flowId | string | The flow id. |
VersionedFlowSnapshotMetadataSetEntity
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
HistoryEntity QueryHistory (string offset, string count, string sortColumn = null, string sortOrder = null, string startDate = null, string endDate = null, string userIdentity = null, string sourceId = null)
Gets configuration history
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class QueryHistoryExample
{
public void main()
{
var apiInstance = new FlowApi();
var offset = offset_example; // string | The offset into the result set.
var count = count_example; // string | The number of actions to return.
var sortColumn = sortColumn_example; // string | The field to sort on. (optional)
var sortOrder = sortOrder_example; // string | The direction to sort. (optional)
var startDate = startDate_example; // string | Include actions after this date. (optional)
var endDate = endDate_example; // string | Include actions before this date. (optional)
var userIdentity = userIdentity_example; // string | Include actions performed by this user. (optional)
var sourceId = sourceId_example; // string | Include actions on this component. (optional)
try
{
// Gets configuration history
HistoryEntity result = apiInstance.QueryHistory(offset, count, sortColumn, sortOrder, startDate, endDate, userIdentity, sourceId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.QueryHistory: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
offset | string | The offset into the result set. | |
count | string | The number of actions to return. | |
sortColumn | string | The field to sort on. | [optional] |
sortOrder | string | The direction to sort. | [optional] |
startDate | string | Include actions after this date. | [optional] |
endDate | string | Include actions before this date. | [optional] |
userIdentity | string | Include actions performed by this user. | [optional] |
sourceId | string | Include actions on this component. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScheduleComponentsEntity ScheduleComponents (string id, ScheduleComponentsEntity body)
Schedule or unschedule components in the specified Process Group.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ScheduleComponentsExample
{
public void main()
{
var apiInstance = new FlowApi();
var id = id_example; // string | The process group id.
var body = new ScheduleComponentsEntity(); // ScheduleComponentsEntity | The request to schedule or unschedule. If the comopnents in the request are not specified, all authorized components will be considered.
try
{
// Schedule or unschedule components in the specified Process Group.
ScheduleComponentsEntity result = apiInstance.ScheduleComponents(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.ScheduleComponents: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | ScheduleComponentsEntity | The request to schedule or unschedule. If the comopnents in the request are not specified, all authorized components will be considered. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClusterSearchResultsEntity SearchCluster (string q)
Searches the cluster for a node with the specified address
Note: This endpoint is subject to change as NiFi and it's REST API evolve.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class SearchClusterExample
{
public void main()
{
var apiInstance = new FlowApi();
var q = q_example; // string | Node address to search for.
try
{
// Searches the cluster for a node with the specified address
ClusterSearchResultsEntity result = apiInstance.SearchCluster(q);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.SearchCluster: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
q | string | Node address to search for. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SearchResultsEntity SearchFlow (string q = null)
Performs a search against this NiFi using the specified search term
Only search results from authorized components will be returned.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class SearchFlowExample
{
public void main()
{
var apiInstance = new FlowApi();
var q = q_example; // string | (optional)
try
{
// Performs a search against this NiFi using the specified search term
SearchResultsEntity result = apiInstance.SearchFlow(q);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FlowApi.SearchFlow: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
q | string | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]