Apache NiFi REST API
REST API definition for Apache NiFi web services
OpenAPI spec version: 2.7.2 Contact: dev@nifi.apache.org Generated by: https://github.com/swagger-api/swagger-codegen.git
- class nipyapi.nifi.apis.data_transfer_api.DataTransferApi(api_client=None)[source]
Bases:
objectNOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen
- commit_input_port_transaction(response_code, port_id, transaction_id, **kwargs)[source]
Commit or cancel the specified transaction. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
commit_input_port_transaction_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- commit_input_port_transaction_with_http_info(response_code, port_id, transaction_id, **kwargs)[source]
Commit or cancel the specified transaction. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
commit_input_port_transaction()method instead.- Parameters:
- Returns:
(
TransactionResultEntity, status_code, headers) - Response data with HTTP details.- Return type:
- commit_output_port_transaction(response_code, checksum, port_id, transaction_id, **kwargs)[source]
Commit or cancel the specified transaction. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
commit_output_port_transaction_with_http_info()method instead.- Parameters:
response_code (int) – The response code. Available values are CONFIRM_TRANSACTION(12) or CANCEL_TRANSACTION(15). (required)
checksum (str) – A checksum calculated at client side using CRC32 to check flow file content integrity. It must match with the value calculated at server side. (required)
port_id (str) – The output port id. (required)
transaction_id (str) – The transaction id. (required)
body (
object)
- Returns:
The response data.
- Return type:
- commit_output_port_transaction_with_http_info(response_code, checksum, port_id, transaction_id, **kwargs)[source]
Commit or cancel the specified transaction. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
commit_output_port_transaction()method instead.- Parameters:
response_code (int) – The response code. Available values are CONFIRM_TRANSACTION(12) or CANCEL_TRANSACTION(15). (required)
checksum (str) – A checksum calculated at client side using CRC32 to check flow file content integrity. It must match with the value calculated at server side. (required)
port_id (str) – The output port id. (required)
transaction_id (str) – The transaction id. (required)
body (
object)
- Returns:
(
TransactionResultEntity, status_code, headers) - Response data with HTTP details.- Return type:
- create_port_transaction(port_type, port_id, **kwargs)[source]
Create a transaction to the specified output port or input port. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
create_port_transaction_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- create_port_transaction_with_http_info(port_type, port_id, **kwargs)[source]
Create a transaction to the specified output port or input port. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
create_port_transaction()method instead.- Parameters:
- Returns:
(
TransactionResultEntity, status_code, headers) - Response data with HTTP details.- Return type:
- extend_input_port_transaction_ttl(port_id, transaction_id, **kwargs)[source]
Extend transaction TTL. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
extend_input_port_transaction_ttl_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- extend_input_port_transaction_ttl_with_http_info(port_id, transaction_id, **kwargs)[source]
Extend transaction TTL. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
extend_input_port_transaction_ttl()method instead.- Parameters:
- Returns:
(
TransactionResultEntity, status_code, headers) - Response data with HTTP details.- Return type:
- extend_output_port_transaction_ttl(port_id, transaction_id, **kwargs)[source]
Extend transaction TTL. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
extend_output_port_transaction_ttl_with_http_info()method instead.- Parameters:
- Returns:
The response data.
- Return type:
- extend_output_port_transaction_ttl_with_http_info(port_id, transaction_id, **kwargs)[source]
Extend transaction TTL. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
extend_output_port_transaction_ttl()method instead.- Parameters:
- Returns:
(
TransactionResultEntity, status_code, headers) - Response data with HTTP details.- Return type:
- receive_flow_files(port_id, transaction_id, **kwargs)[source]
Transfer flow files to the input port. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
receive_flow_files_with_http_info()method instead.
- receive_flow_files_with_http_info(port_id, transaction_id, **kwargs)[source]
Transfer flow files to the input port. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
receive_flow_files()method instead.
- transfer_flow_files(port_id, transaction_id, **kwargs)[source]
Transfer flow files from the output port. This method makes a synchronous HTTP request and returns the response data directly.
For full HTTP response details (status code, headers, etc.), use the corresponding
transfer_flow_files_with_http_info()method instead.
- transfer_flow_files_with_http_info(port_id, transaction_id, **kwargs)[source]
Transfer flow files from the output port. This method makes a synchronous HTTP request and returns detailed response information.
Returns the response data along with HTTP status code, headers, and other metadata. For just the response data, use the corresponding
transfer_flow_files()method instead.