FastScore Connect API

Default

activeSensorAttach


/1/control/sensor

Usage and SDK Samples

curl -X POST "https://localhost/1/control/sensor"
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();
        Object desc = ; // Object | sensor descriptor
        try {
            inline_response_200_4 result = apiInstance.activeSensorAttach(desc);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorAttach");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Object desc = ; // Object | sensor descriptor
        try {
            inline_response_200_4 result = apiInstance.activeSensorAttach(desc);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorAttach");
            e.printStackTrace();
        }
    }
}
Object *desc = ; // sensor descriptor

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

[apiInstance activeSensorAttachWith:desc
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

var desc = ; // {Object} sensor descriptor


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

namespace Example
{
    public class activeSensorAttachExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var desc = new Object(); // Object | sensor descriptor

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$desc = ; // Object | sensor descriptor

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $desc = WWW::SwaggerClient::Object::Object->new(); # Object | sensor descriptor

eval { 
    my $result = $api_instance->activeSensorAttach(desc => $desc);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->activeSensorAttach: $@\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()
desc =  # Object | sensor descriptor

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

Parameters

Body parameters
Name Description
desc *

Responses

Status: 200 - The sensor attached successfully

Status: 400 - The sensor descriptor is invalid


activeSensorAvailable


/1/control/sensor/available

Usage and SDK Samples

curl -X GET "https://localhost/1/control/sensor/available"
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 {
            array['String'] result = apiInstance.activeSensorAvailable();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorAvailable");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance activeSensorAvailableWithCompletionHandler: 
              ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

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

namespace Example
{
    public class activeSensorAvailableExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

$api_instance = new Swagger\Client\Api\DefaultApi();

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

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

eval { 
    my $result = $api_instance->activeSensorAvailable();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->activeSensorAvailable: $@\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_response = api_instance.active_sensor_available()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->activeSensorAvailable: %s\n" % e)

Parameters

Responses

Status: 200 - Returns the list of tapping points


activeSensorDescribe


/1/control/sensor/{tap-id}

Usage and SDK Samples

curl -X GET "https://localhost/1/control/sensor/{tap-id}"
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();
        Integer tapId = 56; // Integer | The identifier of the sensor connection
        try {
            inline_response_200 result = apiInstance.activeSensorDescribe(tapId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorDescribe");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer tapId = 56; // Integer | The identifier of the sensor connection
        try {
            inline_response_200 result = apiInstance.activeSensorDescribe(tapId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorDescribe");
            e.printStackTrace();
        }
    }
}
Integer *tapId = 56; // The identifier of the sensor connection

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

[apiInstance activeSensorDescribeWith:tapId
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

var tapId = 56; // {Integer} The identifier of the sensor connection


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

namespace Example
{
    public class activeSensorDescribeExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var tapId = 56;  // Integer | The identifier of the sensor connection

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$tapId = 56; // Integer | The identifier of the sensor connection

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $tapId = 56; # Integer | The identifier of the sensor connection

eval { 
    my $result = $api_instance->activeSensorDescribe(tapId => $tapId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->activeSensorDescribe: $@\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()
tapId = 56 # Integer | The identifier of the sensor connection

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

Parameters

Path parameters
Name Description
tap-id*
Integer
The identifier of the sensor connection
Required

Responses

Status: 200 - Returns the information about the sensor connection

Status: 404 - The sensor connection not found


activeSensorDetach


/1/control/sensor/{tap-id}

Usage and SDK Samples

curl -X DELETE "https://localhost/1/control/sensor/{tap-id}"
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();
        Integer tapId = 56; // Integer | The identifier of the sensor connection
        try {
            apiInstance.activeSensorDetach(tapId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorDetach");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer tapId = 56; // Integer | The identifier of the sensor connection
        try {
            apiInstance.activeSensorDetach(tapId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorDetach");
            e.printStackTrace();
        }
    }
}
Integer *tapId = 56; // The identifier of the sensor connection

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

[apiInstance activeSensorDetachWith:tapId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

var tapId = 56; // {Integer} The identifier of the sensor connection


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

namespace Example
{
    public class activeSensorDetachExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var tapId = 56;  // Integer | The identifier of the sensor connection

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$tapId = 56; // Integer | The identifier of the sensor connection

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $tapId = 56; # Integer | The identifier of the sensor connection

eval { 
    $api_instance->activeSensorDetach(tapId => $tapId);
};
if ($@) {
    warn "Exception when calling DefaultApi->activeSensorDetach: $@\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()
tapId = 56 # Integer | The identifier of the sensor connection

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

Parameters

Path parameters
Name Description
tap-id*
Integer
The identifier of the sensor connection
Required

Responses

Status: 204 - The sensor successfully detached

Status: 404 - Sensor connection not found


activeSensorInstall


/2/active/sensor

Usage and SDK Samples

curl -X POST "https://localhost/2/active/sensor"
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();
        Desc desc = ; // Desc | sensor descriptor
        try {
            inline_response_200_6 result = apiInstance.activeSensorInstall(desc);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorInstall");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Desc desc = ; // Desc | sensor descriptor
        try {
            inline_response_200_6 result = apiInstance.activeSensorInstall(desc);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorInstall");
            e.printStackTrace();
        }
    }
}
Desc *desc = ; // sensor descriptor

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

[apiInstance activeSensorInstallWith:desc
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

var desc = ; // {Desc} sensor descriptor


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

namespace Example
{
    public class activeSensorInstallExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var desc = new Desc(); // Desc | sensor descriptor

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$desc = ; // Desc | sensor descriptor

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $desc = WWW::SwaggerClient::Object::Desc->new(); # Desc | sensor descriptor

eval { 
    my $result = $api_instance->activeSensorInstall(desc => $desc);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->activeSensorInstall: $@\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()
desc =  # Desc | sensor descriptor

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

Parameters

Body parameters
Name Description
desc *

Responses

Status: 200 - sensor install ok

Status: 400 - sensor install error


activeSensorList


/1/control/sensor

Usage and SDK Samples

curl -X GET "https://localhost/1/control/sensor"
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 {
            array[inline_response_200_3] result = apiInstance.activeSensorList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance activeSensorListWithCompletionHandler: 
              ^(array[inline_response_200_3] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

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

namespace Example
{
    public class activeSensorListExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

$api_instance = new Swagger\Client\Api\DefaultApi();

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

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

eval { 
    my $result = $api_instance->activeSensorList();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->activeSensorList: $@\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_response = api_instance.active_sensor_list()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->activeSensorList: %s\n" % e)

Parameters

Responses

Status: 200 - Returns the list of attached sensors


activeSensorList_1


/2/active/sensor

Usage and SDK Samples

curl -X GET "https://localhost/2/active/sensor"
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 {
            array[inline_response_200_5] result = apiInstance.activeSensorList_0();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorList_0");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance activeSensorList_1WithCompletionHandler: 
              ^(array[inline_response_200_5] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

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

namespace Example
{
    public class activeSensorList_0Example
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

$api_instance = new Swagger\Client\Api\DefaultApi();

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

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

eval { 
    my $result = $api_instance->activeSensorList_0();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->activeSensorList_0: $@\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_response = api_instance.active_sensor_list_0()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->activeSensorList_0: %s\n" % e)

Parameters

Responses

Status: 200 - active sensor list


activeSensorPoints


/2/active/sensor/points

Usage and SDK Samples

curl -X GET "https://localhost/2/active/sensor/points"
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 {
            array['String'] result = apiInstance.activeSensorPoints();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorPoints");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance activeSensorPointsWithCompletionHandler: 
              ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

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

namespace Example
{
    public class activeSensorPointsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

$api_instance = new Swagger\Client\Api\DefaultApi();

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

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

eval { 
    my $result = $api_instance->activeSensorPoints();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->activeSensorPoints: $@\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_response = api_instance.active_sensor_points()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->activeSensorPoints: %s\n" % e)

Parameters

Responses

Status: 200 - tapping point list


activeSensorUninstall


/2/active/sensor/{tap-id}

Usage and SDK Samples

curl -X DELETE "https://localhost/2/active/sensor/{tap-id}"
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();
        Integer tapId = 56; // Integer | The identifier of the sensor connection
        try {
            apiInstance.activeSensorUninstall(tapId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorUninstall");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer tapId = 56; // Integer | The identifier of the sensor connection
        try {
            apiInstance.activeSensorUninstall(tapId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#activeSensorUninstall");
            e.printStackTrace();
        }
    }
}
Integer *tapId = 56; // The identifier of the sensor connection

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

[apiInstance activeSensorUninstallWith:tapId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

var tapId = 56; // {Integer} The identifier of the sensor connection


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

namespace Example
{
    public class activeSensorUninstallExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var tapId = 56;  // Integer | The identifier of the sensor connection

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$tapId = 56; // Integer | The identifier of the sensor connection

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $tapId = 56; # Integer | The identifier of the sensor connection

eval { 
    $api_instance->activeSensorUninstall(tapId => $tapId);
};
if ($@) {
    warn "Exception when calling DefaultApi->activeSensorUninstall: $@\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()
tapId = 56 # Integer | The identifier of the sensor connection

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

Parameters

Path parameters
Name Description
tap-id*
Integer
The identifier of the sensor connection
Required

Responses

Status: 204 - sensor uninstall ok

Status: 400 - sensor uninstall error

Status: 404 - sensor not found


configGet


/1/config

Usage and SDK Samples

curl -X GET "https://localhost/1/config?q="
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();
        String q = q_example; // String | Request only the named section
        String accept = accept_example; // String | Force Accept header value
        try {
            Object result = apiInstance.configGet(q, accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#configGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String q = q_example; // String | Request only the named section
        String accept = accept_example; // String | Force Accept header value
        try {
            Object result = apiInstance.configGet(q, accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#configGet");
            e.printStackTrace();
        }
    }
}
String *q = q_example; // Request only the named section (optional)
String *accept = accept_example; // Force Accept header value (optional)

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

[apiInstance configGetWith:q
    accept:accept
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

var opts = { 
  'q': q_example, // {String} Request only the named section
  'accept': accept_example // {String} Force Accept header value
};

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

namespace Example
{
    public class configGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var q = q_example;  // String | Request only the named section (optional) 
            var accept = accept_example;  // String | Force Accept header value (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$q = q_example; // String | Request only the named section
$accept = accept_example; // String | Force Accept header value

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $q = q_example; # String | Request only the named section
my $accept = accept_example; # String | Force Accept header value

eval { 
    my $result = $api_instance->configGet(q => $q, accept => $accept);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->configGet: $@\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()
q = q_example # String | Request only the named section (optional)
accept = accept_example # String | Force Accept header value (optional)

try: 
    api_response = api_instance.config_get(q=q, accept=accept)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->configGet: %s\n" % e)

Parameters

Header parameters
Name Description
Accept
String
Force Accept header value
Query parameters
Name Description
q
String
Request only the named section

Responses

Status: 200 - Returns the (section of the) current configuration

Status: 404 - The configuration not set or section missing


configPut


/1/config

Usage and SDK Samples

curl -X PUT "https://localhost/1/config"
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();
        byte[] config = BINARY_DATA_HERE; // byte[] | The FastScore Configuration
        String contentType = contentType_example; // String | configuration MIME type
        try {
            apiInstance.configPut(config, contentType);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#configPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        byte[] config = BINARY_DATA_HERE; // byte[] | The FastScore Configuration
        String contentType = contentType_example; // String | configuration MIME type
        try {
            apiInstance.configPut(config, contentType);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#configPut");
            e.printStackTrace();
        }
    }
}
byte[] *config = BINARY_DATA_HERE; // The FastScore Configuration
String *contentType = contentType_example; // configuration MIME type (optional)

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

[apiInstance configPutWith:config
    contentType:contentType
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

var config = BINARY_DATA_HERE; // {byte[]} The FastScore Configuration

var opts = { 
  'contentType': contentType_example // {String} configuration MIME type
};

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

namespace Example
{
    public class configPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var config = BINARY_DATA_HERE;  // byte[] | The FastScore Configuration
            var contentType = contentType_example;  // String | configuration MIME type (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$config = BINARY_DATA_HERE; // byte[] | The FastScore Configuration
$contentType = contentType_example; // String | configuration MIME type

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $config = WWW::SwaggerClient::Object::byte[]->new(); # byte[] | The FastScore Configuration
my $contentType = contentType_example; # String | configuration MIME type

eval { 
    $api_instance->configPut(config => $config, contentType => $contentType);
};
if ($@) {
    warn "Exception when calling DefaultApi->configPut: $@\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()
config = BINARY_DATA_HERE # byte[] | The FastScore Configuration
contentType = contentType_example # String | configuration MIME type (optional)

try: 
    api_instance.config_put(config, contentType=contentType)
except ApiException as e:
    print("Exception when calling DefaultApi->configPut: %s\n" % e)

Parameters

Header parameters
Name Description
Content-Type
String
configuration MIME type
Body parameters
Name Description
config *

Responses

Status: 204 - The configuration updated successfully

Status: 400 - Malformed YAML


connectGet


/1/connect

Usage and SDK Samples

curl -X GET "https://localhost/1/connect?name=&api=&host=&port=&release=&health=&return="
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();
        String name = name_example; // String | Return info for the named service only
        String api = api_example; // String | Return only services providing the named API
        String host = host_example; // String | Return only services running on the named host
        Integer port = 56; // Integer | Return only services that use this port
        String release = release_example; // String | Return only services that run the specific release
        String health = health_example; // String | Return only services with the given health status
        String return = return_example; // String | A comma-separated list of fields to return
        try {
            array[inline_response_200_1] result = apiInstance.connectGet(name, api, host, port, release, health, return);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String name = name_example; // String | Return info for the named service only
        String api = api_example; // String | Return only services providing the named API
        String host = host_example; // String | Return only services running on the named host
        Integer port = 56; // Integer | Return only services that use this port
        String release = release_example; // String | Return only services that run the specific release
        String health = health_example; // String | Return only services with the given health status
        String return = return_example; // String | A comma-separated list of fields to return
        try {
            array[inline_response_200_1] result = apiInstance.connectGet(name, api, host, port, release, health, return);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectGet");
            e.printStackTrace();
        }
    }
}
String *name = name_example; // Return info for the named service only (optional)
String *api = api_example; // Return only services providing the named API (optional)
String *host = host_example; // Return only services running on the named host (optional)
Integer *port = 56; // Return only services that use this port (optional)
String *release = release_example; // Return only services that run the specific release (optional)
String *health = health_example; // Return only services with the given health status (optional)
String *return = return_example; // A comma-separated list of fields to return (optional)

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

[apiInstance connectGetWith:name
    api:api
    host:host
    port:port
    release:release
    health:health
    return:return
              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

var opts = { 
  'name': name_example, // {String} Return info for the named service only
  'api': api_example, // {String} Return only services providing the named API
  'host': host_example, // {String} Return only services running on the named host
  'port': 56, // {Integer} Return only services that use this port
  'release': release_example, // {String} Return only services that run the specific release
  'health': health_example, // {String} Return only services with the given health status
  'return': return_example // {String} A comma-separated list of fields to return
};

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

namespace Example
{
    public class connectGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var name = name_example;  // String | Return info for the named service only (optional) 
            var api = api_example;  // String | Return only services providing the named API (optional) 
            var host = host_example;  // String | Return only services running on the named host (optional) 
            var port = 56;  // Integer | Return only services that use this port (optional) 
            var release = release_example;  // String | Return only services that run the specific release (optional) 
            var health = health_example;  // String | Return only services with the given health status (optional) 
            var return = return_example;  // String | A comma-separated list of fields to return (optional) 

            try
            {
                array[inline_response_200_1] result = apiInstance.connectGet(name, api, host, port, release, health, return);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.connectGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$name = name_example; // String | Return info for the named service only
$api = api_example; // String | Return only services providing the named API
$host = host_example; // String | Return only services running on the named host
$port = 56; // Integer | Return only services that use this port
$release = release_example; // String | Return only services that run the specific release
$health = health_example; // String | Return only services with the given health status
$return = return_example; // String | A comma-separated list of fields to return

try {
    $result = $api_instance->connectGet($name, $api, $host, $port, $release, $health, $return);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->connectGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $name = name_example; # String | Return info for the named service only
my $api = api_example; # String | Return only services providing the named API
my $host = host_example; # String | Return only services running on the named host
my $port = 56; # Integer | Return only services that use this port
my $release = release_example; # String | Return only services that run the specific release
my $health = health_example; # String | Return only services with the given health status
my $return = return_example; # String | A comma-separated list of fields to return

eval { 
    my $result = $api_instance->connectGet(name => $name, api => $api, host => $host, port => $port, release => $release, health => $health, return => $return);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->connectGet: $@\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()
name = name_example # String | Return info for the named service only (optional)
api = api_example # String | Return only services providing the named API (optional)
host = host_example # String | Return only services running on the named host (optional)
port = 56 # Integer | Return only services that use this port (optional)
release = release_example # String | Return only services that run the specific release (optional)
health = health_example # String | Return only services with the given health status (optional)
return = return_example # String | A comma-separated list of fields to return (optional)

try: 
    api_response = api_instance.connect_get(name=name, api=api, host=host, port=port, release=release, health=health, return=return)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->connectGet: %s\n" % e)

Parameters

Query parameters
Name Description
name
String
Return info for the named service only
api
String
Return only services providing the named API
host
String
Return only services running on the named host
port
Integer
Return only services that use this port
release
String
Return only services that run the specific release
health
String
Return only services with the given health status
return
String
A comma-separated list of fields to return

Responses

Status: 200 - The information about the FastScore fleet

Status: 403 - The configuration not set yet


healthGet


/1/health

Usage and SDK Samples

curl -X GET "https://localhost/1/health"
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 {
            inline_response_200_2 result = apiInstance.healthGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#healthGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance healthGetWithCompletionHandler: 
              ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

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

namespace Example
{
    public class healthGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

$api_instance = new Swagger\Client\Api\DefaultApi();

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

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

eval { 
    my $result = $api_instance->healthGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->healthGet: $@\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_response = api_instance.health_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->healthGet: %s\n" % e)

Parameters

Responses

Status: 200 - Indicates that the instance is healthy


pneumoGet


/2/pneumo

Usage and SDK Samples

curl -X GET "https://localhost/2/pneumo"
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 {
            array[Object] result = apiInstance.pneumoGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#pneumoGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance pneumoGetWithCompletionHandler: 
              ^(array[Object] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

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

namespace Example
{
    public class pneumoGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

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

$api_instance = new Swagger\Client\Api\DefaultApi();

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

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

eval { 
    my $result = $api_instance->pneumoGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->pneumoGet: $@\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_response = api_instance.pneumo_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->pneumoGet: %s\n" % e)

Parameters

Responses

Status: 200 - buffered pneumo messages


swaggerGet


/1/swagger

Usage and SDK Samples

curl -X GET "https://localhost/1/swagger"
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();
        String accept = accept_example; // String | Force Accept header value
        try {
            Object result = apiInstance.swaggerGet(accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swaggerGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String accept = accept_example; // String | Force Accept header value
        try {
            Object result = apiInstance.swaggerGet(accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#swaggerGet");
            e.printStackTrace();
        }
    }
}
String *accept = accept_example; // Force Accept header value (optional)

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

[apiInstance swaggerGetWith:accept
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreConnectApi = require('fast_score_connect_api');

var api = new FastScoreConnectApi.DefaultApi()

var opts = { 
  'accept': accept_example // {String} Force Accept header value
};

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

namespace Example
{
    public class swaggerGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var accept = accept_example;  // String | Force Accept header value (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$accept = accept_example; // String | Force Accept header value

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $accept = accept_example; # String | Force Accept header value

eval { 
    my $result = $api_instance->swaggerGet(accept => $accept);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->swaggerGet: $@\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()
accept = accept_example # String | Force Accept header value (optional)

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

Parameters

Header parameters
Name Description
Accept
String
Force Accept header value

Responses

Status: 200 - The service Swagger API specification


Generated 2018-03-08T10:26:09.317-06:00