FastScore ModelManage 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_3 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_3 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_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.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_3 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 FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.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 FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.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 FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.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_5 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_5 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_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.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_5 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_2] 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_2] 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_2] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.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_2] 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_4] 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_4] 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_4] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.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_4] 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 FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.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 FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.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


attachmentDelete


/1/model/{model}/attachment/{attachment}

Usage and SDK Samples

curl -X DELETE "https://localhost/1/model/{model}/attachment/{attachment}"
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 model = model_example; // String | model name
        String attachment = attachment_example; // String | attachment name
        try {
            apiInstance.attachmentDelete(model, attachment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attachmentDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        String attachment = attachment_example; // String | attachment name
        try {
            apiInstance.attachmentDelete(model, attachment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attachmentDelete");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name
String *attachment = attachment_example; // attachment name

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

[apiInstance attachmentDeleteWith:model
    attachment:attachment
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name

var attachment = attachment_example; // {String} attachment name


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

namespace Example
{
    public class attachmentDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name
            var attachment = attachment_example;  // String | attachment name

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name
$attachment = attachment_example; // String | attachment name

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name
my $attachment = attachment_example; # String | attachment name

eval { 
    $api_instance->attachmentDelete(model => $model, attachment => $attachment);
};
if ($@) {
    warn "Exception when calling DefaultApi->attachmentDelete: $@\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()
model = model_example # String | model name
attachment = attachment_example # String | attachment name

try: 
    api_instance.attachment_delete(model, attachment)
except ApiException as e:
    print("Exception when calling DefaultApi->attachmentDelete: %s\n" % e)

Parameters

Path parameters
Name Description
model*
String
model name
Required
attachment*
String
attachment name
Required

Responses

Status: 201 - The attachment successfully deleted

Status: 404 - Attachment not found


attachmentGet


/1/model/{model}/attachment/{attachment}

Usage and SDK Samples

curl -X GET "https://localhost/1/model/{model}/attachment/{attachment}"
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 model = model_example; // String | model name
        String attachment = attachment_example; // String | attachment name
        try {
            File result = apiInstance.attachmentGet(model, attachment);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attachmentGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        String attachment = attachment_example; // String | attachment name
        try {
            File result = apiInstance.attachmentGet(model, attachment);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attachmentGet");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name
String *attachment = attachment_example; // attachment name

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

[apiInstance attachmentGetWith:model
    attachment:attachment
              completionHandler: ^(File output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name

var attachment = attachment_example; // {String} attachment name


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

namespace Example
{
    public class attachmentGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name
            var attachment = attachment_example;  // String | attachment name

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name
$attachment = attachment_example; // String | attachment name

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name
my $attachment = attachment_example; # String | attachment name

eval { 
    my $result = $api_instance->attachmentGet(model => $model, attachment => $attachment);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->attachmentGet: $@\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()
model = model_example # String | model name
attachment = attachment_example # String | attachment name

try: 
    api_response = api_instance.attachment_get(model, attachment)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->attachmentGet: %s\n" % e)

Parameters

Path parameters
Name Description
model*
String
model name
Required
attachment*
String
attachment name
Required

Responses

Status: 200 - Returns the contents of the attachment

Status: 404 - Attachment not found


attachmentHead


/1/model/{model}/attachment/{attachment}

Usage and SDK Samples

curl -X HEAD "https://localhost/1/model/{model}/attachment/{attachment}"
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 model = model_example; // String | model name
        String attachment = attachment_example; // String | attachment name
        try {
            apiInstance.attachmentHead(model, attachment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attachmentHead");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        String attachment = attachment_example; // String | attachment name
        try {
            apiInstance.attachmentHead(model, attachment);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attachmentHead");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name
String *attachment = attachment_example; // attachment name

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

[apiInstance attachmentHeadWith:model
    attachment:attachment
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name

var attachment = attachment_example; // {String} attachment name


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

namespace Example
{
    public class attachmentHeadExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name
            var attachment = attachment_example;  // String | attachment name

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name
$attachment = attachment_example; // String | attachment name

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name
my $attachment = attachment_example; # String | attachment name

eval { 
    $api_instance->attachmentHead(model => $model, attachment => $attachment);
};
if ($@) {
    warn "Exception when calling DefaultApi->attachmentHead: $@\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()
model = model_example # String | model name
attachment = attachment_example # String | attachment name

try: 
    api_instance.attachment_head(model, attachment)
except ApiException as e:
    print("Exception when calling DefaultApi->attachmentHead: %s\n" % e)

Parameters

Path parameters
Name Description
model*
String
model name
Required
attachment*
String
attachment name
Required

Responses

Status: 200 - The Content-Length header contains the attachment size

Status: 404 - Attachment not found


attachmentList


/1/model/{model}/attachment

Usage and SDK Samples

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

public class DefaultApiExample {

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

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

[apiInstance attachmentListWith:model
              completionHandler: ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name


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

namespace Example
{
    public class attachmentListExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name

eval { 
    my $result = $api_instance->attachmentList(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->attachmentList: $@\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()
model = model_example # String | model name

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

Parameters

Path parameters
Name Description
model*
String
model name
Required

Responses

Status: 200 - Returns a list of attachments of the given model

Status: 403 - Model not found


attachmentPut


/1/model/{model}/attachment/{attachment}

Usage and SDK Samples

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

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        String attachment = attachment_example; // String | attachment name
        byte[] data = BINARY_DATA_HERE; // byte[] | attachment data
        String contentType = contentType_example; // String | attachment MIME type
        try {
            apiInstance.attachmentPut(model, attachment, data, contentType);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#attachmentPut");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name
String *attachment = attachment_example; // attachment name
byte[] *data = BINARY_DATA_HERE; // attachment data
String *contentType = contentType_example; // attachment MIME type

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

[apiInstance attachmentPutWith:model
    attachment:attachment
    data:data
    contentType:contentType
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name

var attachment = attachment_example; // {String} attachment name

var data = BINARY_DATA_HERE; // {byte[]} attachment data

var contentType = contentType_example; // {String} attachment MIME type


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

namespace Example
{
    public class attachmentPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name
            var attachment = attachment_example;  // String | attachment name
            var data = BINARY_DATA_HERE;  // byte[] | attachment data
            var contentType = contentType_example;  // String | attachment MIME type

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name
$attachment = attachment_example; // String | attachment name
$data = BINARY_DATA_HERE; // byte[] | attachment data
$contentType = contentType_example; // String | attachment MIME type

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name
my $attachment = attachment_example; # String | attachment name
my $data = WWW::SwaggerClient::Object::byte[]->new(); # byte[] | attachment data
my $contentType = contentType_example; # String | attachment MIME type

eval { 
    $api_instance->attachmentPut(model => $model, attachment => $attachment, data => $data, contentType => $contentType);
};
if ($@) {
    warn "Exception when calling DefaultApi->attachmentPut: $@\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()
model = model_example # String | model name
attachment = attachment_example # String | attachment name
data = BINARY_DATA_HERE # byte[] | attachment data
contentType = contentType_example # String | attachment MIME type

try: 
    api_instance.attachment_put(model, attachment, data, contentType)
except ApiException as e:
    print("Exception when calling DefaultApi->attachmentPut: %s\n" % e)

Parameters

Path parameters
Name Description
model*
String
model name
Required
attachment*
String
attachment name
Required
Header parameters
Name Description
Content-Type*
String
attachment MIME type
Required
Body parameters
Name Description
data *

Responses

Status: 201 - The attachment successfully added

Status: 204 - The attachment successfully updated


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_1 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_1 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_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.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_1 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


modelDelete


/1/model/{model}

Usage and SDK Samples

curl -X DELETE "https://localhost/1/model/{model}"
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 model = model_example; // String | model name
        try {
            apiInstance.modelDelete(model);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#modelDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        try {
            apiInstance.modelDelete(model);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#modelDelete");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name

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

[apiInstance modelDeleteWith:model
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name


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

namespace Example
{
    public class modelDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name

eval { 
    $api_instance->modelDelete(model => $model);
};
if ($@) {
    warn "Exception when calling DefaultApi->modelDelete: $@\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()
model = model_example # String | model name

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

Parameters

Path parameters
Name Description
model*
String
model name
Required

Responses

Status: 204 - The model successfully deleted

Status: 404 - Model not found


modelGet


/1/model/{model}

Usage and SDK Samples

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

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        try {
            'String' result = apiInstance.modelGet(model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#modelGet");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name

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

[apiInstance modelGetWith:model
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name


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

namespace Example
{
    public class modelGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name

eval { 
    my $result = $api_instance->modelGet(model => $model);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->modelGet: $@\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()
model = model_example # String | model name

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

Parameters

Path parameters
Name Description
model*
String
model name
Required

Responses

Status: 200 - Returns the source code of the requested model

Status: 404 - Model not found


modelList


/1/model

Usage and SDK Samples

curl -X GET "https://localhost/1/model?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 return = return_example; // String | A comma-separated list of fields to return
        try {
            array[Object] result = apiInstance.modelList(return);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#modelList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String return = return_example; // String | A comma-separated list of fields to return
        try {
            array[Object] result = apiInstance.modelList(return);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#modelList");
            e.printStackTrace();
        }
    }
}
String *return = return_example; // A comma-separated list of fields to return (optional)

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

[apiInstance modelListWith:return
              completionHandler: ^(array[Object] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var opts = { 
  '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.modelList(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class modelListExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var return = return_example;  // String | A comma-separated list of fields to return (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$return = return_example; // String | A comma-separated list of fields to return

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $return = return_example; # String | A comma-separated list of fields to return

eval { 
    my $result = $api_instance->modelList(return => $return);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->modelList: $@\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()
return = return_example # String | A comma-separated list of fields to return (optional)

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

Parameters

Query parameters
Name Description
return
String
A comma-separated list of fields to return

Responses

Status: 200 - Returns a list of model names or model info objects

Status: 403 - Invalid parameter provided


modelPut


/1/model/{model}

Usage and SDK Samples

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

public class DefaultApiExample {

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

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

[apiInstance modelPutWith:model
    source:source
    contentType:contentType
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name

var source = BINARY_DATA_HERE; // {byte[]} The model source

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

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

namespace Example
{
    public class modelPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name
            var source = BINARY_DATA_HERE;  // byte[] | The model source
            var contentType = contentType_example;  // String | model MIME type (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name
$source = BINARY_DATA_HERE; // byte[] | The model source
$contentType = contentType_example; // String | model MIME type

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name
my $source = WWW::SwaggerClient::Object::byte[]->new(); # byte[] | The model source
my $contentType = contentType_example; # String | model MIME type

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

try: 
    api_instance.model_put(model, source, contentType=contentType)
except ApiException as e:
    print("Exception when calling DefaultApi->modelPut: %s\n" % e)

Parameters

Path parameters
Name Description
model*
String
model name
Required
Header parameters
Name Description
Content-Type
String
model MIME type
Body parameters
Name Description
source *

Responses

Status: 201 - The model successfully added

Status: 204 - The model successfully updated


schemaDelete


/1/schema/{schema}

Usage and SDK Samples

curl -X DELETE "https://localhost/1/schema/{schema}"
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 schema = schema_example; // String | The name of the schema
        try {
            apiInstance.schemaDelete(schema);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schemaDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String schema = schema_example; // String | The name of the schema
        try {
            apiInstance.schemaDelete(schema);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schemaDelete");
            e.printStackTrace();
        }
    }
}
String *schema = schema_example; // The name of the schema

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

[apiInstance schemaDeleteWith:schema
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var schema = schema_example; // {String} The name of the schema


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

namespace Example
{
    public class schemaDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var schema = schema_example;  // String | The name of the schema

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$schema = schema_example; // String | The name of the schema

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $schema = schema_example; # String | The name of the schema

eval { 
    $api_instance->schemaDelete(schema => $schema);
};
if ($@) {
    warn "Exception when calling DefaultApi->schemaDelete: $@\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()
schema = schema_example # String | The name of the schema

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

Parameters

Path parameters
Name Description
schema*
String
The name of the schema
Required

Responses

Status: 204 - The schema successfully deleted

Status: 404 - Schema not found


schemaGet


/1/schema/{schema}

Usage and SDK Samples

curl -X GET "https://localhost/1/schema/{schema}"
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 schema = schema_example; // String | The name of the schema
        try {
            Object result = apiInstance.schemaGet(schema);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schemaGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String schema = schema_example; // String | The name of the schema
        try {
            Object result = apiInstance.schemaGet(schema);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schemaGet");
            e.printStackTrace();
        }
    }
}
String *schema = schema_example; // The name of the schema

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

[apiInstance schemaGetWith:schema
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var schema = schema_example; // {String} The name of the schema


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

namespace Example
{
    public class schemaGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var schema = schema_example;  // String | The name of the schema

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$schema = schema_example; // String | The name of the schema

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $schema = schema_example; # String | The name of the schema

eval { 
    my $result = $api_instance->schemaGet(schema => $schema);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->schemaGet: $@\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()
schema = schema_example # String | The name of the schema

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

Parameters

Path parameters
Name Description
schema*
String
The name of the schema
Required

Responses

Status: 200 - Returns the schema contents

Status: 404 - Schema not found


schemaList


/1/schema

Usage and SDK Samples

curl -X GET "https://localhost/1/schema"
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.schemaList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schemaList");
            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.schemaList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schemaList");
            e.printStackTrace();
        }
    }
}

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

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

var api = new FastScoreModelManageApi.DefaultApi()

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

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

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

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

try {
    $result = $api_instance->schemaList();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->schemaList: ', $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->schemaList();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->schemaList: $@\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.schema_list()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->schemaList: %s\n" % e)

Parameters

Responses

Status: 200 - Returns the list of registered schemas


schemaPut


/1/schema/{schema}

Usage and SDK Samples

curl -X PUT "https://localhost/1/schema/{schema}"
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 schema = schema_example; // String | The name of the schema
        Object source = ; // Object | The schema source
        try {
            apiInstance.schemaPut(schema, source);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schemaPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String schema = schema_example; // String | The name of the schema
        Object source = ; // Object | The schema source
        try {
            apiInstance.schemaPut(schema, source);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#schemaPut");
            e.printStackTrace();
        }
    }
}
String *schema = schema_example; // The name of the schema
Object *source = ; // The schema source

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

[apiInstance schemaPutWith:schema
    source:source
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var schema = schema_example; // {String} The name of the schema

var source = ; // {Object} The schema source


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

namespace Example
{
    public class schemaPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var schema = schema_example;  // String | The name of the schema
            var source = new Object(); // Object | The schema source

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$schema = schema_example; // String | The name of the schema
$source = ; // Object | The schema source

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $schema = schema_example; # String | The name of the schema
my $source = WWW::SwaggerClient::Object::Object->new(); # Object | The schema source

eval { 
    $api_instance->schemaPut(schema => $schema, source => $source);
};
if ($@) {
    warn "Exception when calling DefaultApi->schemaPut: $@\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()
schema = schema_example # String | The name of the schema
source =  # Object | The schema source

try: 
    api_instance.schema_put(schema, source)
except ApiException as e:
    print("Exception when calling DefaultApi->schemaPut: %s\n" % e)

Parameters

Path parameters
Name Description
schema*
String
The name of the schema
Required
Body parameters
Name Description
source *

Responses

Status: 201 - The schema successfully added

Status: 204 - The schema successfully updated


sensorDelete


/1/sensor/{sensor}

Usage and SDK Samples

curl -X DELETE "https://localhost/1/sensor/{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();
        String sensor = sensor_example; // String | The name of the sensor
        try {
            apiInstance.sensorDelete(sensor);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sensorDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance sensorDeleteWith:sensor
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var sensor = sensor_example; // {String} The name of the sensor


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

namespace Example
{
    public class sensorDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var sensor = sensor_example;  // String | The name of the sensor

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$sensor = sensor_example; // String | The name of the sensor

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $sensor = sensor_example; # String | The name of the sensor

eval { 
    $api_instance->sensorDelete(sensor => $sensor);
};
if ($@) {
    warn "Exception when calling DefaultApi->sensorDelete: $@\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()
sensor = sensor_example # String | The name of the sensor

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

Parameters

Path parameters
Name Description
sensor*
String
The name of the sensor
Required

Responses

Status: 204 - The sensor successfully deleted

Status: 404 - Sensor not found


sensorGet


/1/sensor/{sensor}

Usage and SDK Samples

curl -X GET "https://localhost/1/sensor/{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();
        String sensor = sensor_example; // String | The name of the sensor
        try {
            Object result = apiInstance.sensorGet(sensor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sensorGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String sensor = sensor_example; // String | The name of the sensor
        try {
            Object result = apiInstance.sensorGet(sensor);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sensorGet");
            e.printStackTrace();
        }
    }
}
String *sensor = sensor_example; // The name of the sensor

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

[apiInstance sensorGetWith:sensor
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var sensor = sensor_example; // {String} The name of the sensor


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

namespace Example
{
    public class sensorGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var sensor = sensor_example;  // String | The name of the sensor

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$sensor = sensor_example; // String | The name of the sensor

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $sensor = sensor_example; # String | The name of the sensor

eval { 
    my $result = $api_instance->sensorGet(sensor => $sensor);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->sensorGet: $@\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()
sensor = sensor_example # String | The name of the sensor

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

Parameters

Path parameters
Name Description
sensor*
String
The name of the sensor
Required

Responses

Status: 200 - Returns the sensor descriptor

Status: 404 - Sensor not found


sensorList


/1/sensor

Usage and SDK Samples

curl -X GET "https://localhost/1/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['String'] result = apiInstance.sensorList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sensorList");
            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.sensorList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sensorList");
            e.printStackTrace();
        }
    }
}

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

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

var api = new FastScoreModelManageApi.DefaultApi()

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

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

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

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

try {
    $result = $api_instance->sensorList();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->sensorList: ', $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->sensorList();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->sensorList: $@\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.sensor_list()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->sensorList: %s\n" % e)

Parameters

Responses

Status: 200 - Returns the list of sensor descriptors


sensorPut


/1/sensor/{sensor}

Usage and SDK Samples

curl -X PUT "https://localhost/1/sensor/{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();
        String sensor = sensor_example; // String | The name of the sensor
        Object desc = ; // Object | The sensor descriptor
        try {
            apiInstance.sensorPut(sensor, desc);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sensorPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String sensor = sensor_example; // String | The name of the sensor
        Object desc = ; // Object | The sensor descriptor
        try {
            apiInstance.sensorPut(sensor, desc);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#sensorPut");
            e.printStackTrace();
        }
    }
}
String *sensor = sensor_example; // The name of the sensor
Object *desc = ; // The sensor descriptor

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

[apiInstance sensorPutWith:sensor
    desc:desc
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var sensor = sensor_example; // {String} The name of the sensor

var desc = ; // {Object} The sensor descriptor


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

namespace Example
{
    public class sensorPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var sensor = sensor_example;  // String | The name of the sensor
            var desc = new Object(); // Object | The sensor descriptor

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$sensor = sensor_example; // String | The name of the sensor
$desc = ; // Object | The sensor descriptor

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $sensor = sensor_example; # String | The name of the sensor
my $desc = WWW::SwaggerClient::Object::Object->new(); # Object | The sensor descriptor

eval { 
    $api_instance->sensorPut(sensor => $sensor, desc => $desc);
};
if ($@) {
    warn "Exception when calling DefaultApi->sensorPut: $@\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()
sensor = sensor_example # String | The name of the sensor
desc =  # Object | The sensor descriptor

try: 
    api_instance.sensor_put(sensor, desc)
except ApiException as e:
    print("Exception when calling DefaultApi->sensorPut: %s\n" % e)

Parameters

Path parameters
Name Description
sensor*
String
The name of the sensor
Required
Body parameters
Name Description
desc *

Responses

Status: 201 - The sensor successfully added

Status: 204 - The sensor successfully updated


snapshotDelete


/1/model/{model}/snapshot/{snap-id-prefix}

Usage and SDK Samples

curl -X DELETE "https://localhost/1/model/{model}/snapshot/{snap-id-prefix}"
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 model = model_example; // String | model name
        String snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot
        try {
            apiInstance.snapshotDelete(model, snapIdPrefix);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        String snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot
        try {
            apiInstance.snapshotDelete(model, snapIdPrefix);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotDelete");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name
String *snapIdPrefix = snapIdPrefix_example; // The (prefix of the id ) of the snapshot

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

[apiInstance snapshotDeleteWith:model
    snapIdPrefix:snapIdPrefix
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name

var snapIdPrefix = snapIdPrefix_example; // {String} The (prefix of the id ) of the snapshot


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

namespace Example
{
    public class snapshotDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name
            var snapIdPrefix = snapIdPrefix_example;  // String | The (prefix of the id ) of the snapshot

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name
$snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name
my $snapIdPrefix = snapIdPrefix_example; # String | The (prefix of the id ) of the snapshot

eval { 
    $api_instance->snapshotDelete(model => $model, snapIdPrefix => $snapIdPrefix);
};
if ($@) {
    warn "Exception when calling DefaultApi->snapshotDelete: $@\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()
model = model_example # String | model name
snapIdPrefix = snapIdPrefix_example # String | The (prefix of the id ) of the snapshot

try: 
    api_instance.snapshot_delete(model, snapIdPrefix)
except ApiException as e:
    print("Exception when calling DefaultApi->snapshotDelete: %s\n" % e)

Parameters

Path parameters
Name Description
model*
String
model name
Required
snap-id-prefix*
String
The (prefix of the id ) of the snapshot
Required

Responses

Status: 204 - The snapshot successfully deleted

Status: 300 - The id prefix is ambiguous

Status: 404 - Snapshot not found


snapshotGet


/1/model/{model}/snapshot/{snap-id-prefix}

Usage and SDK Samples

curl -X GET "https://localhost/1/model/{model}/snapshot/{snap-id-prefix}"
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 model = model_example; // String | model name
        String snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot
        try {
            byte[] result = apiInstance.snapshotGet(model, snapIdPrefix);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        String snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot
        try {
            byte[] result = apiInstance.snapshotGet(model, snapIdPrefix);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotGet");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name
String *snapIdPrefix = snapIdPrefix_example; // The (prefix of the id ) of the snapshot

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

[apiInstance snapshotGetWith:model
    snapIdPrefix:snapIdPrefix
              completionHandler: ^(byte[] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name

var snapIdPrefix = snapIdPrefix_example; // {String} The (prefix of the id ) of the snapshot


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

namespace Example
{
    public class snapshotGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name
            var snapIdPrefix = snapIdPrefix_example;  // String | The (prefix of the id ) of the snapshot

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name
$snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name
my $snapIdPrefix = snapIdPrefix_example; # String | The (prefix of the id ) of the snapshot

eval { 
    my $result = $api_instance->snapshotGet(model => $model, snapIdPrefix => $snapIdPrefix);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->snapshotGet: $@\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()
model = model_example # String | model name
snapIdPrefix = snapIdPrefix_example # String | The (prefix of the id ) of the snapshot

try: 
    api_response = api_instance.snapshot_get(model, snapIdPrefix)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->snapshotGet: %s\n" % e)

Parameters

Path parameters
Name Description
model*
String
model name
Required
snap-id-prefix*
String
The (prefix of the id ) of the snapshot
Required

Responses

Status: 200 - Returns the snapshot metadata and its contents

Status: 300 - The id prefix is ambiguous

Status: 403 - Model not found

Status: 404 - Snapshot not found


snapshotGetContents


/1/model/{model}/snapshot/{snap-id-prefix}/contents

Usage and SDK Samples

curl -X GET "https://localhost/1/model/{model}/snapshot/{snap-id-prefix}/contents"
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 model = model_example; // String | model name
        String snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot
        try {
            File result = apiInstance.snapshotGetContents(model, snapIdPrefix);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotGetContents");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        String snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot
        try {
            File result = apiInstance.snapshotGetContents(model, snapIdPrefix);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotGetContents");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name
String *snapIdPrefix = snapIdPrefix_example; // The (prefix of the id ) of the snapshot

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

[apiInstance snapshotGetContentsWith:model
    snapIdPrefix:snapIdPrefix
              completionHandler: ^(File output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name

var snapIdPrefix = snapIdPrefix_example; // {String} The (prefix of the id ) of the snapshot


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

namespace Example
{
    public class snapshotGetContentsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name
            var snapIdPrefix = snapIdPrefix_example;  // String | The (prefix of the id ) of the snapshot

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name
$snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name
my $snapIdPrefix = snapIdPrefix_example; # String | The (prefix of the id ) of the snapshot

eval { 
    my $result = $api_instance->snapshotGetContents(model => $model, snapIdPrefix => $snapIdPrefix);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->snapshotGetContents: $@\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()
model = model_example # String | model name
snapIdPrefix = snapIdPrefix_example # String | The (prefix of the id ) of the snapshot

try: 
    api_response = api_instance.snapshot_get_contents(model, snapIdPrefix)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->snapshotGetContents: %s\n" % e)

Parameters

Path parameters
Name Description
model*
String
model name
Required
snap-id-prefix*
String
The (prefix of the id ) of the snapshot
Required

Responses

Status: 200 - Returns the snapshot contents

Status: 300 - The id prefix is ambiguous

Status: 404 - Snapshot not found


snapshotGetMetadata


/1/model/{model}/snapshot/{snap-id-prefix}/metadata

Usage and SDK Samples

curl -X GET "https://localhost/1/model/{model}/snapshot/{snap-id-prefix}/metadata"
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 model = model_example; // String | model name
        String snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot
        try {
            Object result = apiInstance.snapshotGetMetadata(model, snapIdPrefix);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotGetMetadata");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        String snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot
        try {
            Object result = apiInstance.snapshotGetMetadata(model, snapIdPrefix);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotGetMetadata");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name
String *snapIdPrefix = snapIdPrefix_example; // The (prefix of the id ) of the snapshot

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

[apiInstance snapshotGetMetadataWith:model
    snapIdPrefix:snapIdPrefix
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name

var snapIdPrefix = snapIdPrefix_example; // {String} The (prefix of the id ) of the snapshot


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

namespace Example
{
    public class snapshotGetMetadataExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name
            var snapIdPrefix = snapIdPrefix_example;  // String | The (prefix of the id ) of the snapshot

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name
$snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name
my $snapIdPrefix = snapIdPrefix_example; # String | The (prefix of the id ) of the snapshot

eval { 
    my $result = $api_instance->snapshotGetMetadata(model => $model, snapIdPrefix => $snapIdPrefix);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->snapshotGetMetadata: $@\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()
model = model_example # String | model name
snapIdPrefix = snapIdPrefix_example # String | The (prefix of the id ) of the snapshot

try: 
    api_response = api_instance.snapshot_get_metadata(model, snapIdPrefix)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->snapshotGetMetadata: %s\n" % e)

Parameters

Path parameters
Name Description
model*
String
model name
Required
snap-id-prefix*
String
The (prefix of the id ) of the snapshot
Required

Responses

Status: 200 - Returns the snapshot metadata

Status: 300 - The id prefix is ambiguous

Status: 404 - Snapshot not found


snapshotList


/1/model/{model}/snapshot

Usage and SDK Samples

curl -X GET "https://localhost/1/model/{model}/snapshot?count=&date-range="
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 model = model_example; // String | model name
        Integer count = 56; // Integer | The maximum number of items to return
        String dateRange = dateRange_example; // String | The range of snapshot dates, e.g. 2017-04-11--2017-04-13
        try {
            array[Object] result = apiInstance.snapshotList(model, count, dateRange);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        Integer count = 56; // Integer | The maximum number of items to return
        String dateRange = dateRange_example; // String | The range of snapshot dates, e.g. 2017-04-11--2017-04-13
        try {
            array[Object] result = apiInstance.snapshotList(model, count, dateRange);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotList");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name
Integer *count = 56; // The maximum number of items to return (optional)
String *dateRange = dateRange_example; // The range of snapshot dates, e.g. 2017-04-11--2017-04-13 (optional)

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

[apiInstance snapshotListWith:model
    count:count
    dateRange:dateRange
              completionHandler: ^(array[Object] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name

var opts = { 
  'count': 56, // {Integer} The maximum number of items to return
  'dateRange': dateRange_example // {String} The range of snapshot dates, e.g. 2017-04-11--2017-04-13
};

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

namespace Example
{
    public class snapshotListExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name
            var count = 56;  // Integer | The maximum number of items to return (optional) 
            var dateRange = dateRange_example;  // String | The range of snapshot dates, e.g. 2017-04-11--2017-04-13 (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name
$count = 56; // Integer | The maximum number of items to return
$dateRange = dateRange_example; // String | The range of snapshot dates, e.g. 2017-04-11--2017-04-13

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name
my $count = 56; # Integer | The maximum number of items to return
my $dateRange = dateRange_example; # String | The range of snapshot dates, e.g. 2017-04-11--2017-04-13

eval { 
    my $result = $api_instance->snapshotList(model => $model, count => $count, dateRange => $dateRange);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->snapshotList: $@\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()
model = model_example # String | model name
count = 56 # Integer | The maximum number of items to return (optional)
dateRange = dateRange_example # String | The range of snapshot dates, e.g. 2017-04-11--2017-04-13 (optional)

try: 
    api_response = api_instance.snapshot_list(model, count=count, dateRange=dateRange)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->snapshotList: %s\n" % e)

Parameters

Path parameters
Name Description
model*
String
model name
Required
Query parameters
Name Description
count
Integer
The maximum number of items to return
date-range
String
The range of snapshot dates, e.g. 2017-04-11--2017-04-13

Responses

Status: 200 - Returns a list of snapshots of the given model

Status: 403 - Model not found


snapshotPut


/1/model/{model}/snapshot/{snap-id-prefix}

Usage and SDK Samples

curl -X PUT "https://localhost/1/model/{model}/snapshot/{snap-id-prefix}"
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 model = model_example; // String | model name
        String snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot
        try {
            apiInstance.snapshotPut(model, snapIdPrefix);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String model = model_example; // String | model name
        String snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot
        try {
            apiInstance.snapshotPut(model, snapIdPrefix);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#snapshotPut");
            e.printStackTrace();
        }
    }
}
String *model = model_example; // model name
String *snapIdPrefix = snapIdPrefix_example; // The (prefix of the id ) of the snapshot

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

[apiInstance snapshotPutWith:model
    snapIdPrefix:snapIdPrefix
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var model = model_example; // {String} model name

var snapIdPrefix = snapIdPrefix_example; // {String} The (prefix of the id ) of the snapshot


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

namespace Example
{
    public class snapshotPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var model = model_example;  // String | model name
            var snapIdPrefix = snapIdPrefix_example;  // String | The (prefix of the id ) of the snapshot

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$model = model_example; // String | model name
$snapIdPrefix = snapIdPrefix_example; // String | The (prefix of the id ) of the snapshot

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $model = model_example; # String | model name
my $snapIdPrefix = snapIdPrefix_example; # String | The (prefix of the id ) of the snapshot

eval { 
    $api_instance->snapshotPut(model => $model, snapIdPrefix => $snapIdPrefix);
};
if ($@) {
    warn "Exception when calling DefaultApi->snapshotPut: $@\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()
model = model_example # String | model name
snapIdPrefix = snapIdPrefix_example # String | The (prefix of the id ) of the snapshot

try: 
    api_instance.snapshot_put(model, snapIdPrefix)
except ApiException as e:
    print("Exception when calling DefaultApi->snapshotPut: %s\n" % e)

Parameters

Path parameters
Name Description
model*
String
model name
Required
snap-id-prefix*
String
The (prefix of the id ) of the snapshot
Required

Responses

Status: 201 - The snapshot successfully added

Status: 400 - The snapshot already exists (one possibility)


streamDelete


/1/stream/{stream}

Usage and SDK Samples

curl -X DELETE "https://localhost/1/stream/{stream}"
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 stream = stream_example; // String | The name of the stream
        try {
            apiInstance.streamDelete(stream);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#streamDelete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String stream = stream_example; // String | The name of the stream
        try {
            apiInstance.streamDelete(stream);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#streamDelete");
            e.printStackTrace();
        }
    }
}
String *stream = stream_example; // The name of the stream

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

[apiInstance streamDeleteWith:stream
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var stream = stream_example; // {String} The name of the stream


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

namespace Example
{
    public class streamDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var stream = stream_example;  // String | The name of the stream

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$stream = stream_example; // String | The name of the stream

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $stream = stream_example; # String | The name of the stream

eval { 
    $api_instance->streamDelete(stream => $stream);
};
if ($@) {
    warn "Exception when calling DefaultApi->streamDelete: $@\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()
stream = stream_example # String | The name of the stream

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

Parameters

Path parameters
Name Description
stream*
String
The name of the stream
Required

Responses

Status: 204 - The stream successfully deleted

Status: 404 - Stream not found


streamGet


/1/stream/{stream}

Usage and SDK Samples

curl -X GET "https://localhost/1/stream/{stream}"
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 stream = stream_example; // String | The name of the stream
        try {
            Object result = apiInstance.streamGet(stream);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#streamGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String stream = stream_example; // String | The name of the stream
        try {
            Object result = apiInstance.streamGet(stream);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#streamGet");
            e.printStackTrace();
        }
    }
}
String *stream = stream_example; // The name of the stream

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

[apiInstance streamGetWith:stream
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var stream = stream_example; // {String} The name of the stream


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

namespace Example
{
    public class streamGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var stream = stream_example;  // String | The name of the stream

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$stream = stream_example; // String | The name of the stream

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $stream = stream_example; # String | The name of the stream

eval { 
    my $result = $api_instance->streamGet(stream => $stream);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->streamGet: $@\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()
stream = stream_example # String | The name of the stream

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

Parameters

Path parameters
Name Description
stream*
String
The name of the stream
Required

Responses

Status: 200 - Returns the stream descriptor

Status: 404 - Stream not found


streamList


/1/stream

Usage and SDK Samples

curl -X GET "https://localhost/1/stream"
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.streamList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#streamList");
            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.streamList();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#streamList");
            e.printStackTrace();
        }
    }
}

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

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

var api = new FastScoreModelManageApi.DefaultApi()

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

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

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

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

try {
    $result = $api_instance->streamList();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->streamList: ', $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->streamList();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->streamList: $@\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.stream_list()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->streamList: %s\n" % e)

Parameters

Responses

Status: 200 - Returns the list of stream descriptors


streamPut


/1/stream/{stream}

Usage and SDK Samples

curl -X PUT "https://localhost/1/stream/{stream}"
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 stream = stream_example; // String | The name of the stream
        Object desc = ; // Object | The stream descriptor
        try {
            apiInstance.streamPut(stream, desc);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#streamPut");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String stream = stream_example; // String | The name of the stream
        Object desc = ; // Object | The stream descriptor
        try {
            apiInstance.streamPut(stream, desc);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#streamPut");
            e.printStackTrace();
        }
    }
}
String *stream = stream_example; // The name of the stream
Object *desc = ; // The stream descriptor

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

[apiInstance streamPutWith:stream
    desc:desc
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.DefaultApi()

var stream = stream_example; // {String} The name of the stream

var desc = ; // {Object} The stream descriptor


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

namespace Example
{
    public class streamPutExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var stream = stream_example;  // String | The name of the stream
            var desc = new Object(); // Object | The stream descriptor

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$stream = stream_example; // String | The name of the stream
$desc = ; // Object | The stream descriptor

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $stream = stream_example; # String | The name of the stream
my $desc = WWW::SwaggerClient::Object::Object->new(); # Object | The stream descriptor

eval { 
    $api_instance->streamPut(stream => $stream, desc => $desc);
};
if ($@) {
    warn "Exception when calling DefaultApi->streamPut: $@\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()
stream = stream_example # String | The name of the stream
desc =  # Object | The stream descriptor

try: 
    api_instance.stream_put(stream, desc)
except ApiException as e:
    print("Exception when calling DefaultApi->streamPut: %s\n" % e)

Parameters

Path parameters
Name Description
stream*
String
The name of the stream
Required
Body parameters
Name Description
desc *

Responses

Status: 201 - The stream successfully added

Status: 204 - The stream successfully updated


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 FastScoreModelManageApi = require('fast_score_model_manage_api');

var api = new FastScoreModelManageApi.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:30.129-06:00