Hyperon REST API

Domain

getAllPathsUsingGET

Get all domain paths

Get all available domain paths from given profile


/domain/{profileCode}/paths

Usage and SDK Samples

curl -X GET "https://localhost:8080/hyperon/domain/{profileCode}/paths"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DomainApi;

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

public class DomainApiExample {

    public static void main(String[] args) {

        DomainApi apiInstance = new DomainApi();
        String accept = accept_example; // String | Accept application/json header
        String profileCode = profileCode_example; // String | profile code from which domain will be taken
        try {
            GetAllPathsResponse result = apiInstance.getAllPathsUsingGET(accept, profileCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DomainApi#getAllPathsUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DomainApi;

public class DomainApiExample {

    public static void main(String[] args) {
        DomainApi apiInstance = new DomainApi();
        String accept = accept_example; // String | Accept application/json header
        String profileCode = profileCode_example; // String | profile code from which domain will be taken
        try {
            GetAllPathsResponse result = apiInstance.getAllPathsUsingGET(accept, profileCode);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DomainApi#getAllPathsUsingGET");
            e.printStackTrace();
        }
    }
}
String *accept = accept_example; // Accept application/json header (default to application/json)
String *profileCode = profileCode_example; // profile code from which domain will be taken

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

// Get all domain paths
[apiInstance getAllPathsUsingGETWith:accept
    profileCode:profileCode
              completionHandler: ^(GetAllPathsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HyperonRestApi = require('hyperon_rest_api');

var api = new HyperonRestApi.DomainApi()

var accept = accept_example; // {String} Accept application/json header

var profileCode = profileCode_example; // {String} profile code from which domain will be taken


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

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

            var apiInstance = new DomainApi();
            var accept = accept_example;  // String | Accept application/json header (default to application/json)
            var profileCode = profileCode_example;  // String | profile code from which domain will be taken

            try
            {
                // Get all domain paths
                GetAllPathsResponse result = apiInstance.getAllPathsUsingGET(accept, profileCode);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DomainApi.getAllPathsUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DomainApi();
$accept = accept_example; // String | Accept application/json header
$profileCode = profileCode_example; // String | profile code from which domain will be taken

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

my $api_instance = WWW::SwaggerClient::DomainApi->new();
my $accept = accept_example; # String | Accept application/json header
my $profileCode = profileCode_example; # String | profile code from which domain will be taken

eval {
    my $result = $api_instance->getAllPathsUsingGET(accept => $accept, profileCode => $profileCode);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DomainApi->getAllPathsUsingGET: $@\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.DomainApi()
accept = accept_example # String | Accept application/json header (default to application/json)
profileCode = profileCode_example # String | profile code from which domain will be taken

try:
    # Get all domain paths
    api_response = api_instance.get_all_paths_using_get(accept, profileCode)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DomainApi->getAllPathsUsingGET: %s\n" % e)

Parameters

Path parameters
Name Description
profileCode*
String
profile code from which domain will be taken
Required
Header parameters
Name Description
Accept*
String
Accept application/json header
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


Execution

executeUsingPOST

Execute given parameters/functions/domain object for provided context

Deprecated. use 'invoke()' endpoint instead. Returns resolved value from parameters/functions/domain for given context. Parameters and domain objects return ParamValue object, function may return any object, for example String or Integer.


/execution/execute

Usage and SDK Samples

curl -X POST "https://localhost:8080/hyperon/execution/execute"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExecutionApi;

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

public class ExecutionApiExample {

    public static void main(String[] args) {

        ExecutionApi apiInstance = new ExecutionApi();
        String accept = accept_example; // String | Accept application/json header
        ExecutionData executionData = ; // ExecutionData | execution data that tells Hyperon what to execute
        try {
            array[ExecutionResult] result = apiInstance.executeUsingPOST(accept, executionData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExecutionApi#executeUsingPOST");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExecutionApi;

public class ExecutionApiExample {

    public static void main(String[] args) {
        ExecutionApi apiInstance = new ExecutionApi();
        String accept = accept_example; // String | Accept application/json header
        ExecutionData executionData = ; // ExecutionData | execution data that tells Hyperon what to execute
        try {
            array[ExecutionResult] result = apiInstance.executeUsingPOST(accept, executionData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExecutionApi#executeUsingPOST");
            e.printStackTrace();
        }
    }
}
String *accept = accept_example; // Accept application/json header (default to application/json)
ExecutionData *executionData = ; // execution data that tells Hyperon what to execute

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

// Execute given parameters/functions/domain object for provided context
[apiInstance executeUsingPOSTWith:accept
    executionData:executionData
              completionHandler: ^(array[ExecutionResult] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HyperonRestApi = require('hyperon_rest_api');

var api = new HyperonRestApi.ExecutionApi()

var accept = accept_example; // {String} Accept application/json header

var executionData = ; // {ExecutionData} execution data that tells Hyperon what to execute


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

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

            var apiInstance = new ExecutionApi();
            var accept = accept_example;  // String | Accept application/json header (default to application/json)
            var executionData = new ExecutionData(); // ExecutionData | execution data that tells Hyperon what to execute

            try
            {
                // Execute given parameters/functions/domain object for provided context
                array[ExecutionResult] result = apiInstance.executeUsingPOST(accept, executionData);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ExecutionApi.executeUsingPOST: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ExecutionApi();
$accept = accept_example; // String | Accept application/json header
$executionData = ; // ExecutionData | execution data that tells Hyperon what to execute

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

my $api_instance = WWW::SwaggerClient::ExecutionApi->new();
my $accept = accept_example; # String | Accept application/json header
my $executionData = WWW::SwaggerClient::Object::ExecutionData->new(); # ExecutionData | execution data that tells Hyperon what to execute

eval {
    my $result = $api_instance->executeUsingPOST(accept => $accept, executionData => $executionData);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ExecutionApi->executeUsingPOST: $@\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.ExecutionApi()
accept = accept_example # String | Accept application/json header (default to application/json)
executionData =  # ExecutionData | execution data that tells Hyperon what to execute

try:
    # Execute given parameters/functions/domain object for provided context
    api_response = api_instance.execute_using_post(accept, executionData)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ExecutionApi->executeUsingPOST: %s\n" % e)

Parameters

Header parameters
Name Description
Accept*
String
Accept application/json header
Required
Body parameters
Name Description
executionData *

Responses

Status: 200 - OK

Status: 201 - Created

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


invokeUsingPOST

Execute given parameters/functions/domain object for provided context

Returns resolved value from parameters/functions/domain for given context. Parameters and domain objects return ParamValue object, function may return any object, for example String or Integer.


/execution/invoke

Usage and SDK Samples

curl -X POST "https://localhost:8080/hyperon/execution/invoke"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExecutionApi;

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

public class ExecutionApiExample {

    public static void main(String[] args) {

        ExecutionApi apiInstance = new ExecutionApi();
        String accept = accept_example; // String | Accept application/json header
        ExecutionData executionData = ; // ExecutionData | execution data that tells Hyperon what to execute
        try {
            ExecutionResponseDto result = apiInstance.invokeUsingPOST(accept, executionData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExecutionApi#invokeUsingPOST");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExecutionApi;

public class ExecutionApiExample {

    public static void main(String[] args) {
        ExecutionApi apiInstance = new ExecutionApi();
        String accept = accept_example; // String | Accept application/json header
        ExecutionData executionData = ; // ExecutionData | execution data that tells Hyperon what to execute
        try {
            ExecutionResponseDto result = apiInstance.invokeUsingPOST(accept, executionData);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExecutionApi#invokeUsingPOST");
            e.printStackTrace();
        }
    }
}
String *accept = accept_example; // Accept application/json header (default to application/json)
ExecutionData *executionData = ; // execution data that tells Hyperon what to execute

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

// Execute given parameters/functions/domain object for provided context
[apiInstance invokeUsingPOSTWith:accept
    executionData:executionData
              completionHandler: ^(ExecutionResponseDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HyperonRestApi = require('hyperon_rest_api');

var api = new HyperonRestApi.ExecutionApi()

var accept = accept_example; // {String} Accept application/json header

var executionData = ; // {ExecutionData} execution data that tells Hyperon what to execute


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

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

            var apiInstance = new ExecutionApi();
            var accept = accept_example;  // String | Accept application/json header (default to application/json)
            var executionData = new ExecutionData(); // ExecutionData | execution data that tells Hyperon what to execute

            try
            {
                // Execute given parameters/functions/domain object for provided context
                ExecutionResponseDto result = apiInstance.invokeUsingPOST(accept, executionData);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ExecutionApi.invokeUsingPOST: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ExecutionApi();
$accept = accept_example; // String | Accept application/json header
$executionData = ; // ExecutionData | execution data that tells Hyperon what to execute

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

my $api_instance = WWW::SwaggerClient::ExecutionApi->new();
my $accept = accept_example; # String | Accept application/json header
my $executionData = WWW::SwaggerClient::Object::ExecutionData->new(); # ExecutionData | execution data that tells Hyperon what to execute

eval {
    my $result = $api_instance->invokeUsingPOST(accept => $accept, executionData => $executionData);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ExecutionApi->invokeUsingPOST: $@\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.ExecutionApi()
accept = accept_example # String | Accept application/json header (default to application/json)
executionData =  # ExecutionData | execution data that tells Hyperon what to execute

try:
    # Execute given parameters/functions/domain object for provided context
    api_response = api_instance.invoke_using_post(accept, executionData)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ExecutionApi->invokeUsingPOST: %s\n" % e)

Parameters

Header parameters
Name Description
Accept*
String
Accept application/json header
Required
Body parameters
Name Description
executionData *

Responses

Status: 200 - OK

Status: 201 - Created

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


Profiler

getDomainAttributeProfilerUsingGET

Get domain attribute stats

Get all stats related to Hyperon domain attributes


/profiler/domain/attr

Usage and SDK Samples

curl -X GET "https://localhost:8080/hyperon/profiler/domain/attr"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProfilerApi;

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

public class ProfilerApiExample {

    public static void main(String[] args) {

        ProfilerApi apiInstance = new ProfilerApi();
        String accept = accept_example; // String | Accept application/json header
        try {
            DomainAttributeStatsResponse result = apiInstance.getDomainAttributeProfilerUsingGET(accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProfilerApi#getDomainAttributeProfilerUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProfilerApi;

public class ProfilerApiExample {

    public static void main(String[] args) {
        ProfilerApi apiInstance = new ProfilerApi();
        String accept = accept_example; // String | Accept application/json header
        try {
            DomainAttributeStatsResponse result = apiInstance.getDomainAttributeProfilerUsingGET(accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProfilerApi#getDomainAttributeProfilerUsingGET");
            e.printStackTrace();
        }
    }
}
String *accept = accept_example; // Accept application/json header (default to application/json)

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

// Get domain attribute stats
[apiInstance getDomainAttributeProfilerUsingGETWith:accept
              completionHandler: ^(DomainAttributeStatsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HyperonRestApi = require('hyperon_rest_api');

var api = new HyperonRestApi.ProfilerApi()

var accept = accept_example; // {String} Accept application/json header


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

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

            var apiInstance = new ProfilerApi();
            var accept = accept_example;  // String | Accept application/json header (default to application/json)

            try
            {
                // Get domain attribute stats
                DomainAttributeStatsResponse result = apiInstance.getDomainAttributeProfilerUsingGET(accept);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProfilerApi.getDomainAttributeProfilerUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProfilerApi();
$accept = accept_example; // String | Accept application/json header

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

my $api_instance = WWW::SwaggerClient::ProfilerApi->new();
my $accept = accept_example; # String | Accept application/json header

eval {
    my $result = $api_instance->getDomainAttributeProfilerUsingGET(accept => $accept);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProfilerApi->getDomainAttributeProfilerUsingGET: $@\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.ProfilerApi()
accept = accept_example # String | Accept application/json header (default to application/json)

try:
    # Get domain attribute stats
    api_response = api_instance.get_domain_attribute_profiler_using_get(accept)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProfilerApi->getDomainAttributeProfilerUsingGET: %s\n" % e)

Parameters

Header parameters
Name Description
Accept*
String
Accept application/json header
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getFunctionProfilerUsingGET

Get function stats

Get all stats related to Hyperon functions


/profiler/function

Usage and SDK Samples

curl -X GET "https://localhost:8080/hyperon/profiler/function"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProfilerApi;

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

public class ProfilerApiExample {

    public static void main(String[] args) {

        ProfilerApi apiInstance = new ProfilerApi();
        String accept = accept_example; // String | Accept application/json header
        try {
            FunctionStatsResponse result = apiInstance.getFunctionProfilerUsingGET(accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProfilerApi#getFunctionProfilerUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProfilerApi;

public class ProfilerApiExample {

    public static void main(String[] args) {
        ProfilerApi apiInstance = new ProfilerApi();
        String accept = accept_example; // String | Accept application/json header
        try {
            FunctionStatsResponse result = apiInstance.getFunctionProfilerUsingGET(accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProfilerApi#getFunctionProfilerUsingGET");
            e.printStackTrace();
        }
    }
}
String *accept = accept_example; // Accept application/json header (default to application/json)

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

// Get function stats
[apiInstance getFunctionProfilerUsingGETWith:accept
              completionHandler: ^(FunctionStatsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HyperonRestApi = require('hyperon_rest_api');

var api = new HyperonRestApi.ProfilerApi()

var accept = accept_example; // {String} Accept application/json header


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

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

            var apiInstance = new ProfilerApi();
            var accept = accept_example;  // String | Accept application/json header (default to application/json)

            try
            {
                // Get function stats
                FunctionStatsResponse result = apiInstance.getFunctionProfilerUsingGET(accept);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProfilerApi.getFunctionProfilerUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProfilerApi();
$accept = accept_example; // String | Accept application/json header

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

my $api_instance = WWW::SwaggerClient::ProfilerApi->new();
my $accept = accept_example; # String | Accept application/json header

eval {
    my $result = $api_instance->getFunctionProfilerUsingGET(accept => $accept);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProfilerApi->getFunctionProfilerUsingGET: $@\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.ProfilerApi()
accept = accept_example # String | Accept application/json header (default to application/json)

try:
    # Get function stats
    api_response = api_instance.get_function_profiler_using_get(accept)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProfilerApi->getFunctionProfilerUsingGET: %s\n" % e)

Parameters

Header parameters
Name Description
Accept*
String
Accept application/json header
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getJdbcProfilerStatsUsingGET

Get JDBC stats

Get all stats related to JDBC queries


/profiler/jdbc

Usage and SDK Samples

curl -X GET "https://localhost:8080/hyperon/profiler/jdbc"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProfilerApi;

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

public class ProfilerApiExample {

    public static void main(String[] args) {

        ProfilerApi apiInstance = new ProfilerApi();
        String accept = accept_example; // String | Accept application/json header
        try {
            JdbcStatsResponse result = apiInstance.getJdbcProfilerStatsUsingGET(accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProfilerApi#getJdbcProfilerStatsUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProfilerApi;

public class ProfilerApiExample {

    public static void main(String[] args) {
        ProfilerApi apiInstance = new ProfilerApi();
        String accept = accept_example; // String | Accept application/json header
        try {
            JdbcStatsResponse result = apiInstance.getJdbcProfilerStatsUsingGET(accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProfilerApi#getJdbcProfilerStatsUsingGET");
            e.printStackTrace();
        }
    }
}
String *accept = accept_example; // Accept application/json header (default to application/json)

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

// Get JDBC stats
[apiInstance getJdbcProfilerStatsUsingGETWith:accept
              completionHandler: ^(JdbcStatsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HyperonRestApi = require('hyperon_rest_api');

var api = new HyperonRestApi.ProfilerApi()

var accept = accept_example; // {String} Accept application/json header


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

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

            var apiInstance = new ProfilerApi();
            var accept = accept_example;  // String | Accept application/json header (default to application/json)

            try
            {
                // Get JDBC stats
                JdbcStatsResponse result = apiInstance.getJdbcProfilerStatsUsingGET(accept);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProfilerApi.getJdbcProfilerStatsUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProfilerApi();
$accept = accept_example; // String | Accept application/json header

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

my $api_instance = WWW::SwaggerClient::ProfilerApi->new();
my $accept = accept_example; # String | Accept application/json header

eval {
    my $result = $api_instance->getJdbcProfilerStatsUsingGET(accept => $accept);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProfilerApi->getJdbcProfilerStatsUsingGET: $@\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.ProfilerApi()
accept = accept_example # String | Accept application/json header (default to application/json)

try:
    # Get JDBC stats
    api_response = api_instance.get_jdbc_profiler_stats_using_get(accept)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProfilerApi->getJdbcProfilerStatsUsingGET: %s\n" % e)

Parameters

Header parameters
Name Description
Accept*
String
Accept application/json header
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found


getParameterProfilerUsingGET

Get parameter stats

Get all stats related to Hyperon parameters


/profiler/parameter

Usage and SDK Samples

curl -X GET "https://localhost:8080/hyperon/profiler/parameter"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProfilerApi;

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

public class ProfilerApiExample {

    public static void main(String[] args) {

        ProfilerApi apiInstance = new ProfilerApi();
        String accept = accept_example; // String | Accept application/json header
        try {
            ParameterStatsResponse result = apiInstance.getParameterProfilerUsingGET(accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProfilerApi#getParameterProfilerUsingGET");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProfilerApi;

public class ProfilerApiExample {

    public static void main(String[] args) {
        ProfilerApi apiInstance = new ProfilerApi();
        String accept = accept_example; // String | Accept application/json header
        try {
            ParameterStatsResponse result = apiInstance.getParameterProfilerUsingGET(accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProfilerApi#getParameterProfilerUsingGET");
            e.printStackTrace();
        }
    }
}
String *accept = accept_example; // Accept application/json header (default to application/json)

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

// Get parameter stats
[apiInstance getParameterProfilerUsingGETWith:accept
              completionHandler: ^(ParameterStatsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HyperonRestApi = require('hyperon_rest_api');

var api = new HyperonRestApi.ProfilerApi()

var accept = accept_example; // {String} Accept application/json header


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

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

            var apiInstance = new ProfilerApi();
            var accept = accept_example;  // String | Accept application/json header (default to application/json)

            try
            {
                // Get parameter stats
                ParameterStatsResponse result = apiInstance.getParameterProfilerUsingGET(accept);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProfilerApi.getParameterProfilerUsingGET: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProfilerApi();
$accept = accept_example; // String | Accept application/json header

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

my $api_instance = WWW::SwaggerClient::ProfilerApi->new();
my $accept = accept_example; # String | Accept application/json header

eval {
    my $result = $api_instance->getParameterProfilerUsingGET(accept => $accept);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProfilerApi->getParameterProfilerUsingGET: $@\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.ProfilerApi()
accept = accept_example # String | Accept application/json header (default to application/json)

try:
    # Get parameter stats
    api_response = api_instance.get_parameter_profiler_using_get(accept)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProfilerApi->getParameterProfilerUsingGET: %s\n" % e)

Parameters

Header parameters
Name Description
Accept*
String
Accept application/json header
Required

Responses

Status: 200 - OK

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found