All URIs are relative to http://localhost/nifi-api
Method | HTTP request | Description |
---|---|---|
GetOutputPort | GET /output-ports/{id} | Gets an output port |
RemoveOutputPort | DELETE /output-ports/{id} | Deletes an output port |
UpdateOutputPort | PUT /output-ports/{id} | Updates an output port |
UpdateRunStatus | PUT /output-ports/{id}/run-status | Updates run status of an output-port |
PortEntity GetOutputPort (string id)
Gets an output port
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetOutputPortExample
{
public void main()
{
var apiInstance = new OutputPortsApi();
var id = id_example; // string | The output port id.
try
{
// Gets an output port
PortEntity result = apiInstance.GetOutputPort(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OutputPortsApi.GetOutputPort: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The output port id. |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PortEntity RemoveOutputPort (string id, string version = null, string clientId = null, bool? disconnectedNodeAcknowledged = null)
Deletes an output port
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class RemoveOutputPortExample
{
public void main()
{
var apiInstance = new OutputPortsApi();
var id = id_example; // string | The output port 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 an output port
PortEntity result = apiInstance.RemoveOutputPort(id, version, clientId, disconnectedNodeAcknowledged);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OutputPortsApi.RemoveOutputPort: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The output port 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]
PortEntity UpdateOutputPort (string id, PortEntity body)
Updates an output port
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateOutputPortExample
{
public void main()
{
var apiInstance = new OutputPortsApi();
var id = id_example; // string | The output port id.
var body = new PortEntity(); // PortEntity | The output port configuration details.
try
{
// Updates an output port
PortEntity result = apiInstance.UpdateOutputPort(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OutputPortsApi.UpdateOutputPort: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The output port id. | |
body | PortEntity | The output 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]
ProcessorEntity UpdateRunStatus (string id, PortRunStatusEntity body)
Updates run status of an output-port
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 OutputPortsApi();
var id = id_example; // string | The port id.
var body = new PortRunStatusEntity(); // PortRunStatusEntity | The port run status.
try
{
// Updates run status of an output-port
ProcessorEntity result = apiInstance.UpdateRunStatus(id, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OutputPortsApi.UpdateRunStatus: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The port id. | |
body | PortRunStatusEntity | The port 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]