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 |
getInputContent(id, clusterNodeId)
Gets the input content for a provenance event
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ProvenanceeventsApi;
ProvenanceeventsApi apiInstance = new ProvenanceeventsApi();
String id = "id_example"; // String | The provenance event id.
String clusterNodeId = "clusterNodeId_example"; // String | The id of the node where the content exists if clustered.
try {
apiInstance.getInputContent(id, clusterNodeId);
} catch (ApiException e) {
System.err.println("Exception when calling ProvenanceeventsApi#getInputContent");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | The provenance event id. | |
clusterNodeId | String | The id of the node where the content exists if clustered. | [optional] |
null (empty response body)
No authorization required
- Content-Type: /
- Accept: /
getOutputContent(id, clusterNodeId)
Gets the output content for a provenance event
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ProvenanceeventsApi;
ProvenanceeventsApi apiInstance = new ProvenanceeventsApi();
String id = "id_example"; // String | The provenance event id.
String clusterNodeId = "clusterNodeId_example"; // String | The id of the node where the content exists if clustered.
try {
apiInstance.getOutputContent(id, clusterNodeId);
} catch (ApiException e) {
System.err.println("Exception when calling ProvenanceeventsApi#getOutputContent");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | The provenance event id. | |
clusterNodeId | String | The id of the node where the content exists if clustered. | [optional] |
null (empty response body)
No authorization required
- Content-Type: /
- Accept: /
ProvenanceEventEntity getProvenanceEvent(id, clusterNodeId)
Gets a provenance event
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ProvenanceeventsApi;
ProvenanceeventsApi apiInstance = new ProvenanceeventsApi();
String id = "id_example"; // String | The provenance event id.
String clusterNodeId = "clusterNodeId_example"; // String | The id of the node where this event exists if clustered.
try {
ProvenanceEventEntity result = apiInstance.getProvenanceEvent(id, clusterNodeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProvenanceeventsApi#getProvenanceEvent");
e.printStackTrace();
}
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
ProvenanceEventEntity submitReplay(body)
Replays content from a provenance event
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ProvenanceeventsApi;
ProvenanceeventsApi apiInstance = new ProvenanceeventsApi();
SubmitReplayRequestEntity body = new SubmitReplayRequestEntity(); // SubmitReplayRequestEntity | The replay request.
try {
ProvenanceEventEntity result = apiInstance.submitReplay(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProvenanceeventsApi#submitReplay");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | SubmitReplayRequestEntity | The replay request. |
No authorization required
- Content-Type: application/json
- Accept: application/json