Apache NiFi REST API
REST API definition for Apache NiFi web services
OpenAPI spec version: 2.6.0 Contact: dev@nifi.apache.org Generated by: https://github.com/swagger-api/swagger-codegen.git
- class nipyapi.nifi.apis.funnels_api.FunnelsApi(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
- get_funnel(id, **kwargs)[source]
Gets a funnel. 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
get_funnel_with_http_info()method instead.- Parameters:
id (str) – The funnel id. (required)
- Returns:
The response data.
- Return type:
- get_funnel_with_http_info(id, **kwargs)[source]
Gets a funnel. 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
get_funnel()method instead.- Parameters:
id (str) – The funnel id. (required)
- Returns:
(
FunnelEntity, status_code, headers) - Response data with HTTP details.- Return type:
- remove_funnel(id, **kwargs)[source]
Deletes a funnel. 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
remove_funnel_with_http_info()method instead.- Parameters:
id (str) – The funnel id. (required)
version (
LongParameter) – The revision is used to verify the client is working with the latest version of the flow.client_id (
ClientIdParameter) – If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.disconnected_node_acknowledged (bool) – Acknowledges that this node is disconnected to allow for mutable requests to proceed.
- Returns:
The response data.
- Return type:
- remove_funnel_with_http_info(id, **kwargs)[source]
Deletes a funnel. 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
remove_funnel()method instead.- Parameters:
id (str) – The funnel id. (required)
version (
LongParameter) – The revision is used to verify the client is working with the latest version of the flow.client_id (
ClientIdParameter) – If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response.disconnected_node_acknowledged (bool) – Acknowledges that this node is disconnected to allow for mutable requests to proceed.
- Returns:
(
FunnelEntity, status_code, headers) - Response data with HTTP details.- Return type:
- update_funnel(body, id, **kwargs)[source]
Updates a funnel. 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
update_funnel_with_http_info()method instead.- Parameters:
body (
FunnelEntity) – The funnel configuration details. (required)id (str) – The funnel id. (required)
- Returns:
The response data.
- Return type:
- update_funnel_with_http_info(body, id, **kwargs)[source]
Updates a funnel. 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
update_funnel()method instead.- Parameters:
body (
FunnelEntity) – The funnel configuration details. (required)id (str) – The funnel id. (required)
- Returns:
(
FunnelEntity, status_code, headers) - Response data with HTTP details.- Return type: