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.site_to_site_api.SiteToSiteApi(api_client=None)[source]

Bases: object

NOTE: 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

__init__(api_client=None)[source]
get_peers(**kwargs)[source]

Returns the available Peers and its status of this NiFi. 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_peers_with_http_info() method instead.

Args:

Returns:

The response data.

Return type:

PeersEntity

get_peers_with_http_info(**kwargs)[source]

Returns the available Peers and its status of this NiFi. 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_peers() method instead.

Args:

Returns:

(PeersEntity, status_code, headers) - Response data with HTTP details.

Return type:

tuple

get_site_to_site_details(**kwargs)[source]

Returns the details about this NiFi necessary to communicate via site to site. 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_site_to_site_details_with_http_info() method instead.

Args:

Returns:

The response data.

Return type:

ControllerEntity

get_site_to_site_details_with_http_info(**kwargs)[source]

Returns the details about this NiFi necessary to communicate via site to site. 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_site_to_site_details() method instead.

Args:

Returns:

(ControllerEntity, status_code, headers) - Response data with HTTP details.

Return type:

tuple