All URIs are relative to http://localhost/nifi-api
Method | HTTP request | Description |
---|---|---|
GetPeers | GET /site-to-site/peers | Returns the available Peers and its status of this NiFi |
GetSiteToSiteDetails | GET /site-to-site | Returns the details about this NiFi necessary to communicate via site to site |
PeersEntity GetPeers ()
Returns the available Peers and its status of this NiFi
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetPeersExample
{
public void main()
{
var apiInstance = new SiteToSiteApi();
try
{
// Returns the available Peers and its status of this NiFi
PeersEntity result = apiInstance.GetPeers();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling SiteToSiteApi.GetPeers: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ControllerEntity GetSiteToSiteDetails ()
Returns the details about this NiFi necessary to communicate via site to site
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetSiteToSiteDetailsExample
{
public void main()
{
var apiInstance = new SiteToSiteApi();
try
{
// Returns the details about this NiFi necessary to communicate via site to site
ControllerEntity result = apiInstance.GetSiteToSiteDetails();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling SiteToSiteApi.GetSiteToSiteDetails: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]