Tensorflight API

Default

addAnnotationPost


/add_annotation

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/add_annotation?user_id=&plan_id=&geometry=&raw_label_enum="
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 userId = userId_example; // String | Id of the user
        String planId = planId_example; // String | Id of the plan
        String geometry = geometry_example; // String | Geometry
        String rawLabelEnum = rawLabelEnum_example; // String | Raw label enum
        try {
            apiInstance.addAnnotationPost(userId, planId, geometry, rawLabelEnum);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#addAnnotationPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String userId = userId_example; // String | Id of the user
        String planId = planId_example; // String | Id of the plan
        String geometry = geometry_example; // String | Geometry
        String rawLabelEnum = rawLabelEnum_example; // String | Raw label enum
        try {
            apiInstance.addAnnotationPost(userId, planId, geometry, rawLabelEnum);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#addAnnotationPost");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // Id of the user
String *planId = planId_example; // Id of the plan
String *geometry = geometry_example; // Geometry
String *rawLabelEnum = rawLabelEnum_example; // Raw label enum

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

[apiInstance addAnnotationPostWith:userId
    planId:planId
    geometry:geometry
    rawLabelEnum:rawLabelEnum
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var userId = userId_example; // {String} Id of the user

var planId = planId_example; // {String} Id of the plan

var geometry = geometry_example; // {String} Geometry

var rawLabelEnum = rawLabelEnum_example; // {String} Raw label enum


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

namespace Example
{
    public class addAnnotationPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var userId = userId_example;  // String | Id of the user
            var planId = planId_example;  // String | Id of the plan
            var geometry = geometry_example;  // String | Geometry
            var rawLabelEnum = rawLabelEnum_example;  // String | Raw label enum

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$userId = userId_example; // String | Id of the user
$planId = planId_example; // String | Id of the plan
$geometry = geometry_example; // String | Geometry
$rawLabelEnum = rawLabelEnum_example; // String | Raw label enum

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $userId = userId_example; # String | Id of the user
my $planId = planId_example; # String | Id of the plan
my $geometry = geometry_example; # String | Geometry
my $rawLabelEnum = rawLabelEnum_example; # String | Raw label enum

eval { 
    $api_instance->addAnnotationPost(userId => $userId, planId => $planId, geometry => $geometry, rawLabelEnum => $rawLabelEnum);
};
if ($@) {
    warn "Exception when calling DefaultApi->addAnnotationPost: $@\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()
userId = userId_example # String | Id of the user
planId = planId_example # String | Id of the plan
geometry = geometry_example # String | Geometry
rawLabelEnum = rawLabelEnum_example # String | Raw label enum

try: 
    api_instance.add_annotation_post(userId, planId, geometry, rawLabelEnum)
except ApiException as e:
    print("Exception when calling DefaultApi->addAnnotationPost: %s\n" % e)

Parameters

Query parameters
Name Description
user_id*
String
Id of the user
Required
plan_id*
String
Id of the plan
Required
geometry*
String
Geometry
Required
raw_label_enum*
String
Raw label enum
Required

Responses

Status: 200 - Successful response


annotationsGet


/annotations

Usage and SDK Samples

curl -X GET "http://104.199.77.227/api/annotations?plan_id=&area_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();
        String planId = planId_example; // String | Id of the plan (map)
        String areaId = areaId_example; // String | Id of the interesting area
        try {
            array[AnnotationGeoJson] result = apiInstance.annotationsGet(planId, areaId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#annotationsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Id of the plan (map)
        String areaId = areaId_example; // String | Id of the interesting area
        try {
            array[AnnotationGeoJson] result = apiInstance.annotationsGet(planId, areaId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#annotationsGet");
            e.printStackTrace();
        }
    }
}
String *planId = planId_example; // Id of the plan (map)
String *areaId = areaId_example; // Id of the interesting area

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

[apiInstance annotationsGetWith:planId
    areaId:areaId
              completionHandler: ^(array[AnnotationGeoJson] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var planId = planId_example; // {String} Id of the plan (map)

var areaId = areaId_example; // {String} Id of the interesting area


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

namespace Example
{
    public class annotationsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var planId = planId_example;  // String | Id of the plan (map)
            var areaId = areaId_example;  // String | Id of the interesting area

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$planId = planId_example; // String | Id of the plan (map)
$areaId = areaId_example; // String | Id of the interesting area

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $planId = planId_example; # String | Id of the plan (map)
my $areaId = areaId_example; # String | Id of the interesting area

eval { 
    my $result = $api_instance->annotationsGet(planId => $planId, areaId => $areaId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->annotationsGet: $@\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()
planId = planId_example # String | Id of the plan (map)
areaId = areaId_example # String | Id of the interesting area

try: 
    api_response = api_instance.annotations_get(planId, areaId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->annotationsGet: %s\n" % e)

Parameters

Query parameters
Name Description
plan_id*
String
Id of the plan (map)
Required
area_id*
String
Id of the interesting area
Required

Responses

Status: 200 - Successful response


apiKeyPost


/api_key

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/api_key?user_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();
        String userId = userId_example; // String | Id of the user
        try {
            apiInstance.apiKeyPost(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiKeyPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String userId = userId_example; // String | Id of the user
        try {
            apiInstance.apiKeyPost(userId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apiKeyPost");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // Id of the user

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

[apiInstance apiKeyPostWith:userId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var userId = userId_example; // {String} Id of the user


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

namespace Example
{
    public class apiKeyPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var userId = userId_example;  // String | Id of the user

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$userId = userId_example; // String | Id of the user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $userId = userId_example; # String | Id of the user

eval { 
    $api_instance->apiKeyPost(userId => $userId);
};
if ($@) {
    warn "Exception when calling DefaultApi->apiKeyPost: $@\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()
userId = userId_example # String | Id of the user

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

Parameters

Query parameters
Name Description
user_id*
String
Id of the user
Required

Responses

Status: 200 - Successful response


assignLabellerToPlanPost


/assign_labeller_to_plan

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/assign_labeller_to_plan?user_id=&plan_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();
        String userId = userId_example; // String | Id of the user
        String planId = planId_example; // String | Id of the plan
        try {
            apiInstance.assignLabellerToPlanPost(userId, planId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#assignLabellerToPlanPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String userId = userId_example; // String | Id of the user
        String planId = planId_example; // String | Id of the plan
        try {
            apiInstance.assignLabellerToPlanPost(userId, planId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#assignLabellerToPlanPost");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // Id of the user (optional)
String *planId = planId_example; // Id of the plan (optional)

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

[apiInstance assignLabellerToPlanPostWith:userId
    planId:planId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var opts = { 
  'userId': userId_example, // {String} Id of the user
  'planId': planId_example // {String} Id of the plan
};

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

namespace Example
{
    public class assignLabellerToPlanPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var userId = userId_example;  // String | Id of the user (optional) 
            var planId = planId_example;  // String | Id of the plan (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$userId = userId_example; // String | Id of the user
$planId = planId_example; // String | Id of the plan

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $userId = userId_example; # String | Id of the user
my $planId = planId_example; # String | Id of the plan

eval { 
    $api_instance->assignLabellerToPlanPost(userId => $userId, planId => $planId);
};
if ($@) {
    warn "Exception when calling DefaultApi->assignLabellerToPlanPost: $@\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()
userId = userId_example # String | Id of the user (optional)
planId = planId_example # String | Id of the plan (optional)

try: 
    api_instance.assign_labeller_to_plan_post(userId=userId, planId=planId)
except ApiException as e:
    print("Exception when calling DefaultApi->assignLabellerToPlanPost: %s\n" % e)

Parameters

Query parameters
Name Description
user_id
String
Id of the user
plan_id
String
Id of the plan

Responses

Status: 200 - Successful response


assignUserRolePost


/assign_user_role

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/assign_user_role?user_id=&userRole="
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 userId = userId_example; // String | Id of the user
        String userRole = userRole_example; // String | Role of the user
        try {
            apiInstance.assignUserRolePost(userId, userRole);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#assignUserRolePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String userId = userId_example; // String | Id of the user
        String userRole = userRole_example; // String | Role of the user
        try {
            apiInstance.assignUserRolePost(userId, userRole);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#assignUserRolePost");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // Id of the user
String *userRole = userRole_example; // Role of the user

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

[apiInstance assignUserRolePostWith:userId
    userRole:userRole
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var userId = userId_example; // {String} Id of the user

var userRole = userRole_example; // {String} Role of the user


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

namespace Example
{
    public class assignUserRolePostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var userId = userId_example;  // String | Id of the user
            var userRole = userRole_example;  // String | Role of the user

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$userId = userId_example; // String | Id of the user
$userRole = userRole_example; // String | Role of the user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $userId = userId_example; # String | Id of the user
my $userRole = userRole_example; # String | Role of the user

eval { 
    $api_instance->assignUserRolePost(userId => $userId, userRole => $userRole);
};
if ($@) {
    warn "Exception when calling DefaultApi->assignUserRolePost: $@\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()
userId = userId_example # String | Id of the user
userRole = userRole_example # String | Role of the user

try: 
    api_instance.assign_user_role_post(userId, userRole)
except ApiException as e:
    print("Exception when calling DefaultApi->assignUserRolePost: %s\n" % e)

Parameters

Query parameters
Name Description
user_id*
String
Id of the user
Required
userRole*
String
Role of the user
Required

Responses

Status: 200 - Successful response


confirmEmailGet


/confirm_email

Usage and SDK Samples

curl -X GET "http://104.199.77.227/api/confirm_email?token="
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 token = token_example; // String | email of user
        try {
            apiInstance.confirmEmailGet(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#confirmEmailGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | email of user
        try {
            apiInstance.confirmEmailGet(token);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#confirmEmailGet");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // email of user

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

[apiInstance confirmEmailGetWith:token
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var token = token_example; // {String} email of user


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

namespace Example
{
    public class confirmEmailGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | email of user

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$token = token_example; // String | email of user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $token = token_example; # String | email of user

eval { 
    $api_instance->confirmEmailGet(token => $token);
};
if ($@) {
    warn "Exception when calling DefaultApi->confirmEmailGet: $@\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()
token = token_example # String | email of user

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

Parameters

Query parameters
Name Description
token*
String
email of user
Required

Responses

Status: 200 - Successful response


convertAddressToGeocodeGet


/convert_address_to_geocode

Usage and SDK Samples

curl -X GET "http://104.199.77.227/api/convert_address_to_geocode?address=&user_api_key="
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 address = address_example; // String | Address of searched location
        String userApiKey = userApiKey_example; // String | Api key of the user
        try {
            apiInstance.convertAddressToGeocodeGet(address, userApiKey);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#convertAddressToGeocodeGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String address = address_example; // String | Address of searched location
        String userApiKey = userApiKey_example; // String | Api key of the user
        try {
            apiInstance.convertAddressToGeocodeGet(address, userApiKey);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#convertAddressToGeocodeGet");
            e.printStackTrace();
        }
    }
}
String *address = address_example; // Address of searched location
String *userApiKey = userApiKey_example; // Api key of the user

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

[apiInstance convertAddressToGeocodeGetWith:address
    userApiKey:userApiKey
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var address = address_example; // {String} Address of searched location

var userApiKey = userApiKey_example; // {String} Api key of the user


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

namespace Example
{
    public class convertAddressToGeocodeGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var address = address_example;  // String | Address of searched location
            var userApiKey = userApiKey_example;  // String | Api key of the user

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$address = address_example; // String | Address of searched location
$userApiKey = userApiKey_example; // String | Api key of the user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $address = address_example; # String | Address of searched location
my $userApiKey = userApiKey_example; # String | Api key of the user

eval { 
    $api_instance->convertAddressToGeocodeGet(address => $address, userApiKey => $userApiKey);
};
if ($@) {
    warn "Exception when calling DefaultApi->convertAddressToGeocodeGet: $@\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()
address = address_example # String | Address of searched location
userApiKey = userApiKey_example # String | Api key of the user

try: 
    api_instance.convert_address_to_geocode_get(address, userApiKey)
except ApiException as e:
    print("Exception when calling DefaultApi->convertAddressToGeocodeGet: %s\n" % e)

Parameters

Query parameters
Name Description
address*
String
Address of searched location
Required
user_api_key*
String
Api key of the user
Required

Responses

Status: 200 - Successful response


emailChangePost


/email_change

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/email_change?email="
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 email = email_example; // String | email of user
        try {
            apiInstance.emailChangePost(email);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#emailChangePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String email = email_example; // String | email of user
        try {
            apiInstance.emailChangePost(email);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#emailChangePost");
            e.printStackTrace();
        }
    }
}
String *email = email_example; // email of user

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

[apiInstance emailChangePostWith:email
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var email = email_example; // {String} email of user


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

namespace Example
{
    public class emailChangePostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var email = email_example;  // String | email of user

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$email = email_example; // String | email of user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $email = email_example; # String | email of user

eval { 
    $api_instance->emailChangePost(email => $email);
};
if ($@) {
    warn "Exception when calling DefaultApi->emailChangePost: $@\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()
email = email_example # String | email of user

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

Parameters

Query parameters
Name Description
email*
String
email of user
Required

Responses

Status: 200 - Successful response


getLabellersGet


/get_labellers

Usage and SDK Samples

curl -X GET "http://104.199.77.227/api/get_labellers"
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 {
            ReturnLabellers result = apiInstance.getLabellersGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getLabellersGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getLabellersGetWithCompletionHandler: 
              ^(ReturnLabellers output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

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

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

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

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

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

Parameters

Responses

Status: 200 - Successful response


getObjectTypesGet


/get_object_types

Usage and SDK Samples

curl -X GET "http://104.199.77.227/api/get_object_types"
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 {
            ObjectTypes result = apiInstance.getObjectTypesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getObjectTypesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance getObjectTypesGetWithCompletionHandler: 
              ^(ObjectTypes output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

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

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

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

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

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

Parameters

Responses

Status: 200 - Successful response


getPlansListPost


/get_labelling_plans_list

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/get_labelling_plans_list?labelling_plan_status="
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 labellingPlanStatus = labellingPlanStatus_example; // String | Label of plan status
        try {
            PlansList result = apiInstance.getPlansListPost(labellingPlanStatus);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPlansListPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String labellingPlanStatus = labellingPlanStatus_example; // String | Label of plan status
        try {
            PlansList result = apiInstance.getPlansListPost(labellingPlanStatus);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getPlansListPost");
            e.printStackTrace();
        }
    }
}
String *labellingPlanStatus = labellingPlanStatus_example; // Label of plan status (optional)

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

[apiInstance getPlansListPostWith:labellingPlanStatus
              completionHandler: ^(PlansList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var opts = { 
  'labellingPlanStatus': labellingPlanStatus_example // {String} Label of plan status
};

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

namespace Example
{
    public class getPlansListPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var labellingPlanStatus = labellingPlanStatus_example;  // String | Label of plan status (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$labellingPlanStatus = labellingPlanStatus_example; // String | Label of plan status

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $labellingPlanStatus = labellingPlanStatus_example; # String | Label of plan status

eval { 
    my $result = $api_instance->getPlansListPost(labellingPlanStatus => $labellingPlanStatus);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getPlansListPost: $@\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()
labellingPlanStatus = labellingPlanStatus_example # String | Label of plan status (optional)

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

Parameters

Query parameters
Name Description
labelling_plan_status
String
Label of plan status

Responses

Status: 200 - Successful response


interestingAreasGet


/interesting_areas

Usage and SDK Samples

curl -X GET "http://104.199.77.227/api/interesting_areas?plan_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();
        String planId = planId_example; // String | Id of the plan (map)
        try {
            array[InterestingAreaGeoJson] result = apiInstance.interestingAreasGet(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interestingAreasGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Id of the plan (map)
        try {
            array[InterestingAreaGeoJson] result = apiInstance.interestingAreasGet(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#interestingAreasGet");
            e.printStackTrace();
        }
    }
}
String *planId = planId_example; // Id of the plan (map)

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

[apiInstance interestingAreasGetWith:planId
              completionHandler: ^(array[InterestingAreaGeoJson] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var planId = planId_example; // {String} Id of the plan (map)


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

namespace Example
{
    public class interestingAreasGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var planId = planId_example;  // String | Id of the plan (map)

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$planId = planId_example; // String | Id of the plan (map)

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $planId = planId_example; # String | Id of the plan (map)

eval { 
    my $result = $api_instance->interestingAreasGet(planId => $planId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->interestingAreasGet: $@\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()
planId = planId_example # String | Id of the plan (map)

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

Parameters

Query parameters
Name Description
plan_id*
String
Id of the plan (map)
Required

Responses

Status: 200 - Successful response


loginPost


/login

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/login?email=&password="
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 email = email_example; // String | email of user
        String password = password_example; // String | password of user
        try {
            AuthData result = apiInstance.loginPost(email, password);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#loginPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String email = email_example; // String | email of user
        String password = password_example; // String | password of user
        try {
            AuthData result = apiInstance.loginPost(email, password);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#loginPost");
            e.printStackTrace();
        }
    }
}
String *email = email_example; // email of user
String *password = password_example; // password of user

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

[apiInstance loginPostWith:email
    password:password
              completionHandler: ^(AuthData output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var email = email_example; // {String} email of user

var password = password_example; // {String} password of user


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

namespace Example
{
    public class loginPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var email = email_example;  // String | email of user
            var password = password_example;  // String | password of user

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$email = email_example; // String | email of user
$password = password_example; // String | password of user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $email = email_example; # String | email of user
my $password = password_example; # String | password of user

eval { 
    my $result = $api_instance->loginPost(email => $email, password => $password);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->loginPost: $@\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()
email = email_example # String | email of user
password = password_example # String | password of user

try: 
    api_response = api_instance.login_post(email, password)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->loginPost: %s\n" % e)

Parameters

Query parameters
Name Description
email*
String
email of user
Required
password*
String
password of user
Required

Responses

Status: 200 - Successful response


logoutPost


/logout

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/logout"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

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

public class DefaultApiExample {

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

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

[apiInstance logoutPostWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

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

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

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

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

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

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

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

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

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

Parameters

Responses

Status: 200 - Successful response


passwordChangePost


/password_change

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/password_change?password="
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 password = password_example; // String | password of user
        try {
            apiInstance.passwordChangePost(password);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#passwordChangePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String password = password_example; // String | password of user
        try {
            apiInstance.passwordChangePost(password);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#passwordChangePost");
            e.printStackTrace();
        }
    }
}
String *password = password_example; // password of user

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

[apiInstance passwordChangePostWith:password
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var password = password_example; // {String} password of user


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

namespace Example
{
    public class passwordChangePostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var password = password_example;  // String | password of user

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$password = password_example; // String | password of user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $password = password_example; # String | password of user

eval { 
    $api_instance->passwordChangePost(password => $password);
};
if ($@) {
    warn "Exception when calling DefaultApi->passwordChangePost: $@\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()
password = password_example # String | password of user

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

Parameters

Query parameters
Name Description
password*
String
password of user
Required

Responses

Status: 200 - Successful response


planGet


/plan

Usage and SDK Samples

curl -X GET "http://104.199.77.227/api/plan?plan_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();
        String planId = planId_example; // String | Id of the plan (map)
        try {
            PlanDetails result = apiInstance.planGet(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#planGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Id of the plan (map)
        try {
            PlanDetails result = apiInstance.planGet(planId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#planGet");
            e.printStackTrace();
        }
    }
}
String *planId = planId_example; // Id of the plan (map)

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

[apiInstance planGetWith:planId
              completionHandler: ^(PlanDetails output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var planId = planId_example; // {String} Id of the plan (map)


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

namespace Example
{
    public class planGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var planId = planId_example;  // String | Id of the plan (map)

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$planId = planId_example; // String | Id of the plan (map)

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $planId = planId_example; # String | Id of the plan (map)

eval { 
    my $result = $api_instance->planGet(planId => $planId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->planGet: $@\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()
planId = planId_example # String | Id of the plan (map)

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

Parameters

Query parameters
Name Description
plan_id*
String
Id of the plan (map)
Required

Responses

Status: 200 - Successful response


planStatusPost


/plan_status

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/plan_status?plan_id=&labelling_plan_status=&text_message="
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 planId = planId_example; // String | Id of the plan
        String labellingPlanStatus = labellingPlanStatus_example; // String | Label of plan status
        String textMessage = textMessage_example; // String | Text message
        try {
            apiInstance.planStatusPost(planId, labellingPlanStatus, textMessage);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#planStatusPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String planId = planId_example; // String | Id of the plan
        String labellingPlanStatus = labellingPlanStatus_example; // String | Label of plan status
        String textMessage = textMessage_example; // String | Text message
        try {
            apiInstance.planStatusPost(planId, labellingPlanStatus, textMessage);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#planStatusPost");
            e.printStackTrace();
        }
    }
}
String *planId = planId_example; // Id of the plan (optional)
String *labellingPlanStatus = labellingPlanStatus_example; // Label of plan status (optional)
String *textMessage = textMessage_example; // Text message (optional)

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

[apiInstance planStatusPostWith:planId
    labellingPlanStatus:labellingPlanStatus
    textMessage:textMessage
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var opts = { 
  'planId': planId_example, // {String} Id of the plan
  'labellingPlanStatus': labellingPlanStatus_example, // {String} Label of plan status
  'textMessage': textMessage_example // {String} Text message
};

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

namespace Example
{
    public class planStatusPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var planId = planId_example;  // String | Id of the plan (optional) 
            var labellingPlanStatus = labellingPlanStatus_example;  // String | Label of plan status (optional) 
            var textMessage = textMessage_example;  // String | Text message (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$planId = planId_example; // String | Id of the plan
$labellingPlanStatus = labellingPlanStatus_example; // String | Label of plan status
$textMessage = textMessage_example; // String | Text message

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $planId = planId_example; # String | Id of the plan
my $labellingPlanStatus = labellingPlanStatus_example; # String | Label of plan status
my $textMessage = textMessage_example; # String | Text message

eval { 
    $api_instance->planStatusPost(planId => $planId, labellingPlanStatus => $labellingPlanStatus, textMessage => $textMessage);
};
if ($@) {
    warn "Exception when calling DefaultApi->planStatusPost: $@\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()
planId = planId_example # String | Id of the plan (optional)
labellingPlanStatus = labellingPlanStatus_example # String | Label of plan status (optional)
textMessage = textMessage_example # String | Text message (optional)

try: 
    api_instance.plan_status_post(planId=planId, labellingPlanStatus=labellingPlanStatus, textMessage=textMessage)
except ApiException as e:
    print("Exception when calling DefaultApi->planStatusPost: %s\n" % e)

Parameters

Query parameters
Name Description
plan_id
String
Id of the plan
labelling_plan_status
String
Label of plan status
text_message
String
Text message

Responses

Status: 200 - Successful response


registerPost


/register

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/register?email=&password=&first_name=&last_name="
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 email = email_example; // String | email of user
        String password = password_example; // String | password of user
        String firstName = firstName_example; // String | Name of user
        String lastName = lastName_example; // String | Last name of user
        try {
            User result = apiInstance.registerPost(email, password, firstName, lastName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#registerPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String email = email_example; // String | email of user
        String password = password_example; // String | password of user
        String firstName = firstName_example; // String | Name of user
        String lastName = lastName_example; // String | Last name of user
        try {
            User result = apiInstance.registerPost(email, password, firstName, lastName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#registerPost");
            e.printStackTrace();
        }
    }
}
String *email = email_example; // email of user
String *password = password_example; // password of user
String *firstName = firstName_example; // Name of user
String *lastName = lastName_example; // Last name of user

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

[apiInstance registerPostWith:email
    password:password
    firstName:firstName
    lastName:lastName
              completionHandler: ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var email = email_example; // {String} email of user

var password = password_example; // {String} password of user

var firstName = firstName_example; // {String} Name of user

var lastName = lastName_example; // {String} Last name of user


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

namespace Example
{
    public class registerPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var email = email_example;  // String | email of user
            var password = password_example;  // String | password of user
            var firstName = firstName_example;  // String | Name of user
            var lastName = lastName_example;  // String | Last name of user

            try
            {
                User result = apiInstance.registerPost(email, password, firstName, lastName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.registerPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$email = email_example; // String | email of user
$password = password_example; // String | password of user
$firstName = firstName_example; // String | Name of user
$lastName = lastName_example; // String | Last name of user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $email = email_example; # String | email of user
my $password = password_example; # String | password of user
my $firstName = firstName_example; # String | Name of user
my $lastName = lastName_example; # String | Last name of user

eval { 
    my $result = $api_instance->registerPost(email => $email, password => $password, firstName => $firstName, lastName => $lastName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->registerPost: $@\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()
email = email_example # String | email of user
password = password_example # String | password of user
firstName = firstName_example # String | Name of user
lastName = lastName_example # String | Last name of user

try: 
    api_response = api_instance.register_post(email, password, firstName, lastName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->registerPost: %s\n" % e)

Parameters

Query parameters
Name Description
email*
String
email of user
Required
password*
String
password of user
Required
first_name*
String
Name of user
Required
last_name*
String
Last name of user
Required

Responses

Status: 200 - Successful response


removeAnnotationsGet


/remove_annotations

Usage and SDK Samples

curl -X GET "http://104.199.77.227/api/remove_annotations?annotation_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();
        String annotationId = annotationId_example; // String | Id of the annotation
        try {
            apiInstance.removeAnnotationsGet(annotationId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#removeAnnotationsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String annotationId = annotationId_example; // String | Id of the annotation
        try {
            apiInstance.removeAnnotationsGet(annotationId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#removeAnnotationsGet");
            e.printStackTrace();
        }
    }
}
String *annotationId = annotationId_example; // Id of the annotation

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

[apiInstance removeAnnotationsGetWith:annotationId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var annotationId = annotationId_example; // {String} Id of the annotation


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

namespace Example
{
    public class removeAnnotationsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var annotationId = annotationId_example;  // String | Id of the annotation

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$annotationId = annotationId_example; // String | Id of the annotation

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $annotationId = annotationId_example; # String | Id of the annotation

eval { 
    $api_instance->removeAnnotationsGet(annotationId => $annotationId);
};
if ($@) {
    warn "Exception when calling DefaultApi->removeAnnotationsGet: $@\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()
annotationId = annotationId_example # String | Id of the annotation

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

Parameters

Query parameters
Name Description
annotation_id*
String
Id of the annotation
Required

Responses

Status: 200 - Successful response


resendConfirmationPost


/resend_confirmation

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/resend_confirmation?email="
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 email = email_example; // String | email of user
        try {
            apiInstance.resendConfirmationPost(email);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#resendConfirmationPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String email = email_example; // String | email of user
        try {
            apiInstance.resendConfirmationPost(email);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#resendConfirmationPost");
            e.printStackTrace();
        }
    }
}
String *email = email_example; // email of user

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

[apiInstance resendConfirmationPostWith:email
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var email = email_example; // {String} email of user


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

namespace Example
{
    public class resendConfirmationPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var email = email_example;  // String | email of user

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$email = email_example; // String | email of user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $email = email_example; # String | email of user

eval { 
    $api_instance->resendConfirmationPost(email => $email);
};
if ($@) {
    warn "Exception when calling DefaultApi->resendConfirmationPost: $@\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()
email = email_example # String | email of user

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

Parameters

Query parameters
Name Description
email*
String
email of user
Required

Responses

Status: 200 - Successful response


resetPasswordPost


/reset_password

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/reset_password?email="
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 email = email_example; // String | email of user
        try {
            apiInstance.resetPasswordPost(email);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#resetPasswordPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String email = email_example; // String | email of user
        try {
            apiInstance.resetPasswordPost(email);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#resetPasswordPost");
            e.printStackTrace();
        }
    }
}
String *email = email_example; // email of user

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

[apiInstance resetPasswordPostWith:email
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var email = email_example; // {String} email of user


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

namespace Example
{
    public class resetPasswordPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var email = email_example;  // String | email of user

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$email = email_example; // String | email of user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $email = email_example; # String | email of user

eval { 
    $api_instance->resetPasswordPost(email => $email);
};
if ($@) {
    warn "Exception when calling DefaultApi->resetPasswordPost: $@\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()
email = email_example # String | email of user

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

Parameters

Query parameters
Name Description
email*
String
email of user
Required

Responses

Status: 200 - Successful response


resetPasswordWithTokenPost


/reset_password_with_token

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/reset_password_with_token?token=&password="
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 token = token_example; // String | reset password token
        String password = password_example; // String | password of user
        try {
            apiInstance.resetPasswordWithTokenPost(token, password);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#resetPasswordWithTokenPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String token = token_example; // String | reset password token
        String password = password_example; // String | password of user
        try {
            apiInstance.resetPasswordWithTokenPost(token, password);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#resetPasswordWithTokenPost");
            e.printStackTrace();
        }
    }
}
String *token = token_example; // reset password token
String *password = password_example; // password of user

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

[apiInstance resetPasswordWithTokenPostWith:token
    password:password
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var token = token_example; // {String} reset password token

var password = password_example; // {String} password of user


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

namespace Example
{
    public class resetPasswordWithTokenPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var token = token_example;  // String | reset password token
            var password = password_example;  // String | password of user

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$token = token_example; // String | reset password token
$password = password_example; // String | password of user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $token = token_example; # String | reset password token
my $password = password_example; # String | password of user

eval { 
    $api_instance->resetPasswordWithTokenPost(token => $token, password => $password);
};
if ($@) {
    warn "Exception when calling DefaultApi->resetPasswordWithTokenPost: $@\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()
token = token_example # String | reset password token
password = password_example # String | password of user

try: 
    api_instance.reset_password_with_token_post(token, password)
except ApiException as e:
    print("Exception when calling DefaultApi->resetPasswordWithTokenPost: %s\n" % e)

Parameters

Query parameters
Name Description
token*
String
reset password token
Required
password*
String
password of user
Required

Responses

Status: 200 - Successful response


returnAllUsersGet


/return_all_users

Usage and SDK Samples

curl -X GET "http://104.199.77.227/api/return_all_users"
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 {
            QueryAllUsers result = apiInstance.returnAllUsersGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#returnAllUsersGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

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

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

[apiInstance returnAllUsersGetWithCompletionHandler: 
              ^(QueryAllUsers output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

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

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

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

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

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

Parameters

Responses

Status: 200 - Successful response


updateAnnotationPost


/update_annotation

Usage and SDK Samples

curl -X POST "http://104.199.77.227/api/update_annotation?user_id=&id=&geometry="
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 userId = userId_example; // String | Id of the user
        String id = id_example; // String | Id of the TfAnnotation
        String geometry = geometry_example; // String | Geometry
        try {
            apiInstance.updateAnnotationPost(userId, id, geometry);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateAnnotationPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String userId = userId_example; // String | Id of the user
        String id = id_example; // String | Id of the TfAnnotation
        String geometry = geometry_example; // String | Geometry
        try {
            apiInstance.updateAnnotationPost(userId, id, geometry);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateAnnotationPost");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // Id of the user (optional)
String *id = id_example; // Id of the TfAnnotation (optional)
String *geometry = geometry_example; // Geometry (optional)

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

[apiInstance updateAnnotationPostWith:userId
    id:id
    geometry:geometry
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var opts = { 
  'userId': userId_example, // {String} Id of the user
  'id': id_example, // {String} Id of the TfAnnotation
  'geometry': geometry_example // {String} Geometry
};

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

namespace Example
{
    public class updateAnnotationPostExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var userId = userId_example;  // String | Id of the user (optional) 
            var id = id_example;  // String | Id of the TfAnnotation (optional) 
            var geometry = geometry_example;  // String | Geometry (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$userId = userId_example; // String | Id of the user
$id = id_example; // String | Id of the TfAnnotation
$geometry = geometry_example; // String | Geometry

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $userId = userId_example; # String | Id of the user
my $id = id_example; # String | Id of the TfAnnotation
my $geometry = geometry_example; # String | Geometry

eval { 
    $api_instance->updateAnnotationPost(userId => $userId, id => $id, geometry => $geometry);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateAnnotationPost: $@\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()
userId = userId_example # String | Id of the user (optional)
id = id_example # String | Id of the TfAnnotation (optional)
geometry = geometry_example # String | Geometry (optional)

try: 
    api_instance.update_annotation_post(userId=userId, id=id, geometry=geometry)
except ApiException as e:
    print("Exception when calling DefaultApi->updateAnnotationPost: %s\n" % e)

Parameters

Query parameters
Name Description
user_id
String
Id of the user
id
String
Id of the TfAnnotation
geometry
String
Geometry

Responses

Status: 200 - Successful response


userGet


/user

Usage and SDK Samples

curl -X GET "http://104.199.77.227/api/user?user_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();
        String userId = userId_example; // String | Id of the user
        try {
            User result = apiInstance.userGet(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String userId = userId_example; // String | Id of the user
        try {
            User result = apiInstance.userGet(userId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#userGet");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // Id of the user

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

[apiInstance userGetWith:userId
              completionHandler: ^(User output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TensorflightApi = require('tensorflight_api');

var api = new TensorflightApi.DefaultApi()

var userId = userId_example; // {String} Id of the user


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

namespace Example
{
    public class userGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var userId = userId_example;  // String | Id of the user

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$userId = userId_example; // String | Id of the user

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $userId = userId_example; # String | Id of the user

eval { 
    my $result = $api_instance->userGet(userId => $userId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->userGet: $@\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()
userId = userId_example # String | Id of the user

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

Parameters

Query parameters
Name Description
user_id*
String
Id of the user
Required

Responses

Status: 200 - Successful response


Generated 2017-09-27T12:59:14.561Z