All URIs are relative to http://localhost/nifi-api
Method | HTTP request | Description |
---|---|---|
ClearState | POST /controller-services/{id}/state/clear-requests | Clears the state for a controller service |
GetControllerService | GET /controller-services/{id} | Gets a controller service |
GetControllerServiceReferences | GET /controller-services/{id}/references | Gets a controller service |
GetPropertyDescriptor | GET /controller-services/{id}/descriptors | Gets a controller service property descriptor |
GetState | GET /controller-services/{id}/state | Gets the state for a controller service |
RemoveControllerService | DELETE /controller-services/{id} | Deletes a controller service |
UpdateControllerService | PUT /controller-services/{id} | Updates a controller service |
UpdateControllerServiceReferences | PUT /controller-services/{id}/references | Updates a controller services references |
UpdateRunStatus | PUT /controller-services/{id}/run-status | Updates run status of a controller service |
ComponentStateEntity ClearState (string id)
Clears the state for a controller service
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ClearStateExample
{
public void main()
{
var apiInstance = new ControllerServicesApi();
var id = id_example; // string | The controller service id.
try
{
// Clears the state for a controller service
ComponentStateEntity result = apiInstance.ClearState(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ControllerServicesApi.ClearState: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The controller service id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ControllerServiceEntity GetControllerService (string id)
Gets a controller service
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetControllerServiceExample
{
public void main()
{
var apiInstance = new ControllerServicesApi();
var id = id_example; // string | The controller service id.
try
{
// Gets a controller service
ControllerServiceEntity result = apiInstance.GetControllerService(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ControllerServicesApi.GetControllerService: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The controller service id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ControllerServiceReferencingComponentsEntity GetControllerServiceReferences (string id)
Gets a controller service
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetControllerServiceReferencesExample
{
public void main()
{
var apiInstance = new ControllerServicesApi();
var id = id_example; // string | The controller service id.
try
{
// Gets a controller service
ControllerServiceReferencingComponentsEntity result = apiInstance.GetControllerServiceReferences(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ControllerServicesApi.GetControllerServiceReferences: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The controller service id. |
ControllerServiceReferencingComponentsEntity
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PropertyDescriptorEntity GetPropertyDescriptor (string id, string propertyName)
Gets a controller service property descriptor
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetPropertyDescriptorExample
{
public void main()
{
var apiInstance = new ControllerServicesApi();
var id = id_example; // string | The controller service id.
var propertyName = propertyName_example; // string | The property name to return the descriptor for.
try
{
// Gets a controller service property descriptor
PropertyDescriptorEntity result = apiInstance.GetPropertyDescriptor(id, propertyName);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ControllerServicesApi.GetPropertyDescriptor: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The controller service id. | |
propertyName | string | The property name to return the descriptor for. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ComponentStateEntity GetState (string id)
Gets the state for a controller service
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetStateExample
{
public void main()
{
var apiInstance = new ControllerServicesApi();
var id = id_example; // string | The controller service id.
try
{
// Gets the state for a controller service
ComponentStateEntity result = apiInstance.GetState(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ControllerServicesApi.GetState: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The controller service id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ControllerServiceEntity RemoveControllerService (string id, string version = null, string clientId = null, bool? disconnectedNodeAcknowledged = null)
Deletes a controller service
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class RemoveControllerServiceExample
{
public void main()
{
var apiInstance = new ControllerServicesApi();
var id = id_example; // string | The controller service 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 controller service
ControllerServiceEntity result = apiInstance.RemoveControllerService(id, version, clientId, disconnectedNodeAcknowledged);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ControllerServicesApi.RemoveControllerService: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The controller service 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]
ControllerServiceEntity UpdateControllerService (string id, ControllerServiceEntity body)
Updates a controller service
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateControllerServiceExample
{
public void main()
{
var apiInstance = new ControllerServicesApi();
var id = id_example; // string | The controller service id.
var body = new ControllerServiceEntity(); // ControllerServiceEntity | The controller service configuration details.
try
{
// Updates a controller service
ControllerServiceEntity result = apiInstance.UpdateControllerService(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ControllerServicesApi.UpdateControllerService: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The controller service 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]
ControllerServiceReferencingComponentsEntity UpdateControllerServiceReferences (string id, UpdateControllerServiceReferenceRequestEntity body)
Updates a controller services references
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateControllerServiceReferencesExample
{
public void main()
{
var apiInstance = new ControllerServicesApi();
var id = id_example; // string | The controller service id.
var body = new UpdateControllerServiceReferenceRequestEntity(); // UpdateControllerServiceReferenceRequestEntity | The controller service request update request.
try
{
// Updates a controller services references
ControllerServiceReferencingComponentsEntity result = apiInstance.UpdateControllerServiceReferences(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ControllerServicesApi.UpdateControllerServiceReferences: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The controller service id. | |
body | UpdateControllerServiceReferenceRequestEntity | The controller service request update request. |
ControllerServiceReferencingComponentsEntity
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 UpdateRunStatus (string id, ControllerServiceRunStatusEntity body)
Updates run status of a controller service
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateRunStatusExample
{
public void main()
{
var apiInstance = new ControllerServicesApi();
var id = id_example; // string | The controller service id.
var body = new ControllerServiceRunStatusEntity(); // ControllerServiceRunStatusEntity | The controller service run status.
try
{
// Updates run status of a controller service
ControllerServiceEntity result = apiInstance.UpdateRunStatus(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ControllerServicesApi.UpdateRunStatus: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The controller service id. | |
body | ControllerServiceRunStatusEntity | The controller service run status. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]