All URIs are relative to http://localhost/nifi-api
Method | HTTP request | Description |
---|---|---|
deleteLineage | DELETE /provenance/lineage/{id} | Deletes a lineage query |
deleteProvenance | DELETE /provenance/{id} | Deletes a provenance query |
getLineage | GET /provenance/lineage/{id} | Gets a lineage query |
getProvenance | GET /provenance/{id} | Gets a provenance query |
getSearchOptions | GET /provenance/search-options | Gets the searchable attributes for provenance events |
submitLineageRequest | POST /provenance/lineage | Submits a lineage query |
submitProvenanceRequest | POST /provenance | Submits a provenance query |
LineageEntity deleteLineage(id, clusterNodeId)
Deletes a lineage query
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ProvenanceApi;
ProvenanceApi apiInstance = new ProvenanceApi();
String id = "id_example"; // String | The id of the lineage query.
String clusterNodeId = "clusterNodeId_example"; // String | The id of the node where this query exists if clustered.
try {
LineageEntity result = apiInstance.deleteLineage(id, clusterNodeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProvenanceApi#deleteLineage");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | The id of the lineage query. | |
clusterNodeId | String | The id of the node where this query exists if clustered. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
ProvenanceEntity deleteProvenance(id, clusterNodeId)
Deletes a provenance query
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ProvenanceApi;
ProvenanceApi apiInstance = new ProvenanceApi();
String id = "id_example"; // String | The id of the provenance query.
String clusterNodeId = "clusterNodeId_example"; // String | The id of the node where this query exists if clustered.
try {
ProvenanceEntity result = apiInstance.deleteProvenance(id, clusterNodeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProvenanceApi#deleteProvenance");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | The id of the provenance query. | |
clusterNodeId | String | The id of the node where this query exists if clustered. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
LineageEntity getLineage(id, clusterNodeId)
Gets a lineage query
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ProvenanceApi;
ProvenanceApi apiInstance = new ProvenanceApi();
String id = "id_example"; // String | The id of the lineage query.
String clusterNodeId = "clusterNodeId_example"; // String | The id of the node where this query exists if clustered.
try {
LineageEntity result = apiInstance.getLineage(id, clusterNodeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProvenanceApi#getLineage");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | The id of the lineage query. | |
clusterNodeId | String | The id of the node where this query exists if clustered. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
ProvenanceEntity getProvenance(id, clusterNodeId)
Gets a provenance query
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ProvenanceApi;
ProvenanceApi apiInstance = new ProvenanceApi();
String id = "id_example"; // String | The id of the provenance query.
String clusterNodeId = "clusterNodeId_example"; // String | The id of the node where this query exists if clustered.
try {
ProvenanceEntity result = apiInstance.getProvenance(id, clusterNodeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProvenanceApi#getProvenance");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | The id of the provenance query. | |
clusterNodeId | String | The id of the node where this query exists if clustered. | [optional] |
No authorization required
- Content-Type: /
- Accept: application/json
ProvenanceOptionsEntity getSearchOptions()
Gets the searchable attributes for provenance events
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ProvenanceApi;
ProvenanceApi apiInstance = new ProvenanceApi();
try {
ProvenanceOptionsEntity result = apiInstance.getSearchOptions();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProvenanceApi#getSearchOptions");
e.printStackTrace();
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
LineageEntity submitLineageRequest(body)
Submits a lineage query
Lineage queries may be long running so this endpoint submits a request. The response will include the current state of the query. If the request is not completed the URI in the response can be used at a later time to get the updated state of the query. Once the query has completed the lineage request should be deleted by the client who originally submitted it.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ProvenanceApi;
ProvenanceApi apiInstance = new ProvenanceApi();
LineageEntity body = new LineageEntity(); // LineageEntity | The lineage query details.
try {
LineageEntity result = apiInstance.submitLineageRequest(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProvenanceApi#submitLineageRequest");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | LineageEntity | The lineage query details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
ProvenanceEntity submitProvenanceRequest(body)
Submits a provenance query
Provenance queries may be long running so this endpoint submits a request. The response will include the current state of the query. If the request is not completed the URI in the response can be used at a later time to get the updated state of the query. Once the query has completed the provenance request should be deleted by the client who originally submitted it.
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.ProvenanceApi;
ProvenanceApi apiInstance = new ProvenanceApi();
ProvenanceEntity body = new ProvenanceEntity(); // ProvenanceEntity | The provenance query details.
try {
ProvenanceEntity result = apiInstance.submitProvenanceRequest(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProvenanceApi#submitProvenanceRequest");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | ProvenanceEntity | The provenance query details. |
No authorization required
- Content-Type: application/json
- Accept: application/json