All URIs are relative to http://localhost/nifi-api
Method | HTTP request | Description |
---|---|---|
GetInputContent | GET /provenance-events/{id}/content/input | Gets the input content for a provenance event |
GetOutputContent | GET /provenance-events/{id}/content/output | Gets the output content for a provenance event |
GetProvenanceEvent | GET /provenance-events/{id} | Gets a provenance event |
SubmitReplay | POST /provenance-events/replays | Replays content from a provenance event |
StreamingOutput GetInputContent (string id, string clusterNodeId = null)
Gets the input content for a provenance event
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetInputContentExample
{
public void main()
{
var apiInstance = new ProvenanceEventsApi();
var id = id_example; // string | The provenance event id.
var clusterNodeId = clusterNodeId_example; // string | The id of the node where the content exists if clustered. (optional)
try
{
// Gets the input content for a provenance event
StreamingOutput result = apiInstance.GetInputContent(id, clusterNodeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProvenanceEventsApi.GetInputContent: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The provenance event id. | |
clusterNodeId | string | The id of the node where the content exists if clustered. | [optional] |
No authorization required
- Content-Type: /
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StreamingOutput GetOutputContent (string id, string clusterNodeId = null)
Gets the output content for a provenance event
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetOutputContentExample
{
public void main()
{
var apiInstance = new ProvenanceEventsApi();
var id = id_example; // string | The provenance event id.
var clusterNodeId = clusterNodeId_example; // string | The id of the node where the content exists if clustered. (optional)
try
{
// Gets the output content for a provenance event
StreamingOutput result = apiInstance.GetOutputContent(id, clusterNodeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProvenanceEventsApi.GetOutputContent: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The provenance event id. | |
clusterNodeId | string | The id of the node where the content exists if clustered. | [optional] |
No authorization required
- Content-Type: /
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProvenanceEventEntity GetProvenanceEvent (string id, string clusterNodeId = null)
Gets a provenance event
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetProvenanceEventExample
{
public void main()
{
var apiInstance = new ProvenanceEventsApi();
var id = id_example; // string | The provenance event id.
var clusterNodeId = clusterNodeId_example; // string | The id of the node where this event exists if clustered. (optional)
try
{
// Gets a provenance event
ProvenanceEventEntity result = apiInstance.GetProvenanceEvent(id, clusterNodeId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProvenanceEventsApi.GetProvenanceEvent: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The provenance event id. | |
clusterNodeId | string | The id of the node where this event exists if clustered. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProvenanceEventEntity SubmitReplay (SubmitReplayRequestEntity body)
Replays content from a provenance event
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class SubmitReplayExample
{
public void main()
{
var apiInstance = new ProvenanceEventsApi();
var body = new SubmitReplayRequestEntity(); // SubmitReplayRequestEntity | The replay request.
try
{
// Replays content from a provenance event
ProvenanceEventEntity result = apiInstance.SubmitReplay(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProvenanceEventsApi.SubmitReplay: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | SubmitReplayRequestEntity | The replay 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]