All URIs are relative to http://localhost/nifi-api
Method | HTTP request | Description |
---|---|---|
CopySnippet | POST /process-groups/{id}/snippet-instance | Copies a snippet and discards it. |
CreateConnection | POST /process-groups/{id}/connections | Creates a connection |
CreateControllerService | POST /process-groups/{id}/controller-services | Creates a new controller service |
CreateFunnel | POST /process-groups/{id}/funnels | Creates a funnel |
CreateInputPort | POST /process-groups/{id}/input-ports | Creates an input port |
CreateLabel | POST /process-groups/{id}/labels | Creates a label |
CreateOutputPort | POST /process-groups/{id}/output-ports | Creates an output port |
CreateProcessGroup | POST /process-groups/{id}/process-groups | Creates a process group |
CreateProcessor | POST /process-groups/{id}/processors | Creates a new processor |
CreateRemoteProcessGroup | POST /process-groups/{id}/remote-process-groups | Creates a new process group |
CreateTemplate | POST /process-groups/{id}/templates | Creates a template and discards the specified snippet. |
DeleteVariableRegistryUpdateRequest | DELETE /process-groups/{groupId}/variable-registry/update-requests/{updateId} | Deletes an update request for a process group's variable registry. If the request is not yet complete, it will automatically be cancelled. |
GetConnections | GET /process-groups/{id}/connections | Gets all connections |
GetFunnels | GET /process-groups/{id}/funnels | Gets all funnels |
GetInputPorts | GET /process-groups/{id}/input-ports | Gets all input ports |
GetLabels | GET /process-groups/{id}/labels | Gets all labels |
GetLocalModifications | GET /process-groups/{id}/local-modifications | Gets a list of local modifications to the Process Group since it was last synchronized with the Flow Registry |
GetOutputPorts | GET /process-groups/{id}/output-ports | Gets all output ports |
GetProcessGroup | GET /process-groups/{id} | Gets a process group |
GetProcessGroups | GET /process-groups/{id}/process-groups | Gets all process groups |
GetProcessors | GET /process-groups/{id}/processors | Gets all processors |
GetRemoteProcessGroups | GET /process-groups/{id}/remote-process-groups | Gets all remote process groups |
GetVariableRegistry | GET /process-groups/{id}/variable-registry | Gets a process group's variable registry |
GetVariableRegistryUpdateRequest | GET /process-groups/{groupId}/variable-registry/update-requests/{updateId} | Gets a process group's variable registry |
ImportTemplate | POST /process-groups/{id}/templates/import | Imports a template |
InstantiateTemplate | POST /process-groups/{id}/template-instance | Instantiates a template |
RemoveProcessGroup | DELETE /process-groups/{id} | Deletes a process group |
SubmitUpdateVariableRegistryRequest | POST /process-groups/{id}/variable-registry/update-requests | Submits a request to update a process group's variable registry |
UpdateProcessGroup | PUT /process-groups/{id} | Updates a process group |
UpdateVariableRegistry | PUT /process-groups/{id}/variable-registry | Updates the contents of a Process Group's variable Registry |
UploadTemplate | POST /process-groups/{id}/templates/upload | Uploads a template |
FlowEntity CopySnippet (string id, CopySnippetRequestEntity body)
Copies a snippet and discards it.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CopySnippetExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new CopySnippetRequestEntity(); // CopySnippetRequestEntity | The copy snippet request.
try
{
// Copies a snippet and discards it.
FlowEntity result = apiInstance.CopySnippet(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.CopySnippet: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | CopySnippetRequestEntity | The copy snippet request. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConnectionEntity CreateConnection (string id, ConnectionEntity body)
Creates a connection
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateConnectionExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new ConnectionEntity(); // ConnectionEntity | The connection configuration details.
try
{
// Creates a connection
ConnectionEntity result = apiInstance.CreateConnection(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.CreateConnection: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | ConnectionEntity | The connection configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ControllerServiceEntity CreateControllerService (string id, ControllerServiceEntity body)
Creates a new controller service
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateControllerServiceExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new ControllerServiceEntity(); // ControllerServiceEntity | The controller service configuration details.
try
{
// Creates a new controller service
ControllerServiceEntity result = apiInstance.CreateControllerService(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.CreateControllerService: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | ControllerServiceEntity | The controller service configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FunnelEntity CreateFunnel (string id, FunnelEntity body)
Creates a funnel
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateFunnelExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new FunnelEntity(); // FunnelEntity | The funnel configuration details.
try
{
// Creates a funnel
FunnelEntity result = apiInstance.CreateFunnel(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.CreateFunnel: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | FunnelEntity | The funnel configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PortEntity CreateInputPort (string id, PortEntity body)
Creates an input port
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateInputPortExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new PortEntity(); // PortEntity | The input port configuration details.
try
{
// Creates an input port
PortEntity result = apiInstance.CreateInputPort(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.CreateInputPort: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | PortEntity | The input port configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LabelEntity CreateLabel (string id, LabelEntity body)
Creates a label
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateLabelExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new LabelEntity(); // LabelEntity | The label configuration details.
try
{
// Creates a label
LabelEntity result = apiInstance.CreateLabel(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.CreateLabel: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | LabelEntity | The label configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PortEntity CreateOutputPort (string id, PortEntity body)
Creates an output port
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateOutputPortExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new PortEntity(); // PortEntity | The output port configuration.
try
{
// Creates an output port
PortEntity result = apiInstance.CreateOutputPort(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.CreateOutputPort: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | PortEntity | The output port configuration. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessGroupEntity CreateProcessGroup (string id, ProcessGroupEntity body)
Creates a process group
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateProcessGroupExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new ProcessGroupEntity(); // ProcessGroupEntity | The process group configuration details.
try
{
// Creates a process group
ProcessGroupEntity result = apiInstance.CreateProcessGroup(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.CreateProcessGroup: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | ProcessGroupEntity | The process group configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessorEntity CreateProcessor (string id, ProcessorEntity body)
Creates a new processor
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateProcessorExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new ProcessorEntity(); // ProcessorEntity | The processor configuration details.
try
{
// Creates a new processor
ProcessorEntity result = apiInstance.CreateProcessor(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.CreateProcessor: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | ProcessorEntity | The processor configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RemoteProcessGroupEntity CreateRemoteProcessGroup (string id, RemoteProcessGroupEntity body)
Creates a new process group
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateRemoteProcessGroupExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new RemoteProcessGroupEntity(); // RemoteProcessGroupEntity | The remote process group configuration details.
try
{
// Creates a new process group
RemoteProcessGroupEntity result = apiInstance.CreateRemoteProcessGroup(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.CreateRemoteProcessGroup: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | RemoteProcessGroupEntity | The remote process group configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TemplateEntity CreateTemplate (string id, CreateTemplateRequestEntity body)
Creates a template and discards the specified snippet.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateTemplateExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new CreateTemplateRequestEntity(); // CreateTemplateRequestEntity | The create template request.
try
{
// Creates a template and discards the specified snippet.
TemplateEntity result = apiInstance.CreateTemplate(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.CreateTemplate: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | CreateTemplateRequestEntity | The create template request. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VariableRegistryUpdateRequestEntity DeleteVariableRegistryUpdateRequest (string groupId, string updateId, bool? disconnectedNodeAcknowledged = null)
Deletes an update request for a process group's variable registry. If the request is not yet complete, it will automatically be cancelled.
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 DeleteVariableRegistryUpdateRequestExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var groupId = groupId_example; // string | The process group id.
var updateId = updateId_example; // string | The ID of the Variable Registry Update Request
var disconnectedNodeAcknowledged = true; // bool? | Acknowledges that this node is disconnected to allow for mutable requests to proceed. (optional) (default to false)
try
{
// Deletes an update request for a process group's variable registry. If the request is not yet complete, it will automatically be cancelled.
VariableRegistryUpdateRequestEntity result = apiInstance.DeleteVariableRegistryUpdateRequest(groupId, updateId, disconnectedNodeAcknowledged);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.DeleteVariableRegistryUpdateRequest: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | string | The process group id. | |
updateId | string | The ID of the Variable Registry Update Request | |
disconnectedNodeAcknowledged | bool? | Acknowledges that this node is disconnected to allow for mutable requests to proceed. | [optional] [default to false] |
VariableRegistryUpdateRequestEntity
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConnectionsEntity GetConnections (string id)
Gets all connections
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetConnectionsExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
try
{
// Gets all connections
ConnectionsEntity result = apiInstance.GetConnections(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetConnections: " + 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]
FunnelsEntity GetFunnels (string id)
Gets all funnels
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetFunnelsExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
try
{
// Gets all funnels
FunnelsEntity result = apiInstance.GetFunnels(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetFunnels: " + 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]
InputPortsEntity GetInputPorts (string id)
Gets all input ports
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetInputPortsExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
try
{
// Gets all input ports
InputPortsEntity result = apiInstance.GetInputPorts(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetInputPorts: " + 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]
LabelsEntity GetLabels (string id)
Gets all labels
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetLabelsExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
try
{
// Gets all labels
LabelsEntity result = apiInstance.GetLabels(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetLabels: " + 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]
FlowComparisonEntity GetLocalModifications (string id)
Gets a list of local modifications to the Process Group since it was last synchronized with the Flow Registry
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetLocalModificationsExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
try
{
// Gets a list of local modifications to the Process Group since it was last synchronized with the Flow Registry
FlowComparisonEntity result = apiInstance.GetLocalModifications(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetLocalModifications: " + 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]
OutputPortsEntity GetOutputPorts (string id)
Gets all output ports
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetOutputPortsExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
try
{
// Gets all output ports
OutputPortsEntity result = apiInstance.GetOutputPorts(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetOutputPorts: " + 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]
ProcessGroupEntity GetProcessGroup (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 GetProcessGroupExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
try
{
// Gets a process group
ProcessGroupEntity result = apiInstance.GetProcessGroup(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetProcessGroup: " + 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]
ProcessGroupsEntity GetProcessGroups (string id)
Gets all process groups
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetProcessGroupsExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
try
{
// Gets all process groups
ProcessGroupsEntity result = apiInstance.GetProcessGroups(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetProcessGroups: " + 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]
ProcessorsEntity GetProcessors (string id, bool? includeDescendantGroups = null)
Gets all processors
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetProcessorsExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var includeDescendantGroups = true; // bool? | Whether or not to include processors from descendant process groups (optional) (default to false)
try
{
// Gets all processors
ProcessorsEntity result = apiInstance.GetProcessors(id, includeDescendantGroups);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetProcessors: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
includeDescendantGroups | bool? | Whether or not to include processors from 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]
RemoteProcessGroupsEntity GetRemoteProcessGroups (string id)
Gets all remote process groups
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetRemoteProcessGroupsExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
try
{
// Gets all remote process groups
RemoteProcessGroupsEntity result = apiInstance.GetRemoteProcessGroups(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetRemoteProcessGroups: " + 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]
VariableRegistryEntity GetVariableRegistry (string id, bool? includeAncestorGroups = null)
Gets a process group's variable registry
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 GetVariableRegistryExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var includeAncestorGroups = true; // bool? | Whether or not to include ancestor groups (optional) (default to true)
try
{
// Gets a process group's variable registry
VariableRegistryEntity result = apiInstance.GetVariableRegistry(id, includeAncestorGroups);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetVariableRegistry: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
includeAncestorGroups | bool? | Whether or not to include ancestor groups | [optional] [default to true] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VariableRegistryUpdateRequestEntity GetVariableRegistryUpdateRequest (string groupId, string updateId)
Gets a process group's variable registry
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 GetVariableRegistryUpdateRequestExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var groupId = groupId_example; // string | The process group id.
var updateId = updateId_example; // string | The ID of the Variable Registry Update Request
try
{
// Gets a process group's variable registry
VariableRegistryUpdateRequestEntity result = apiInstance.GetVariableRegistryUpdateRequest(groupId, updateId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.GetVariableRegistryUpdateRequest: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | string | The process group id. | |
updateId | string | The ID of the Variable Registry Update Request |
VariableRegistryUpdateRequestEntity
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TemplateEntity ImportTemplate (string id)
Imports a template
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ImportTemplateExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
try
{
// Imports a template
TemplateEntity result = apiInstance.ImportTemplate(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.ImportTemplate: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. |
No authorization required
- Content-Type: application/xml
- Accept: application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FlowEntity InstantiateTemplate (string id, InstantiateTemplateRequestEntity body)
Instantiates a template
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class InstantiateTemplateExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new InstantiateTemplateRequestEntity(); // InstantiateTemplateRequestEntity | The instantiate template request.
try
{
// Instantiates a template
FlowEntity result = apiInstance.InstantiateTemplate(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.InstantiateTemplate: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | InstantiateTemplateRequestEntity | The instantiate template request. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessGroupEntity RemoveProcessGroup (string id, string version = null, string clientId = null, bool? disconnectedNodeAcknowledged = null)
Deletes a process group
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class RemoveProcessGroupExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var version = version_example; // string | The revision is used to verify the client is working with the latest version of the flow. (optional)
var 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. (optional)
var disconnectedNodeAcknowledged = true; // bool? | Acknowledges that this node is disconnected to allow for mutable requests to proceed. (optional) (default to false)
try
{
// Deletes a process group
ProcessGroupEntity result = apiInstance.RemoveProcessGroup(id, version, clientId, disconnectedNodeAcknowledged);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.RemoveProcessGroup: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group 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 | bool? | 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
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VariableRegistryUpdateRequestEntity SubmitUpdateVariableRegistryRequest (string id, VariableRegistryEntity body)
Submits a request to update a process group's variable registry
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 SubmitUpdateVariableRegistryRequestExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new VariableRegistryEntity(); // VariableRegistryEntity | The variable registry configuration details.
try
{
// Submits a request to update a process group's variable registry
VariableRegistryUpdateRequestEntity result = apiInstance.SubmitUpdateVariableRegistryRequest(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.SubmitUpdateVariableRegistryRequest: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | VariableRegistryEntity | The variable registry configuration details. |
VariableRegistryUpdateRequestEntity
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessGroupEntity UpdateProcessGroup (string id, ProcessGroupEntity body)
Updates a process group
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateProcessGroupExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new ProcessGroupEntity(); // ProcessGroupEntity | The process group configuration details.
try
{
// Updates a process group
ProcessGroupEntity result = apiInstance.UpdateProcessGroup(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.UpdateProcessGroup: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | ProcessGroupEntity | The process group configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VariableRegistryEntity UpdateVariableRegistry (string id, VariableRegistryEntity body)
Updates the contents of a Process Group's variable Registry
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 UpdateVariableRegistryExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var body = new VariableRegistryEntity(); // VariableRegistryEntity | The variable registry configuration details.
try
{
// Updates the contents of a Process Group's variable Registry
VariableRegistryEntity result = apiInstance.UpdateVariableRegistry(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.UpdateVariableRegistry: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
body | VariableRegistryEntity | The variable registry configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TemplateEntity UploadTemplate (string id, System.IO.Stream template, bool? body = null)
Uploads a template
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UploadTemplateExample
{
public void main()
{
var apiInstance = new ProcessGroupsApi();
var id = id_example; // string | The process group id.
var template = new System.IO.Stream(); // System.IO.Stream | The binary content of the template file being uploaded.
var body = true; // bool? | Acknowledges that this node is disconnected to allow for mutable requests to proceed. (optional)
try
{
// Uploads a template
TemplateEntity result = apiInstance.UploadTemplate(id, template, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProcessGroupsApi.UploadTemplate: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The process group id. | |
template | System.IO.Stream | The binary content of the template file being uploaded. | |
body | bool? | Acknowledges that this node is disconnected to allow for mutable requests to proceed. | [optional] |
No authorization required
- Content-Type: multipart/form-data
- Accept: application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]