Cloudera Documentation

Cloudera Streams Replication Manager REST API Reference

Default

clusterInfo


/v2/cluster-info/{kafkaClusterId}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/cluster-info/{kafkaClusterId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String kafkaClusterId = kafkaClusterId_example; // String | 
        try {
            ClusterInfo result = apiInstance.clusterInfo(kafkaClusterId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterInfo");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String kafkaClusterId = kafkaClusterId_example; // String | 
        try {
            ClusterInfo result = apiInstance.clusterInfo(kafkaClusterId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterInfo");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *kafkaClusterId = kafkaClusterId_example; // 

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance clusterInfoWith:kafkaClusterId
              completionHandler: ^(ClusterInfo output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var kafkaClusterId = kafkaClusterId_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.clusterInfo(kafkaClusterId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class clusterInfoExample
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var kafkaClusterId = kafkaClusterId_example;  // String | 

            try
            {
                ClusterInfo result = apiInstance.clusterInfo(kafkaClusterId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clusterInfo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$kafkaClusterId = kafkaClusterId_example; // String | 

try {
    $result = $api_instance->clusterInfo($kafkaClusterId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clusterInfo: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $kafkaClusterId = kafkaClusterId_example; # String | 

eval { 
    my $result = $api_instance->clusterInfo(kafkaClusterId => $kafkaClusterId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->clusterInfo: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
kafkaClusterId = kafkaClusterId_example # String | 

try: 
    api_response = api_instance.cluster_info(kafkaClusterId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->clusterInfo: %s\n" % e)

Parameters

Path parameters
Name Description
kafkaClusterId*
String
Required

Responses

Status: 200 - successful operation


clusterInfo1


/v2/inter-cluster/cluster-info/{kafkaClusterId}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/inter-cluster/cluster-info/{kafkaClusterId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String kafkaClusterId = kafkaClusterId_example; // String | 
        try {
            ClusterInfo result = apiInstance.clusterInfo1(kafkaClusterId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterInfo1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String kafkaClusterId = kafkaClusterId_example; // String | 
        try {
            ClusterInfo result = apiInstance.clusterInfo1(kafkaClusterId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterInfo1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *kafkaClusterId = kafkaClusterId_example; // 

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance clusterInfo1With:kafkaClusterId
              completionHandler: ^(ClusterInfo output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var kafkaClusterId = kafkaClusterId_example; // {{String}} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.clusterInfo1(kafkaClusterId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class clusterInfo1Example
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var kafkaClusterId = kafkaClusterId_example;  // String | 

            try
            {
                ClusterInfo result = apiInstance.clusterInfo1(kafkaClusterId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clusterInfo1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$kafkaClusterId = kafkaClusterId_example; // String | 

try {
    $result = $api_instance->clusterInfo1($kafkaClusterId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clusterInfo1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $kafkaClusterId = kafkaClusterId_example; # String | 

eval { 
    my $result = $api_instance->clusterInfo1(kafkaClusterId => $kafkaClusterId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->clusterInfo1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
kafkaClusterId = kafkaClusterId_example # String | 

try: 
    api_response = api_instance.cluster_info1(kafkaClusterId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->clusterInfo1: %s\n" % e)

Parameters

Path parameters
Name Description
kafkaClusterId*
String
Required

Responses

Status: 200 - successful operation


clusterMetrics


/cluster-metrics/{cluster}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//cluster-metrics/{cluster}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String cluster = cluster_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.clusterMetrics(cluster, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterMetrics");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String cluster = cluster_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.clusterMetrics(cluster, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterMetrics");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *cluster = cluster_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional) (default to 1000)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance clusterMetricsWith:cluster
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var cluster = cluster_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.clusterMetrics(cluster, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class clusterMetricsExample
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var cluster = cluster_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional)  (default to 1000)

            try
            {
                TimeSeriesResponse result = apiInstance.clusterMetrics(cluster, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clusterMetrics: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$cluster = cluster_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->clusterMetrics($cluster, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clusterMetrics: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $cluster = cluster_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->clusterMetrics(cluster => $cluster, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->clusterMetrics: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
cluster = cluster_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional) (default to 1000)

try: 
    api_response = api_instance.cluster_metrics(cluster, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->clusterMetrics: %s\n" % e)

Parameters

Path parameters
Name Description
cluster*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation


clusterMetrics1


/v2/cluster-metrics/{source}/{target}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/cluster-metrics/{source}/{target}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.clusterMetrics1(source, target, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterMetrics1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.clusterMetrics1(source, target, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterMetrics1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *source = source_example; // 
String *target = target_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional) (default to 1000)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance clusterMetrics1With:source
    target:target
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var source = source_example; // {{String}} 
var target = target_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.clusterMetrics1(source, target, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class clusterMetrics1Example
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var source = source_example;  // String | 
            var target = target_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional)  (default to 1000)

            try
            {
                TimeSeriesResponse result = apiInstance.clusterMetrics1(source, target, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clusterMetrics1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$source = source_example; // String | 
$target = target_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->clusterMetrics1($source, $target, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clusterMetrics1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $source = source_example; # String | 
my $target = target_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->clusterMetrics1(source => $source, target => $target, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->clusterMetrics1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
source = source_example # String | 
target = target_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional) (default to 1000)

try: 
    api_response = api_instance.cluster_metrics1(source, target, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->clusterMetrics1: %s\n" % e)

Parameters

Path parameters
Name Description
source*
String
Required
target*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation


clusterMetrics2


/v2/inter-cluster/cluster-metrics/{source}/{target}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/inter-cluster/cluster-metrics/{source}/{target}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.clusterMetrics2(source, target, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterMetrics2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.clusterMetrics2(source, target, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterMetrics2");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *source = source_example; // 
String *target = target_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional) (default to 1000)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance clusterMetrics2With:source
    target:target
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var source = source_example; // {{String}} 
var target = target_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.clusterMetrics2(source, target, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class clusterMetrics2Example
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var source = source_example;  // String | 
            var target = target_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional)  (default to 1000)

            try
            {
                TimeSeriesResponse result = apiInstance.clusterMetrics2(source, target, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clusterMetrics2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$source = source_example; // String | 
$target = target_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->clusterMetrics2($source, $target, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clusterMetrics2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $source = source_example; # String | 
my $target = target_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->clusterMetrics2(source => $source, target => $target, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->clusterMetrics2: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
source = source_example # String | 
target = target_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional) (default to 1000)

try: 
    api_response = api_instance.cluster_metrics2(source, target, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->clusterMetrics2: %s\n" % e)

Parameters

Path parameters
Name Description
source*
String
Required
target*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation


clusterMetrics3


/v2/intra-cluster/cluster-metrics/{source}/{target}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/intra-cluster/cluster-metrics/{source}/{target}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.clusterMetrics3(source, target, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterMetrics3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.clusterMetrics3(source, target, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterMetrics3");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *source = source_example; // 
String *target = target_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance clusterMetrics3With:source
    target:target
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var source = source_example; // {{String}} 
var target = target_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.clusterMetrics3(source, target, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class clusterMetrics3Example
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var source = source_example;  // String | 
            var target = target_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional) 

            try
            {
                TimeSeriesResponse result = apiInstance.clusterMetrics3(source, target, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clusterMetrics3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$source = source_example; // String | 
$target = target_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->clusterMetrics3($source, $target, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clusterMetrics3: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $source = source_example; # String | 
my $target = target_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->clusterMetrics3(source => $source, target => $target, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->clusterMetrics3: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
source = source_example # String | 
target = target_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional)

try: 
    api_response = api_instance.cluster_metrics3(source, target, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->clusterMetrics3: %s\n" % e)

Parameters

Path parameters
Name Description
source*
String
Required
target*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation


clusterMetricsLocal


/cluster-metrics-local/{cluster}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//cluster-metrics-local/{cluster}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String cluster = cluster_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.clusterMetricsLocal(cluster, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterMetricsLocal");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String cluster = cluster_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.clusterMetricsLocal(cluster, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clusterMetricsLocal");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *cluster = cluster_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance clusterMetricsLocalWith:cluster
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var cluster = cluster_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.clusterMetricsLocal(cluster, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class clusterMetricsLocalExample
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var cluster = cluster_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional) 

            try
            {
                TimeSeriesResponse result = apiInstance.clusterMetricsLocal(cluster, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clusterMetricsLocal: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$cluster = cluster_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->clusterMetricsLocal($cluster, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clusterMetricsLocal: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $cluster = cluster_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->clusterMetricsLocal(cluster => $cluster, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->clusterMetricsLocal: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
cluster = cluster_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional)

try: 
    api_response = api_instance.cluster_metrics_local(cluster, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->clusterMetricsLocal: %s\n" % e)

Parameters

Path parameters
Name Description
cluster*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation


healthCheck


/v2/health-check

Usage and SDK Samples

curl -X HEAD\
"//v2/health-check"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.healthCheck();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#healthCheck");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.healthCheck();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#healthCheck");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance healthCheckWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');

var api = new SwaggerJsClient.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.healthCheck(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class healthCheckExample
    {
        public void main()
        {

            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.healthCheck();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.healthCheck: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDefaultApi();

try {
    $api_instance->healthCheck();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->healthCheck: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->healthCheck();
};
if ($@) {
    warn "Exception when calling DefaultApi->healthCheck: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.health_check()
except ApiException as e:
    print("Exception when calling DefaultApi->healthCheck: %s\n" % e)

Parameters

Responses

Status: default - successful operation


remoteTopics


/remote-topics/{source}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//remote-topics/{source}?minutes=&hours=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', TopicInfo] result = apiInstance.remoteTopics(source, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#remoteTopics");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', TopicInfo] result = apiInstance.remoteTopics(source, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#remoteTopics");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *source = source_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance remoteTopicsWith:source
    minutes:minutes
    hours:hours
    from:from
    to:to
              completionHandler: ^(map['String', TopicInfo] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var source = source_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789 // {{Long}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.remoteTopics(source, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class remoteTopicsExample
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var source = source_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 

            try
            {
                map['String', TopicInfo] result = apiInstance.remoteTopics(source, minutes, hours, from, to);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.remoteTopics: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$source = source_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 

try {
    $result = $api_instance->remoteTopics($source, $minutes, $hours, $from, $to);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->remoteTopics: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $source = source_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 

eval { 
    my $result = $api_instance->remoteTopics(source => $source, minutes => $minutes, hours => $hours, from => $from, to => $to);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->remoteTopics: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
source = source_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)

try: 
    api_response = api_instance.remote_topics(source, minutes=minutes, hours=hours, from=from, to=to)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->remoteTopics: %s\n" % e)

Parameters

Path parameters
Name Description
source*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)

Responses

Status: 200 - successful operation


remoteTopics1


/v2/remote-topics/{source}/{target}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/remote-topics/{source}/{target}?minutes=&hours=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', TopicInfo] result = apiInstance.remoteTopics1(source, target, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#remoteTopics1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', TopicInfo] result = apiInstance.remoteTopics1(source, target, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#remoteTopics1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *source = source_example; // 
String *target = target_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance remoteTopics1With:source
    target:target
    minutes:minutes
    hours:hours
    from:from
    to:to
              completionHandler: ^(map['String', TopicInfo] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var source = source_example; // {{String}} 
var target = target_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789 // {{Long}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.remoteTopics1(source, target, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class remoteTopics1Example
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var source = source_example;  // String | 
            var target = target_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 

            try
            {
                map['String', TopicInfo] result = apiInstance.remoteTopics1(source, target, minutes, hours, from, to);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.remoteTopics1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$source = source_example; // String | 
$target = target_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 

try {
    $result = $api_instance->remoteTopics1($source, $target, $minutes, $hours, $from, $to);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->remoteTopics1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $source = source_example; # String | 
my $target = target_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 

eval { 
    my $result = $api_instance->remoteTopics1(source => $source, target => $target, minutes => $minutes, hours => $hours, from => $from, to => $to);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->remoteTopics1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
source = source_example # String | 
target = target_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)

try: 
    api_response = api_instance.remote_topics1(source, target, minutes=minutes, hours=hours, from=from, to=to)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->remoteTopics1: %s\n" % e)

Parameters

Path parameters
Name Description
source*
String
Required
target*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)

Responses

Status: 200 - successful operation


remoteTopics2


/v2/inter-cluster/remote-topics/{source}/{target}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/inter-cluster/remote-topics/{source}/{target}?minutes=&hours=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', TopicInfo] result = apiInstance.remoteTopics2(source, target, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#remoteTopics2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', TopicInfo] result = apiInstance.remoteTopics2(source, target, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#remoteTopics2");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *source = source_example; // 
String *target = target_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance remoteTopics2With:source
    target:target
    minutes:minutes
    hours:hours
    from:from
    to:to
              completionHandler: ^(map['String', TopicInfo] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var source = source_example; // {{String}} 
var target = target_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789 // {{Long}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.remoteTopics2(source, target, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class remoteTopics2Example
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var source = source_example;  // String | 
            var target = target_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 

            try
            {
                map['String', TopicInfo] result = apiInstance.remoteTopics2(source, target, minutes, hours, from, to);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.remoteTopics2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$source = source_example; // String | 
$target = target_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 

try {
    $result = $api_instance->remoteTopics2($source, $target, $minutes, $hours, $from, $to);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->remoteTopics2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $source = source_example; # String | 
my $target = target_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 

eval { 
    my $result = $api_instance->remoteTopics2(source => $source, target => $target, minutes => $minutes, hours => $hours, from => $from, to => $to);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->remoteTopics2: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
source = source_example # String | 
target = target_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)

try: 
    api_response = api_instance.remote_topics2(source, target, minutes=minutes, hours=hours, from=from, to=to)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->remoteTopics2: %s\n" % e)

Parameters

Path parameters
Name Description
source*
String
Required
target*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)

Responses

Status: 200 - successful operation


replicationInfo


/replications

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//replications?source=&minutes=&hours=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        array[String] source = ; // array[String] | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', ReplicationInfo] result = apiInstance.replicationInfo(source, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#replicationInfo");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[String] source = ; // array[String] | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', ReplicationInfo] result = apiInstance.replicationInfo(source, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#replicationInfo");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
array[String] *source = ; //  (optional)
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance replicationInfoWith:source
    minutes:minutes
    hours:hours
    from:from
    to:to
              completionHandler: ^(map['String', ReplicationInfo] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var opts = { 
  'source': , // {{array[String]}} 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789 // {{Long}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.replicationInfo(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class replicationInfoExample
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var source = new array[String](); // array[String] |  (optional) 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 

            try
            {
                map['String', ReplicationInfo] result = apiInstance.replicationInfo(source, minutes, hours, from, to);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.replicationInfo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$source = ; // array[String] | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 

try {
    $result = $api_instance->replicationInfo($source, $minutes, $hours, $from, $to);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->replicationInfo: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $source = []; # array[String] | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 

eval { 
    my $result = $api_instance->replicationInfo(source => $source, minutes => $minutes, hours => $hours, from => $from, to => $to);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->replicationInfo: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
source =  # array[String] |  (optional)
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)

try: 
    api_response = api_instance.replication_info(source=source, minutes=minutes, hours=hours, from=from, to=to)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->replicationInfo: %s\n" % e)

Parameters

Query parameters
Name Description
source
array[String]
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)

Responses

Status: 200 - successful operation


replications


/v2/replications

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/replications?sources=&targets=&minutes=&hours=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        array[String] sources = ; // array[String] | 
        array[String] targets = ; // array[String] | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', ReplicationInfo] result = apiInstance.replications(sources, targets, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#replications");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[String] sources = ; // array[String] | 
        array[String] targets = ; // array[String] | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', ReplicationInfo] result = apiInstance.replications(sources, targets, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#replications");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
array[String] *sources = ; //  (optional)
array[String] *targets = ; //  (optional)
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance replicationsWith:sources
    targets:targets
    minutes:minutes
    hours:hours
    from:from
    to:to
              completionHandler: ^(map['String', ReplicationInfo] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var opts = { 
  'sources': , // {{array[String]}} 
  'targets': , // {{array[String]}} 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789 // {{Long}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.replications(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class replicationsExample
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var sources = new array[String](); // array[String] |  (optional) 
            var targets = new array[String](); // array[String] |  (optional) 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 

            try
            {
                map['String', ReplicationInfo] result = apiInstance.replications(sources, targets, minutes, hours, from, to);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.replications: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$sources = ; // array[String] | 
$targets = ; // array[String] | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 

try {
    $result = $api_instance->replications($sources, $targets, $minutes, $hours, $from, $to);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->replications: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $sources = []; # array[String] | 
my $targets = []; # array[String] | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 

eval { 
    my $result = $api_instance->replications(sources => $sources, targets => $targets, minutes => $minutes, hours => $hours, from => $from, to => $to);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->replications: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
sources =  # array[String] |  (optional)
targets =  # array[String] |  (optional)
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)

try: 
    api_response = api_instance.replications(sources=sources, targets=targets, minutes=minutes, hours=hours, from=from, to=to)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->replications: %s\n" % e)

Parameters

Query parameters
Name Description
sources
array[String]
targets
array[String]
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)

Responses

Status: 200 - successful operation


replications1


/v2/inter-cluster/replications

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/inter-cluster/replications?sources=&targets=&minutes=&hours=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        array[String] sources = ; // array[String] | 
        array[String] targets = ; // array[String] | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', ReplicationInfo] result = apiInstance.replications1(sources, targets, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#replications1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[String] sources = ; // array[String] | 
        array[String] targets = ; // array[String] | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        try {
            map['String', ReplicationInfo] result = apiInstance.replications1(sources, targets, minutes, hours, from, to);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#replications1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
array[String] *sources = ; //  (optional)
array[String] *targets = ; //  (optional)
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance replications1With:sources
    targets:targets
    minutes:minutes
    hours:hours
    from:from
    to:to
              completionHandler: ^(map['String', ReplicationInfo] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var opts = { 
  'sources': , // {{array[String]}} 
  'targets': , // {{array[String]}} 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789 // {{Long}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.replications1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class replications1Example
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var sources = new array[String](); // array[String] |  (optional) 
            var targets = new array[String](); // array[String] |  (optional) 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 

            try
            {
                map['String', ReplicationInfo] result = apiInstance.replications1(sources, targets, minutes, hours, from, to);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.replications1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$sources = ; // array[String] | 
$targets = ; // array[String] | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 

try {
    $result = $api_instance->replications1($sources, $targets, $minutes, $hours, $from, $to);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->replications1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $sources = []; # array[String] | 
my $targets = []; # array[String] | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 

eval { 
    my $result = $api_instance->replications1(sources => $sources, targets => $targets, minutes => $minutes, hours => $hours, from => $from, to => $to);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->replications1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
sources =  # array[String] |  (optional)
targets =  # array[String] |  (optional)
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)

try: 
    api_response = api_instance.replications1(sources=sources, targets=targets, minutes=minutes, hours=hours, from=from, to=to)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->replications1: %s\n" % e)

Parameters

Query parameters
Name Description
sources
array[String]
targets
array[String]
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)

Responses

Status: 200 - successful operation


topicMetrics


/topic-metrics/{topic}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//topic-metrics/{topic}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String topic = topic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetrics(topic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetrics");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String topic = topic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetrics(topic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetrics");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *topic = topic_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional) (default to 1000)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance topicMetricsWith:topic
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var topic = topic_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.topicMetrics(topic, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class topicMetricsExample
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var topic = topic_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional)  (default to 1000)

            try
            {
                TimeSeriesResponse result = apiInstance.topicMetrics(topic, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.topicMetrics: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$topic = topic_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->topicMetrics($topic, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->topicMetrics: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $topic = topic_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->topicMetrics(topic => $topic, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->topicMetrics: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
topic = topic_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional) (default to 1000)

try: 
    api_response = api_instance.topic_metrics(topic, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->topicMetrics: %s\n" % e)

Parameters

Path parameters
Name Description
topic*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation


topicMetrics1


/v2/intra-cluster/topic-metrics/{source}/{target}/{upstreamTopic}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/intra-cluster/topic-metrics/{source}/{target}/{upstreamTopic}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String upstreamTopic = upstreamTopic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetrics1(source, target, upstreamTopic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetrics1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String upstreamTopic = upstreamTopic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetrics1(source, target, upstreamTopic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetrics1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *source = source_example; // 
String *target = target_example; // 
String *upstreamTopic = upstreamTopic_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance topicMetrics1With:source
    target:target
    upstreamTopic:upstreamTopic
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var source = source_example; // {{String}} 
var target = target_example; // {{String}} 
var upstreamTopic = upstreamTopic_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.topicMetrics1(source, target, upstreamTopic, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class topicMetrics1Example
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var source = source_example;  // String | 
            var target = target_example;  // String | 
            var upstreamTopic = upstreamTopic_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional) 

            try
            {
                TimeSeriesResponse result = apiInstance.topicMetrics1(source, target, upstreamTopic, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.topicMetrics1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$source = source_example; // String | 
$target = target_example; // String | 
$upstreamTopic = upstreamTopic_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->topicMetrics1($source, $target, $upstreamTopic, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->topicMetrics1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $source = source_example; # String | 
my $target = target_example; # String | 
my $upstreamTopic = upstreamTopic_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->topicMetrics1(source => $source, target => $target, upstreamTopic => $upstreamTopic, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->topicMetrics1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
source = source_example # String | 
target = target_example # String | 
upstreamTopic = upstreamTopic_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional)

try: 
    api_response = api_instance.topic_metrics1(source, target, upstreamTopic, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->topicMetrics1: %s\n" % e)

Parameters

Path parameters
Name Description
source*
String
Required
target*
String
Required
upstreamTopic*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation


topicMetricsLocal


/topic-metrics-local/{topic}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//topic-metrics-local/{topic}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String topic = topic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetricsLocal(topic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetricsLocal");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String topic = topic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetricsLocal(topic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetricsLocal");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *topic = topic_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance topicMetricsLocalWith:topic
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var topic = topic_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.topicMetricsLocal(topic, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class topicMetricsLocalExample
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var topic = topic_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional) 

            try
            {
                TimeSeriesResponse result = apiInstance.topicMetricsLocal(topic, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.topicMetricsLocal: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$topic = topic_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->topicMetricsLocal($topic, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->topicMetricsLocal: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $topic = topic_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->topicMetricsLocal(topic => $topic, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->topicMetricsLocal: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
topic = topic_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional)

try: 
    api_response = api_instance.topic_metrics_local(topic, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->topicMetricsLocal: %s\n" % e)

Parameters

Path parameters
Name Description
topic*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation


topicMetricsWithDownstreamTopicName


/v2/topic-metrics/{target}/{downstreamTopic}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/topic-metrics/{target}/{downstreamTopic}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String target = target_example; // String | 
        String downstreamTopic = downstreamTopic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName(target, downstreamTopic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetricsWithDownstreamTopicName");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String target = target_example; // String | 
        String downstreamTopic = downstreamTopic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName(target, downstreamTopic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetricsWithDownstreamTopicName");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *target = target_example; // 
String *downstreamTopic = downstreamTopic_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional) (default to 1000)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance topicMetricsWithDownstreamTopicNameWith:target
    downstreamTopic:downstreamTopic
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var target = target_example; // {{String}} 
var downstreamTopic = downstreamTopic_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.topicMetricsWithDownstreamTopicName(target, downstreamTopic, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class topicMetricsWithDownstreamTopicNameExample
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var target = target_example;  // String | 
            var downstreamTopic = downstreamTopic_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional)  (default to 1000)

            try
            {
                TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName(target, downstreamTopic, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.topicMetricsWithDownstreamTopicName: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$target = target_example; // String | 
$downstreamTopic = downstreamTopic_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->topicMetricsWithDownstreamTopicName($target, $downstreamTopic, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $target = target_example; # String | 
my $downstreamTopic = downstreamTopic_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->topicMetricsWithDownstreamTopicName(target => $target, downstreamTopic => $downstreamTopic, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
target = target_example # String | 
downstreamTopic = downstreamTopic_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional) (default to 1000)

try: 
    api_response = api_instance.topic_metrics_with_downstream_topic_name(target, downstreamTopic, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName: %s\n" % e)

Parameters

Path parameters
Name Description
target*
String
Required
downstreamTopic*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation


topicMetricsWithDownstreamTopicName1


/v2/topic-metrics/{source}/{target}/{upstreamTopic}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/topic-metrics/{source}/{target}/{upstreamTopic}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String upstreamTopic = upstreamTopic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName1(source, target, upstreamTopic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetricsWithDownstreamTopicName1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String upstreamTopic = upstreamTopic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName1(source, target, upstreamTopic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetricsWithDownstreamTopicName1");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *source = source_example; // 
String *target = target_example; // 
String *upstreamTopic = upstreamTopic_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional) (default to 1000)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance topicMetricsWithDownstreamTopicName1With:source
    target:target
    upstreamTopic:upstreamTopic
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var source = source_example; // {{String}} 
var target = target_example; // {{String}} 
var upstreamTopic = upstreamTopic_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.topicMetricsWithDownstreamTopicName1(source, target, upstreamTopic, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class topicMetricsWithDownstreamTopicName1Example
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var source = source_example;  // String | 
            var target = target_example;  // String | 
            var upstreamTopic = upstreamTopic_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional)  (default to 1000)

            try
            {
                TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName1(source, target, upstreamTopic, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.topicMetricsWithDownstreamTopicName1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$source = source_example; // String | 
$target = target_example; // String | 
$upstreamTopic = upstreamTopic_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->topicMetricsWithDownstreamTopicName1($source, $target, $upstreamTopic, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $source = source_example; # String | 
my $target = target_example; # String | 
my $upstreamTopic = upstreamTopic_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->topicMetricsWithDownstreamTopicName1(source => $source, target => $target, upstreamTopic => $upstreamTopic, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
source = source_example # String | 
target = target_example # String | 
upstreamTopic = upstreamTopic_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional) (default to 1000)

try: 
    api_response = api_instance.topic_metrics_with_downstream_topic_name1(source, target, upstreamTopic, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName1: %s\n" % e)

Parameters

Path parameters
Name Description
source*
String
Required
target*
String
Required
upstreamTopic*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation


topicMetricsWithDownstreamTopicName2


/v2/inter-cluster/topic-metrics/{target}/{downstreamTopic}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/inter-cluster/topic-metrics/{target}/{downstreamTopic}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String target = target_example; // String | 
        String downstreamTopic = downstreamTopic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName2(target, downstreamTopic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetricsWithDownstreamTopicName2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String target = target_example; // String | 
        String downstreamTopic = downstreamTopic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName2(target, downstreamTopic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetricsWithDownstreamTopicName2");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *target = target_example; // 
String *downstreamTopic = downstreamTopic_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional) (default to 1000)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance topicMetricsWithDownstreamTopicName2With:target
    downstreamTopic:downstreamTopic
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var target = target_example; // {{String}} 
var downstreamTopic = downstreamTopic_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.topicMetricsWithDownstreamTopicName2(target, downstreamTopic, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class topicMetricsWithDownstreamTopicName2Example
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var target = target_example;  // String | 
            var downstreamTopic = downstreamTopic_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional)  (default to 1000)

            try
            {
                TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName2(target, downstreamTopic, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.topicMetricsWithDownstreamTopicName2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$target = target_example; // String | 
$downstreamTopic = downstreamTopic_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->topicMetricsWithDownstreamTopicName2($target, $downstreamTopic, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $target = target_example; # String | 
my $downstreamTopic = downstreamTopic_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->topicMetricsWithDownstreamTopicName2(target => $target, downstreamTopic => $downstreamTopic, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName2: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
target = target_example # String | 
downstreamTopic = downstreamTopic_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional) (default to 1000)

try: 
    api_response = api_instance.topic_metrics_with_downstream_topic_name2(target, downstreamTopic, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName2: %s\n" % e)

Parameters

Path parameters
Name Description
target*
String
Required
downstreamTopic*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation


topicMetricsWithDownstreamTopicName3


/v2/inter-cluster/topic-metrics/{source}/{target}/{upstreamTopic}/{metric}

Usage and SDK Samples

curl -X GET\
-H "Authorization: [[apiKey]]"\
-H "Accept: application/json"\
"//v2/inter-cluster/topic-metrics/{source}/{target}/{upstreamTopic}/{metric}?minutes=&hours=&from=&to=&samples="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: Authorization
        ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
        Authorization.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //Authorization.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String upstreamTopic = upstreamTopic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName3(source, target, upstreamTopic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetricsWithDownstreamTopicName3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String source = source_example; // String | 
        String target = target_example; // String | 
        String upstreamTopic = upstreamTopic_example; // String | 
        String metric = metric_example; // String | 
        Integer minutes = 56; // Integer | 
        Integer hours = 56; // Integer | 
        Long from = 789; // Long | 
        Long to = 789; // Long | 
        Integer samples = 56; // Integer | 
        try {
            TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName3(source, target, upstreamTopic, metric, minutes, hours, from, to, samples);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#topicMetricsWithDownstreamTopicName3");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
String *source = source_example; // 
String *target = target_example; // 
String *upstreamTopic = upstreamTopic_example; // 
String *metric = metric_example; // 
Integer *minutes = 56; //  (optional)
Integer *hours = 56; //  (optional)
Long *from = 789; //  (optional)
Long *to = 789; //  (optional)
Integer *samples = 56; //  (optional) (default to 1000)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance topicMetricsWithDownstreamTopicName3With:source
    target:target
    upstreamTopic:upstreamTopic
    metric:metric
    minutes:minutes
    hours:hours
    from:from
    to:to
    samples:samples
              completionHandler: ^(TimeSeriesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SwaggerJsClient = require('swagger-js-client');
var defaultClient = SwaggerJsClient.ApiClient.instance;

// Configure API key authorization: Authorization
var Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix['Authorization'] = "Token"

var api = new SwaggerJsClient.DefaultApi()
var source = source_example; // {{String}} 
var target = target_example; // {{String}} 
var upstreamTopic = upstreamTopic_example; // {{String}} 
var metric = metric_example; // {{String}} 
var opts = { 
  'minutes': 56, // {{Integer}} 
  'hours': 56, // {{Integer}} 
  'from': 789, // {{Long}} 
  'to': 789, // {{Long}} 
  'samples': 56 // {{Integer}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.topicMetricsWithDownstreamTopicName3(source, target, upstreamTopic, metric, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class topicMetricsWithDownstreamTopicName3Example
    {
        public void main()
        {

            // Configure API key authorization: Authorization
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var source = source_example;  // String | 
            var target = target_example;  // String | 
            var upstreamTopic = upstreamTopic_example;  // String | 
            var metric = metric_example;  // String | 
            var minutes = 56;  // Integer |  (optional) 
            var hours = 56;  // Integer |  (optional) 
            var from = 789;  // Long |  (optional) 
            var to = 789;  // Long |  (optional) 
            var samples = 56;  // Integer |  (optional)  (default to 1000)

            try
            {
                TimeSeriesResponse result = apiInstance.topicMetricsWithDownstreamTopicName3(source, target, upstreamTopic, metric, minutes, hours, from, to, samples);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.topicMetricsWithDownstreamTopicName3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Authorization
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\ApiDefaultApi();
$source = source_example; // String | 
$target = target_example; // String | 
$upstreamTopic = upstreamTopic_example; // String | 
$metric = metric_example; // String | 
$minutes = 56; // Integer | 
$hours = 56; // Integer | 
$from = 789; // Long | 
$to = 789; // Long | 
$samples = 56; // Integer | 

try {
    $result = $api_instance->topicMetricsWithDownstreamTopicName3($source, $target, $upstreamTopic, $metric, $minutes, $hours, $from, $to, $samples);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName3: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: Authorization
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $source = source_example; # String | 
my $target = target_example; # String | 
my $upstreamTopic = upstreamTopic_example; # String | 
my $metric = metric_example; # String | 
my $minutes = 56; # Integer | 
my $hours = 56; # Integer | 
my $from = 789; # Long | 
my $to = 789; # Long | 
my $samples = 56; # Integer | 

eval { 
    my $result = $api_instance->topicMetricsWithDownstreamTopicName3(source => $source, target => $target, upstreamTopic => $upstreamTopic, metric => $metric, minutes => $minutes, hours => $hours, from => $from, to => $to, samples => $samples);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName3: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Authorization
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
source = source_example # String | 
target = target_example # String | 
upstreamTopic = upstreamTopic_example # String | 
metric = metric_example # String | 
minutes = 56 # Integer |  (optional)
hours = 56 # Integer |  (optional)
from = 789 # Long |  (optional)
to = 789 # Long |  (optional)
samples = 56 # Integer |  (optional) (default to 1000)

try: 
    api_response = api_instance.topic_metrics_with_downstream_topic_name3(source, target, upstreamTopic, metric, minutes=minutes, hours=hours, from=from, to=to, samples=samples)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->topicMetricsWithDownstreamTopicName3: %s\n" % e)

Parameters

Path parameters
Name Description
source*
String
Required
target*
String
Required
upstreamTopic*
String
Required
metric*
String
Required
Query parameters
Name Description
minutes
Integer (int32)
hours
Integer (int32)
from
Long (int64)
to
Long (int64)
samples
Integer (int32)

Responses

Status: 200 - successful operation